<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anil R Patil&#039;s Oracle Applications Blog &#187; General Ledger</title>
	<atom:link href="http://oracle.anilrpatil.com/category/general-ledger/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle.anilrpatil.com</link>
	<description>An Oracle Applications Knowledge Repository and Solution Center</description>
	<lastBuildDate>Thu, 12 May 2011 12:27:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='oracle.anilrpatil.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Anil R Patil&#039;s Oracle Applications Blog &#187; General Ledger</title>
		<link>http://oracle.anilrpatil.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://oracle.anilrpatil.com/osd.xml" title="Anil R Patil&#039;s Oracle Applications Blog" />
	<atom:link rel='hub' href='http://oracle.anilrpatil.com/?pushpress=hub'/>
		<item>
		<title>How to join GL tables with XLA (SubLedger Accounting) tables</title>
		<link>http://oracle.anilrpatil.com/2009/12/12/how-do-i-join-gl-tables-with-xla-subledger-accounting-tables/</link>
		<comments>http://oracle.anilrpatil.com/2009/12/12/how-do-i-join-gl-tables-with-xla-subledger-accounting-tables/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 23:10:23 +0000</pubDate>
		<dc:creator>anilrpatil</dc:creator>
				<category><![CDATA[General Ledger]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[Sub-Ledger Accounting]]></category>
		<category><![CDATA[Anil Patil]]></category>
		<category><![CDATA[anilrpatil]]></category>
		<category><![CDATA[drilldown]]></category>
		<category><![CDATA[gl_import_references]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[Oracle Financials]]></category>
		<category><![CDATA[SLA]]></category>
		<category><![CDATA[XLA]]></category>
		<category><![CDATA[xla_ae_headers]]></category>
		<category><![CDATA[xla_ae_lines]]></category>
		<category><![CDATA[xla_events]]></category>

		<guid isPermaLink="false">http://anilrpatil.wordpress.com/?p=115</guid>
		<description><![CDATA[GL_JE_BATCHES (je_batch_id)                                   =&#62; GL_JE_HEADERS (je_batch_id) GL_JE_HEADERS (je_header_id)                                  =&#62; GL_JE_LINES (je_header_id) GL_JE_LINES (je_header_id,  je_line_num)                      =&#62; GL_IMPORT_REFERENCES (je_header_id, je_line_num) GL_IMPORT_REFERENCES (gl_sl_link_table, gl_sl_link_id)        =&#62; XLA_AE_LINES (gl_sl_link_table, gl_sl_link_id) XLA_AE_LINES (application_id, ae_header_id)                   =&#62; XLA_AE_HEADERS (application_id, ae_header_id)  XLA_AE_HEADERS (application_id, event_id)                     =&#62; XLA_EVENTS (application_id, event_id)    XLA_EVENTS (application_id, entity_id)                        =&#62; XLA.XLA_TRANSACTION_ENTITIES (application_id, entity_id)  The source_id_int_1 column of xla.xla_transaction_entities stores the primary_id value for the transactions. You can join the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracle.anilrpatil.com&amp;blog=9906956&amp;post=115&amp;subd=anilrpatil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>GL_JE_BATCHES (je_batch_id)                                   =&gt; GL_JE_HEADERS (je_batch_id)
GL_JE_HEADERS (je_header_id)                                  =&gt; GL_JE_LINES (je_header_id)
GL_JE_LINES (je_header_id,  je_line_num)                      =&gt; GL_IMPORT_REFERENCES (je_header_id, je_line_num)
GL_IMPORT_REFERENCES (gl_sl_link_table, gl_sl_link_id)        =&gt; XLA_AE_LINES (gl_sl_link_table, gl_sl_link_id)
XLA_AE_LINES (application_id, ae_header_id)                   =&gt; XLA_AE_HEADERS (application_id, ae_header_id) 
XLA_AE_HEADERS (application_id, event_id)                     =&gt; XLA_EVENTS (application_id, event_id)   
XLA_EVENTS (application_id, entity_id)                        =&gt; XLA.XLA_TRANSACTION_ENTITIES (application_id, entity_id) </pre>
<p>The source_id_int_1 column of xla.xla_transaction_entities stores the primary_id value for the transactions. You can join the xla.xla_transaction_entities table with the corresponding transactions table for obtaining additional information of the transaction. For e.g you join the xla.xla_transaction_entities table with ra_customer_trx_all for obtaining receivables transactions information or with mtl_material_transactions table for obtaining material transactions information.</p>
<p>The entity_id mappings can be obtained from the XLA_ENTITY_ID_MAPPINGS table</p>
<p>[Keywords: gl_import_references, xla_ae_lines, xla_ae_headers, xla_events, drilldown, SLA, XLA]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anilrpatil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anilrpatil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anilrpatil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anilrpatil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anilrpatil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anilrpatil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anilrpatil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anilrpatil.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracle.anilrpatil.com&amp;blog=9906956&amp;post=115&amp;subd=anilrpatil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracle.anilrpatil.com/2009/12/12/how-do-i-join-gl-tables-with-xla-subledger-accounting-tables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">anilrpatil</media:title>
		</media:content>
	</item>
		<item>
		<title>Drilldown from GL to Receiving Transactions</title>
		<link>http://oracle.anilrpatil.com/2009/12/12/drilldown-from-gl-to-receiving-transactions-2/</link>
		<comments>http://oracle.anilrpatil.com/2009/12/12/drilldown-from-gl-to-receiving-transactions-2/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 22:20:57 +0000</pubDate>
		<dc:creator>anilrpatil</dc:creator>
				<category><![CDATA[General Ledger]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[Sub-Ledger Accounting]]></category>
		<category><![CDATA[Anil Patil]]></category>
		<category><![CDATA[anilrpatil]]></category>
		<category><![CDATA[drilldown]]></category>
		<category><![CDATA[gl_import_references]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[Oracle Financials]]></category>
		<category><![CDATA[SLA]]></category>
		<category><![CDATA[xla_ae_headers]]></category>
		<category><![CDATA[xla_ae_lines]]></category>
		<category><![CDATA[xla_events]]></category>
		<category><![CDATA[xla_transaction_entities]]></category>

		<guid isPermaLink="false">http://anilrpatil.wordpress.com/?p=105</guid>
		<description><![CDATA[This query gives you information from GL, XLA and Receiving Transactions Table. I used this query when I was debugging reconciliation issues between GL and SLA entries and this query was really very very useful. SELECT b.NAME je_batch_name, b.description je_batch_description, b.running_total_accounted_dr je_batch_total_dr, b.running_total_accounted_cr je_batch_total_cr, b.status je_batch_status, b.default_effective_date je_batch_effective_date, b.default_period_name je_batch_period_name, b.creation_date je_batch_creation_date, u.user_name je_batch_created_by, h.je_category je_header_category, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracle.anilrpatil.com&amp;blog=9906956&amp;post=105&amp;subd=anilrpatil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This query gives you information from GL, XLA and Receiving Transactions Table. I used this query when I was debugging reconciliation issues between GL and SLA entries and this query was really very very useful.</p>
<pre>SELECT b.NAME                   je_batch_name,

b.description                   je_batch_description,

b.running_total_accounted_dr    je_batch_total_dr,

b.running_total_accounted_cr    je_batch_total_cr,

b.status                        je_batch_status,

b.default_effective_date        je_batch_effective_date,

b.default_period_name           je_batch_period_name,

b.creation_date                 je_batch_creation_date,

u.user_name                     je_batch_created_by,

h.je_category                   je_header_category,

h.je_source                     je_header_source,

h.period_name                   je_header_period_name,

h.NAME                          je_header_journal_name,

h.status                        je_header_journal_status,

h.creation_date                 je_header_created_date,

u1.user_name                    je_header_created_by,

h.description                   je_header_description,

h.running_total_accounted_dr    je_header_total_acctd_dr,

h.running_total_accounted_cr    je_header_total_acctd_cr,

l.je_line_num                   je_lines_line_number,

l.ledger_id                     je_lines_ledger_id,

glcc.concatenated_segments      je_lines_ACCOUNT,

l.entered_dr                    je_lines_entered_dr,

l.entered_cr                    je_lines_entered_cr,

l.accounted_dr                  je_lines_accounted_dr,

l.accounted_cr                  je_lines_accounted_cr,

l.description                   je_lines_description,

glcc1.concatenated_segments     xla_lines_account,

xlal.accounting_class_code      xla_lines_acct_class_code,

xlal.accounted_dr               xla_lines_accounted_dr,

xlal.accounted_cr               xla_lines_accounted_cr,

xlal.description                xla_lines_description,

xlal.accounting_date            xla_lines_accounting_date,

xlate.entity_code               xla_trx_entity_code,

xlate.source_id_int_1           xla_trx_source_id_int_1,

xlate.source_id_int_2           xla_trx_source_id_int_2,

xlate.source_id_int_3           xla_trx_source_id_int_3,

xlate.security_id_int_1         xla_trx_security_id_int_1,

xlate.security_id_int_2         xla_trx_security_id_int_2,

xlate.transaction_number        xla_trx_transaction_number,

rcvt.transaction_type           rcv_trx_transaction_type,

rcvt.transaction_date           rcv_trx_transaction_date,

rcvt.quantity                   rcv_trx_quantity,

rcvt.shipment_header_id         rcv_trx_shipment_header_id,

rcvt.shipment_line_id           rcv_trx_shipment_line_id,

rcvt.destination_type_code      rcv_trx_destination_type_code,

rcvt.po_header_id               rcv_trx_po_header_id,

rcvt.po_line_id                 rcv_trx_po_line_id,

rcvt.po_line_location_id        rcv_trx_po_line_location_id,

rcvt.po_distribution_id         rcv_trx_po_distribution_id,

rcvt.vendor_id                  rcv_trx_vendor_id,

rcvt.vendor_site_id             rcv_trx_vendor_site_id

FROM                            

gl_je_batches                   b,

gl_je_headers                   h,

gl_je_lines                     l,

fnd_user                        u,

fnd_user                        u1,

gl_code_combinations_kfv        glcc,

gl_code_combinations_kfv        glcc1,

gl_import_references            gir,

xla_ae_lines                    xlal,

xla_ae_headers                  xlah,

xla_events                      xlae,

xla.xla_transaction_entities    xlate,

rcv_transactions                rcvt

WHERE 

b.created_by                    = u.user_id

AND h.created_by                = u1.user_id

AND b.je_batch_id               = h.je_batch_id

AND h.je_header_id              = l.je_header_id

AND l.code_combination_id       = glcc.code_combination_id

AND l.je_header_id              = gir.je_header_id

AND l.je_line_num               = gir.je_line_num

AND gir.gl_sl_link_table        = xlal.gl_sl_link_table

AND gir.gl_sl_link_id           = xlal.gl_sl_link_id

AND xlal.application_id         = xlah.application_id

AND xlal.ae_header_id           = xlah.ae_header_id

AND xlal.code_combination_id    = glcc1.code_combination_id

AND xlah.application_id         = xlae.application_id

AND xlah.event_id               = xlae.event_id

AND xlae.application_id         = xlate.application_id

AND xlae.entity_id              = xlate.entity_id

AND xlate.source_id_int_1       = rcvt.transaction_id

AND h.je_category               = 'Receiving'

AND b.default_period_name       = '01_APR-2009'

ORDER BY h.je_category;

[Keywords: gl_import_references, xla_ae_lines, xla_ae_headers, xla_events, xla_transaction_entities, SLA, rcv_transactions]</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anilrpatil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anilrpatil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anilrpatil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anilrpatil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anilrpatil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anilrpatil.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anilrpatil.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anilrpatil.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracle.anilrpatil.com&amp;blog=9906956&amp;post=105&amp;subd=anilrpatil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracle.anilrpatil.com/2009/12/12/drilldown-from-gl-to-receiving-transactions-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">anilrpatil</media:title>
		</media:content>
	</item>
	</channel>
</rss>
