58
1 © 2009 Orac le Corporation – Propr ietar y and Confidential

AR to SLA Data Flow

Embed Size (px)

DESCRIPTION

AR to SLA Data Flow

Citation preview

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 1/58

1© 2009 Oracle Corporation – Proprietary and Confidential

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 2/58

2© 2009 Oracle Corporation – Proprietary and Confidential

 AR TO SLA DATA FLOW

Day, Date, 2004

time p.m. ET

Teleconference Access:North America: xxxx

International: xxxx

Password: Advisor 

Wednesday,

February 17, 2009

11:30 EST

Teleconference Access:

North America:

+1-877-664-9143

International:

+1-706-634 - 8961

Conference ID: 82198765

For upcoming Oracle AdvisorWebcasts, see Note398884.1, Oracle AdvisorWebcast Schedule.

Upcoming Receivables Community LiveWebcasts:

February 24, 2009: How to Use Receipts Application

Programming Interfaces (APIs) to Create and Apply

Receipts

March 3, 2009: Using Trading Community Architecture

(TCA) Application Programming Interfaces (APIs) forCustomer Data Creation

Do you have any requests for future Receivables

 Advisor Webcast Events? Please email yoursuggestions to [email protected], subject:

Topics of Interest.

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 3/58

3© 2009 Oracle Corporation – Proprietary and Confidential

• Presentation – approximately 45 minutes

• Q&A Session – approximately 15 minutes

• Please hold all questions to the end of the session.

• To ask a question, move your cursor to the top of the screen and select the‘bubble’ icon next to the moderator’s name.

•  A dialog box will open. Enter your question and select “Send.”

• During the Q&A session your question will be read and an answer will

follow.

 Agenda

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 4/58

4© 2009 Oracle Corporation – Proprietary and Confidential

 ATTENTION – AUDIO INFORMATION

If you encounter any audio issues, please call

InterCall (Audio Conferencing) and mute your

phone.

North America: +1-877-664-9143

International: +1-706-634 - 8961

Conference ID: 82198765

We would like to encourage attendees with sufficient

Internet bandwidth to listen through VoiceStreaming.

Thank you.

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 5/58

5© 2009 Oracle Corporation – Proprietary and Confidential

The following is intended to outline our general

product direction. It is intended for information

purposes only, and may not be incorporated into

any contract. It is not a commitment to deliver any

material, code, or functionality, and should not be

relied upon in making purchasing decision. The

development, release, and timing of any features

or functionality described for Oracle’s products

remains at the sole discretion of Oracle.

Safe Harbor Statement

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 6/58

<Insert Picture Here>

 AR to SLA Data Flow

José Manuel Martínez-Conde Abril

Senior Principal Support Engineer 

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 7/587© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Program Agenda

• Enter Transaction in AR

• Complete Transaction

• Create Accounting in Draft Mode

• Create Accounting in Final Mode

• Transfer Journal Entries to GL• Journal Import

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 8/588© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Enter Transaction

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 9/589© 2009 Oracle Corporation – Proprietary and Confidential

Enter Transaction

•  A new event is created in xla_events with:event_status_code = ‘I’

process_status_code = ‘U’

• The xla_transaction_entities table is populated

• The event_id field is populated in the distributions table

SELECT *FROM XLA_EVENTS xe

WHERE xe.application_id = 222

 AND xe.entity_id IN ( SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xteWHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id );

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 10/5810© 2009 Oracle Corporation – Proprietary and Confidential

Enter Transaction

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 11/58

11© 2009 Oracle Corporation – Proprietary and Confidential

Enter Transaction

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 12/58

12© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Complete Transaction

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 13/58

13© 2009 Oracle Corporation – Proprietary and Confidential

Complete Transaction

• Xla_events.event_status_code changes from ‘I’ to ‘U’

• Ra_customer_trx.complete_flag is set to ‘Y’

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 14/58

14© 2009 Oracle Corporation – Proprietary and Confidential

Complete Transaction

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 15/58

15© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Create Accounting inDraft Mode

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 16/58

16© 2009 Oracle Corporation – Proprietary and Confidential

Create Draft Accounting

• xla_events.process_status_code is set to ‘D’

• Journal is created in xla_ae_headers and

xla_ae_lines

• xla_ae_headers. gl_transfer_status_code = ‘N’

• xla_ae_headers. gl_transfer_date is null

• xla_ae_headers. accounting_entry_status_code = ‘D’

• xla_distribution_links is populated

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 17/58

17© 2009 Oracle Corporation – Proprietary and Confidential

Create Draft Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 18/58

18© 2009 Oracle Corporation – Proprietary and Confidential

Create Draft Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 19/58

19© 2009 Oracle Corporation – Proprietary and Confidential

Create Draft Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 20/58

20© 2009 Oracle Corporation – Proprietary and Confidential

Create Draft Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 21/58

21© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Create Accounting inFinal Mode

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 22/58

22© 2009 Oracle Corporation – Proprietary and Confidential

Create Accounting in Final Mode

• xla_events.event_status_code andprocess_status_code are set to ‘P’

• xla_ae_headers.ae_header_id changes

• xla_ae_headers & xla_ae_lines.

accounting_entry_status_code is set to ‘F’

• xla_ae_lines.gl_sl_link_id is set

• xla_ae_lines.control_balance_flag is set

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 23/58

23© 2009 Oracle Corporation – Proprietary and Confidential

Create Accounting in Final Mode

 

XLABABUP module: ‘Subledger 

 

 Accounting Balances

Update’

 

is launched

• xla_control_balances is updated at this stage

• xla_distribution_links is linked to the newae_header_id

• Transaction is marked as posted in AR

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 24/58

24© 2009 Oracle Corporation – Proprietary and Confidential

Create Final Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 25/58

25© 2009 Oracle Corporation – Proprietary and Confidential

Create Final Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 26/58

26© 2009 Oracle Corporation – Proprietary and Confidential

Create Final Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 27/58

27© 2009 Oracle Corporation – Proprietary and Confidential

Create Final Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 28/58

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 29/58

29© 2009 Oracle Corporation – Proprietary and Confidential

Create Final Accounting

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 30/58

30© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Transfer Journal Entriesto GL

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 31/58

31© 2009 Oracle Corporation – Proprietary and Confidential

Transfer Journal Entries to GL

• xla_ae_headers.gl_transfer_status_code is set to ‘Y’

• xla_ae_headers.gl_transfer_date is populated

• xla_ae_headers.group_id is assigned a value

• gl_interface is populated (or xla_glt_<group_id)

• If the SLA: Disable Journal Import Profile Option = ‘No’,then journals go to xla_glt_<group_id>.

• Nothing happens in the xla_events, xla_ae_lines,xla_distribution_links, or xla_control_balances tables.

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 32/58

32© 2009 Oracle Corporation – Proprietary and Confidential

Transfer Journal Entries to GL

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 33/58

33© 2009 Oracle Corporation – Proprietary and Confidential

Transfer Journal Entries to GL

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 34/58

34© 2009 Oracle Corporation – Proprietary and Confidential

Transfer Journal Entries to GL

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 35/58

35© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Import Journals

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 36/58

36© 2009 Oracle Corporation – Proprietary and Confidential

Journal Import

• Journals are moved from GL_interface /xla_glt

<group_id> to:

• GL_JE_batches

• GL_import_references

• GL_JE_headers

• GL_JE_lines

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 37/58

37© 2009 Oracle Corporation – Proprietary and Confidential

Journal Import

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 38/58

38© 2009 Oracle Corporation – Proprietary and Confidential

Journal Import

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 39/58

39© 2009 Oracle Corporation – Proprietary and Confidential

Journal Import

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 40/58

40© 2009 Oracle Corporation – Proprietary and Confidential

Journal Import

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 41/58

41© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

 Appendix

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 42/58

42© 2009 Oracle Corporation – Proprietary and Confidential

<Insert Picture Here>

Useful Queries UsingCustomer_trx_id as Input

Parameter 

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 43/58

43© 2009 Oracle Corporation – Proprietary and Confidential

USEFUL QUERIES

 All results from the following queries (exceptions below)

can be found by running the Transaction Data

Diagnostic Script from the Oracle Diagnostics

Responsibility.

Information from the xla_transaction_entities andxla_control_balances is not available via theTransaction Data Diagnostic.

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 44/58

44© 2009 Oracle Corporation – Proprietary and Confidential

XLA_TRANSACTION_ENTITIES

SELECT *

FROM XLA.XLA_TRANSACTION_ENTITIES

WHERE application_id = 222 AND entity_code = 'TRANSACTIONS'

 AND source_id_int_1 = &customer_trx_id );

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 45/58

45© 2009 Oracle Corporation – Proprietary and Confidential

XLA_EVENTS

SELECT *

FROM XLA_EVENTS xe

WHERE xe.application_id = 222

 AND xe.entity_id IN

( SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id );

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 46/58

46© 2009 Oracle Corporation – Proprietary and Confidential

XLA_AE_HEADERS

SELECT *

FROM XLA_AE_HEADERS xah

WHERE xah.application_id = 222

 AND xah.entity_id IN

(SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 47/58

47© 2009 Oracle Corporation – Proprietary and Confidential

XLA_AE_LINES

SELECT xal*

FROM XLA_AE_LINES xal, XLA_AE_HEADERS xah

WHERE xal.application_id = xah.application_id

 AND xal.ae_header_id = xah.ae_header_id

 AND xah.application_id = 222

 AND xah.entity_id IN

(SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 48/58

48© 2009 Oracle Corporation – Proprietary and Confidential

XLA_DISTRIBUTION_LINKS

SELECT xdl.*

FROM XLA_DISTRIBUTION_LINKS xdl, XLA_AE_HEADERS xah

WHERE xdl.application_id = xah.application_id

 AND xdl.ae_header_id = xah.ae_header_id

 AND xah.application_id = 222

 AND xah.entity_id IN

(SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 49/58

49© 2009 Oracle Corporation – Proprietary and Confidential

XLA_CONTROL_BALANCES

select *

from xla_control_balances

where code_combination_id = 12833and application_id = 222

and ledger_id = 1

and period_name = ‘Feb-09’

GL INTERFACE

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 50/58

50© 2009 Oracle Corporation – Proprietary and Confidential

GL_INTERFACE

SELECT distinct gi.*

FROM GL_INTERFACE gi, XLA_AE_LINES xal,XLA_AE_HEADERS xah

WHERE gi.gl_sl_link_id = xal.gl_sl_link_id

 AND gi.gl_sl_link_table = xal.gl_sl_link_table

 AND xal.application_id = xah.application_id

 AND xal.ae_header_id = xah.ae_header_id

 AND xah.application_id = 222

 AND xah.entity_id IN

(SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id );

GL JE BATCHES

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 51/58

51© 2009 Oracle Corporation – Proprietary and Confidential

GL_JE_BATCHES

SELECT distinct gjb.*

FROM GL_JE_BATCHES gjb, GL_IMPORT_REFERENCES gir,XLA_AE_LINES xal, XLA_AE_HEADERS xah

WHERE gjb.je_batch_id = gir.je_batch_id

 AND gir.gl_sl_link_id = xal.gl_sl_link_id AND gir.gl_sl_link_table = xal.gl_sl_link_table

 AND xal.application_id = xah.application_id

 AND xal.ae_header_id = xah.ae_header_id AND xah.application_id = 222

 AND xah.entity_id IN (SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

GL IMPORT REFERENCES

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 52/58

52© 2009 Oracle Corporation – Proprietary and Confidential

GL_IMPORT_REFERENCES

SELECT dist inct gir.*

FROM GL_IMPORT_REFERENCES gir, XLA_AE_LINES xal,

XLA_AE_HEADERS xah

WHERE gir.gl_sl_link_id = xal.gl_sl_link_id

 AND gir.gl_sl_link_table = xal.gl_sl_link_table

 AND xal.application_id = xah.application_id

 AND xal.ae_header_id = xah.ae_header_id

 AND xah.application_id = 222

 AND xah.entity_id IN (SELECT xte.entity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.entity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

GL JE HEADERS

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 53/58

53© 2009 Oracle Corporation – Proprietary and Confidential

GL_JE_HEADERS

SELECT distinct gjh.*FROM GL_JE_HEADERS gjh, GL_IMPORT_REFERENCES gir,

XLA_AE_LINES xal, XLA_AE_HEADERS xah

WHERE gjh.je_header_id = gir.je_header_id

 AND gir.gl_sl_link_id = xal.gl_sl_link_id

 AND gir.gl_sl_link_table = xal.gl_sl_link_table

 AND xal.application_id = xah.application_id

 AND xal.ae_header_id = xah.ae_header_id AND xah.application_id = 222

 AND xah.entity_id IN (SELECT xte.ent ity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.ent ity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

GL JE LINES

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 54/58

54© 2009 Oracle Corporation – Proprietary and Confidential

GL_JE_LINES

SELECT distinct gjl.*

FROM GL_JE_LINES gjl, GL_IMPORT_REFERENCES gir,

XLA_AE_LINES xal, XLA_AE_HEADERS xah

WHERE gjl.je_header_id = gir.je_header_id

 AND gjl.je_line_num = gir.je_line_num

 AND gir.gl_sl_link_id = xal.gl_sl_link_id

 AND gir.gl_sl_link_table = xal.gl_sl_link_table

 AND xal.application_id = xah.application_id

 AND xal.ae_header_id = xah.ae_header_id

 AND xah.application_id = 222

 AND xah.entity_id IN (SELECT xte.ent ity_id

FROM XLA.XLA_TRANSACTION_ENTITIES xte

WHERE xte.application_id = 222

 AND xte.ent ity_code = 'TRANSACTIONS'

 AND xte.source_id_int_1 = &customer_trx_id);

F M I f ti

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 55/58

55© 2009 Oracle Corporation – Proprietary and Confidential

For More Information

Please refer to the eTRM at http://etrm.oracle.com/ for more details onall Oracle tables.

The recorded version of this webcast will be available with the next 24hours and can be downloaded from the Advisor Webcast Archive,Note 740297.1.

Follow up questions from this morning:

1. How can we use the xla_glt_<group_id> table to debug if it is

temporary? The information in the xla_glt_<group_id> will only bedeleted once the journal import is successful, therefore, you wouldonly use this information to debug if the journal import failed.

2. If a summary report is selected when running Create Accounting, is

there a way to see a detailed report for the session at a later time?You will be able to run the process in detail, but it will not affect thetransactions already processed and marked as posted inxla_events, and ra_cust_trx_line_gl_dist_all.

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 56/58

56© 2009 Oracle Corporation – Proprietary and Confidential

• To ask a question, move your cursor to the top of the screen

and select the ‘bubble’ icon next to the moderator’s name.

•  A dialog box will open. Enter your question and select

“Send.”

• Do you have any requests for future Receivables Advisor

Webcast Events? Please email your suggestions to

 [email protected], subject: Topics of Interest.

Questions

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 57/58

57© 2009 Oracle Corporation – Proprietary and Confidential

7/17/2019 AR to SLA Data Flow

http://slidepdf.com/reader/full/ar-to-sla-data-flow 58/58

THANK YOU