在EBS由11i升级至R12后,GL 追溯 子模块的方法也跟着发生了变化,以下将介绍一下GL如何追溯至AR
1. 通过 gl_import_reference 表找到来源为应收的记录的 gl_sl_link_id
2. 通过 gl_sl_link_id 找到在 xla_ae_lines 表中对应行的 ae_header_id
3. 通过 ae_header_id 找到 xla_ae_headers 表中应应的 entity_id
4. 通过 entity_id 找到 xla.xla_transaction_entities
表中对应的记录
5. 找到 xla.xla_transaction_entities 表中的记录后需要按如下情况分开追溯:
(1). entity_code 为 TRANSACTIONS 和
BILLS_RECEIVABLE 时,表中字段 source_id_int_1 对应的为 ra_customer_trx_all
表中的 customer_trx_id; 字段 security_id_int_1 对应的为 org_id
(2). entity_code 为 ADJUSTMENTS 时,表中字段
source_id_int_1 对应的为 ar_adjustments_all 表中的 adjustment_id; 字段
security_id_int_1 对应的为 org_id
(3). entity_code 为 RECEIPTS 时,表中字段
source_id_int_1 对应的为 ar_cash_receipts_all 表中的 cash_receipt_id; 字段
security_id_int_1 对应的为 org_id
(4). entity_code 为 THIRD_PARTY_MERGE
的情况不会传送至总帐,所以没有追溯。
以上如果还有不全的地方希望大家给补足。
谢谢.