Oracle EBS SLA(子分類賬)
SLA概述
SLA(Subledger Accounting) 子帳是子分類帳會計的簡稱,字面上的含義就是子分類帳會計分錄
SLA常用表介紹
在SLA中技術方面最常用的就是日記賬來源追溯,在追溯的過程中從GL到SLA和11i差別不大,都是通過gl_import_references 表來進行,該表的je_batch_id,je_header_id,je_line_num是和GL關聯,該表字段gl_sl_link_id 是和SLA中的行表(XLA_AE_LINES)關聯,在SLA中重要的幾張表如下:
XLA_EVENTS:
The XLA_EVENTS table record all information related to a specific event. This table is created as a type XLA_ARRAY_EVENT_TYPE.
XLA_TRANSACTION_ENTITIES:
The table XLA_TRANSACTION_ENTITIES contains information about sub-ledger document or transactions.
XLA_AE_HEADERS:
The XLA_AE_HEADERS table stores Subledger Journal entries. There is a one-to-many relationship between accounting events and journal entry headers.
XLA_AE_LINES:
The XLA_AE_LINES table stores the Subledger Journal entry lines. There is a one-to-many relationship between Subledger Journal entry headers and Subledger Journal entry lines.
XLA_DISTRIBUTION_LINKS:
The XLA_DISTRIBUTION_LINKS table stores the link between transactions and Subledger Journal entry lines.
SLA與各子模塊之間的關聯設置
上面提到的gl_import_references.gl_sl_link_id字段就是和xla_ae_lines.gl_sl_link_id字段關聯,在這些表中和子模塊關聯的字段在xla_transaction_entities中,該表中有如下形式的字段:
源表關聯字段
source_id_int_num
source_id_char_num
(這兩個字段是用來和源模塊關聯,該字段設置在各個子模塊中)
路徑:
Setup—>Accounting Setup—>Subledger Accounting Setup—>Accounting Methods Builder—>Events—>Event Model
(設置—>會計科目設置—>子分類賬會計設置—>會計方法生成器—>事件—>事件模型)
(注:各子模塊的路徑稍有不同,大致如上)
下面就以AR模塊為例展示如下:
該界面的Entity Code[實體代碼]對應xla_transaction_entities表中的ENTITY_CODE字段,每個來源就標示了該子分類賬是哪個模塊產生的。點擊Identifiers[標示]進入如下界面:該界面中的Entity Table Column[實體表列字段]是子模塊相關源表的字段,Identifier Column[標示列]就是SLA中xla_transaction_entities表的列,SLA和各子模塊的聯系就是通過該界面的設置來完成的。
安全性控制字段
security_id_int_num
security_id_char_num
這兩個字段是用來進行安全驗證,數據屏蔽使用的,xla_transaction_entities是有VPD驗證的表,各個模塊使用的策略函數是通過如下界面來設置的:
路徑:Setup—>Accounting Setup—>Subledger Accounting Setup—>Subledger application
(設置—>會計科目設置—>子分類賬會計設置—>子分類賬應用產品)
(注:各子模塊的路徑稍有不同,大致如上)
SLA與各子模塊之間ER圖
1. SLA與AP_INVOICE
2. SLA與AP_PAYMENT
3. SLA與AR_TRANSACTIONS
4. SLA與AR_RECEIPTS
5. SLA與AR_ADJUSTMENT
6. SLA與FA_TRANSACTIONS
7. SLA與FA_DEPRECIATION
8. SLA與PA_REVENUE
9. SLA與PA_EXPENDITURES
10. SLA與PO_RECEIVE
11. SLA與INV_TRANSACTIONS
12. SLA與WIP_TRANSACTIONS
來源:https://www.cnblogs.com/wang-chen/p/7452772.html