AR_CM_BATCH_SRC_S_V

Details

  • Schema: FUSION

  • Object owner: AR

  • Object type: VIEW

Columns

Name

CM_BATCH_SOURCE_ID

CM_BATCH_SOURCE_DESCRIPTION

CM_BATCH_SOURCE_GLOBAL_ATTR1

CM_BATCH_SOURCE_GLOBAL_ATTR2

CM_BATCH_SOURCE_GLOBAL_ATTR3

CM_BATCH_SOURCE_GLOBAL_ATTR4

CM_BATCH_SOURCE_GLOBAL_ATTR5

CM_BATCH_SOURCE_GLOBAL_ATTR6

CM_BATCH_SOURCE_GLOBAL_ATT_CAT

CM_BATCH_SOURCE_NAME

EVENT_ID

LINE_NUMBER

LEDGER_ID

Query

SQL_Statement

SELECT

bsa2.batch_source_id cm_batch_source_id ,

bsa2.description cm_batch_source_description ,

bsa2.global_attribute1 cm_batch_source_global_attr1 ,

bsa2.global_attribute2 cm_batch_source_global_attr2 ,

bsa2.global_attribute3 cm_batch_source_global_attr3 ,

bsa2.global_attribute4 cm_batch_source_global_attr4 ,

bsa2.global_attribute5 cm_batch_source_global_attr5 ,

bsa2.global_attribute6 cm_batch_source_global_attr6 ,

bsa2.global_attribute_category cm_batch_source_global_att_cat ,

bsa2.name cm_batch_source_name ,

he.event_id event_id ,

he.line_number line_number ,

he.ledger_id ledger_id

FROM ra_batch_sources_all bsa2 ,

ar_xla_lines_extract he

WHERE he.batch_source_seq_id = bsa2.batch_source_seq_id

AND (bsa2.set_id = FND_SETID_UTILITY.GETSETID('AR_TRANSACTION_SOURCE','BU', he.ORG_ID)

OR bsa2.set_id = 0)

AND he.select_flag = 'Y'

AND he.event_class_code = 'CREDIT_MEMO'

AND he.level_flag = 'H'