Oracle EBS SLA 詳解(轉)

SLA概述

         SLA :子分類賬(Subledger Accounting),這個在R12中大力宣揚的內容,我們通常的認爲總賬就是對Journal的彙總,但是在實際的操作中我們會發現,對於Sub system過來的Journal,並不能單純的以一種邏輯進行彙總,比如 AP傳入到GLrequest,雖然有豐富的選項用來進行彙總,但是對於是否要彙總Detail Journal,財務人員的思考角度跟我們是不一樣的 ,並不能這樣簡單的Summary,針對不同的Invoice,可能期望得到的Journal樣子不太一樣.因此,就需要SLA這個新的模塊進來對這些特殊性質的Journal進行處理.其實這個模塊也不是R12所特有的,11i下面,我們就可以看見有些Form, DB object是以 XLA開頭的,其實就是 Subledger Accounting

SLA設置

SLA常用表介紹

    在SLA中技術方面最常用的就是日記賬來源追溯,在追溯的過程中從GLSLA11i差別不大,都是通過gl_import_references表來進行,該表的je_batch_idje_header_idje_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模塊爲例展示如下:

http://dl2.iteye.com/upload/attachment/0091/3252/5b959abf-997b-3395-b998-52edb5724da4.png

該界面的Entity Code[實體代碼]對應xla_transaction_entities表中的ENTITY_CODE字段,每個來源就標示了該子分類賬是哪個模塊產生的。點擊Identifiers[標示]進入如下界面:該界面中的Entity Table Column[實體表列字段]是子模塊相關源表的字段,Identifier Column[標示列]就是SLAxla_transaction_entities表的列,SLA和各子模塊的聯繫就是通過該界面的設置來完成的。

http://dl2.iteye.com/upload/attachment/0091/3254/c2c1f0ed-a343-31c4-b0d5-81742c24a674.png

安全性控制字段

security_id_int_num

security_id_char_num

這兩個字段是用來進行安全驗證,數據屏蔽使用的,xla_transaction_entities是有VPD驗證的表,各個模塊使用的策略函數是通過如下界面來設置的:

路徑:Setup>Accounting Setup>Subledger Accounting Setup>Subledger application

(設置>會計科目設置>子分類賬會計設置>子分類賬應用產品)

(注:各子模塊的路徑稍有不同,大致如上)

http://dl2.iteye.com/upload/attachment/0091/3256/bb26fb12-796a-3a90-a4ee-ee12151b4b25.png

SLA與各子模塊之間ER

1. SLAAP_INVOICE

http://dl2.iteye.com/upload/attachment/0091/3258/f166843c-aab2-3646-bc83-0d70108694fb.png

2. SLAAP_PAYMENT

http://dl2.iteye.com/upload/attachment/0091/3260/35227eed-4f76-372f-a949-6d0bdd7a8fff.png

3. SLAAR_TRANSACTIONS

http://dl2.iteye.com/upload/attachment/0091/3262/32fefad0-765d-3417-8f6d-42679618dc5f.png

4. SLAAR_RECEIPTS

http://dl2.iteye.com/upload/attachment/0091/3264/e9a875b7-94c5-30a2-9cb3-62b4cb7c81cf.png

5. SLAAR_ADJUSTMENT

http://dl2.iteye.com/upload/attachment/0091/3266/cef7eae2-26d2-3211-8915-7cf88c0155c5.png

6. SLAFA_TRANSACTIONS

http://dl2.iteye.com/upload/attachment/0091/3268/821509c4-f343-39bd-a9ef-babf70ebfcff.png

7. SLAFA_DEPRECIATION

http://dl2.iteye.com/upload/attachment/0091/3270/f4d60783-4f15-33a7-a945-0257182ce385.png

8. SLAPA_REVENUE

http://dl2.iteye.com/upload/attachment/0091/3272/2a251de9-9929-3030-b882-283558995c8f.png

9. SLAPA_EXPENDITURES

http://dl2.iteye.com/upload/attachment/0091/3274/3b43ea07-bddd-37c7-8a7d-3b3abe28caf9.png

10. SLAPO_RECEIVE

http://dl2.iteye.com/upload/attachment/0091/3278/1422af02-0d3e-3f07-97da-9be91d372c2f.png

11. SLAINV_TRANSACTIONS

http://dl2.iteye.com/upload/attachment/0091/3280/8f3cf391-2467-3df3-81f2-d90c99105ff6.png

12. SLAWIP_TRANSACTIONS

http://dl2.iteye.com/upload/attachment/0091/3282/8797310a-d445-39e1-ae46-cb4c3bd667e1.png



















發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章