{"id":1053,"date":"2013-10-04T12:37:45","date_gmt":"2013-10-04T10:37:45","guid":{"rendered":"http:\/\/oracle.malin.pl\/?p=1053"},"modified":"2013-10-04T12:39:21","modified_gmt":"2013-10-04T10:39:21","slug":"slaxla-laczenia-pomiedzy-xla-a-tablicami-zrodlowymi","status":"publish","type":"post","link":"https:\/\/oracle.malin.pl\/?p=1053","title":{"rendered":"SLA\/XLA po\u0142\u0105czenia pomi\u0119dzy XLA a tablicami \u017ar\u00f3d\u0142owymi"},"content":{"rendered":"<p>Orygina\u0142: http:\/\/www.oracleerp4u.com\/2010\/06\/r12-sla-subledger-accounting.html<br \/>\n1) All accounting performed before transfer to the GL. Accounting data generated and stored in \u201cAccounting Events\u201d tables prior to transfer to GL<\/p>\n<p>2) Run \u201cCreate Accounting\u201d to populate accounting events (SLA) tables. User can \u201cView Accounting\u201d only after \u201cCreate Accounting\u201d is run. Create Accounting process<br \/>\n\u2013 Applies accounting rules<br \/>\n\u2013 Loads SLA tables, GL tables<br \/>\n\u2013 Creates detailed data per accounting rules, stores in SLA \u201cdistribution links\u201d table<\/p>\n<p>3) Below are the key tables for SLA in R12<\/p>\n<p>XLA_AE_HEADERS xah<br \/>\nXLA_AE_LINES xal<br \/>\nXLA_EVENTS xae<br \/>\nXLA_TRANSACTION_ENTITIES xte<br \/>\nXLA_DISTRIBUTION_LINKS xdl<br \/>\nGL_IMPORT_REFERENCES gir<\/p>\n<p>Below are the possible joins between these XLA Tables<\/p>\n<p>xah.ae_header_id = xal.ae_header_id<br \/>\nxah.entity_id = xte.entity_id<br \/>\nxae.entity_id = xte.entity_id<br \/>\nxah.event_id = xlae.event_id<br \/>\nxah.ae_header_id = xdl.ae_header_id<br \/>\nxah.ae_line_num = xdl.ae_line_num<br \/>\nxah.event_id = xdl.event_id<br \/>\nxal.gl_sl_link_id = gir.gl_sl_link_id<br \/>\nxal.gl_sl_link_table = gir.gl_sl_link_table<br \/>\nxah.application_id = xal.application_id<br \/>\nxal.application_id = xte.application_id<br \/>\nxte.application_id = xdl.application_id<br \/>\nxae.application_id = xte.application_id<br \/>\nxah.application_id = xae.application_id<br \/>\nxah.application_id = (Different value based on Module)<\/p>\n<p>xte.entity_code =<br \/>\n'TRANSACTIONS&#8217; or<br \/>\n'RECEIPTS&#8217; or<br \/>\n'ADJUSTMENTS&#8217; or<br \/>\n'PURCHASE_ORDER&#8217; or<br \/>\n'AP_INVOICES&#8217; or<br \/>\n'AP_PAYMENTS&#8217; or<br \/>\n'MTL_ACCOUNTING_EVENTS&#8217; or<br \/>\n'WIP_ACCOUNTING_EVENTS&#8217;<\/p>\n<p>xte.source_id_int_1 =<br \/>\n'INVOICE_ID&#8217; or<br \/>\n'CHECK_ID&#8217; or<br \/>\n'CUSTOMER_TRX_ID&#8217; or<br \/>\n'TRANSACTION_ID&#8217;<\/p>\n<p>XLA_DISTRIBUTION_LINKS table join based on Source Distribution Types<br \/>\nxdl.source_distribution_type = 'AP_PMT_DIST &#8217;<br \/>\nand xdl.source_distribution_id_num_1 = AP_PAYMENT_HIST_DISTS.payment_hist_dist_id<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nxdl.source_distribution_type = 'AP_INV_DIST&#8217;<br \/>\nand xdl.source_distribution_id_num_1 = AP_INVOICE_DISTRIBUTIONS_ALL.invoice_distribution_id<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nxdl.source_distribution_type = 'AR_DISTRIBUTIONS_ALL&#8217;<br \/>\nand xdl.source_distribution_id_num_1 = AR_DISTRIBUTIONS_ALL.line_id<br \/>\nand AR_DISTRIBUTIONS_ALL.source_id = AR_RECEIVABLE_APPLICATIONS_ALL.receivable_application_id<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nxdl.source_distribution_type = 'RA_CUST_TRX_LINE_GL_DIST_ALL&#8217;<br \/>\nand xdl.source_distribution_id_num_1 = RA_CUST_TRX_LINE_GL_DIST_ALL.cust_trx_line_gl_dist_id<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nxdl.source_distribution_type = 'MTL_TRANSACTION_ACCOUNTS&#8217;<br \/>\nand xdl.source_distribution_id_num_1 = MTL_TRANSACTION_ACCOUNTS.inv_sub_ledger_id<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nxdl.source_distribution_type = 'WIP_TRANSACTION_ACCOUNTS&#8217;<br \/>\nand xdl.source_distribution_id_num_1 = WIP_TRANSACTION_ACCOUNTS.wip_sub_ledger_id<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nxdl.source_distribution_type = 'RCV_RECEIVING_SUB_LEDGER&#8217;<br \/>\nand xdl.source_distribution_id_num_1 = RCV_RECEIVING_SUB_LEDGER.rcv_sub_ledger_id<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Orygina\u0142: http:\/\/www.oracleerp4u.com\/2010\/06\/r12-sla-subledger-accounting.html 1) All accounting performed before transfer to the GL. Accounting data generated and stored in \u201cAccounting Events\u201d tables prior to transfer to GL 2) Run \u201cCreate Accounting\u201d to populate accounting events (SLA) tables. User can \u201cView Accounting\u201d only &hellip; <a href=\"https:\/\/oracle.malin.pl\/?p=1053\">Czytaj dalej <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,202],"tags":[249],"_links":{"self":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/1053"}],"collection":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1053"}],"version-history":[{"count":3,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/1053\/revisions"}],"predecessor-version":[{"id":1056,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/1053\/revisions\/1056"}],"wp:attachment":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}