<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6427794798870474985</id><updated>2012-02-10T17:09:18.092+05:30</updated><title type='text'>Oracle Apps</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default?start-index=101&amp;max-results=100'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>218</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4278207401986066023</id><published>2012-02-02T01:43:00.000+05:30</published><updated>2012-02-02T01:44:13.873+05:30</updated><title type='text'>Queries for Reconciliation Issue</title><content type='html'>The following are some useful queries that may help you to further analyze why you have a Reconciliation Issue. &lt;br /&gt;&lt;br /&gt;QR23 - Run this SQL script to determine the Segment from a CCID&lt;br /&gt;&lt;br /&gt;select concatenated_segments from gl_code_combinations_kfv &lt;br /&gt;where code_combination_id=52261&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR24 - Run this SQL script to determine the Batch ID for a Group&lt;br /&gt;&lt;br /&gt;select je_batch_id from gl_je_batches where group_id=2068553 &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR25 - Run this SQL script to list the Amounts in the &lt;br /&gt;SLA table for all Manual (YTD) transactions&lt;br /&gt;&lt;br /&gt;select /*+ parallel(l) parallel(h) parallel(gl) leading(h) */ &lt;br /&gt;gl.concatenated_segments,l.code_combination_id,sum(nvl(entered_cr,0)),&lt;br /&gt;sum(nvl(entered_dr,0)),sum(nvl(entered_cr,0))-sum(nvl(entered_dr,0)), currency_code&lt;br /&gt;from xla_ae_headers h, xla_ae_lines l, gl_code_combinations_kfv gl&lt;br /&gt;where gl.code_combination_id = l.code_combination_id and&lt;br /&gt;h.application_id = 200&lt;br /&gt;and l.application_id = h.application_id&lt;br /&gt;and l.ae_header_id = h.ae_header_id&lt;br /&gt;and h.accounting_date between to_date('01-JUL-2007','DD-MON-YYYY') AND&lt;br /&gt;to_date('31-MAR-2008','DD-MON-YYYY') -- &lt;&gt;&lt;br /&gt;and h.ledger_id = 1 &lt;&gt;&lt;br /&gt;AND h.gl_transfer_status_code='Y'&lt;br /&gt;AND h.accounting_entry_status_code='F'&lt;br /&gt;AND l.code_combination_id = 112771 &lt;&gt;&lt;br /&gt;and h.event_type_code='MANUAL'&lt;br /&gt;and h.application_id=200&lt;br /&gt;and h.balance_type_code='A'&lt;br /&gt;group by l.code_combination_id, gl.concatenated_segments, currency_code&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR26 - Run this SQL script to list all transactions that are marked as transferred from SLA, but is not present in the GL&lt;br /&gt;&lt;br /&gt;SELECT l.ae_header_id, l.gl_sl_link_id, l.gl_sl_link_table &lt;br /&gt;FROM xla_ae_lines l, xla_ae_headers h WHERE &lt;br /&gt;l.application_id=h.application_id AND &lt;br /&gt;l.ae_header_id=h.ae_header_id AND &lt;br /&gt;h.application_id=:p_application_id AND &lt;br /&gt;h.ledger_id= :p_ledger_id AND &lt;br /&gt;h.upg_batch_id IS NULL AND &lt;br /&gt;h.gl_transfer_status_code='Y' AND &lt;br /&gt;h.accounting_entry_status_code='F' AND &lt;br /&gt;h.accounting_date BETWEEN :p_period_start_date AND :p_period_end_date AND &lt;br /&gt;h.event_type_code &lt;&gt; ' MANUAL' &lt;br /&gt;AND NOT EXISTS &lt;br /&gt;(SELECT 1 FROM gl_import_references ir , gl_je_headers gh &lt;br /&gt;WHERE ir.gl_sl_link_id=l.gl_sl_link_id AND &lt;br /&gt;ir.gl_sl_link_table=l.gl_sl_link_table AND &lt;br /&gt;ir.je_header_id=gh.je_header_id AND &lt;br /&gt;ir.je_batch_id=gh.je_batch_id AND &lt;br /&gt;gh.ledger_id&gt;0); &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR27 - Run this SQL script periodically to check for multiple postings&lt;br /&gt;&lt;br /&gt;select distinct a.gl_sl_link_id, a.gl_sl_link_table &lt;br /&gt;from gl_import_references a &lt;br /&gt;where (a.gl_sl_link_id,a.gl_sl_link_table) in &lt;br /&gt;(select distinct gl_sl_link_id, gl_sl_link_table &lt;br /&gt;from xla_ae_headers xah ,xla_ae_lines xal &lt;br /&gt;where xah.application_id = xal.application_id &lt;br /&gt;and xah.ae_header_id = xal.ae_header_id &lt;br /&gt;and xah.ledger_id= :ledger_id &lt;br /&gt;and xah.application_id =:appl_id -- 200 for AP, 222 for AR etc. &lt;br /&gt;and xah.accounting_entry_status_code='F' &lt;br /&gt;and xah.accounting_date between :p_start and :p_end) &lt;br /&gt;and exists (select 1 from gl_je_headers gh &lt;br /&gt;where gh.je_batch_id = a.je_batch_id &lt;br /&gt;and gh.je_header_id = a.je_header_id &lt;br /&gt;and gh.ledger_id &gt;0 &lt;br /&gt;and nvl(gh.accrual_rev_je_header_id,0) =0 &lt;br /&gt;) &lt;br /&gt;group by a.gl_sl_link_id, a.gl_sl_link_table &lt;br /&gt;having count(*) &gt; 1 &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR28 - Run this SQL script to identify where the GL_SL_LINK_ID &lt;br /&gt;is in GL but not in SLA, for a batch or period.&lt;br /&gt;&lt;br /&gt;select imp.gl_sl_link_id &lt;br /&gt;from gl_import_references imp, gl_je_lines gl&lt;br /&gt;where gl.je_header_id=imp.je_header_id and&lt;br /&gt;gl.je_line_num=imp.je_line_num &lt;br /&gt;and code_combination_id=52261 &lt;br /&gt;and gl.je_header_id in&lt;br /&gt;(select je_header_id from gl_je_headers where --je_batch_id=2586374&lt;br /&gt;je_source='Payables' and ledger_id=2&lt;br /&gt;and je_source ='Payables' and posted_date is NOT NULL&lt;br /&gt;and actual_flag='A' &lt;br /&gt;and period_name in ('Jan-08','Feb-08','Mar-08','Apr-08') )&lt;br /&gt;and not exists&lt;br /&gt;(select 1 from xla_ae_lines where gl_sl_link_id=imp.gl_sl_link_id&lt;br /&gt;and gl_sl_link_table='XLAJEL') and imp.gl_sl_link_id is not null&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR29 - Run this SQL script to list all the Batches with Null Group IDs: &lt;br /&gt;&lt;br /&gt;select je_batch_id from gl_je_batches where group_id is null&lt;br /&gt;and je_batch_id in&lt;br /&gt;(select distinct je_batch_id from gl_je_headers&lt;br /&gt;where ledger_id=2 and je_source='Payables' and status='P'&lt;br /&gt;and period_name='Jan-08')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4278207401986066023?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4278207401986066023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4278207401986066023' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4278207401986066023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4278207401986066023'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/queries-for-reconciliation-issue.html' title='Queries for Reconciliation Issue'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-335825222431467602</id><published>2012-02-02T01:41:00.000+05:30</published><updated>2012-02-02T01:42:26.138+05:30</updated><title type='text'>R12 Queries SLA tables</title><content type='html'>To get the sum from the SLA tables. &lt;br /&gt;&lt;br /&gt;QR13 - Sum from the SLA Tables&lt;br /&gt;&lt;br /&gt;select /*+ parallel(xal) parallel(xah) leading(xah) */ sum(nvl(accounted_cr,0)) -sum(nvl(accounted_dr,0)) diff, currency_code &lt;br /&gt;from xla_ae_lines xal, xla_Ae_headers xah &lt;br /&gt;where xal.accounting_class_code = 'LIABILITY' &lt;br /&gt;and xal.code_combination_id =15151 &lt;&gt; &lt;br /&gt;and xal.application_id = 200 &lt;br /&gt;and xal.ae_header_id = xah.ae_header_id &lt;br /&gt;and xal.application_id =xah.application_id &lt;br /&gt;and xah.ledger_id = 1              &lt;&gt; &lt;br /&gt;and xah.gl_transfer_status_code = 'Y' &lt;br /&gt;and xah.accounting_entry_status_code='F' &lt;br /&gt;and xah.balance_type_code='A' &lt;br /&gt;and (xah.upg_batch_id is null or xah.upg_batch_id=-9999) -- will help ignore upgraded data &lt;br /&gt;and xah.accounting_date between '01-MAR-2008' and '31-MAR-2008' &lt;&gt; &lt;br /&gt;group by currency_code &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;R12.B) To get the sum from the GL tables&lt;br /&gt;&lt;br /&gt;QR14 - Sum from the GL Tables&lt;br /&gt;&lt;br /&gt;select l.code_combination_id ccid,k.concatenated_segments,&lt;br /&gt;sum(nvl(l.accounted_cr, 0))- sum(nvl(l.accounted_dr,0)) diff,&lt;br /&gt;currency_code&lt;br /&gt;from gl.gl_je_headers h&lt;br /&gt;, gl.gl_je_lines l&lt;br /&gt;,gl_code_combinations_kfv k&lt;br /&gt;where h.currency_code = 'USD'&lt;br /&gt;and l.ledger_id = 1 &lt;&gt;&lt;br /&gt;and l.code_combination_id = k.code_combination_id&lt;br /&gt;and h.je_header_id = l.je_header_id&lt;br /&gt;and h.actual_flag = 'A'&lt;br /&gt;and h.je_from_sla_flag= 'Y' -- will help ingore upgraded data&lt;br /&gt;and l.code_combination_id = 15151 &lt;&gt;&lt;br /&gt;and h.je_source = 'Payables'&lt;br /&gt;and h.period_name in ('MAR-08') &lt;&gt;&lt;br /&gt;group by l.code_combination_id, k.concatenated_segments, currency_code&lt;br /&gt;&lt;br /&gt;R12.A and R12.B should match per CCID, currency within the period. If it does, check per period, per CCID, per currency--This should be the difference between XAL and XTB.&lt;br /&gt;&lt;br /&gt;QR15 - To get the difference from SLA Lines table per CCID and currency&lt;br /&gt;&lt;br /&gt;select /*+ parallel (xah,xal) leading(xah) */ sum(nvl(accounted_cr,0)) -sum(nvl(accounted_dr,0)) diff, currency_code &lt;br /&gt;from xla_ae_lines xal, xla_ae_headers xah &lt;br /&gt;where xal.accounting_class_code = 'LIABILITY' &lt;br /&gt;and xah.event_type_code &lt;&gt; 'MANUAL' &lt;br /&gt;and xal.code_combination_id =15011 -- i/p def code &lt;br /&gt;and xal.application_id = 200 &lt;br /&gt;and xal.ae_header_id = xah.ae_header_id &lt;br /&gt;and xal.application_id =xah.application_id &lt;br /&gt;and xah.ledger_id = 1 &lt;br /&gt;and xah.gl_transfer_status_code = 'Y' &lt;br /&gt;and xah.accounting_entry_status_code='F' &lt;br /&gt;and xah.accounting_date between '01-MAR-2008' and '31-MAR-2008' &lt;br /&gt;group by currency_code &lt;br /&gt;&lt;br /&gt;Note: In the following SQL query, we have introduced another filter--event_class_code. &lt;br /&gt;This is done in order to remove the UNDO ACCOUNTING datafix entries. Read the section, Understanding how UNDO Accounting can impact Reconciliation, for more details. Such entries will match in SLA-to-GJL lines comparison, but will not match between XAL-to-XTB &lt;br /&gt;&lt;br /&gt;QR16 - Get the XTB Difference&lt;br /&gt;&lt;br /&gt;select SUM(NVL(ACCTD_ROUNDED_CR,0)) - SUM(NVL(ACCTD_ROUNDED_DR,0)) diff, trx_currency_code&lt;br /&gt;from xla_trial_balances xtb&lt;br /&gt;where definition_code = &amp;definition_code&lt;br /&gt;and code_combination_id=15011&lt;br /&gt;and gl_date between '01-MAR-2008' and '31-MAR-2008'&lt;br /&gt;group by trx_currency_code &lt;br /&gt;&lt;br /&gt;The Difference of the sum of Credit-Debit for the CCID/Currency combination in XAL (lines) should match the difference of the Sum Credit-Debit for the CCID/Transaction Currency in XTB, assuming all LIABILITY CCIDs are defined in the Trial Balance Definition.&lt;br /&gt;&lt;br /&gt;QR17 - Get the difference from the SLA Lines table per CCID and currency&lt;br /&gt;&lt;br /&gt;select /*+ parallel (xah,xal) leading(xah) */ sum(nvl(accounted_cr,0)) -sum(nvl(accounted_dr,0)) diff, currency_code, entity_id&lt;br /&gt;from xla_ae_lines xal, xla_Ae_headers xah&lt;br /&gt;where xal.accounting_class_code = 'LIABILITY'&lt;br /&gt;and xal.code_combination_id =15011&lt;br /&gt;-- i/p def code&lt;br /&gt;and xal.application_id = 200&lt;br /&gt;and xal.ae_header_id = xah.ae_header_id&lt;br /&gt;and xal.application_id =xah.application_id&lt;br /&gt;and xah.ledger_id = 1&lt;br /&gt;and xah.gl_transfer_status_code = 'Y'&lt;br /&gt;and xah.accounting_entry_status_code='F'&lt;br /&gt;and xah.accounting_date between '01-MAR-2008' and '31-MAR-2008'&lt;br /&gt;group by entity_id, currency_code,entity_id&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR18 - Get the difference from the XTB table &lt;br /&gt;&lt;br /&gt;select SUM(NVL(ACCTD_ROUNDED_CR,0)) - SUM(NVL(ACCTD_ROUNDED_DR,0)) diff, trx_currency_code, source_entity_id &lt;br /&gt;from xla_trial_balances xtb &lt;br /&gt;where definition_code = &amp;definition_code &lt;br /&gt;and code_combination_id=15011 &lt;br /&gt;and gl_date between '01-MAR-2008' and '31-MAR-2008' &lt;br /&gt;group by trx_currency_code, source_entity_id &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If R12.A and R12.B do not match per CCID and currency within a period, then investigate the batches within that period from SLA and compare the amounts in SLA and GL using the group_id. This may not always work as the group_id sometimes gets deleted from GL.&lt;br /&gt;&lt;br /&gt;QR19 - SLA query considering the SLA Manual entries&lt;br /&gt;&lt;br /&gt;select /*+ parallel(xal) parallel(xah) leading(xah) */ &lt;br /&gt;--xah.entity_id source_entity_id,&lt;br /&gt;sum(nvl(accounted_cr,0)) -sum(nvl(accounted_dr,0)) diff , xah.group_id&lt;br /&gt;from xla_ae_lines xal, xla_Ae_headers xah&lt;br /&gt;where xal.accounting_class_code = 'LIABILITY' and xah.event_type_code &lt;&gt; 'MANUAL'&lt;br /&gt;and xal.code_combination_id =52261&lt;br /&gt;and xal.application_id = 200&lt;br /&gt;and xal.ae_header_id = xah.ae_header_id&lt;br /&gt;and xal.application_id =xah.application_id&lt;br /&gt;and xah.ledger_id = 2&lt;br /&gt;and xah.gl_transfer_status_code = 'Y'&lt;br /&gt;and xah.accounting_entry_status_code='F'&lt;br /&gt;and xah.balance_type_code='A' &lt;br /&gt;group by xah.group_id&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;QR20 - GL query for amounts per Group ID&lt;br /&gt;&lt;br /&gt;select 'GL' Module, b.group_id,&lt;br /&gt;SUM(NVL(accounted_cr,0)) - SUM(NVL(accounted_dr,0)) diff_acc &lt;br /&gt;from apps.gl_je_headers a, apps.gl_je_batches b,apps.gl_je_lines c&lt;br /&gt;where&lt;br /&gt;a.je_header_id=c.je_header_id &lt;br /&gt;and a.je_batch_id=b.je_batch_id&lt;br /&gt;and c.ledger_id=2&lt;br /&gt;and a.posted_date is NOT NULL&lt;br /&gt;and a.je_source ='Payables'&lt;br /&gt;and a.actual_flag='A' and c.code_combination_id=52261&lt;br /&gt;group by b.group_id;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-335825222431467602?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/335825222431467602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=335825222431467602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/335825222431467602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/335825222431467602'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/r12-queries-sla-tables.html' title='R12 Queries SLA tables'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3240640618407218096</id><published>2012-02-01T22:27:00.002+05:30</published><updated>2012-02-01T22:28:08.920+05:30</updated><title type='text'>Queryies for Inventory Transactions Pending</title><content type='html'>Inventory Transactions&lt;br /&gt;&lt;br /&gt;a. Stuck interface transactions (Group By)&lt;br /&gt;&lt;br /&gt;PROMPT Stuck Transactions - GroupBy MTI&lt;br /&gt;select transaction_type_id, organization_id, substr(error_code, 1, 30),&lt;br /&gt;substr(error_explanation, 1, 50), to_char(transaction_date, 'YYYY-MM'),&lt;br /&gt;count(*)&lt;br /&gt;from mtl_transactions_interface&lt;br /&gt;group by transaction_type_id, organization_id, to_char(transaction_date, 'YYYY-MM'),&lt;br /&gt;substr(error_code, 1, 30), substr(error_explanation, 1, 50);&lt;br /&gt;&lt;br /&gt;b. Stuck pending transactions (Group By)&lt;br /&gt;&lt;br /&gt;PROMPT Stuck Transactions - GroupBy MMTT&lt;br /&gt;select transaction_type_id, organization_id, substr(error_code, 1, 30), &lt;br /&gt;substr(error_explanation, 1, 50), to_char(transaction_date, 'YYYY-MM'), &lt;br /&gt;count(*) &lt;br /&gt;from mtl_material_transactions_temp&lt;br /&gt;group by transaction_type_id, organization_id, to_char(transaction_date, 'YYYY-MM'), &lt;br /&gt;substr(error_code, 1, 30), substr(error_explanation, 1, 50);&lt;br /&gt;&lt;br /&gt;c. Stuck move order transactions (Group By)&lt;br /&gt;&lt;br /&gt;PROMPT Stuck Transactions - GroupBy Move Order&lt;br /&gt;select transaction_type_id, to_char(transaction_date,'YYYY-MON'), &lt;br /&gt;decode(transaction_status,2,'Untransacted Move order', transaction_status), &lt;br /&gt;error_code, error_explanation, &lt;br /&gt;count(*) &lt;br /&gt;from mtl_material_transactions_temp&lt;br /&gt;where organization_id = &amp;Org_id&lt;br /&gt;group by transaction_type_id, to_char(transaction_date,'YYYY-MON'), &lt;br /&gt;decode(transaction_status,2,'Untransacted Move order', transaction_status), &lt;br /&gt;error_code, error_explanation;&lt;br /&gt;&lt;br /&gt;d. Uncosted transactions (Group By)&lt;br /&gt;&lt;br /&gt;PROMPT Uncosted Transactions - GroupBy MMT&lt;br /&gt;select transaction_type_id, organization_id, costed_flag, &lt;br /&gt;to_char(transaction_date, 'YYYY-MM'), error_code, substr(error_explanation, 1, 50), &lt;br /&gt;count(*) &lt;br /&gt;from mtl_material_transactions &lt;br /&gt;where costed_flag IN ('N','E')&lt;br /&gt;group by transaction_type_id, organization_id, costed_flag, to_char(transaction_date, 'YYYY-MM'), &lt;br /&gt;error_code, substr(error_explanation, 1, 50);&lt;br /&gt;&lt;br /&gt;e. Dump information about transaction tables&lt;br /&gt;&lt;br /&gt;PROMPT Stuck Transactions Dump - MTI&lt;br /&gt;select transaction_interface_id, inventory_item_id, organization_id, subinventory_code, &lt;br /&gt;locator_id, revision, transaction_quantity, transaction_date, transaction_type_id, &lt;br /&gt;transaction_source_id, transfer_subinventory, transfer_locator, &lt;br /&gt;trx_source_line_id, cost_group_id, process_flag, lock_flag, transaction_mode,&lt;br /&gt;error_explanation, error_code&lt;br /&gt;from mtl_transactions_interface&lt;br /&gt;order by transaction_source_id, trx_source_line_id;&lt;br /&gt;&lt;br /&gt;PROMPT Stuck Transactions Dump - MMTT&lt;br /&gt;select transaction_temp_id, inventory_item_id, organization_id, subinventory_code, locator_id, revision,&lt;br /&gt;transaction_quantity, transaction_date, transaction_type_id, transaction_source_id, transfer_subinventory,&lt;br /&gt;transfer_to_location, trx_source_line_id, cost_group_id, process_flag, lock_flag, transaction_mode,&lt;br /&gt;error_explanation, error_code&lt;br /&gt;from mtl_material_transactions_temp&lt;br /&gt;order by transaction_source_id, trx_source_line_id;&lt;br /&gt;&lt;br /&gt;PROMPT Stuck Transactions Dump - MMT&lt;br /&gt;select&lt;br /&gt;transaction_id, inventory_item_id, organization_id, subinventory_code, &lt;br /&gt;locator_id, revision, transaction_quantity, transaction_date, &lt;br /&gt;transaction_type_id, transaction_source_id, transfer_subinventory, &lt;br /&gt;transfer_locator_id, trx_source_line_id, cost_group_id, &lt;br /&gt;error_explanation, error_code,&lt;br /&gt;from mtl_material_transactions&lt;br /&gt;where costed_flag IN ('N','E')&lt;br /&gt;order by transaction_source_id, trx_source_line_id;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3240640618407218096?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3240640618407218096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3240640618407218096' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3240640618407218096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3240640618407218096'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/queryies-for-inventory-transactions.html' title='Queryies for Inventory Transactions Pending'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-8126202745855864659</id><published>2012-02-01T22:24:00.002+05:30</published><updated>2012-02-01T22:26:03.782+05:30</updated><title type='text'>query to check profile options at all levels</title><content type='html'>Values of a profile option&lt;br /&gt;&lt;br /&gt;It is sometimes hard to know where a profile option is set. A user might have a profile option set, an application, responsibility, and these might result in unexpected results. The following prompts for the profile name that a user sees. You could also query for the internal profile code instead by using the column a.profile_option_name instead.&lt;br /&gt;select &lt;br /&gt;b.user_profile_option_name "Long Name"&lt;br /&gt;, a.profile_option_name "Short Name"&lt;br /&gt;, decode(to_char(c.level_id),'10001','Site'&lt;br /&gt;,'10002','Application'&lt;br /&gt;,'10003','Responsibility'&lt;br /&gt;,'10004','User'&lt;br /&gt;,'Unknown') "Level"&lt;br /&gt;, decode(to_char(c.level_id),'10001','Site'&lt;br /&gt;,'10002',nvl(h.application_short_name,to_char(c.level_value))&lt;br /&gt;,'10003',nvl(g.responsibility_name,to_char(c.level_value))&lt;br /&gt;,'10004',nvl(e.user_name,to_char(c.level_value))&lt;br /&gt;,'Unknown') "Level Value"&lt;br /&gt;, c.PROFILE_OPTION_VALUE "Profile Value"&lt;br /&gt;, c.profile_option_id "Profile ID"&lt;br /&gt;, to_char(c.LAST_UPDATE_DATE,'DD-MON-YYYY HH24:MI') "Updated Date"&lt;br /&gt;, nvl(d.user_name,to_char(c.last_updated_by)) "Updated By"&lt;br /&gt;from &lt;br /&gt;apps.fnd_profile_options a&lt;br /&gt;, apps.FND_PROFILE_OPTIONS_VL b&lt;br /&gt;, apps.FND_PROFILE_OPTION_VALUES c&lt;br /&gt;, apps.FND_USER d&lt;br /&gt;, apps.FND_USER e&lt;br /&gt;, apps.FND_RESPONSIBILITY_VL g&lt;br /&gt;, apps.FND_APPLICATION h&lt;br /&gt;where &lt;br /&gt;--a.application_id = nvl(401, a.application_id)&lt;br /&gt;--and a.profile_option_name = nvl('INV', a.profile_option_name)&lt;br /&gt;b.user_profile_option_name like '&amp;ProfileName' -- 'AFLOG_ENABLED'&lt;br /&gt;and a.profile_option_name = b.profile_option_name&lt;br /&gt;and a.profile_option_id = c.profile_option_id&lt;br /&gt;and a.application_id = c.application_id&lt;br /&gt;and c.last_updated_by = d.user_id (+)&lt;br /&gt;and c.level_value = e.user_id (+)&lt;br /&gt;and c.level_value = g.responsibility_id (+)&lt;br /&gt;and c.level_value = h.application_id (+)&lt;br /&gt;order by &lt;br /&gt;b.user_profile_option_name, c.level_id, &lt;br /&gt;decode(to_char(c.level_id),'10001','Site'&lt;br /&gt;,'10002',nvl(h.application_short_name,to_char(c.level_value))&lt;br /&gt;,'10003',nvl(g.responsibility_name,to_char(c.level_value))&lt;br /&gt;,'10004',nvl(e.user_name,to_char(c.level_value))&lt;br /&gt;,'Unknown');&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-8126202745855864659?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/8126202745855864659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=8126202745855864659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8126202745855864659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8126202745855864659'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/query-to-check-profile-options-at-all.html' title='query to check profile options at all levels'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5480526130000376647</id><published>2012-02-01T22:24:00.001+05:30</published><updated>2012-02-01T22:24:35.563+05:30</updated><title type='text'>query to find users who have a responsibility</title><content type='html'>PROMPT Find users who have a responsibility&lt;br /&gt;select usr.user_id, usr.user_name, res.RESPONSIBILITY_ID, res.RESPONSIBILITY_NAME&lt;br /&gt;from apps.FND_USER usr, apps.FND_RESPONSIBILITY_TL res, apps.FND_USER_RESP_GROUPS grp&lt;br /&gt;where upper(res.RESPONSIBILITY_NAME) like upper('%' || NVL('&amp;EnterRespName', 'INV')|| '%')&lt;br /&gt;and upper(res.RESPONSIBILITY_NAME) NOT like '%AX%'&lt;br /&gt;and upper(res.RESPONSIBILITY_NAME) NOT like '%OPM%'&lt;br /&gt;and grp.responsibility_id = res.responsibility_id&lt;br /&gt;and grp.user_id = usr.user_id;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5480526130000376647?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5480526130000376647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5480526130000376647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5480526130000376647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5480526130000376647'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/query-to-find-users-who-have.html' title='query to find users who have a responsibility'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5909333735083163380</id><published>2012-02-01T22:20:00.000+05:30</published><updated>2012-02-01T22:23:58.499+05:30</updated><title type='text'>Query to check Active users</title><content type='html'>PROMPT Active Users&lt;br /&gt;select fnd.user_name, icx.responsibility_application_id, icx.responsibility_id, frt.responsibility_name,&lt;br /&gt;icx.session_id, icx.first_connect,&lt;br /&gt;icx.last_connect,&lt;br /&gt;DECODE ((icx.disabled_flag),'N', 'ACTIVE', 'Y', 'INACTIVE') status&lt;br /&gt;from&lt;br /&gt;fnd_user fnd, icx_sessions icx, fnd_responsibility_tl frt&lt;br /&gt;where&lt;br /&gt;fnd.user_id = icx.user_id&lt;br /&gt;and icx.responsibility_id = frt.responsibility_id&lt;br /&gt;and icx.disabled_flag &lt;&gt; 'Y'&lt;br /&gt;and trunc(icx.last_connect) = trunc(sysdate)&lt;br /&gt;order by icx.last_connect;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5909333735083163380?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5909333735083163380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5909333735083163380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5909333735083163380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5909333735083163380'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/query-to-check-active-users.html' title='Query to check Active users'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1263366253821137724</id><published>2012-02-01T22:19:00.003+05:30</published><updated>2012-02-01T22:19:58.558+05:30</updated><title type='text'>Ensure trace is disabled</title><content type='html'>Ensure trace is disabled&lt;br /&gt;The best way is to check via the forms System Administrator &gt; Concurrent &gt; Programs Define. This is just a quick update to change trace enabled to no.&lt;br /&gt;Update Fnd_Concurrent_Programs&lt;br /&gt;Set Enable_Trace = 'N'&lt;br /&gt;where ENABLE_TRACE = 'Y';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1263366253821137724?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1263366253821137724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1263366253821137724' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1263366253821137724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1263366253821137724'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/ensure-trace-is-disabled.html' title='Ensure trace is disabled'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3628207301572279100</id><published>2012-02-01T22:19:00.001+05:30</published><updated>2012-02-01T22:19:15.545+05:30</updated><title type='text'>Concurrent program statuses</title><content type='html'>Concurrent program statuses&lt;br /&gt;&lt;br /&gt;PROMPT Concurrent program values&lt;br /&gt;&lt;br /&gt;Select distinct lookup_code, meaning From Fnd_Lookup_Values&lt;br /&gt;Where Lookup_Type = 'CP_STATUS_CODE'&lt;br /&gt;order by lookup_code;&lt;br /&gt;&lt;br /&gt;A Waiting&lt;br /&gt;B Resuming&lt;br /&gt;C Normal&lt;br /&gt;D Cancelled&lt;br /&gt;E Error&lt;br /&gt;G Warning&lt;br /&gt;H On Hold&lt;br /&gt;I Normal&lt;br /&gt;M No Manager&lt;br /&gt;P Scheduled&lt;br /&gt;Q Standby&lt;br /&gt;R Normal&lt;br /&gt;S Suspended&lt;br /&gt;T Terminating&lt;br /&gt;U Disabled&lt;br /&gt;W Paused&lt;br /&gt;X Terminated&lt;br /&gt;Z Waiting&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3628207301572279100?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3628207301572279100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3628207301572279100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3628207301572279100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3628207301572279100'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/concurrent-program-statuses.html' title='Concurrent program statuses'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2204808910125916007</id><published>2012-02-01T22:18:00.001+05:30</published><updated>2012-02-01T22:18:42.640+05:30</updated><title type='text'>query for various output of concurrent managers</title><content type='html'>PROMPT Programs and Managers&lt;br /&gt;PROMPT Provide various output of concurrent managers related to a specific program.&lt;br /&gt;PROMPT In this case using default of Item Supply/Demand program.&lt;br /&gt;SELECT &lt;br /&gt;fcq.processor_application_id, fcp.concurrent_program_name, &lt;br /&gt;fr.responsibility_id, fr.responsibility_key, fr.data_group_id, fr.request_group_id, &lt;br /&gt;fr.application_id, fa.application_short_name, &lt;br /&gt;fcq.concurrent_queue_id, fcq.CONCURRENT_QUEUE_NAME, &lt;br /&gt;fcq.MIN_PROCESSES, fcq.TARGET_PROCESSES, fcq.TARGET_NODE, fcq.SLEEP_SECONDS, fcq.CONTROL_CODE, fcq.DIAGNOSTIC_LEVEL, &lt;br /&gt;fcpr.*&lt;br /&gt;FROM fnd_application fa,&lt;br /&gt;fnd_concurrent_programs fcp,&lt;br /&gt;fnd_conc_processor_programs fcpp,&lt;br /&gt;fnd_responsibility fr,&lt;br /&gt;fnd_concurrent_queues fcq,&lt;br /&gt;fnd_concurrent_processes fcpr&lt;br /&gt;WHERE fcq.processor_application_id = fcpp.processor_application_id&lt;br /&gt;AND fcq.concurrent_processor_id = fcpp.concurrent_processor_id&lt;br /&gt;AND fcpp.concurrent_program_id = fcp.concurrent_program_id&lt;br /&gt;AND fcpp.program_application_id = fcp.application_id&lt;br /&gt;AND fcp.application_id = fa.application_id&lt;br /&gt;AND fcp.concurrent_program_name = NVL('&amp;EnterProgramShortName', 'INXDSD')&lt;br /&gt;AND fr.application_id = 401&lt;br /&gt;AND fr.data_group_id = fcq.data_group_id&lt;br /&gt;AND fcq.manager_type = '3'&lt;br /&gt;AND fcpr.concurrent_queue_id = fcq.concurrent_queue_id&lt;br /&gt;AND fcpr.queue_application_id = fcq.application_id&lt;br /&gt;-- AND fcpr.process_status_code = 'A'&lt;br /&gt;AND fcpr.instance_number = userenv('instance')&lt;br /&gt;ORDER BY dbms_random.random;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2204808910125916007?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2204808910125916007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2204808910125916007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2204808910125916007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2204808910125916007'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/query-for-various-output-of-concurrent.html' title='query for various output of concurrent managers'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-188577703761315306</id><published>2012-02-01T22:15:00.002+05:30</published><updated>2012-02-01T22:16:17.704+05:30</updated><title type='text'>Query for Identifying correct trace file for request id</title><content type='html'>PROMPT IDENTIFY CONCURRENT REQUEST FILE&lt;br /&gt;PROMPT From Bug.3211206&lt;br /&gt;PROMPT Use the following query to identify the correct trace file:&lt;br /&gt;PROMPT where "request" is the concurrent request id for the inventory transaction &lt;br /&gt;PROMPT worker. &lt;br /&gt;SELECT 'Request id: '||request_id ,&lt;br /&gt;'Trace id: '||oracle_Process_id,&lt;br /&gt;'Trace Flag: '||req.enable_trace,&lt;br /&gt;'Trace Name: &lt;br /&gt;'||dest.value||'/'||lower(dbnm.value)||'_ora_'||oracle_process_id||'.trc',&lt;br /&gt;'Prog. Name: '||prog.user_concurrent_program_name,&lt;br /&gt;'File Name: '||execname.execution_file_name|| execname.subroutine_name ,&lt;br /&gt;'Status : '||decode(phase_code,'R','Running') &lt;br /&gt;||'-'||decode(status_code,'R','Normal'),&lt;br /&gt;'SID Serial: '||ses.sid||','|| ses.serial#,&lt;br /&gt;'Module : '||ses.module&lt;br /&gt;from fnd_concurrent_requests req, v$session ses, v$process proc,&lt;br /&gt;v$parameter dest, v$parameter dbnm, fnd_concurrent_programs_vl prog, &lt;br /&gt;fnd_executables execname&lt;br /&gt;where req.request_id = &amp;request&lt;br /&gt;and req.oracle_process_id=proc.spid(+)&lt;br /&gt;and proc.addr = ses.paddr(+)&lt;br /&gt;and dest.name='user_dump_dest'&lt;br /&gt;and dbnm.name='db_name'&lt;br /&gt;and req.concurrent_program_id = prog.concurrent_program_id&lt;br /&gt;and req.program_application_id = prog.application_id&lt;br /&gt;and prog.application_id = execname.application_id&lt;br /&gt;and prog.executable_id=execname.executable_id;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-188577703761315306?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/188577703761315306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=188577703761315306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/188577703761315306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/188577703761315306'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/query-for-identifying-correct-trace.html' title='Query for Identifying correct trace file for request id'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7810235168925785380</id><published>2012-02-01T22:15:00.001+05:30</published><updated>2012-02-01T22:15:26.916+05:30</updated><title type='text'>SQL related to Oracle Application Messages</title><content type='html'>SQL related to Oracle Application Messages&lt;br /&gt;&lt;br /&gt;PROMPT ATG&lt;br /&gt;PROMPT Find Messages by Message Text&lt;br /&gt;select m.message_name, m.message_text, m.message_number, a.application_short_name&lt;br /&gt;from fnd_new_messages m, fnd_application a&lt;br /&gt;where upper(m.message_text) like upper('%&amp;EnterMessageText%')&lt;br /&gt;and m.language_code = 'US'&lt;br /&gt;and m.application_id = a.application_id;&lt;br /&gt;&lt;br /&gt;PROMPT Find Messages by Message Short Name&lt;br /&gt;select m.message_name, m.message_text, m.message_number, a.application_short_name&lt;br /&gt;from fnd_new_messages m, fnd_application a&lt;br /&gt;where m.message_name like '%&amp;EnterMessageName%'&lt;br /&gt;and m.language_code = 'US'&lt;br /&gt;and m.application_id = a.application_id;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7810235168925785380?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7810235168925785380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7810235168925785380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7810235168925785380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7810235168925785380'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/sql-related-to-oracle-application.html' title='SQL related to Oracle Application Messages'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-9103918162721774332</id><published>2012-02-01T22:14:00.001+05:30</published><updated>2012-02-01T22:14:39.900+05:30</updated><title type='text'>Date Columns conversion</title><content type='html'>Rowid: &lt;br /&gt;Working with Rowids: rowidtochar(rowid) and chartorowid('AAABUeAAQAAACsjAAg')&lt;br /&gt;&lt;br /&gt; Date Columns&lt;br /&gt;a. Converting dates to show date with time: to_char(&lt;date&gt; 'DD-MON-YYYY HH24:MI:SS') &lt;br /&gt;For example: select to_char(sysdate, 'DD-MON-YYYY HH24:MI:SS') from dual;&lt;br /&gt;b. Comparing date columns -- Sometimes handy to skip the time portion when searching for dates. You can use the trunc command to strip the time off. This resets the time to midnight.&lt;br /&gt;For example: select to_char(trunc(sysdate), 'DD-MON-YYYY HH24:MI:SS') from dual;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-9103918162721774332?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/9103918162721774332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=9103918162721774332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/9103918162721774332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/9103918162721774332'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/date-columns-conversion.html' title='Date Columns conversion'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1357200079505925352</id><published>2012-02-01T22:13:00.002+05:30</published><updated>2012-02-01T22:14:05.845+05:30</updated><title type='text'>Table for Views and Triggers</title><content type='html'>PROMPT Query view details of a specific view.&lt;br /&gt;SELECT VIEW_NAME, TEXT&lt;br /&gt;  FROM DBA_VIEWS &lt;br /&gt;WHERE VIEW_NAME = UPPER('&amp;VIEW_NAME')&lt;br /&gt;  and owner = 'APPS';&lt;br /&gt;&lt;br /&gt;PROMPT Trigger details on a table.&lt;br /&gt;select TABLE_NAME, COLUMN_NAME, trigger_name, trigger_type, TRIGGER_BODY&lt;br /&gt;from dba_TRIGGERS &lt;br /&gt;WHERE TABLE_NAME like '%&amp;EnterTableName%';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1357200079505925352?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1357200079505925352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1357200079505925352' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1357200079505925352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1357200079505925352'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/table-for-views-and-triggers.html' title='Table for Views and Triggers'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2019957623668901947</id><published>2012-02-01T22:13:00.001+05:30</published><updated>2012-02-01T22:13:29.922+05:30</updated><title type='text'>Table for Bugs and Patching</title><content type='html'>PROMPT Find specific package version&lt;br /&gt;select text from dba_source&lt;br /&gt;where&lt;br /&gt;   name = upper( '&amp;PackageName')&lt;br /&gt;    and line &lt; 3;&lt;br /&gt;&lt;br /&gt;PROMPT Find bugs already installed fixed in your system&lt;br /&gt;select bug_number&lt;br /&gt;  from ad_bugs &lt;br /&gt;  where bug_number  ='&amp;Bug_Number';&lt;br /&gt;&lt;br /&gt;PROMPT Find patches applied&lt;br /&gt;select substr(patch_name,1,12) patch_num &lt;br /&gt;  from ad_applied_patches&lt;br /&gt; where patch_name like '%&amp;Patch_Number%';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE: A specific bug maybe fixed by multiple patches so it might be good to look for the bug number, instead of the patch number to see if that bug is fixed already on your system. Another way is to look at the file version mentioned in the patch and check if you have that version or higher.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2019957623668901947?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2019957623668901947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2019957623668901947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2019957623668901947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2019957623668901947'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/table-for-bugs-and-patching.html' title='Table for Bugs and Patching'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6601262463455724860</id><published>2012-02-01T22:12:00.001+05:30</published><updated>2012-02-01T22:12:44.776+05:30</updated><title type='text'>Table to check Invalids / Compiling</title><content type='html'>PROMPT Find Invalids&lt;br /&gt;select object_name, object_type, owner, status &lt;br /&gt;  from dba_objects &lt;br /&gt; where status = 'INVALID';&lt;br /&gt;&lt;br /&gt;PROMPT Compile Packages&lt;br /&gt;select 'alter package '|| object_name || ' compile '|| decode(object_type, 'PACKAGE', '', 'PACKAGE BODY', 'body')|| ';'&lt;br /&gt;  from dba_objects&lt;br /&gt; where status = 'INVALID'&lt;br /&gt;and object_type like 'PACK%';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6601262463455724860?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6601262463455724860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6601262463455724860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6601262463455724860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6601262463455724860'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/table-to-check-invalids-compiling.html' title='Table to check Invalids / Compiling'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2675309967307876225</id><published>2012-02-01T22:10:00.000+05:30</published><updated>2012-02-01T22:11:35.038+05:30</updated><title type='text'>Tables to Find Objects/Table/Columns</title><content type='html'>General Objects / Tables / Columns&lt;br /&gt;&lt;br /&gt;PROMPT Find Object by Type, Name, Status&lt;br /&gt;select object_name, object_type, owner, status &lt;br /&gt;  from dba_objects &lt;br /&gt; where upper(object_name) like upper('%&amp;object_name%')&lt;br /&gt;   and object_type like upper('%'|| NVL('&amp;object_type', 'TABLE')|| '%')&lt;br /&gt;   and status like upper('%'|| NVL('&amp;Status', '%')|| '%')&lt;br /&gt;order by object_name, object_type;&lt;br /&gt;&lt;br /&gt;PROMPT Find table indexes, keys, columns&lt;br /&gt;select index_name,column_position,column_name&lt;br /&gt;from all_ind_columns &lt;br /&gt;where table_name = '&amp;EnterTableName' &lt;br /&gt;order by index_name, column_position;&lt;br /&gt;&lt;br /&gt;PROMPT Find tables and columns that include a table and/or column name specified.&lt;br /&gt;select table_name, column_name&lt;br /&gt;from  dba_tab_columns&lt;br /&gt;where column_name like NVL(UPPER('&amp;COLUMN_NAME'), column_name)&lt;br /&gt;  and table_name like NVL(UPPER('&amp;TABLE_NAME'), table_name);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2675309967307876225?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2675309967307876225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2675309967307876225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2675309967307876225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2675309967307876225'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2012/02/tables-to-find-objectstablecolumns.html' title='Tables to Find Objects/Table/Columns'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5289366176814129492</id><published>2011-12-16T02:52:00.001+05:30</published><updated>2011-12-16T02:54:43.437+05:30</updated><title type='text'>Oracle Learning Management Tables (Oracle Appraisal Tables)</title><content type='html'>When you setup the appraisal templates in Core HR, that will be stored in "PER_APPRAISAL_TEMPLATES_V" table.&lt;br /&gt;&lt;br /&gt;There are 3 temporary tables that hold data for entries made in SSHR until the approval cycle is complete&lt;br /&gt;&lt;br /&gt;1) HR_API_TRANSACTIONS&lt;br /&gt;2) HR_API_TRANSACTIONS_STEPS&lt;br /&gt;3) HR_API_TRANSACTIONS_VALUES&lt;br /&gt;Once the request is approved, data will be updated in "PER_PAY_PROPOSALS and PER_PERFORMANCE_REVIEWS_V" tables.&lt;br /&gt;&lt;br /&gt;Below tables are interlinked:&lt;br /&gt;PER_ALL_ASSIGNMENTS_F, PER_PAY_PROPOSALS and PER_PERFORMANCE_REVIEWS_V TABLES.&lt;br /&gt;&lt;br /&gt;PER_ALL_ASSIGNMENTS_F&lt;br /&gt;PER_ALL_PEOPLE_F&lt;br /&gt;PER_JOBS&lt;br /&gt;PER_GRADES&lt;br /&gt;PER_APPRAISALS&lt;br /&gt;PER_APPRAISAL_TEMPLATES&lt;br /&gt;PER_ASSESSMENTS&lt;br /&gt;PER_ASSESSMENT_GROUPS&lt;br /&gt;PER_ASSESSMENT_TYPES&lt;br /&gt;PER_COMPETENCES&lt;br /&gt;PER_COMPETENCES_TL&lt;br /&gt;PER_COMPETENCE_DEFINITIONS&lt;br /&gt;PER_COMPETENCE_ELEMENTS&lt;br /&gt;PER_PARTICIPANTS&lt;br /&gt;PER_PERFORMANCE_RATINGS&lt;br /&gt;PER_PERFORMANCE_REVIEWS&lt;br /&gt;PER_RATING_LEVELS&lt;br /&gt;PER_RATING_LEVELS_TL&lt;br /&gt;PER_RATING_SCALES&lt;br /&gt;PER_RATING_SCALES_TL&lt;br /&gt;HR_QUESTIONNAIRES&lt;br /&gt;HR_QUEST_ANSWERS&lt;br /&gt;HR_QUEST_ANSWER_VALUES&lt;br /&gt;HR_QUEST_FIELD&lt;br /&gt;HR_ORGANIZATION_UNITS&lt;br /&gt;PER_POSITIONS&lt;br /&gt;---------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;SELECT APPRAISAL_TYPE_M &lt;br /&gt;,A.APPRAISEE&lt;br /&gt;,C.EMPLOYEE_NUMBER&lt;br /&gt;,A.MAIN_APPRAISER&lt;br /&gt;,A.DEPARTMENT&lt;br /&gt;,A.APPRAISAL_STATUS_M APPRAISAL_STATUS&lt;br /&gt;, DECODE (B.APPRAISAL_SYSTEM_STATUS ,'ONGOING','Appraisal Pending With - '||A.MAIN_APPRAISER &lt;br /&gt;,'APPRFEEDBACK','Appraisal Pending With - '||a.APPRAISEE&lt;br /&gt;,'SAVED',' Appraisal Pending With - '||a.APPRAISEE&lt;br /&gt;,'TRANSFER','Appraisal Pending With - '||a.APPRAISEE&lt;br /&gt;,'COMPLETED', 'Appraisal Completed'&lt;br /&gt;,'PENDINGAPPR','Appraisal Pending With - '||A.MAIN_APPRAISER&lt;br /&gt;,B.APPRAISAL_SYSTEM_STATUS ) ownership&lt;br /&gt;FROM APPS.HRFV_APPRAISAL_DETAILS A&lt;br /&gt;,PER_APPRAISALS B&lt;br /&gt;,PER_ALL_PEOPLE_F C&lt;br /&gt;WHERE C.PERSON_ID = A.APPRAISEE_PERSON_ID&lt;br /&gt;AND A.APPRAISAL_ID = B.APPRAISAL_ID &lt;br /&gt;AND A.appraisal_id in ( select max(e.appraisal_id) from per_appraisals e&lt;br /&gt;where e.plan_id is null&lt;br /&gt;group by e.appraisee_person_id&lt;br /&gt;having count(*) &gt;= 1)&lt;br /&gt;AND TRUNC (SYSDATE) BETWEEN TRUNC (C.effective_start_date)&lt;br /&gt;AND TRUNC (C.effective_end_date) &lt;br /&gt;order by A.APPRAISEE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT bgrt.NAME business_group_name, orgt.NAME department,&lt;br /&gt;apse.full_name appraisee, appr.full_name appraiser,&lt;br /&gt;mapr.full_name main_appraiser, apr.appraisal_date appraisal_date,&lt;br /&gt;apr.appraisal_period_start_date appraisal_start_date,&lt;br /&gt;apr.appraisal_period_end_date appraisal_end_date,&lt;br /&gt;apr.next_appraisal_date next_appraisal_date,&lt;br /&gt;apr.comments appraisal_comments, rtt.NAME rating_level_name,&lt;br /&gt;rtl.step_value step_value,&lt;br /&gt;hr_bis.bis_decode_lookup ('APPRAISAL_TYPE',&lt;br /&gt;apr.TYPE) appraisal_type,&lt;br /&gt;hr_bis.bis_decode_lookup&lt;br /&gt;('APPRAISAL_SYSTEM_STATUS',&lt;br /&gt;apr.appraisal_system_status&lt;br /&gt;) appraisal_status,&lt;br /&gt;hr_bis.bis_decode_lookup ('APPRAISEE_ACCESS',&lt;br /&gt;apr.appraisee_access&lt;br /&gt;) appraisee_access,&lt;br /&gt;apr.TYPE appraisal_type_code,&lt;br /&gt;apr.appraisal_system_status appraisal_status_code,&lt;br /&gt;apr.appraisee_access appraisee_access_code,&lt;br /&gt;apr.creation_date creation_date,&lt;br /&gt;apr.last_update_date last_update_date, '_DF:PER:PER_APPRAISALS:APR',&lt;br /&gt;apr.appraisal_id appraisal_id,&lt;br /&gt;apr.business_group_id business_group_id,&lt;br /&gt;apr.appraisal_template_id appraisal_template_id,&lt;br /&gt;apr.appraisee_person_id appraisee_person_id,&lt;br /&gt;apr.appraiser_person_id appraiser_person_id,&lt;br /&gt;apr.group_initiator_id group_initiator_id,&lt;br /&gt;apr.overall_performance_level_id overall_performance_level_id,&lt;br /&gt;apr.main_appraiser_id main_appraiser_id,&lt;br /&gt;apr.assignment_id assignment_id, apr.event_id event_id,&lt;br /&gt;rtl.rating_scale_id rating_scale_id,&lt;br /&gt;rtl.competence_id competence_id,&lt;br /&gt;orgt.organization_id organization_id&lt;br /&gt;FROM per_appraisals apr,&lt;br /&gt;hr_all_organization_units_tl bgrt,&lt;br /&gt;hr_all_organization_units_tl orgt,&lt;br /&gt;per_people_x apse,&lt;br /&gt;per_people_x appr,&lt;br /&gt;per_people_x mapr,&lt;br /&gt;per_rating_levels rtl,&lt;br /&gt;per_rating_levels_tl rtt&lt;br /&gt;WHERE apr.business_group_id = bgrt.organization_id&lt;br /&gt;AND bgrt.LANGUAGE = USERENV ('LANG')&lt;br /&gt;AND apr.assignment_organization_id = orgt.organization_id&lt;br /&gt;AND orgt.LANGUAGE = USERENV ('LANG')&lt;br /&gt;AND apr.appraisee_person_id = apse.person_id&lt;br /&gt;AND apr.appraiser_person_id = appr.person_id&lt;br /&gt;AND apr.main_appraiser_id = mapr.person_id(+)&lt;br /&gt;AND apr.overall_performance_level_id = rtl.rating_level_id(+)&lt;br /&gt;AND rtl.rating_level_id = rtt.rating_level_id(+)&lt;br /&gt;AND rtt.LANGUAGE(+) = USERENV ('LANG')&lt;br /&gt;AND apr.business_group_id =&lt;br /&gt;NVL (hr_bis.get_sec_profile_bg_id, apr.business_group_id)&lt;br /&gt;WITH READ ONLY;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5289366176814129492?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5289366176814129492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5289366176814129492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5289366176814129492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5289366176814129492'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/12/oracle-learning-management-tables.html' title='Oracle Learning Management Tables (Oracle Appraisal Tables)'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3543818639478760054</id><published>2011-12-07T01:11:00.000+05:30</published><updated>2011-12-07T01:12:01.418+05:30</updated><title type='text'>Confirm Receipts Workflow</title><content type='html'>Confirm Receipts workflow &lt;br /&gt;&lt;br /&gt;Using Confirm Receipts, employees can view and receive orders in an extremely simple self service interface through Oracle Web Employees or by responding to workflow notifications. Confirm Receipts has the following major components:&lt;br /&gt;&lt;br /&gt;A Confirm Receipts workflow process initiated after the due date of open orders&lt;br /&gt;A series of web pages that enable employees to confirm receipt of orders and navigate to relevant documents&lt;br /&gt;The Receiving Transaction Manager which fully validates the receipt information and completes the transaction in Purchasing&lt;br /&gt;Confirm Receipts Workflow Process&lt;br /&gt;The Confirm Receipt workflow process periodically polls for orders that are past due and sends workflow notifications to employees. The workflow engine drives a transaction through a process performing automated steps and invoking the appropriate agents when external processing is required. The engine monitors workflow states and coordinates routing of activities. &lt;br /&gt;&lt;br /&gt;Confirm Receipts Notifications&lt;br /&gt;The workflow engine polls for overdue orders and sends workflow notifications to the different users - typically the requester or the buyer. These notifications can be:&lt;br /&gt;&lt;br /&gt;workflow generated notification (e.g. email)&lt;br /&gt;viewed through a web browser in Oracle Web Employees&lt;br /&gt;With Web-enabled notifications (email mail attachments or the inbox in Oracle Self-Service Web Applications), the user can drill down from the attached notification Web Page to the specific Receive Orders web page to view orders which are due and confirm receipt of these orders. &lt;br /&gt;Confirm Receipts workflow generates notifications for an entire document if all items on that order have the same due date. If the document includes different due dates, the Confirm Receipts workflow generates a single notification per purchase order per requester per due date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Review and Respond to Confirm Receipts Notifications &lt;br /&gt;Oracle Web Employees automatically notifies employees of past due orders that have not been received. Valid responses to the notification include:&lt;br /&gt;Fully Received  You have fully received the items on the order.  &lt;br /&gt;Partially / Over Received  You have received less than or more than the quantity of items you requested. In this case, you also drill down from the notification into the Receive Orders web page to record the receipt details. Oracle Web Employees automatically displays the open line items for this order. You can enter the quantity you have received.  &lt;br /&gt;Not Received  You have not received the items included in the notification.  &lt;br /&gt;If the user fails to respond, it will be treated as a time out and a separate exception sub-process will be initiated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Confirm Receipts Using "Receive Orders" Employee Self Service Web Pages&lt;br /&gt;The user can confirm receipt of goods by using the Oracle Web Employees "Receive Orders" function or by responding to the workflow notification. Using the Receive Orders function in Oracle Web Employees, you can review all open orders that are past due.&lt;br /&gt;However, if the page is accessed from a Confirm Receipts workflow notification, only order information associated with the notification will display on the page. Oracle Purchasing displays the unit of measure from the original purchase order or requisition.&lt;br /&gt;&lt;br /&gt;Once you select the order lines you want to receive, press the "Submit" button. You can also identify which items you have partially or over-received, and then update the displayed quantity to reflect the quantity you have actually received. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Update Receiving in Oracle Purchasing&lt;br /&gt;Once you confirm receipt of an order, either through the self-service Receive Orders web page, or by responding directly to the workflow notification, Oracle Web Employees automatically processes your receipt in Oracle Purchasing through the Receiving Transaction Processor. &lt;br /&gt;The receiving transaction processor validates receipt transactions and updates the receiving history and purchase order tables in Oracle Purchasing. If the system encounters an error while processing the receiving transaction, notifications are sent to the requester and the buyer indicating the likely cause for failure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exception Handling&lt;br /&gt;Oracle Web Employees handles the following exceptions as part of the Confirm Receipts workflow process:&lt;br /&gt;Time Out  Once a notification is sent, the process will be in a wait state to get a response from the user. If there is no response from the user, the system will treat it as a timeout and resend the notification after one week as a first reminder. If there is no response for another week, the notification is resent as a second reminder. If the user does not respond to the second reminder within twenty-four hours, a notification is sent to the user's manager.  &lt;br /&gt;Receiving Controls  The receipt confirmation process enforces the receiving controls supported in Oracle Purchasing. For example, the system rejects received quantities that are greater than the tolerance level.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Configure the Receive Orders Web Page&lt;br /&gt;Oracle Web Employees allows you to use the Web Applications Dictionary technology (a.k.a. Object Navigator) to tailor the layout and content of the Receive Orders self service web page. Use the Web Applications Manager to select the fields to display, the field, prompts, length, formatting characteristics, and include certain input fields as part of the receipt confirmation.&lt;br /&gt;&lt;br /&gt;Setting Up Web Users&lt;br /&gt;Each employee that will confirm receipts through Oracle Web Employees must be defined as a web user. To setup the Receive Orders Web Page for an employee you must:&lt;br /&gt;&lt;br /&gt;Define a web user for employees who will receive orders through the web&lt;br /&gt;Assign the Receive Orders functions to that user's list of responsibilities/functions&lt;br /&gt;Respond to Receipt Confirmation Notifications&lt;br /&gt;To respond to workflow generated receipt confirmation requests:&lt;br /&gt;&lt;br /&gt;Login to Oracle Web Employees and select the "View Notifications" function.&lt;br /&gt;Select a response to the receipt confirmation request:&lt;br /&gt;Fully Received.&lt;br /&gt;Over/Partially Received.&lt;br /&gt;Not Received.&lt;br /&gt;For partially/over received orders, drill down from the notification into the Receive Orders web page. Record your receipt details.&lt;br /&gt;Select the "Submit Response" button to complete the response and initiate the next workflow activity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3543818639478760054?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3543818639478760054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3543818639478760054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3543818639478760054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3543818639478760054'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/12/confirm-receipts-workflow.html' title='Confirm Receipts Workflow'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5558107771749451766</id><published>2011-11-09T00:34:00.001+05:30</published><updated>2011-11-09T00:34:53.301+05:30</updated><title type='text'>R12: How to enable Personalization Page option</title><content type='html'>R12: How to enable Personalization Page option &lt;br /&gt;&lt;br /&gt;FND: Personalization Region Link Enabled &lt;br /&gt;Personalize Self-Service Defn&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5558107771749451766?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5558107771749451766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5558107771749451766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5558107771749451766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5558107771749451766'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/11/r12-how-to-enable-personalization-page.html' title='R12: How to enable Personalization Page option'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5205230595731512332</id><published>2011-11-03T01:10:00.002+05:30</published><updated>2011-11-03T01:11:13.893+05:30</updated><title type='text'>Credit Card Setup</title><content type='html'>How to setup Credit Cards Process in Oracle, below note id's will give detailed explanation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Credit Card Payments, Refunds and Chargebacks: Overview and Setup for Oracle Receivables Release 12 [ID 1357967.1]&lt;br /&gt;&lt;br /&gt;Oracle Payments Minimum/Dummy Setup For Credit Card/Purchase Card Funds Capture Processing [ID 553614.1]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5205230595731512332?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5205230595731512332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5205230595731512332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5205230595731512332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5205230595731512332'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/11/credit-card-setup.html' title='Credit Card Setup'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3298562726802762411</id><published>2011-10-30T20:02:00.000+05:30</published><updated>2011-10-30T20:04:03.157+05:30</updated><title type='text'>How to Cancel Cost Manager (CMCTCM ) and Relaunch It</title><content type='html'>Applies to: &lt;br /&gt;Oracle Cost Management - Version: 11.5.9 to 12.1.3 - Release: 11.5 to 12.1&lt;br /&gt;Information in this document applies to any platform.&lt;br /&gt;CMCTCM &lt;br /&gt;Purpose&lt;br /&gt;How to cancel cost manager, in order to avoid :&lt;br /&gt;&lt;br /&gt;- to launch severals cost manager at the same time&lt;br /&gt;- to have warning message in CMCTCM log saying :&lt;br /&gt;"&lt;br /&gt;A Cost Manager is already launched.&lt;br /&gt;Action: If you want to launch a new manager, cancel earlier manager first." &lt;br /&gt;&lt;br /&gt;Troubleshooting Details&lt;br /&gt;How to cancel cost manager, in order to avoid : &lt;br /&gt;- to launch severals cost manager at the same time&lt;br /&gt;- to have warning message in CMCTCM log saying : &lt;br /&gt;"A Cost Manager is already launched. &lt;br /&gt;Action: If you want to launch a new manager, cancel earlier manager first."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1 - To cancel the Cost Manager : use one of the following method:&lt;br /&gt;&lt;br /&gt;   a) use 'System Administrator' responsibility &lt;br /&gt;       Navigate to Concurrent/Request/view &lt;br /&gt;       Set : specific Request=on &lt;br /&gt;       Name=Cost Manager. &lt;br /&gt;&lt;br /&gt;In the lower part of the Find requests window there is a field "Select the Number of Days to view" set by default to 7 days.&lt;br /&gt;-&gt; Set "Select the Number of Days to view"=9999 &lt;br /&gt;In fact this field is a filter which limits how far back it will query requests.&lt;br /&gt;&lt;br /&gt;From here Cancel the Cost Manager which is Pending Scheduled.&lt;br /&gt;&lt;br /&gt;or &lt;br /&gt;&lt;br /&gt;b) Use the following SQL script:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT request_id RequestId, &lt;br /&gt;request_date RequestDt, concurrent_program_name, &lt;br /&gt;phase_code Phase, &lt;br /&gt;status_code Status FROM &lt;br /&gt;fnd_concurrent_requests fcr, &lt;br /&gt;fnd_concurrent_programs fcp &lt;br /&gt;WHERE fcp.application_id = 702 AND &lt;br /&gt;fcp.concurrent_program_name in ('CMCTCM', 'CMCMCW', 'CMCACW') AND &lt;br /&gt;fcr.concurrent_program_id = fcp.concurrent_program_id AND &lt;br /&gt;fcr.program_application_id = 702 AND fcr.phase_code &lt;&gt; 'C' &lt;br /&gt;Cancel all the requests from the above output by navigating to, System Administrator&gt; Concurrent&gt; Request.  Query for the RequestId returned from the select above.&lt;br /&gt;&lt;br /&gt;In the lower part of the Find requests window there is a field "Select the Number of Days to view" set by default to 7 days &lt;br /&gt;-&gt; Set "Select the Number of Days to view"=9999 &lt;br /&gt;In fact this field is a filter which limits how far back it will query requests. &lt;br /&gt;&lt;br /&gt;Cancel the request id other than running. Let the running request get over. &lt;br /&gt;&lt;br /&gt;2 - Run the cmclean.sql script available from MOS Note 134007.1&lt;br /&gt;&lt;br /&gt;3 - Restart the Cost Manager&lt;br /&gt;     Inventory&gt; Setup : Transactions&gt; Interface Managers &lt;br /&gt;     Select  'Cost Manager' - choose Tools &gt; Launch Manager&lt;br /&gt;&lt;br /&gt;Also review &lt;&lt; Note 304313.1&gt;&gt;&lt;br /&gt;&lt;br /&gt;NOTE:134007.1 - Concurrent Processing - CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables&lt;br /&gt;NOTE:304313.1 - Understanding Cost Manager&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3298562726802762411?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3298562726802762411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3298562726802762411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3298562726802762411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3298562726802762411'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/10/how-to-cancel-cost-manager-cmctcm-and.html' title='How to Cancel Cost Manager (CMCTCM ) and Relaunch It'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6771988655926959400</id><published>2011-09-30T23:59:00.001+05:30</published><updated>2011-10-01T00:00:45.539+05:30</updated><title type='text'>R12 Ap Invoice Data Fix for Tax Amount</title><content type='html'>Please  execute the following data-fix to make Tax Amount Zero on the AP Invoice in R12&lt;br /&gt;&lt;br /&gt;UPDATE    ZX_LINES&lt;br /&gt;   SET UNROUNDED_TAX_AMT = 0,&lt;br /&gt;       TAX_AMT = 0,&lt;br /&gt;       TAX_AMT_TAX_CURR = 0,&lt;br /&gt;       TAX_AMT_FUNCL_CURR = 0,&lt;br /&gt;       CAL_TAX_AMT = 0,&lt;br /&gt;       CAL_TAX_AMT_TAX_CURR = 0,&lt;br /&gt;       CAL_TAX_AMT_FUNCL_CURR = 0,&lt;br /&gt;       CANCEL_FLAG = 'Y'&lt;br /&gt; WHERE APPLICATION_ID = 200&lt;br /&gt;   AND ENTITY_CODE = 'AP_INVOICES'&lt;br /&gt;   AND EVENT_CLASS_CODE = 'STANDARD INVOICES'&lt;br /&gt;   AND TRX_ID = 90484;&lt;br /&gt;   &lt;br /&gt;COMMIT;&lt;br /&gt;&lt;br /&gt;UPDATE    ZX_LINES_SUMMARY&lt;br /&gt;   SET TAX_AMT = 0,&lt;br /&gt;       TAX_AMT_TAX_CURR = 0,&lt;br /&gt;       TAX_AMT_FUNCL_CURR = 0,&lt;br /&gt;       TOTAL_REC_TAX_AMT = 0,&lt;br /&gt;       TOTAL_REC_TAX_AMT_FUNCL_CURR = 0,&lt;br /&gt;       CANCEL_FLAG = 'Y'&lt;br /&gt; WHERE APPLICATION_ID = 200&lt;br /&gt;   AND ENTITY_CODE = 'AP_INVOICES'&lt;br /&gt;   AND EVENT_CLASS_CODE = 'STANDARD INVOICES'&lt;br /&gt;   AND TRX_ID = 90484;&lt;br /&gt;   &lt;br /&gt;UPDATE    AP_INVOICE_LINES_ALL&lt;br /&gt;   SET AMOUNT = 0,&lt;br /&gt;       BASE_AMOUNT = 0&lt;br /&gt; WHERE INVOICE_ID = 90484&lt;br /&gt;   AND LINE_TYPE_LOOKUP_CODE = 'TAX';&lt;br /&gt;&lt;br /&gt;COMMIT;&lt;br /&gt;&lt;br /&gt;UPDATE AP_INVOICES_ALL&lt;br /&gt;   SET TOTAL_TAX_AMOUNT = 0&lt;br /&gt; WHERE INVOICE_ID = 90484;&lt;br /&gt;&lt;br /&gt;COMMIT;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6771988655926959400?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6771988655926959400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6771988655926959400' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6771988655926959400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6771988655926959400'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/09/r12-ap-invoice-data-fix-for-tax-amount.html' title='R12 Ap Invoice Data Fix for Tax Amount'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4418172713541721184</id><published>2011-07-27T01:57:00.000+05:30</published><updated>2011-07-27T01:58:12.728+05:30</updated><title type='text'>How to resubmit unprocessed records stuck in the MTL_TRANSACTIONS_INTERFACE table</title><content type='html'>How to resubmit unprocessed records stuck in the MTL_TRANSACTIONS_INTERFACE table &lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;Record may be resubmitted through the Application or using SQL*Plus. &lt;br /&gt;&lt;br /&gt;Note: Back up the data in the table prior to making any changes using SQL*Plus. &lt;br /&gt;&lt;br /&gt;1.Resubmission through the Application  &lt;br /&gt;Navigation Inventory:Transactions:Transaction Open Interface &lt;br /&gt;Click in the check box under the "Submit" column &lt;br /&gt;then Save &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Resubmission through SQL*Plus. &lt;br /&gt;&lt;br /&gt;Update MTL_TRANSACTIONS_INTERFACE Set PROCESS_FLAG = 1, &lt;br /&gt;LOCK_FLAG = 2, TRANSACTION_MODE = 3, &lt;br /&gt;VALIDATION_REQUIRED = 1, ERROR_CODE = NULL, &lt;br /&gt;ERROR_EXPLANATION = NULL Where PROCESS_FLAG IN (1,3);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4418172713541721184?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4418172713541721184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4418172713541721184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4418172713541721184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4418172713541721184'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/07/how-to-resubmit-unprocessed-records.html' title='How to resubmit unprocessed records stuck in the MTL_TRANSACTIONS_INTERFACE table'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-282538719592733361</id><published>2011-07-27T01:56:00.001+05:30</published><updated>2011-07-27T02:00:32.360+05:30</updated><title type='text'>Records Stuck In Table Mtl_Transactions_Interface , Negative Balances Not Allowed</title><content type='html'>Run the following script, which will find items that do not have sufficient quantity in the STAGING subinventory. &lt;br /&gt;&lt;br /&gt;Note:  if you have given some name other than 'STAGE' to your staging subinventory,  you will need to modify the lines in bold type&lt;br /&gt;&lt;br /&gt;SELECT   wdd.organization_id, wdd.inventory_item_id, msi.segment1,&lt;br /&gt;         SUM (wdd.requested_quantity) requested_qty,&lt;br /&gt;         SUM (NVL (wdd.cancelled_quantity, 0)) cancelled_qty,&lt;br /&gt;         SUM (mtrl.quantity) move_order_qty, MAX (oq.onhand_qty) onhand_qty,&lt;br /&gt;         SUM (wdd.requested_quantity) - MAX (oq.onhand_qty) change_qty&lt;br /&gt;    FROM wsh_delivery_details wdd,&lt;br /&gt;         mtl_txn_request_lines mtrl,&lt;br /&gt;         mtl_system_items msi,&lt;br /&gt;         (SELECT   NVL (SUM (moq.transaction_quantity), 0) onhand_qty,&lt;br /&gt;                   moq.organization_id, moq.inventory_item_id,&lt;br /&gt;                   moq.subinventory_code&lt;br /&gt;              FROM apps.mtl_onhand_quantities moq&lt;br /&gt;             WHERE moq.containerized_flag = 2&lt;br /&gt;               AND moq.subinventory_code = 'STAGE'&lt;br /&gt;          GROUP BY moq.organization_id,&lt;br /&gt;                   moq.inventory_item_id,&lt;br /&gt;                   moq.subinventory_code) oq&lt;br /&gt;   WHERE wdd.released_status IN ('C', 'Y')&lt;br /&gt;     AND NVL (wdd.inv_interfaced_flag, 'N') IN ('N', 'P')&lt;br /&gt;     AND wdd.move_order_line_id = mtrl.line_id&lt;br /&gt;     AND wdd.inventory_item_id = oq.inventory_item_id&lt;br /&gt;     AND wdd.organization_id = oq.organization_id&lt;br /&gt;     AND msi.organization_id = wdd.organization_id&lt;br /&gt;     AND msi.inventory_item_id = wdd.inventory_item_id&lt;br /&gt;     AND oq.subinventory_code = 'STAGE'&lt;br /&gt;GROUP BY wdd.organization_id, wdd.inventory_item_id, msi.segment1&lt;br /&gt;  HAVING SUM (wdd.requested_quantity) &gt; MAX (oq.onhand_qty)&lt;br /&gt;UNION ALL&lt;br /&gt;SELECT   wdd.organization_id, wdd.inventory_item_id, msi.segment1,&lt;br /&gt;         SUM (wdd.requested_quantity) requested_qty,&lt;br /&gt;         SUM (NVL (wdd.cancelled_quantity, 0)) cancelled_qty,&lt;br /&gt;         SUM (mtrl.quantity) move_order_qty, 0,&lt;br /&gt;         SUM (wdd.requested_quantity) change_qty&lt;br /&gt;    FROM wsh_delivery_details wdd,&lt;br /&gt;         mtl_txn_request_lines mtrl,&lt;br /&gt;         mtl_system_items msi&lt;br /&gt;   WHERE wdd.released_status IN ('Y', 'C')&lt;br /&gt;     AND NVL (wdd.inv_interfaced_flag, 'N') IN ('N', 'P')&lt;br /&gt;     AND wdd.move_order_line_id = mtrl.line_id&lt;br /&gt;     AND msi.organization_id = wdd.organization_id&lt;br /&gt;     AND msi.inventory_item_id = wdd.inventory_item_id&lt;br /&gt;     AND NOT EXISTS (&lt;br /&gt;            SELECT 1&lt;br /&gt;              FROM mtl_onhand_quantities oq&lt;br /&gt;             WHERE oq.inventory_item_id = wdd.inventory_item_id&lt;br /&gt;               AND oq.organization_id = wdd.organization_id&lt;br /&gt;               AND oq.subinventory_code = 'STAGE')&lt;br /&gt;GROUP BY wdd.organization_id, wdd.inventory_item_id, msi.segment1&lt;br /&gt;ORDER BY 1, 2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.  Perform subinventory transfers as needed to transfer the quantity identified by the column "change_qty" into the staging subinventory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-282538719592733361?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/282538719592733361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=282538719592733361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/282538719592733361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/282538719592733361'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/07/records-stuck-in-table.html' title='Records Stuck In Table Mtl_Transactions_Interface , Negative Balances Not Allowed'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6093367391089389468</id><published>2011-07-26T06:58:00.000+05:30</published><updated>2011-07-26T06:59:36.897+05:30</updated><title type='text'>R12: Change Application user password and end date from sqlplus</title><content type='html'>R12: Change Application user password and end date from sqlplus &lt;br /&gt;&lt;br /&gt;DECLARE&lt;br /&gt;  v_user_name     VARCHAR2(80) :'XXABC';&lt;br /&gt;  v_new_password  VARCHAR2(80) := 'oracle123';&lt;br /&gt;  v_hard_password VARCHAR2(1) := fnd_profile.VALUE('SIGNON_PASSWORD_HARD_TO_GUESS');&lt;br /&gt;BEGIN&lt;br /&gt;  fnd_profile.put(NAME =&gt; 'SIGNON_PASSWORD_HARD_TO_GUESS'&lt;br /&gt;                 ,val  =&gt; 'N');&lt;br /&gt;  -- Call the procedure&lt;br /&gt;  fnd_user_pkg.updateuser(x_user_name            =&gt; v_user_name&lt;br /&gt;                         ,x_owner                =&gt; 'CUST'&lt;br /&gt;                         ,x_unencrypted_password =&gt; v_new_password&lt;br /&gt;                         ,x_end_date             =&gt; SYSDATE + 10000);&lt;br /&gt;  fnd_profile.put(NAME =&gt; 'SIGNON_PASSWORD_HARD_TO_GUESS'&lt;br /&gt;                 ,val  =&gt; v_hard_password);&lt;br /&gt;COMMIT ;&lt;br /&gt;EXCEPTION&lt;br /&gt;  WHEN OTHERS THEN&lt;br /&gt;    fnd_profile.put(NAME =&gt; 'SIGNON_PASSWORD_HARD_TO_GUESS'&lt;br /&gt;                   ,val  =&gt; v_hard_password);&lt;br /&gt;    RAISE;&lt;br /&gt;END;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6093367391089389468?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6093367391089389468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6093367391089389468' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6093367391089389468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6093367391089389468'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/07/r12-change-application-user-password.html' title='R12: Change Application user password and end date from sqlplus'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3724499020385274777</id><published>2011-06-29T00:59:00.002+05:30</published><updated>2011-06-29T01:04:57.954+05:30</updated><title type='text'>OM Useful Tips</title><content type='html'>&lt;strong&gt;Allocation Error During Transact Move Order&lt;/strong&gt; &lt;br /&gt;"Error: The material sourcing process failed to create picking suggestions for line 2 of move order number 59641464"&lt;br /&gt;"APP-INV-05297: Invalid transaction and serial control combination"&lt;br /&gt;Encountered the above error message after clicked on "Allocate" button in Transact Move Orders form. Even after I backordered the line, I could not proceed to Pick Release, failed Pick Release.&lt;br /&gt;Root Cause: Item lot reserved for the order line is no more valid.&lt;br /&gt;Action: Unreserve the invalid item lot, pick release, transact move order &amp; ship confirm successfully.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Cannot Perform Shipping Transactions &lt;/strong&gt;At Shipping Transactions form, Action combo box is disabled. Can't perform pick release, create delivery, etc.&lt;br /&gt;Grant role to user at OM responsibility. At Shipping Execution Grants form, add record, enter user name &amp; save.&lt;br /&gt;Setup -&gt; Shipping -&gt; Grants and Role Definitions -&gt; Grants&lt;br /&gt;Default role is "Upgrade Role", which you can maintain it in&lt;br /&gt;Setup -&gt; Shipping -&gt; Grants and Role Definitions -&gt; Define Roles&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Launch Pick Release Failed &lt;/strong&gt;My Sales Order (SO) has been booked successfully. Order header status is Booked, order line status is Awaiting Shipping. Quantity on-hand is sufficient. At Shipping Transactions form, I performed "Launch Pick Release", order line status remained Awaiting Shipping, it did not change to Picked.&lt;br /&gt;No warning or error was prompted.&lt;br /&gt;In my case, it was due to Credit Hold. Go Order Header -&gt; Actions -&gt; Additional Order Information, I saw Hold with message "Credit check hold applied. Overall limit exceeded.". GoActions -&gt; Release Holds to release hold before proceed to Pick Release.&lt;br /&gt;In order to perform Release Holds action, you need to be given authorities. Get the Holds Name and check the authorizations at Setup -&gt; Orders -&gt; Holds.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;strong&gt;Where to Setup New Sales Order Type &lt;/strong&gt;Under Order Management responsibility, Setup -&gt; Transactions Types -&gt; Define &lt;br /&gt; &lt;br /&gt;Pick List Ship-To Address Not Get Updated &lt;br /&gt;It is an address issue.&lt;br /&gt;The Ship-to Address appears on the Pick List (for ISO) is retrieved from wsh_locations table. As for IR-ISO setup, ship-to-address comes from Customer address instead of Location address.&lt;br /&gt; &lt;br /&gt;When we updates the customer address, hz_locations table get update. By right, bothhz_locations table and wsh_locations table should be synchronized automatically. But, in my case, it was not. Business event "oracle.apps.ar.hz.Location.update" is enabled, everything else is fine. But the synchronize is not happening.&lt;br /&gt; &lt;br /&gt;Logged a tar and Oracle came back with suggestion to run "Import Shipping Location" program in OM responsibility to synchronize the table. These was their reply (copied from some another article).&lt;br /&gt; &lt;br /&gt;"...The 'Import Shipping locations' concurrent program imports all of the internal and external&lt;br /&gt;locations from HR/HZ LOCATIONS tables into the WSH_LOCATIONS tables.&lt;br /&gt; &lt;br /&gt;This program should be executed at least once when upgrading to 11.5.9. After the&lt;br /&gt;upgrade, it should not be required to rerun this concurrent program since any&lt;br /&gt;changes in the HR/HZ LOCATIONS tables are automatically synced up with WSH&lt;br /&gt;tables.&lt;br /&gt; &lt;br /&gt;There are a few exceptions when Import Shipping Locations concurrent program should be run. These exceptions would be only when any updates to a&lt;br /&gt;Customer's information does not get reflected when creating a new sales order&lt;br /&gt;or when you find any inconsistencies in Location records when interfaced from&lt;br /&gt;HR to WSH Locations, such as an incorrect country code..."&lt;br /&gt; &lt;br /&gt;Question is the auto-sync is not happening and Oracle can't give reason why.&lt;br /&gt; &lt;br /&gt;End up I have to run "Import Shipping Location" program to solve the issue (and it took 3.5 hours to complete with the Start-Date value = sysdate-4).&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;HL Pick Slip SRS Report -&gt; Completed Warning &lt;/strong&gt;After Pick Release action, pick slip report will get submitted, but it often completed warning.&lt;br /&gt;How to know if actual picking taken place? Picking could be failed or success even the program completed warning. E.g. For printing issue, even it completed warning, but the stock has been picked.&lt;br /&gt;From Requests list, click on the request, view Output. If there is records there, it was successfully picked. Another faster way, observe the request in the list, if the 4th and 5th parameters have value, it is successful. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Unable to Pick Release Internal Sales Order (ISO)&lt;/strong&gt; &lt;br /&gt;ISO was created from Internal Requisition (IR), order line status is "Awaiting Shipping", shipment line status is "Ready to Release", next step is "Pick Release". Performed Pick Release, shipment line status is not changed. As usual, no error shown in the log.&lt;br /&gt;After investigation, found onhand no issue, inventory period is opened, what else could be the cause?&lt;br /&gt;Ans: The ISO has tied to subinventory ABC, but the manual Pick Release is picked from subinventory DEF. So, change the "Pick From" subinventory to ABC, problem solved. Note: ISO subinventory is defaulted from IR subinventory. &lt;br /&gt; &lt;br /&gt;&lt;strong&gt; &lt;br /&gt;Meaning of wsh_new_deliveries.released_status&lt;/strong&gt; &lt;br /&gt;Meaning of wsh_new_deliveries.released_status field value, reproduced from Document406189.1.&lt;br /&gt;B Backordered Line failed to be allocated in Inventory &lt;br /&gt;C Shipped Line has been shipped &lt;br /&gt;D Cancelled Line is Cancelled &lt;br /&gt;N Not ready for release Line is not ready to be released &lt;br /&gt;R Ready to release Line is ready to be released &lt;br /&gt;S Released to Warehouse Line has been released to Inventory for processing &lt;br /&gt;X Not Applicable Line is not applicable for Pick Release &lt;br /&gt;Y Staged Line has been picked and staged by Inventory &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Order Shipping Line Status Stuck in "Shipped", Next Step "Run Interfaces" &lt;/strong&gt;Obviously "Interface Trip Stop" program has been ran, but status is not change. What could be the reason behind?&lt;br /&gt;Check error records in Transaction Open Interface (Transactions-&gt;Transaction Open Interface). Any error stuck with error in the interface will cause this issue.&lt;br /&gt;Table:&lt;br /&gt;mtl_transactions_interface&lt;br /&gt;Fields:&lt;br /&gt;process_flag =&gt; 3, if error&lt;br /&gt;organization_id =&gt; Inventory Organization&lt;br /&gt;error_code &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;OE_ORDER_HEADERS_ALL -&gt; SOLD_TO_ORG_ID and SHIP_TO_ORG_ID &lt;/strong&gt;At the Order Header table, SOLD_TO_ORG_ID refers to customer_id whereas SHIP_TO_ORG_ID is the ORGANIZATION_ID from OE_SHIP_TO_ORGS_V. From the SHIP_TO_ORG_ID field, we can trace back the actual ship-to address for a particular order.&lt;br /&gt;Before we can use OE_SHIP_TO_ORGS_V view in sql, we have to first initialize the view. However, we can skip it by going direct to the tables.&lt;br /&gt; &lt;br /&gt;--to get actual ship to address for a Sales Order&lt;br /&gt;select hl.*&lt;br /&gt;from&lt;br /&gt;apps.hz_cust_site_uses_all cs,&lt;br /&gt;apps.hz_cust_acct_sites_all cas,&lt;br /&gt;apps.hz_party_sites ps,&lt;br /&gt;apps.hz_locations hl&lt;br /&gt;where&lt;br /&gt;hl.location_id=ps.location_id and&lt;br /&gt;ps.party_site_id=cas.party_site_id and&lt;br /&gt;cas.cust_acct_site_id=cs.cust_acct_site_id and&lt;br /&gt;hl.country='IN' and&lt;br /&gt;hl.state='JAMMU AND KASHMIR' and&lt;br /&gt;cs.site_use_code='SHIP_TO' and&lt;br /&gt;cs.org_id=123&lt;br /&gt;order by cs.site_use_id desc&lt;br /&gt; &lt;br /&gt;--to get order base on ship to address&lt;br /&gt;-- cs.site_use_id equals oe_order_headers_all.ship_to_org_id&lt;br /&gt;select * from apps.oe_order_headers_all where ship_to_org_id in (&lt;br /&gt;select cs.site_use_id &lt;br /&gt;from&lt;br /&gt;apps.hz_cust_site_uses_all cs,&lt;br /&gt;apps.hz_cust_acct_sites_all cas,&lt;br /&gt;apps.hz_party_sites ps,&lt;br /&gt;apps.hz_locations hl&lt;br /&gt;where&lt;br /&gt;hl.location_id=ps.location_id and&lt;br /&gt;ps.party_site_id=cas.party_site_id and&lt;br /&gt;cas.cust_acct_site_id=cs.cust_acct_site_id and&lt;br /&gt;hl.country='IN' and&lt;br /&gt;hl.state='JAMMU AND KASHMIR' and&lt;br /&gt;cs.site_use_code='SHIP_TO' and&lt;br /&gt;cs.org_id=123 )&lt;br /&gt;and order_type_id=2345&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Validation failed for the field - Ship To&lt;/strong&gt; &lt;br /&gt;Encountered this error during Order Copy (at header level).&lt;br /&gt;Root Cause:&lt;br /&gt;Customer Site Location is deactivated.&lt;br /&gt;Fix:&lt;br /&gt;Activate it. Customer-&gt;Standard. Choose the correct address base on the ship to address shown in the sale order, click "Open". Identify "Ship To" underUsage column, check the Active checkbox.&lt;br /&gt;Some useful backend table for these:&lt;br /&gt;Take oe_order_headers_all.ship_to_org_id to hz_cust_site_uses_all.site_use_id, hz_cust_site_uses_all.location field refers Customer Site Location.&lt;br /&gt;We can get the Customer Site Number by using&lt;br /&gt;select ps.party_site_number&lt;br /&gt;from&lt;br /&gt;apps.hz_cust_site_uses_all cs,&lt;br /&gt;apps.hz_cust_acct_sites_all cas,&lt;br /&gt;apps.hz_party_sites ps,&lt;br /&gt;apps.hz_locations hl&lt;br /&gt;where&lt;br /&gt;hl.location_id=ps.location_id and&lt;br /&gt;ps.party_site_id=cas.party_site_id and&lt;br /&gt;cas.cust_acct_site_id=cs.cust_acct_site_id and&lt;br /&gt;cs.site_use_code='SHIP_TO' and&lt;br /&gt;cs.org_id=123 and&lt;br /&gt;cs.site_use_id = 12345678&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Query Manager for Shipping Transactions Form&lt;/strong&gt; &lt;br /&gt;Org Code is not defaulted to the OU's inventory organization, but it is defaulted to another inventory organization which has no relationship with current OU. Somemore, Org Code field is disabled. Why?&lt;br /&gt;Ans: Setup-&gt;Shipping-&gt;Grants and Role Definitions-&gt;Grants. Grant to your Oracle user id, the Org Code will be enabled with blank. Set the Org Code from there (the field is optional).&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt; Shipping Method - Lookups&lt;/strong&gt; &lt;br /&gt;To look at the complete list of Shipping Method, you need to go to Setup-&gt;Organizations-&gt;Shipping Methods in Inventory responsibility. It is a System Lookups, type: SHIP_METHOD.You can add/modify/remove Shipping Method there. &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Picked Quantity Auto Transferred Back After Backordered?&lt;/strong&gt; &lt;br /&gt;Picked quantity (Pick Release process) will NOT be transferred back automatically to original locator/subinventory after Backordered transaction. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;1 Delivery Has Many Delivery Lines, How to Backorder Only 1 Delivery Line&lt;/strong&gt; &lt;br /&gt;At Shipping Transactions form, query the delivery line by order number and item code (assuming this item has only 1 delivery line), enter the Shipped Qty as 0, Backordered Qty as the total quantity at the delivery line.Click Delivery tab, select "Ship Entered Quantities", press OK. If a delivery has multiple lines, only the selected line will be backordered.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Setting Up Internal Customer for IR-ISO&lt;/strong&gt; &lt;br /&gt;How does customer get recognized during Internal Sales Order (ISO) creation?&lt;br /&gt;Ans: Location. In IR, there is a Ship-to-Location, and this internal location must tie to the same location defined in Customer Address (Customers-&gt;Addresses-&gt;Location-&gt;Internal Location). Each unique location can only assigned to only 1 customer and 1 address.Table for customer address and location: RA_SITE_USES_ALL&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Auto Allocation in Transact Move Order for a Sales Order &lt;/strong&gt;If the SO shipment status is now "Released to Warehouse", we need to perform Transact Move Orders. For the Move Order, which setup trigger auto allocation?&lt;br /&gt;Ans: In the Release Rules form, Inventory tab, Auto Allocate selection (Yes/No)&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;No Delivery Detail Found &lt;/strong&gt;After Ship-Confirm action, shipping line status is Closed, Interface Trip Stop program completed Warning, with warning message "No Delivery Detail Found" in the log file.&lt;br /&gt;Where to rectify this?&lt;br /&gt;Ans: Go Inventory responsibility, Transactions-&gt;Transaction Open Interface, check for any errors in the shipping organization. Rectify from there.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Pick Release in Shipping Transactions Form &lt;/strong&gt;This is an alternate way to perform pick release at a place other than Release Sales Ordersform.&lt;br /&gt;Shipping-&gt;Transactions&lt;br /&gt;Only Lines/LPNs tab is enabled, other tabs like "Delivery", "Path by Stop" &amp; "Path by Trip" are disabled as picking is not done yet. Go "Action" LOV, choose "Launch Pick Release", clickGo button.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Internal Requisition Approved, Internal Sales Order Created and Picked, Need to Cancel All, How? &lt;/strong&gt;Ans: First perform backorder for ISO, cancel the ISO, then cancel the IR. Do remember to move back the inventory from staging to picking.&lt;br /&gt;&lt;br /&gt;Collection from unknown author ( oraclea2z )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3724499020385274777?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3724499020385274777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3724499020385274777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3724499020385274777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3724499020385274777'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/06/om-useful-tips.html' title='OM Useful Tips'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5086491952419486951</id><published>2011-06-24T20:56:00.000+05:30</published><updated>2011-06-24T20:57:04.893+05:30</updated><title type='text'>Concurrent Manager Queries</title><content type='html'>&lt;span style="font-weight:bold;"&gt; /* Managers with their corresponding Oracle and System Process Id''s*/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT DISTINCT concurrent_process_id cpid, gvs.inst_id INSTANCE,&lt;br /&gt;                gvp.pid opid, os_process_id osid,&lt;br /&gt;                q.user_concurrent_queue_name manager, p.node_name node,&lt;br /&gt;                TO_CHAR (p.process_start_date,&lt;br /&gt;                         'MM-DD-YY HH:MI:SSAM'&lt;br /&gt;                        ) started_at&lt;br /&gt;           FROM fnd_concurrent_processes p,&lt;br /&gt;                fnd_concurrent_queues_vl q,&lt;br /&gt;                gv$process gvp,&lt;br /&gt;                gv$session gvs&lt;br /&gt;          WHERE q.application_id = queue_application_id&lt;br /&gt;            AND (q.concurrent_queue_id = p.concurrent_queue_id)&lt;br /&gt;            AND (gvs.process = os_process_id)&lt;br /&gt;            AND (gvp.addr = gvs.paddr)&lt;br /&gt;            AND process_status_code NOT IN ('K', 'S')&lt;br /&gt;       ORDER BY gvs.inst_id,&lt;br /&gt;                p.node_name,&lt;br /&gt;                concurrent_process_id,&lt;br /&gt;                q.user_concurrent_queue_name;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt; /*Managers that are having problems*/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SELECT DISTINCT concurrent_process_id cpid, oracle_process_id opid,&lt;br /&gt;                os_process_id osid, user_concurrent_queue_name manager,&lt;br /&gt;                p.node_name node,&lt;br /&gt;                TO_CHAR (p.process_start_date,&lt;br /&gt;                         'MM-DD-YY HH:MI:SSAM'&lt;br /&gt;                        ) started_at&lt;br /&gt;           FROM fnd_concurrent_processes p, fnd_concurrent_queues_vl q&lt;br /&gt;          WHERE q.application_id = queue_application_id&lt;br /&gt;            AND q.concurrent_queue_id = p.concurrent_queue_id&lt;br /&gt;            AND p.concurrent_queue_id &lt;&gt; 1&lt;br /&gt;            AND (os_process_id) NOT IN (SELECT gvs.process&lt;br /&gt;                                          FROM gv$session gvs&lt;br /&gt;                                         WHERE gvs.process IS NOT NULL)&lt;br /&gt;            AND (   process_status_code = 'A'&lt;br /&gt;                 OR process_status_code = 'R'&lt;br /&gt;                 OR process_status_code = 'T'&lt;br /&gt;                )&lt;br /&gt;       ORDER BY os_process_id,&lt;br /&gt;                concurrent_process_id,&lt;br /&gt;                q.user_concurrent_queue_name;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;/*Managers that are not active at this instant*/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SELECT   application_name, concurrent_queue_id qid,&lt;br /&gt;         user_concurrent_queue_name manager, node_name node&lt;br /&gt;    FROM fnd_concurrent_queues_vl q, fnd_application_vl a&lt;br /&gt;   WHERE a.application_id = q.application_id&lt;br /&gt;     AND max_processes = 0&lt;br /&gt;     AND running_processes = 0&lt;br /&gt;     AND q.concurrent_queue_id &lt;&gt; 1&lt;br /&gt;ORDER BY application_name, user_concurrent_queue_name;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5086491952419486951?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5086491952419486951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5086491952419486951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5086491952419486951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5086491952419486951'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/06/concurrent-manager-queries.html' title='Concurrent Manager Queries'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3395890798149534630</id><published>2011-05-28T00:39:00.001+05:30</published><updated>2011-05-28T00:46:24.554+05:30</updated><title type='text'>Setup to perform OA Page personalization</title><content type='html'>To perform OA Page personalization a profile option (“Personaliz Self-Service Defn”)  has to be assigned to a user login.&lt;br /&gt;Navigation: “Application Administrator” Responsibility --&gt; Application Administrator --&gt;Profile&lt;br /&gt;Here in this screen select ‘User’ Checkbox and then select your login user name and  Select the Profile option “Personaliz Self-Service Defn” in the Profile text box. After selecting the profile option, click on Find button. This action opens System profile options screen.&lt;br /&gt;In the screen select ‘Yes’ Option from the LOV corresponding to the user column.&lt;br /&gt;Then save and close the form.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3395890798149534630?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3395890798149534630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3395890798149534630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3395890798149534630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3395890798149534630'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/05/setup-to-perform-oa-page.html' title='Setup to perform OA Page personalization'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3698272757287968149</id><published>2011-05-25T01:28:00.002+05:30</published><updated>2011-05-25T01:39:00.266+05:30</updated><title type='text'>How to get table information? How to get About this Page link in OA page in R12</title><content type='html'>How to get table information? How to get About this Page link in OA page in R12&lt;br /&gt;&lt;br /&gt;Applies to: &lt;br /&gt;OA Pages Version: 12.0.0&lt;br /&gt;Information in this document applies to any platform.&lt;br /&gt;&lt;br /&gt;Goal&lt;br /&gt;Q1: How to find supplier related view / table information in web page environment?&lt;br /&gt;Q2: How to get the About this Page link in OA page?&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;A1: Please follow the following steps to get the Supplier related table information:&lt;br /&gt;&gt; Navigate to the Supplier Page&lt;br /&gt;&gt; Click on the About this page link&lt;br /&gt;&gt; Click Expand All&lt;br /&gt;&gt; You will be seeing SuppSrchVO, SupplierVO and SitesVO&lt;br /&gt;&gt; If you click on that view it will show you the query used.&lt;br /&gt;&lt;br /&gt;A2: To get the About this Page Link:&lt;br /&gt;&lt;br /&gt;Please ensure the below Profile option is set to Yes at site level:&lt;br /&gt;FND: Diagnostics&lt;br /&gt;System Administrator &gt; Profile &gt; System&lt;br /&gt;&lt;br /&gt;The FND: Diagnostics profile option controls whether the Diagnostics button is rendered.&lt;br /&gt;It also controls the display of the About this Page link.&lt;br /&gt;&lt;br /&gt;You may also set below &lt;br /&gt;&lt;br /&gt;Personalize Self-Service Defn : Yes&lt;br /&gt;FND: Personalization Region Link Enabled : Yes &lt;br /&gt;FND: Diagnostics : Yes&lt;br /&gt;&lt;br /&gt;Add the below responsibilities to the user:&lt;br /&gt;System Administrator &gt; Security &gt; User &gt; Define&lt;br /&gt;&lt;br /&gt;1. FND Html Forms&lt;br /&gt;2. Functional Administrator&lt;br /&gt;3. Functional Developer&lt;br /&gt;4. Once done bounce the apache&lt;br /&gt;5. Retest the issue&lt;br /&gt;6. Migrate the solution to other environments as appropriate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3698272757287968149?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3698272757287968149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3698272757287968149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3698272757287968149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3698272757287968149'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/05/how-to-get-table-information-how-to-get.html' title='How to get table information? How to get About this Page link in OA page in R12'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6642691706342337272</id><published>2011-05-10T21:46:00.001+05:30</published><updated>2011-05-10T21:46:52.329+05:30</updated><title type='text'>iRecruitment workflow</title><content type='html'>How to view Item Key and Workflow internal name for iRecruitment vacancy related workflows&lt;br /&gt;&lt;br /&gt;SELECT transaction_document&lt;br /&gt;FROM hr_api_transactions&lt;br /&gt;WHERE transaction_ref_table = 'PER_ALL_VACANCIES'&lt;br /&gt;and transaction_ref_id = 9876;&lt;br /&gt;&lt;br /&gt;(drop the 'IRC' prefix when using transaction_ref_id).&lt;br /&gt;&lt;br /&gt;The following query will return you item_type,item_key thorugh which you can search the workflow &lt;br /&gt;&lt;br /&gt;  SELECT item_type,item_key&lt;br /&gt;FROM hr_api_transactions&lt;br /&gt;WHERE transaction_ref_table = 'PER_ALL_VACANCIES'&lt;br /&gt;and transaction_ref_id = 9204;&lt;br /&gt;&lt;br /&gt;select * from PER_ALL_VACANCIES&lt;br /&gt;where name ='IRC9204'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6642691706342337272?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6642691706342337272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6642691706342337272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6642691706342337272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6642691706342337272'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/05/irecruitment-workflow.html' title='iRecruitment workflow'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4696818986272043756</id><published>2011-05-10T02:44:00.001+05:30</published><updated>2011-05-10T02:44:50.949+05:30</updated><title type='text'>How to clear the Cache in R12 JSP Pages</title><content type='html'>How to clear the Cache in R12 JSP Pages&lt;br /&gt;&lt;br /&gt;Logon to oracle applications than navigate to &lt;br /&gt;&lt;br /&gt;Functional Administrator--&gt;Home--&gt; Click on 'Core Services'--&gt; click on 'Caching Framework'&lt;br /&gt;&lt;br /&gt;Here you can clear Cache.&lt;br /&gt;&lt;br /&gt;This is useful when you add responsibilities to your user or want to clear any cache&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4696818986272043756?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4696818986272043756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4696818986272043756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4696818986272043756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4696818986272043756'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/05/how-to-clear-cache-in-r12-jsp-pages.html' title='How to clear the Cache in R12 JSP Pages'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2134691171974318529</id><published>2011-03-23T00:32:00.002+05:30</published><updated>2011-03-23T00:33:10.510+05:30</updated><title type='text'>Operating Unit and Inventory Organization link</title><content type='html'>Query which gives Operating Unit Information and corresponding Inventory Orgs related information also &lt;br /&gt;&lt;br /&gt;SELECT   hou.NAME operating_unit_name, hou.short_code,&lt;br /&gt;         hou.organization_id operating_unit_id, hou.set_of_books_id,&lt;br /&gt;         hou.business_group_id,&lt;br /&gt;         ood.organization_name inventory_organization_name,&lt;br /&gt;         ood.organization_code Inv_organization_code, ood.organization_id Inv_organization_id, ood.chart_of_accounts_id&lt;br /&gt;    FROM hr_operating_units hou, org_organization_definitions ood&lt;br /&gt;   WHERE 1 = 1 AND hou.organization_id = ood.operating_unit&lt;br /&gt;ORDER BY hou.organization_id ASC&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2134691171974318529?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2134691171974318529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2134691171974318529' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2134691171974318529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2134691171974318529'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/03/operating-unit-and-inventory.html' title='Operating Unit and Inventory Organization link'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5133034386261666504</id><published>2011-02-24T01:36:00.000+05:30</published><updated>2011-02-24T01:37:44.853+05:30</updated><title type='text'>iExpenses Module</title><content type='html'>Below link we give you the entire flow of iExpenses&lt;br /&gt;&lt;br /&gt;http://www.erpschools.com/apps/oracle-applications/articles/financials/iExpenses/iExpenses-Module/index.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5133034386261666504?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5133034386261666504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5133034386261666504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5133034386261666504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5133034386261666504'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/iexpenses-module.html' title='iExpenses Module'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7856266105532015385</id><published>2011-02-22T02:48:00.001+05:30</published><updated>2011-02-22T02:50:53.133+05:30</updated><title type='text'>Tehnical Flow of OM</title><content type='html'>Understanding data flow for “Standard Order”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Order Entry&lt;br /&gt;This is first stage when Order in enter in system.When the order is entered it basically create a record in order headers and Order Lines table.&lt;br /&gt;•oe_order_headers_all (Here the flow_status_code as entered)&lt;br /&gt;•oe_order_lines_all (flow_status_code as entered) ( order number is generated)&lt;br /&gt;&lt;br /&gt;2.Order Booking&lt;br /&gt;This is next stage , when Order which is entered in step 1 is booked and Flow status changed from Entered to Booked.At this stage , these table get affected.&lt;br /&gt;•oe_order_headers_all (flow_status_code as booked ,booked_flag updated)&lt;br /&gt;•oe_order_lines_all (flow_status_code as awaiting shipping, booked_flag updated)&lt;br /&gt;•wsh_new_deliveries (status_code OP open)&lt;br /&gt;•wsh_delivery_details (released_status ‘R’ ready to release)&lt;br /&gt;Same time, Demand interface program runs in background And insert into inventory tables mtl_demand&lt;br /&gt;&lt;br /&gt;3. Reservation&lt;br /&gt;This step is required for doing reservations SCHEDULE ORDER PROGRAM runs in the background and quantities are reserved.Once this program get successfully get completed , the mtl_reservations table get updated.&lt;br /&gt;&lt;br /&gt;4. Pick Release&lt;br /&gt;Ideally pick release is the process which is defined in which the items on the sales order are taken out from inventory.&lt;br /&gt;Normally pick release SRS program runs in background . Once the program get completed these are the table get affected:&lt;br /&gt;•oe_order_lines_all (flow_status_code ‘PICKED’ )&lt;br /&gt;•wsh_delivery_details (released_status ‘S’ ‘submitted for release’ )&lt;br /&gt;•mtl_txn_request_headers&lt;br /&gt;•mtl_txn_request_lines&lt;br /&gt;(move order tables.Here request is generated to move item from saleble to staging sub inventory)&lt;br /&gt;•Mtl_material_transactions_temp (link to above tables through move_order_header_id/line_id&lt;br /&gt;&lt;br /&gt;5.Pick Confirm&lt;br /&gt;Items are transferred from saleble to staging Subinventory.&lt;br /&gt;•mtl_material_transactions&lt;br /&gt;•mtl_transaction_accounts&lt;br /&gt;•wsh_delivery_details (released_status ‘Y’‘Released’ )&lt;br /&gt;•wsh_delivery_assignments&lt;br /&gt;&lt;br /&gt;6.Ship Confirm&lt;br /&gt;Here ship confirm interface program runs in background . Data removed from wsh_new_deliveries&lt;br /&gt;•oe_order_lines_all (flow_status_code ‘shipped’)&lt;br /&gt;•wsh_delivery_details (released_status ‘C’ ‘Shipped’)&lt;br /&gt;•mtl_transaction_interface&lt;br /&gt;•mtl_material_transactions(linked through Transaction source header id)&lt;br /&gt;•mtl_transaction_accounts&lt;br /&gt;•Data deleted from mtl_demand,mtl_reservations&lt;br /&gt;•Item deducted from mtl_onhand_quantities&lt;br /&gt;&lt;br /&gt;7.Enter Invoice&lt;br /&gt;This is also called Receivables interface, that mean information moved to accounting area for invoicing details.&lt;br /&gt;•Invoicing workflow activity transfers shipped item information to Oracle Receivables.&lt;br /&gt;•ra_interface_lines_all (interface table into which the data is transferred from order management)T&lt;br /&gt;•Then Autoinvoice program imports data from this&lt;br /&gt;•Table which get affected into this stage are recievables base table.&lt;br /&gt;   ra_customer_trx_all (cust_trx_id is primary key to link it to trx_lines table and trx_number is the invoice number)&lt;br /&gt;  ra_customer_trx_lines_all (line_attribute_1 and line_attribute_6 are linked to header_id (or order number) and line_id of the orders)&lt;br /&gt;&lt;br /&gt;8.Complete Line&lt;br /&gt;In this stage order line leval table get updated with Flow status and open flag.&lt;br /&gt;•oe_order_lines_all (flow_status_code ‘shipped’, open_flag “N”)&lt;br /&gt;9.Close Order&lt;br /&gt;This is last step of Order Processing . In this stage only oe_order_lines_all table get updated.&lt;br /&gt;These are the table get affected in this step.&lt;br /&gt;•oe_order_lines_all (flow_status_code ‘closed’,open_flag “N”)&lt;br /&gt;These are the typically data flow of a order to cash model for a standard order.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7856266105532015385?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7856266105532015385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7856266105532015385' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7856266105532015385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7856266105532015385'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/tehnical-flow-of-om.html' title='Tehnical Flow of OM'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1343220402718913448</id><published>2011-02-18T03:23:00.001+05:30</published><updated>2011-02-18T03:26:48.639+05:30</updated><title type='text'>Oracle XML Publisher Bursting Sample Program</title><content type='html'>&lt;xapi:filesystem id="1234" output="/server/outputfolder/${TRX_NUMBER}.pdf"&gt;Here we are trying to send the PDF output to Server Output Folder.&lt;br /&gt;&lt;br /&gt;xapi:delivery - Explains where the output should be delivered&lt;br /&gt;xapi:filesystem - explains the output is destined to filesystem&lt;br /&gt;xapi:template - specifies the template shortcode prefixed with app short code, for eg: AR.INVOICE - AR-app short code and INVOICE is the xml template short code.&lt;br /&gt;&lt;br /&gt;location="xdo://AR.INVOICE.en.US/?getSource=true"&lt;br /&gt;&lt;br /&gt;Above line is very important, it takes care of pulling the latest template uploaded in the XML Publisher Administrator responsibility, you don't need to put your template hanging in any UNIX servers.&lt;br /&gt;&lt;br /&gt;en - Language&lt;br /&gt;US - Territory code (when you create template definition, you make sure that you select United States or other country)&lt;br /&gt;&lt;br /&gt;The same above example holds good for sending the output through email, fax, etc.,&lt;br /&gt;By: chandramouly&lt;br /&gt;&lt;/xapi:filesystem&gt;&lt;?xml:namespace prefix = xapi /&gt;&lt;xapi:filesystem id="1234" output="/server/outputfolder/${TRX_NUMBER}.pdf"&gt;&lt;/xapi:filesystem&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1343220402718913448?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1343220402718913448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1343220402718913448' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1343220402718913448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1343220402718913448'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/oracle-xml-publisher-bursting-sample.html' title='Oracle XML Publisher Bursting Sample Program'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6145502005179330283</id><published>2011-02-15T01:55:00.000+05:30</published><updated>2011-02-15T01:56:19.618+05:30</updated><title type='text'>How to Create a Barcode in Oracle Reports</title><content type='html'>How to Create a Barcode in Oracle Reports please view below link &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.youtube.com/watch?v=vvQOp1YmOIc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6145502005179330283?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6145502005179330283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6145502005179330283' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6145502005179330283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6145502005179330283'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/how-to-create-barcode-in-oracle-reports.html' title='How to Create a Barcode in Oracle Reports'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5890983933085321243</id><published>2011-02-10T00:55:00.000+05:30</published><updated>2011-02-10T00:56:14.274+05:30</updated><title type='text'>views in Oracle Property Manager Module</title><content type='html'>List of views in Oracle Property Manager Module&lt;br /&gt;&lt;br /&gt;PN_ACT_RENT_DETAILS_V &lt;br /&gt;PN_ADDRESSES_ALL_DFV &lt;br /&gt;PN_ADJUSTMENT_DETAILS_V &lt;br /&gt;PN_AEL_BILL_GL_V &lt;br /&gt;PN_AEL_PAY_GL_V &lt;br /&gt;PN_BUILDINGS_V &lt;br /&gt;PN_COMPANIES_ALL_DFV &lt;br /&gt;PN_COMPANIES_V &lt;br /&gt;PN_COMPANY_SITES_ALL_DFV &lt;br /&gt;PN_COMPANY_SITES_V &lt;br /&gt;PN_CONTACT_ASSIGN_HISTORY_V &lt;br /&gt;PN_CONTACT_ASSIGNMENTS_ALL_DFV &lt;br /&gt;PN_CONTACT_ASSIGNMENTS_V &lt;br /&gt;PN_CONTACTS_ALL_DFV &lt;br /&gt;PN_CONTACTS_V &lt;br /&gt;PN_DISTRIBUTIONS_ALL_DFV &lt;br /&gt;PN_DISTRIBUTIONS_HISTORY_V &lt;br /&gt;PN_DISTRIBUTIONS_V &lt;br /&gt;PN_EXCLUDE_TERMS_V &lt;br /&gt;PN_EXP_PAYMENT_ITEMS_V &lt;br /&gt;PN_FLOORS_V &lt;br /&gt;PN_FOR_RENT_DETAILS_V &lt;br /&gt;PN_GL_PERIOD_V &lt;br /&gt;PN_INDEX_EXCLUDE_TERM_V &lt;br /&gt;PN_INDEX_HISTORY_HEADERS_DFV &lt;br /&gt;PN_INDEX_HISTORY_HEADERS_V &lt;br /&gt;PN_INDEX_HISTORY_LINES_V &lt;br /&gt;PN_INDEX_LEASE_CONSTRAINTS_DFV &lt;br /&gt;PN_INDEX_LEASE_CONSTRAINTS_V &lt;br /&gt;PN_INDEX_LEASE_PERIODS_ALL_DFV &lt;br /&gt;PN_INDEX_LEASE_PERIODS_V &lt;br /&gt;PN_INDEX_LEASES_ALL_DFV &lt;br /&gt;PN_INDEX_LEASES_V &lt;br /&gt;PN_INSUR_REQUIRE_HISTORY_V &lt;br /&gt;PN_INSURANCE_REQUIREMENTS__DFV &lt;br /&gt;PN_INSURANCE_REQUIREMNTS_V &lt;br /&gt;PN_JE_CATEGORIES_V &lt;br /&gt;PN_LANDLORD_SERVICE_HISTORY_V &lt;br /&gt;PN_LANDLORD_SERVICES_ALL_DFV &lt;br /&gt;PN_LANDLORD_SERVICES_V &lt;br /&gt;PN_LEASE_CHANGES_ALL_DFV &lt;br /&gt;PN_LEASE_CHANGES_V &lt;br /&gt;PN_LEASE_CONTACT_ASSIGN_V &lt;br /&gt;PN_LEASE_DETAILS_HISTORY_V &lt;br /&gt;PN_LEASE_DETAILS_V &lt;br /&gt;PN_LEASE_MILESTONES_ALL_DFV &lt;br /&gt;PN_LEASE_MILESTONES_V &lt;br /&gt;PN_LEASE_TRANSACTIONS_V &lt;br /&gt;PN_LEASES_V &lt;br /&gt;PN_LOC_ACC_MAP_HDR_V &lt;br /&gt;PN_LOC_ACC_MAP_V &lt;br /&gt;PN_LOCATION_CONTACT_ASSIGN_V &lt;br /&gt;PN_LOCATION_FEATURES_ALL_DFV &lt;br /&gt;PN_LOCATION_FEATURES_V &lt;br /&gt;PN_LOCATION_PARKS_DFV &lt;br /&gt;PN_LOCATION_PARKS_VL &lt;br /&gt;PN_LOCATIONS_ALL_DFV &lt;br /&gt;PN_LOCATIONS_ITF_V &lt;br /&gt;PN_LOCATIONS_PUB_V &lt;br /&gt;PN_LOCATIONS_V &lt;br /&gt;PN_NOTE_DETAILS_VL &lt;br /&gt;PN_NOTE_HEADERS_V &lt;br /&gt;PN_OFFICES_V &lt;br /&gt;PN_OPTIONS_ALL_DFV &lt;br /&gt;PN_OPTIONS_HISTORY_V &lt;br /&gt;PN_OPTIONS_V &lt;br /&gt;PN_PAY_GROUP_BYS_V &lt;br /&gt;PN_PAY_GROUP_RULES_V &lt;br /&gt;PN_PAYMENT_ITEMS_V &lt;br /&gt;PN_PAYMENT_SCHEDULES_ALL_DFV &lt;br /&gt;PN_PAYMENT_SCHEDULES_V &lt;br /&gt;PN_PAYMENT_TERMS_ALL_DFV &lt;br /&gt;PN_PAYMENT_TERMS_HISTORY_V &lt;br /&gt;PN_PAYMENT_TERMS_V &lt;br /&gt;PN_PBUILDING_V &lt;br /&gt;PN_PHONES_ALL_DFV &lt;br /&gt;PN_PHONES_V &lt;br /&gt;PN_PLAND_V &lt;br /&gt;PN_PROPERTIES_ALL_DFV &lt;br /&gt;PN_PROPERTIES_V &lt;br /&gt;PN_RIGHTS_ALL_DFV &lt;br /&gt;PN_RIGHTS_HISTORY_V &lt;br /&gt;PN_RIGHTS_V &lt;br /&gt;PN_SET_MILESTONES_VL &lt;br /&gt;PN_SET_TYPES_VL &lt;br /&gt;PN_SPACE_ALLOCATIONS_ALL_DFV &lt;br /&gt;PN_SPACE_ALLOCATIONS_V &lt;br /&gt;PN_SPACE_ASSIGN_CUST_ALL_DFV &lt;br /&gt;PN_SPACE_ASSIGN_CUST_PUB_V &lt;br /&gt;PN_SPACE_ASSIGN_CUST_V &lt;br /&gt;PN_SPACE_ASSIGN_EMP_ALL_DFV &lt;br /&gt;PN_SPACE_ASSIGN_EMP_PUB_V &lt;br /&gt;PN_SPACE_ASSIGN_EMP_V &lt;br /&gt;PN_TENANCIES_ALL_DFV &lt;br /&gt;PN_TENANCIES_HISTORY_V &lt;br /&gt;PN_TENANCIES_V &lt;br /&gt;PN_TERM_HISTORY_HEADER_V &lt;br /&gt;PN_TERM_TEMPLATES_ALL_DFV &lt;br /&gt;PN_TERM_TEMPLATES_V &lt;br /&gt;PN_TRX_LEASE_EXPENSE &lt;br /&gt;PN_TRX_LEASE_REVENUE &lt;br /&gt;PN_VAR_ABAT_DEFAULTS_V &lt;br /&gt;PN_VAR_BKDT_DEFAULTS_V &lt;br /&gt;PN_VAR_BKHD_DEFAULTS_V &lt;br /&gt;PN_VAR_BKPTS_DET_ALL_DFV &lt;br /&gt;PN_VAR_BKPTS_DET_V &lt;br /&gt;PN_VAR_BKPTS_HEAD_ALL_DFV &lt;br /&gt;PN_VAR_BKPTS_HEAD_V &lt;br /&gt;PN_VAR_CONSTR_DEFAULTS_V &lt;br /&gt;PN_VAR_CONSTRAINTS_ALL_DFV &lt;br /&gt;PN_VAR_CONSTRAINTS_V &lt;br /&gt;PN_VAR_DEDUCTIONS_ALL_DFV &lt;br /&gt;PN_VAR_DEDUCTIONS_V &lt;br /&gt;PN_VAR_LINE_DEFAULTS_V &lt;br /&gt;PN_VAR_LINE_TEMPLATES_V &lt;br /&gt;PN_VAR_LINES_ALL_DFV &lt;br /&gt;PN_VAR_LINES_DATES_V &lt;br /&gt;PN_VAR_LINES_V &lt;br /&gt;PN_VAR_PERIODS_ALL_DFV &lt;br /&gt;PN_VAR_PERIODS_DATES_V &lt;br /&gt;PN_VAR_PERIODS_V &lt;br /&gt;PN_VAR_RENT_ADJ_V &lt;br /&gt;PN_VAR_RENT_DATES_V &lt;br /&gt;PN_VAR_RENT_DETAILS_V &lt;br /&gt;PN_VAR_RENT_INV_ALL_DFV &lt;br /&gt;PN_VAR_RENT_INV_V &lt;br /&gt;PN_VAR_RENT_SUMM_V &lt;br /&gt;PN_VAR_RENTS_ALL_DFV &lt;br /&gt;PN_VAR_RENTS_V &lt;br /&gt;PN_VAR_SUMM_DET_V &lt;br /&gt;PN_VAR_TEMPLATES_V &lt;br /&gt;PN_VAR_TERMS_V &lt;br /&gt;PN_VAR_VOL_HIST_ALL_DFV &lt;br /&gt;PN_VAR_VOL_HIST_V &lt;br /&gt;PN_XLA_EXTRACT_HEADERS_V &lt;br /&gt;PN_XLA_EXTRACT_LINES_V&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5890983933085321243?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5890983933085321243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5890983933085321243' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5890983933085321243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5890983933085321243'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/views-in-oracle-property-manager-module.html' title='views in Oracle Property Manager Module'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2604296276983522577</id><published>2011-02-10T00:52:00.001+05:30</published><updated>2011-02-10T00:52:54.967+05:30</updated><title type='text'>Oracle Property Manager Tables</title><content type='html'>Oracle Property Manager Tables:&lt;br /&gt;&lt;br /&gt;PN_ACCOUNTING_EVENTS_ALL&lt;br /&gt;PN_ADDRESSES_ALL&lt;br /&gt;PN_ADJUSTMENT_DETAILS&lt;br /&gt;PN_ADJUSTMENT_SUMMARIES&lt;br /&gt;PN_AE_HEADERS_ALL&lt;br /&gt;PN_AE_LINES_ALL&lt;br /&gt;PN_COMPANIES_ALL&lt;br /&gt;PN_COMPANY_SITES_ALL&lt;br /&gt;PN_CONTACTS_ALL&lt;br /&gt;PN_CONTACT_ASSIGNMENTS_ALL&lt;br /&gt;PN_CONTACT_ASSIGN_HISTORY&lt;br /&gt;PN_CURRENCIES&lt;br /&gt;PN_DISTRIBUTIONS_ALL&lt;br /&gt;PN_DISTRIBUTIONS_HISTORY&lt;br /&gt;PN_EMP_SPACE_ASSIGN_ITF&lt;br /&gt;PN_INDEX_EXCLUDE_TERM_ALL&lt;br /&gt;PN_INDEX_HISTORY_HEADERS&lt;br /&gt;PN_INDEX_HISTORY_LINES&lt;br /&gt;PN_INDEX_LEASES_ALL&lt;br /&gt;PN_INDEX_LEASE_CONSTRAINTS_ALL&lt;br /&gt;PN_INDEX_LEASE_PERIODS_ALL&lt;br /&gt;PN_INDEX_LEASE_TERMS_ALL&lt;br /&gt;PN_INSURANCE_REQUIREMENTS_ALL&lt;br /&gt;PN_INSUR_REQUIRE_HISTORY&lt;br /&gt;PN_LANDLORD_SERVICES_ALL&lt;br /&gt;PN_LANDLORD_SERVICE_HISTORY&lt;br /&gt;PN_LEASES_ALL&lt;br /&gt;PN_LEASE_CHANGES_ALL&lt;br /&gt;PN_LEASE_DETAILS_ALL&lt;br /&gt;PN_LEASE_DETAILS_HISTORY&lt;br /&gt;PN_LEASE_MILESTONES_ALL&lt;br /&gt;PN_LEASE_OPTIONS_ITF&lt;br /&gt;PN_LEASE_TRANSACTIONS_ALL&lt;br /&gt;PN_LOCATIONS_ALL&lt;br /&gt;PN_LOCATIONS_ITF&lt;br /&gt;PN_LOCATION_FEATURES_ALL&lt;br /&gt;PN_LOCATION_PARKS&lt;br /&gt;PN_LOC_ACC_MAP_ALL&lt;br /&gt;PN_LOC_ACC_MAP_HDR_ALL&lt;br /&gt;PN_MILESTONES_ITF&lt;br /&gt;PN_NOTE_DETAILS&lt;br /&gt;PN_NOTE_HEADERS&lt;br /&gt;PN_OPTIONS_ALL&lt;br /&gt;PN_OPTIONS_HISTORY&lt;br /&gt;PN_PAYMENT_ITEMS_ALL&lt;br /&gt;PN_PAYMENT_ITEMS_EFC&lt;br /&gt;PN_PAYMENT_SCHEDULES_ALL&lt;br /&gt;PN_PAYMENT_TERMS_ALL&lt;br /&gt;PN_PAYMENT_TERMS_EFC&lt;br /&gt;PN_PAYMENT_TERMS_HISTORY&lt;br /&gt;PN_PAY_GROUP_BYS&lt;br /&gt;PN_PAY_GROUP_RULES&lt;br /&gt;PN_PHONES_ALL&lt;br /&gt;PN_PROPERTIES_ALL&lt;br /&gt;PN_REC_AGREEMENTS_ALL&lt;br /&gt;PN_REC_AGR_LINABAT_ALL&lt;br /&gt;PN_REC_AGR_LINAREA_ALL&lt;br /&gt;PN_REC_AGR_LINCONST_ALL&lt;br /&gt;PN_REC_AGR_LINES_ALL&lt;br /&gt;PN_REC_AGR_LINEXP_ALL&lt;br /&gt;PN_REC_ARCL_ALL&lt;br /&gt;PN_REC_ARCL_DTLLN_ALL&lt;br /&gt;PN_REC_ARCL_DTL_ALL&lt;br /&gt;PN_REC_ARCL_EXC_ALL&lt;br /&gt;PN_REC_CALC_PERIODS_ALL&lt;br /&gt;PN_REC_EXPCL_ALL&lt;br /&gt;PN_REC_EXPCL_DTLACC_ALL&lt;br /&gt;PN_REC_EXPCL_DTLLN_ALL&lt;br /&gt;PN_REC_EXPCL_DTL_ALL&lt;br /&gt;PN_REC_EXPCL_INC_ALL&lt;br /&gt;PN_REC_EXPCL_TYPE_ALL&lt;br /&gt;PN_REC_EXP_ITF&lt;br /&gt;PN_REC_EXP_LINE_ALL&lt;br /&gt;PN_REC_EXP_LINE_DTL_ALL&lt;br /&gt;PN_REC_LINBILL_ALL&lt;br /&gt;PN_REC_PERIOD_BILL_ALL&lt;br /&gt;PN_REC_PERIOD_LINES_ALL&lt;br /&gt;PN_RENT_ROLL_LEASE_EXP_ITF&lt;br /&gt;PN_RIGHTS_ALL&lt;br /&gt;PN_RIGHTS_HISTORY&lt;br /&gt;PN_SET_MILESTONES&lt;br /&gt;PN_SET_TYPES&lt;br /&gt;PN_SPACE_ALLOCATIONS_ALL&lt;br /&gt;PN_SPACE_ALLOC_ITF&lt;br /&gt;PN_SPACE_ASSIGN_CUST_ALL&lt;br /&gt;PN_SPACE_ASSIGN_EMP_ALL&lt;br /&gt;PN_SPACE_ASSIGN_LEASE_ITF&lt;br /&gt;PN_SPACE_ASSIGN_LOC_ITF&lt;br /&gt;PN_SPACE_UTIL_LEASE_ITF&lt;br /&gt;PN_SPACE_UTIL_LOC_ITF&lt;br /&gt;PN_SYSTEM_SETUP_OPTIONS&lt;br /&gt;PN_TENANCIES_ALL&lt;br /&gt;PN_TENANCIES_HISTORY&lt;br /&gt;PN_TERM_TEMPLATES_ALL&lt;br /&gt;PN_VAR_ABATEMENTS_ALL&lt;br /&gt;PN_VAR_BKPTS_DET_ALL&lt;br /&gt;PN_VAR_BKPTS_HEAD_ALL&lt;br /&gt;PN_VAR_CONSTRAINTS_ALL&lt;br /&gt;PN_VAR_DEDUCTIONS_ALL&lt;br /&gt;PN_VAR_GRP_DATES_ALL&lt;br /&gt;PN_VAR_LINES_ALL&lt;br /&gt;PN_VAR_PERIODS_ALL&lt;br /&gt;PN_VAR_RENTS_ALL&lt;br /&gt;PN_VAR_RENT_DATES_ALL&lt;br /&gt;PN_VAR_RENT_INV_ALL&lt;br /&gt;PN_VAR_RENT_SUMM_ALL&lt;br /&gt;PN_VAR_VOL_HIST_ALL&lt;br /&gt;PN_VOL_HIST_BATCH_ITF&lt;br /&gt;PN_VOL_HIST_LINES_ITF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2604296276983522577?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2604296276983522577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2604296276983522577' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2604296276983522577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2604296276983522577'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/oracle-property-manager-tables.html' title='Oracle Property Manager Tables'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3424695808549913565</id><published>2011-02-04T23:53:00.001+05:30</published><updated>2011-02-04T23:53:49.565+05:30</updated><title type='text'>Combining and Compressing Files at UNIX</title><content type='html'>Combining and Compressing Files   &lt;br /&gt;&lt;br /&gt;Create a tarfile        command   :   tar cf file.tar file1 file2 ...fileN &lt;br /&gt;                                                   tar combines files but does not compress &lt;br /&gt;Create a zipfile                             zip filename &lt;br /&gt;Unzip a file                                   unzip filename &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;In Unix, how do I create or decompress zip files? &lt;br /&gt;To create a zip file, at the Unix prompt, enter: &lt;br /&gt;  zip filename inputfile1 inputfile2 &lt;br /&gt;&lt;br /&gt;Replace filename with the name you want to give the zip file. The .zip extension is automatically appended to the end of the filename. &lt;br /&gt;Replace inputfile1 and inputfile2 with the names of the files you wish to include in the zip archive. You can include any number of files here, &lt;br /&gt;or you may use an asterisk (*) to include all files in the current directory.&lt;br /&gt;&lt;br /&gt;To include the contents of a directory or directories in a zip archive, use the  -r  flag: &lt;br /&gt;  zip -r filename directory &lt;br /&gt;&lt;br /&gt;Replace directory with the name of the directory you want to include. This will create the archive filename.zip that contains the files and &lt;br /&gt;subdirectories of directory.&lt;br /&gt;&lt;br /&gt;Files created by zip can normally be decoded by programs such as WinZip and StuffIt Expander.&lt;br /&gt;&lt;br /&gt;To decompress a zip file in Unix, use the unzip command. At the Unix prompt, enter: &lt;br /&gt;  unzip filename Replace filename with the name of the zip archive. &lt;br /&gt;&lt;br /&gt;For more information about zip and unzip, see their manual pages: &lt;br /&gt;  man zip&lt;br /&gt;  man unzip&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3424695808549913565?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3424695808549913565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3424695808549913565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3424695808549913565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3424695808549913565'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2011/02/combining-and-compressing-files-at-unix.html' title='Combining and Compressing Files at UNIX'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1321285438441332981</id><published>2010-12-29T20:35:00.000+05:30</published><updated>2010-12-29T20:36:11.657+05:30</updated><title type='text'>R12 Banks Queries</title><content type='html'>R12 Banks Queries&lt;br /&gt;&lt;br /&gt;SELECT  aps.vendor_name "VERDOR NAME",&lt;br /&gt;        apss.vendor_site_code "VENDOR SITE CODE",&lt;br /&gt;        ieb.bank_name "BANK NAME",&lt;br /&gt;        iebb.bank_branch_name "BANK BRANCH NAME",&lt;br /&gt;        iebb.branch_number "BRANCH NUMBER",&lt;br /&gt;        ieba.BANK_ACCOUNT_NUM "BANK ACCOUNT NUMBER",&lt;br /&gt;        ieba.BANK_ACCOUNT_NAME "BANK ACCOUNT NAME"&lt;br /&gt;FROM    ap.ap_suppliers aps,&lt;br /&gt;        ap.ap_supplier_sites_all apss,&lt;br /&gt;        apps.iby_ext_bank_accounts ieba,&lt;br /&gt;        apps.iby_account_owners iao,&lt;br /&gt;        apps.iby_ext_banks_v ieb,&lt;br /&gt;        apps.iby_ext_bank_branches_v iebb&lt;br /&gt;WHERE   aps.vendor_id = apss.vendor_id&lt;br /&gt;        and iao.account_owner_party_id = aps.party_id&lt;br /&gt;        and ieba.ext_bank_account_id = iao.ext_bank_account_id&lt;br /&gt;        and ieb.bank_party_id = iebb.bank_party_id&lt;br /&gt;        and ieba.branch_id = iebb.branch_party_id&lt;br /&gt;        and ieba.bank_id = ieb.bank_party_id;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT party_supp.party_name supplier_name&lt;br /&gt;,      aps.segment1          supplier_number&lt;br /&gt;,      ass.vendor_site_code  supplier_site&lt;br /&gt;,      ieb.bank_account_num&lt;br /&gt;,      ieb.bank_account_name&lt;br /&gt;,      party_bank.party_name bank_name&lt;br /&gt;,      branch_prof.bank_or_branch_number bank_number&lt;br /&gt;,      party_branch.party_name branch_name&lt;br /&gt;,      branch_prof.bank_or_branch_number branch_number&lt;br /&gt;FROM   hz_parties party_supp&lt;br /&gt;,      ap_suppliers aps&lt;br /&gt;,      hz_party_sites site_supp&lt;br /&gt;,      ap_supplier_sites_all ass&lt;br /&gt;,      iby_external_payees_all iep&lt;br /&gt;,      iby_pmt_instr_uses_all ipi&lt;br /&gt;,      iby_ext_bank_accounts ieb&lt;br /&gt;,      hz_parties party_bank&lt;br /&gt;,      hz_parties party_branch&lt;br /&gt;,      hz_organization_profiles bank_prof&lt;br /&gt;,      hz_organization_profiles branch_prof&lt;br /&gt;WHERE  party_supp.party_id = aps.party_id&lt;br /&gt;AND    party_supp.party_id = site_supp.party_id&lt;br /&gt;AND    site_supp.party_site_id = ass.party_site_id&lt;br /&gt;AND    ass.vendor_id = aps.vendor_id&lt;br /&gt;AND    iep.payee_party_id = party_supp.party_id&lt;br /&gt;AND    iep.party_site_id = site_supp.party_site_id&lt;br /&gt;AND    iep.supplier_site_id = ass.vendor_site_id&lt;br /&gt;AND    iep.ext_payee_id = ipi.ext_pmt_party_id&lt;br /&gt;AND    ipi.instrument_id = ieb.ext_bank_account_id&lt;br /&gt;AND    ieb.bank_id = party_bank.party_id&lt;br /&gt;AND    ieb.bank_id = party_branch.party_id&lt;br /&gt;AND    party_branch.party_id = branch_prof.party_id&lt;br /&gt;AND    party_bank.party_id = bank_prof.party_id&lt;br /&gt;ORDER BY party_supp.party_name&lt;br /&gt;,        ass.vendor_site_code;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1321285438441332981?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1321285438441332981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1321285438441332981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1321285438441332981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1321285438441332981'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/12/r12-banks-queries.html' title='R12 Banks Queries'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1282598183658895270</id><published>2010-12-29T20:32:00.000+05:30</published><updated>2010-12-29T20:33:09.610+05:30</updated><title type='text'>Delete Duplicate Records in Oracle</title><content type='html'>Delete Duplicate Records in Oracle&lt;br /&gt;&lt;br /&gt;There are times when duplicate rows somehow creep into a table. The best scenario to happen this is when the data is to be imported from some other table or data and the Constraints are removed so that data import successfully. Removing duplicate rows from Oracle tables with SQL can be very tricky, and there are several techniques for identifying and removing duplicate rows from tables:&lt;br /&gt;&lt;br /&gt;CREATE TABLE dup_test (&lt;br /&gt;    Emp_Id VARCHAR2(5),&lt;br /&gt;  Name VARCHAR2(15),&lt;br /&gt;    Phone  NUMBER);&lt;br /&gt;&lt;br /&gt;INSERT INTO dup_test values('100','John',473256);&lt;br /&gt;INSERT INTO dup_test values('100','John',473256);&lt;br /&gt;INSERT INTO dup_test values('101','Dave',561982);&lt;br /&gt;&lt;br /&gt;SELECT * FROM dup_test;&lt;br /&gt;Use subquery to delete duplicate rows:&lt;br /&gt;&lt;br /&gt;Here we see an example of using SQL to delete duplicate table rows using an SQL subquery to identify duplicate rows, manually specifying the join columns:&lt;br /&gt;&lt;br /&gt;DELETE FROM&lt;br /&gt;   dup_test A&lt;br /&gt;WHERE&lt;br /&gt;  a.rowid &gt;&lt;br /&gt;   ANY (&lt;br /&gt;     SELECT&lt;br /&gt;        B.rowid&lt;br /&gt;     FROM&lt;br /&gt;        dup_test B&lt;br /&gt;     WHERE&lt;br /&gt;        A.Emp_Id = B.Emp_Id&lt;br /&gt;     AND&lt;br /&gt;        A.Name = B.Name&lt;br /&gt;     AND&lt;br /&gt;        A.Phone = B.Phone&lt;br /&gt;        );&lt;br /&gt;Use analytics to delete duplicate rows:&lt;br /&gt;&lt;br /&gt;You can also detect and delete duplicate rows using Oracle analytic functions:&lt;br /&gt;&lt;br /&gt;DELETE FROM dup_test&lt;br /&gt;WHERE ROWID IN&lt;br /&gt;  (SELECT ROWID FROM (&lt;br /&gt;  SELECT ROW_NUMBER() OVER (PARTITION BY Emp_Id ORDER BY Emp_Id) rnk FROM dup_test)&lt;br /&gt;    WHERE rnk&gt;1);&lt;br /&gt;Use another table to delete duplicate rows:&lt;br /&gt;&lt;br /&gt;This is the simplest method to remove duplicity.&lt;br /&gt;&lt;br /&gt;CREATE TABLE dup_test_1 as select distinct * from dup_test;&lt;br /&gt;DROP TABLE dup_test;&lt;br /&gt;RENAME dup_test_1 to dup_test;&lt;br /&gt;Use RANK to delete duplicate rows:&lt;br /&gt;&lt;br /&gt;This is an example of the RANK function to identify and remove duplicate rows from Oracle tables, which deletes all duplicate rows while leaving the initial instance of the duplicate row:&lt;br /&gt;&lt;br /&gt;DELETE FROM dup_test where rowid in&lt;br /&gt;  (&lt;br /&gt;  select "rowid" from&lt;br /&gt;  (select "rowid", rank_n from&lt;br /&gt;  (select rank() over (partition by Emp_Id order by rowid) rank_n, rowid as "rowid"&lt;br /&gt;             from dup_test&lt;br /&gt;             )&lt;br /&gt;         )&lt;br /&gt;     where rank_n &gt; 1&lt;br /&gt;);&lt;br /&gt;The above methods are only standard methods. You can also use your own techniques to remove duplicate records.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1282598183658895270?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1282598183658895270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1282598183658895270' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1282598183658895270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1282598183658895270'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/12/delete-duplicate-records-in-oracle.html' title='Delete Duplicate Records in Oracle'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4913399606307028034</id><published>2010-12-29T20:28:00.001+05:30</published><updated>2010-12-29T20:28:41.410+05:30</updated><title type='text'>Supplier Conversion in R12</title><content type='html'>Supplier Conversion in R12 &lt;br /&gt;Vendor conversion program will load the Supplier Master, Sites and Contacts data from data files to the staging tables, validate the data and then load the data into Interface tables, finally Validated data will import into Oracle Supplier Standard Tables by using Oracle Standard Supplier Import Programs.&lt;br /&gt;&lt;br /&gt;Pre-requisites setup’s are: Payment terms, Pay Groups, CCID, Supplier classifications, Bank Accounts , Employees (if employees have to set up as vendors).&lt;br /&gt;&lt;br /&gt;The Interface Tables are:&lt;br /&gt;&lt;br /&gt;AP_SUPPLIERS_INT &lt;br /&gt;AP_SUPPLIER_SITES_INT &lt;br /&gt;AP_SUP_SITE_CONTACT_INT &lt;br /&gt;AP_SUPPLIERS_INT:&lt;br /&gt;&lt;br /&gt;This is the open interface table for AP Suppliers. It holds Supplier information which is loaded by the user for import. The columns in the table map to corresponding columns in the PO_VENDORS table. The Oracle Payables application uses this information to create a new Supplier record when the Supplier Open Interface Import program is submitted. Each row in the table will be identified by a unique identifier, the VENDOR_INTERFACE_ID.&lt;br /&gt;&lt;br /&gt;Mandatory Columns:&lt;br /&gt;&lt;br /&gt;VENDOR_INTERFACE_ID (ap_suppliers_int_s.NEXTVAL)- Supplier interface record unique identifier &lt;br /&gt;VENDOR_NAME – Supplier name &lt;br /&gt;Other important columns:&lt;br /&gt;&lt;br /&gt;SEGMENT1 – Supplier Number &lt;br /&gt;VENDOR_TYPE_LOOKUP_CODE – Supplier type &lt;br /&gt;SHIP_TO_LOCATION_CODE – Default ship-to-location name &lt;br /&gt;BILL_TO_LOCATION_CODE – Default bill-to-location name &lt;br /&gt;TERMS_NAME – Payment terms name &lt;br /&gt;TAX_VERIFICATION_DATE – Tax verification date(1099) &lt;br /&gt;VAT_REGISTRATION_NUM – Tax registration number &lt;br /&gt;ATTRIBUTE1 -15 – Descriptive Flexfield Segments &lt;br /&gt;PAY_GROUP_LOOKUP_CODE – Payment group type &lt;br /&gt;INVOICE_CURRENCY_CODE – Default currency unique identifier &lt;br /&gt;PAYMENT_CURRENCY_CODE – Default payment currency unique identifier &lt;br /&gt;NUM_1099 – Tax identification number (1099) &lt;br /&gt;VAT_CODE – Default invoice tax code &lt;br /&gt;HOLD_FLAG – Indicates whether or not the supplier is on purchasing hold &lt;br /&gt;SUMMARY_FLAG – Key flexfield summary flag &lt;br /&gt;ENABLED_FLAG – Key flexfield enable flag &lt;br /&gt;EMPLOYEE_ID – Employee unique identifier if supplier is an employee &lt;br /&gt;AP_SUPPLIER_SITES_INT:&lt;br /&gt;&lt;br /&gt;This is the open interface table for AP Supplier Sites. It holds Supplier Site information which is loaded by the user for import. The columns in the table map to corresponding columns in PO_VENDOR_SITES_ALL table. The Oracle Payables application uses this information to create a new Supplier Site record when the Supplier Sites Open Interface Import program is submitted. Each row in the table will be joined to the appropriate Supplier using the VENDOR_ID column.&lt;br /&gt;&lt;br /&gt;Mandatory Columns:&lt;br /&gt;&lt;br /&gt;VENDOR_SITE_INTERFACE_ID (ap_supplier_sites_int_s.NEXTVAL) – Supplier Site interface record unique identifier &lt;br /&gt;VENDOR_SITE_CODE – Supplier Site name &lt;br /&gt;Other important columns:&lt;br /&gt;&lt;br /&gt;ADDRESS_LINE1 – First line of supplier address &lt;br /&gt;ADDRESS_LINE2 – Second line of supplier address &lt;br /&gt;ADDRESS_LINE3 – Third line of supplier address &lt;br /&gt;CITY – City name &lt;br /&gt;STATE – State name or abbreviation &lt;br /&gt;ZIP – Postal code &lt;br /&gt;COUNTRY – Country name &lt;br /&gt;PHONE – Phone number &lt;br /&gt;FAX – Supplier site facsimile number &lt;br /&gt;SHIP_TO_LOCATION_CODE – Default ship-to-location name &lt;br /&gt;BILL_TO_LOCATION_CODE – Default bill-to-location name &lt;br /&gt;PAYMENT_METHOD_LOOKUP_CODE – Default payment method type &lt;br /&gt;VAT_CODE – Invoice default tax code &lt;br /&gt;PAY_GROUP_LOOKUP_CODE – Payment group type &lt;br /&gt;TERMS_NAME – Payment terms name &lt;br /&gt;INVOICE_CURRENCY_CODE – Default currency unique identifier &lt;br /&gt;PAYMENT_CURRENCY_CODE – Default payment currency unique identifier &lt;br /&gt;EMAIL_ADDRESS – E-mail address of the supplier contact &lt;br /&gt;PURCHASING_SITE_FLAG – Indicates whether purchasing is allowed from this site &lt;br /&gt;AUTO_TAX_CALC_FLAG – Level of automatic tax calculation for supplier &lt;br /&gt;HOLD_ALL_PAYMENTS_FLAG – Indicates if Oracle Payables should place payments for this supplier on hold &lt;br /&gt;AP_SUP_SITE_CONTACT_INT:&lt;br /&gt;&lt;br /&gt;This is the open interface table for AP Supplier Site Contacts. It holds Supplier contact data. The columns in the table map to corresponding columns in PO_VENDOR_CONTACTS table. The Oracle Payables application uses this information to create a new Supplier Contact record when the Supplier Sites Open Interface Import program is submitted. Each row in the table will be joined to the appropriate Supplier Site using the VENDOR_SITE_CODE  and ORG_ID.&lt;br /&gt;&lt;br /&gt;Mandatory Columns:&lt;br /&gt;&lt;br /&gt;VENDOR_INTERFACE_ID – Supplier interface record unique identifier &lt;br /&gt;VENDOR_CONTACT_INTERFACE_ID (AP_SUP_SITE_CONTACT_INT_S.NEXTVAL) – Vendor Contact Interface Identifier &lt;br /&gt;VENDOR_SITE_CODE – Supplier Site name &lt;br /&gt;Other important columns:&lt;br /&gt;&lt;br /&gt;FIRST_NAME – Contact First name &lt;br /&gt;LAST_NAME – Contact last name &lt;br /&gt;AREA_CODE – Area code of contact phone number &lt;br /&gt;PHONE – Contact phone number &lt;br /&gt;FIRST_NAME_ALT – Alternate Supplier contact first name &lt;br /&gt;LAST_NAME_ALT – Alternate Supplier contact last name &lt;br /&gt;EMAIL_ADDRESS – Email address for the Supplier Site contact &lt;br /&gt;FAX – Facsimile number for the Supplier Site contact &lt;br /&gt;VENDOR_ID – Supplier unique identifier &lt;br /&gt;Validations:&lt;br /&gt;&lt;br /&gt;Vendor Number (Check for duplicate records in ap_suppliers table) &lt;br /&gt;Vendor Name (Check for duplicate records in staging as well as in ap_suppliers table) &lt;br /&gt;Terms Name (Check for proper record in ap_terms_tl table) &lt;br /&gt;Pay Group (Check for proper record in fnd_lookup_values_vl table where lookup_type = ‘PAY GROUP’) &lt;br /&gt;Employee Id (Check for proper employee record in per_all_people_f table) &lt;br /&gt;Vendor Type (Check for proper record in po_lookup_codes table where lookup_type = ‘VENDOR TYPE’) &lt;br /&gt;Vendor Site Code (Check for duplicate records in ap_supplier_sites_all table) &lt;br /&gt;Country Code ( Check for proper country code in fnd_territories_vl table) &lt;br /&gt;Payment Method (Check for proper payment method in iby_payment_methods_vl table) &lt;br /&gt;Interface programs:&lt;br /&gt;&lt;br /&gt;Supplier Open Interface Import &lt;br /&gt;Supplier Sites Open Interface Import &lt;br /&gt;Supplier Site Contacts Open Interface Import &lt;br /&gt;The data inserted via these interfaces are automatically populated into TCA tables.&lt;br /&gt;&lt;br /&gt;Note: AP_SUPPLIER_INT_REJECTIONS table contains suppliers, sites, contacts rejections information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4913399606307028034?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4913399606307028034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4913399606307028034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4913399606307028034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4913399606307028034'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/12/supplier-conversion-in-r12.html' title='Supplier Conversion in R12'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5898046325021114723</id><published>2010-12-16T19:10:00.000+05:30</published><updated>2010-12-16T19:11:03.385+05:30</updated><title type='text'>Oracle R12 Banks Accounts Query</title><content type='html'>Oracle R12 Bank Accounts Query&lt;br /&gt;&lt;br /&gt;SELECT   owners.account_owner_party_id, asp.segment1 vendor_num,&lt;br /&gt;         asp.vendor_name,&lt;br /&gt;         (SELECT NAME&lt;br /&gt;            FROM hr_all_organization_units&lt;br /&gt;           WHERE TYPE = 'OU' AND organization_id = asa.org_id) ou_name,&lt;br /&gt;         asa.vendor_site_code, ieb.country_code&lt;br /&gt;--, (select bank_name from ce_banks_v cbv where bank_party_id =ieb.bank_id) bank_name&lt;br /&gt;--, (select bank_number from ce_banks_v cbv where bank_party_id =ieb.bank_id) bank_number&lt;br /&gt;--, ieb.branch_id&lt;br /&gt;         , cbbv.bank_name, cbbv.bank_number, cbbv.bank_branch_name,&lt;br /&gt;         cbbv.branch_number, cbbv.bank_branch_type, cbbv.eft_swift_code,&lt;br /&gt;         ieb.bank_account_num, ieb.currency_code, ieb.iban,&lt;br /&gt;         ieb.foreign_payment_use_flag,&lt;br /&gt;         ieb.bank_account_name_alt bankacct_fromdata&lt;br /&gt;    FROM iby_pmt_instr_uses_all instrument,&lt;br /&gt;         iby_account_owners owners,&lt;br /&gt;         iby_external_payees_all payees,&lt;br /&gt;         iby_ext_bank_accounts ieb,&lt;br /&gt;         ap_supplier_sites_all asa,&lt;br /&gt;         ap_suppliers asp,&lt;br /&gt;         ce_bank_branches_v cbbv&lt;br /&gt;   WHERE owners.primary_flag = 'Y'&lt;br /&gt;     AND owners.ext_bank_account_id = ieb.ext_bank_account_id&lt;br /&gt;     AND owners.ext_bank_account_id = instrument.instrument_id&lt;br /&gt;     AND payees.ext_payee_id = instrument.ext_pmt_party_id&lt;br /&gt;     AND payees.payee_party_id = owners.account_owner_party_id&lt;br /&gt;     AND payees.supplier_site_id = asa.vendor_site_id&lt;br /&gt;     AND asa.vendor_id = asp.vendor_id&lt;br /&gt;     AND cbbv.branch_party_id(+) = ieb.branch_id&lt;br /&gt;--and asa.org_id in (125)&lt;br /&gt;     AND asp.created_by = 1451&lt;br /&gt;ORDER BY 4, 1, 3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5898046325021114723?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5898046325021114723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5898046325021114723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5898046325021114723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5898046325021114723'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/12/oracle-r12-banks-accounts-query.html' title='Oracle R12 Banks Accounts Query'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7512088567662921646</id><published>2010-11-30T19:55:00.000+05:30</published><updated>2010-11-30T19:56:13.976+05:30</updated><title type='text'>Debugging Concurrent Programs</title><content type='html'>Concurrent Programs&lt;br /&gt; &lt;br /&gt; For concurrent programs you can place in Log file / output file / fnd_log_messages table&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Log File&lt;br /&gt;FND_FILE.PUT_LINE(FND_FILE.LOG,'your log statement');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Output File&lt;br /&gt;FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'your output statement');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Tracing it in a table FND_LOG_MESSAGES&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;fnd_log.string(log_level =&gt; fnd_log.level_statement&lt;br /&gt;               ,module    =&gt; 'custom module'&lt;br /&gt;               ,message   =&gt; 'you log message here');&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7512088567662921646?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7512088567662921646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7512088567662921646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7512088567662921646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7512088567662921646'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/11/debugging-concurrent-programs.html' title='Debugging Concurrent Programs'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3145135704962583523</id><published>2010-11-30T19:09:00.002+05:30</published><updated>2010-11-30T19:10:50.199+05:30</updated><title type='text'>Workflow Mailer Debugging Script for Debugging Emails issues and event subscriptions</title><content type='html'>Workflow Mailer Debugging Script for Debugging Emails issues and event subscriptions&lt;br /&gt;This article containts various Workflow and Business Event debugging scripts.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Checking workflow Components status wheather are they running or stopped.&lt;br /&gt;select component_type, component_name, Component_status,COMPONENT_STATUS_INFO Error&lt;br /&gt;from fnd_svc_components &lt;br /&gt;where component_type like 'WF%'&lt;br /&gt;order by 1 desc,2,3;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Query to get the log file of active workflow mailer and workflow agent listener Container&lt;br /&gt;--Note All Workflow Agent Components logs will stored in single file ie. container log file.&lt;br /&gt;select fl.meaning,fcp.process_status_code, decode(fcq.concurrent_queue_name,'WFMLRSVC', 'mailer container',&lt;br /&gt;'WFALSNRSVC','listener container',fcq.concurrent_queue_name),&lt;br /&gt;fcp.concurrent_process_id,os_process_id, fcp.logfile_name&lt;br /&gt;from fnd_concurrent_queues fcq, fnd_concurrent_processes fcp , fnd_lookups fl&lt;br /&gt;where fcq.concurrent_queue_id=fcp.concurrent_queue_id and fcp.process_status_code='A'&lt;br /&gt;and fl.lookup_type='CP_PROCESS_STATUS_CODE' and fl.lookup_code=fcp.process_status_code&lt;br /&gt;and concurrent_queue_name in('WFMLRSVC','WFALSNRSVC')&lt;br /&gt;order by fcp.logfile_name;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Linux Shell script Command to get outbound error in Mailer&lt;br /&gt;grep -i '^\[[A-Za-z].*\(in\|out\).*boundThreadGroup.*\(UNEXPECTED\|ERROR\).*exception.*' &lt;logfilename&gt; | tail -10 ;&lt;br /&gt;--Note: All Mailer log files starts with name FNDCPGSC prefix&lt;br /&gt;&lt;br /&gt;--Linux Shell script Command to get inbound processing error in Mailer &lt;br /&gt;grep -i '^\[[A-Za-z].*.*inboundThreadGroup.*\(UNEXPECTED\|ERROR\).*exception.*' &lt;logfilename&gt; | tail -10 ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---Query to Check Workflow Mailer Backlog &lt;br /&gt;--State=Ready implies that emails are not being sent &amp; Waiting mailer to sent emails&lt;br /&gt;select tab.msg_state, count(*) from applsys.aq$wf_notification_out tab group by tab.msg_state ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Check any particular Alert Message email has be pending by Mailer &lt;br /&gt;select decode(wno.state,&lt;br /&gt;0, '0 = Pending in mailer queue',&lt;br /&gt;1, '1 = Pending in mailer queue',&lt;br /&gt;2, '2 = Sent by mailer on '||to_char(DEQ_TIME),&lt;br /&gt;3, '3 = Exception', 4,'4 = Wait', to_char(state)) State,&lt;br /&gt;to_char(DEQ_TIME),&lt;br /&gt;wno.user_data.TEXT_VC&lt;br /&gt;from wf_notification_out wno&lt;br /&gt;where corrid='APPS:ALR'&lt;br /&gt;and upper(wno.user_data.TEXT_VC) like '%&lt;Subject of Alert Email&gt;%';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Check The Workflow notification has ben sent or not&lt;br /&gt;select mail_status, status from wf_notifications where notification_id=&lt;notification_id&gt;&lt;br /&gt;--If mail_status is MAIL , it means the email delivery is pending for workflow mailer to send the notification&lt;br /&gt;--If mail_status is SENT, its means mailer has sent email&lt;br /&gt;--If mail_status is Null &amp; status is OPEN, its means that no need to send email as notification preference of user is "Don't send email"&lt;br /&gt;--Notification preference of user can be set by user by loggin in application + click on preference + the notification preference &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Check Wheather workflow background Engine is workfing for given workflow or not in last 2 days &lt;br /&gt;-- Note: Workflow Deferred activities are run by workflow background engine. &lt;br /&gt;select a.argument1,a.phase_code, a.status_code ,a.actual_start_date,a.* from fnd_concurrent_requests a&lt;br /&gt;where CONCURRENT_PROGRAM_ID =&lt;br /&gt;(select concurrent_program_id from fnd_concurrent_programs where&lt;br /&gt;CONCURRENT_PROGRAM_NAME='FNDWFBG')&lt;br /&gt;and last_update_Date&gt;sysdate-2 and argument1='&lt;Workflow Item Type&gt;'&lt;br /&gt;order by last_update_date desc&lt;br /&gt;&lt;br /&gt;-- Check wheather any business event is pending to process &lt;br /&gt;-- ie. Query to get event status &amp; parameters value of particular event in wf_deferred table.&lt;br /&gt;select wd.user_Data.event_name,wd.user_Data.event_key,&lt;br /&gt;rank() over ( partition by wd.user_Data.event_name, wd.user_Data.event_key order by n.name) as serial_no,&lt;br /&gt;n.NAME Parameter_name, N.value Parameter_value ,&lt;br /&gt;decode(state, 0, '0 = Ready', 1, '1 = Delayed', 2, '2 = Retained',&lt;br /&gt;3, '3 = Exception', 4,'4 = Wait', to_char(state)) state,&lt;br /&gt;wd.user_Data.SEND_DATE,&lt;br /&gt;wd.user_Data.ERROR_MESSAGE,&lt;br /&gt;wd.user_Data.ERROR_STACK,&lt;br /&gt;wd.msgid,wd.delay&lt;br /&gt;from WF_DEFERRED wd , TABLE(wd.user_Data.PARAMETER_LIST) n&lt;br /&gt;where lower(wd.user_data.event_name)='&lt;event Name &gt;'&lt;br /&gt;order by wd.user_Data.event_name, wd.user_Data.event_key, n.name&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3145135704962583523?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3145135704962583523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3145135704962583523' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3145135704962583523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3145135704962583523'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/11/workflow-mailer-debugging-script-for.html' title='Workflow Mailer Debugging Script for Debugging Emails issues and event subscriptions'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-994936626483135347</id><published>2010-11-30T19:05:00.002+05:30</published><updated>2010-11-30T19:11:37.063+05:30</updated><title type='text'>Debugging OA pages</title><content type='html'>Debugging OA pages &lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;  a. Enable the profile option : FND: Debug Log Enabled -- Set to Yes&lt;br /&gt;  b. Enable the profile option : FND: Debug Log Level -- Set to Statement level&lt;br /&gt;  c. Add the below piece of code in your OA page &lt;br /&gt;   boolean isLoggingEnabled = pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT);&lt;br /&gt;    if (isLoggingEnabled)&lt;br /&gt;        {      &lt;br /&gt;          pageContext.writeDiagnostics(this, "your log statement", OAFwkConstants.STATEMENT);              &lt;br /&gt;        }&lt;br /&gt;To see log stmt on browser append below string to browser url  and click on enter&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &amp;aflog_level=statement&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-994936626483135347?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/994936626483135347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=994936626483135347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/994936626483135347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/994936626483135347'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/11/debugging-oa-pages.html' title='Debugging OA pages'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1220513504823598457</id><published>2010-11-12T15:42:00.000+05:30</published><updated>2010-11-12T15:43:14.809+05:30</updated><title type='text'>R12 Suppliers Query</title><content type='html'>SELECT  DISTINCT asp.vendor_id   ,&lt;br /&gt;asp.segment1 "Supplier Num"      ,&lt;br /&gt;ASp.vendor_name "Supplier Name"  ,&lt;br /&gt;ASP.ATTRIBUTE15  "HDRS LEGACY SUPP NO" ,&lt;br /&gt;ass.vendor_site_code "SITE NAME"     ,&lt;br /&gt;hou.NAME "Operating Unit Name"       ,&lt;br /&gt;ass.address_line1                    ,&lt;br /&gt;ass.city                             ,&lt;br /&gt;ass.state                            ,&lt;br /&gt;ass.zip                              ,&lt;br /&gt;ass.country                          ,&lt;br /&gt;ass.phone                            ,&lt;br /&gt;ASS.ATTRIBUTE15  "SITES LEGACY SUPP NO" ,&lt;br /&gt;person.person_first_name             ,&lt;br /&gt;person.person_last_name              ,&lt;br /&gt;pty_rel.primary_phone_number         ,&lt;br /&gt;pty_rel.EMAIL_ADDRESS        &lt;br /&gt;FROM ap_suppliers          asp    ,&lt;br /&gt;     ap_supplier_sites_all ass    ,&lt;br /&gt;     ap_supplier_contacts  apsc   , &lt;br /&gt;  hz_parties            person ,&lt;br /&gt;     hz_parties            pty_rel,&lt;br /&gt;     hr_operating_units    hou    &lt;br /&gt;WHERE 1 = 1&lt;br /&gt;--AND ASP.VENDOR_NAME      =  PERSON.PARTY_NAME&lt;br /&gt;AND ass.vendor_id        = asp.vendor_id&lt;br /&gt;AND apsc.per_party_id    = person.party_id&lt;br /&gt;AND apsc.rel_party_id    = pty_rel.party_id&lt;br /&gt;AND ass.org_id    = hou.organization_id&lt;br /&gt;AND apsc.ORG_PARTY_SITE_ID = ASS.PARTY_SITE_ID&lt;br /&gt;AND ASP.ATTRIBUTE15 IN ('1240')&lt;br /&gt;ORDER BY hou.NAME&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1220513504823598457?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1220513504823598457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1220513504823598457' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1220513504823598457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1220513504823598457'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/11/r12-suppliers-query.html' title='R12 Suppliers Query'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-8195620552012114150</id><published>2010-10-25T20:06:00.000+05:30</published><updated>2010-10-25T20:07:22.553+05:30</updated><title type='text'>HRMS Technical Site</title><content type='html'>Below site has HRMS Technical related stuff &lt;br /&gt;&lt;br /&gt;http://wenku.baidu.com/view/d0a1d13383c4bb4cf7ecd10a.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-8195620552012114150?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/8195620552012114150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=8195620552012114150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8195620552012114150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8195620552012114150'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/10/hrms-technical-site.html' title='HRMS Technical Site'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-531558016685246621</id><published>2010-10-18T17:46:00.002+05:30</published><updated>2010-10-18T17:46:58.517+05:30</updated><title type='text'>R12 Supplier Banks</title><content type='html'>In order to load Supplier external bank, branches and bank accounts, one needs to use the Oracle Supplied Package IBY_EXT_BANKACCT_PUB.&lt;br /&gt;&lt;br /&gt;Below API's are used to create Bank and Branch&lt;br /&gt;&lt;br /&gt;IBY_EXT_BANKACCT_PUB.create_ext_bank: &lt;br /&gt;&lt;br /&gt;It is used to create the External Bank, please note that the Bank name and Home Country Name are mandatory for creating an External Bank. Once you create the Bank, Bank Party ID gets created and you can check it from IBY_EXT_BANKS_V view.&lt;br /&gt;&lt;br /&gt;IBY_EXT_BANKACCT_PUB.create_ext_bank&lt;br /&gt;(p_api_version =&gt; 1.0&lt;br /&gt;,p_init_msg_list =&gt; FND_API.G_TRUE&lt;br /&gt;,p_ext_bank_rec =&gt; x_bank_rec&lt;br /&gt;,x_bank_id =&gt; x_bank_id&lt;br /&gt;,x_return_status =&gt; x_return_status&lt;br /&gt;,x_msg_count =&gt; x_msg_count&lt;br /&gt;,x_msg_data =&gt; x_msg_data&lt;br /&gt;,x_response =&gt; x_response_rec&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;IBY_EXT_BANKACCT_PUB.create_ext_bank_branch&lt;br /&gt;&lt;br /&gt;It is used to create a Bank Branch, so that an account could be created in the same branch. Once a Bank Branch is created, a record gets inserted into IBY_EXT_BANK_BRANCHES_V view. &lt;br /&gt;&lt;br /&gt;IBY_EXT_BANKACCT_PUB.create_ext_bank_branch&lt;br /&gt;(p_api_version =&gt; 1.0&lt;br /&gt;,p_init_msg_list =&gt; FND_API.G_TRUE&lt;br /&gt;,p_ext_bank_branch_rec =&gt; x_bank_branch_rec&lt;br /&gt;,x_branch_id =&gt; x_branch_id&lt;br /&gt;,x_return_status =&gt; x_return_status&lt;br /&gt;,x_msg_count =&gt; x_msg_count&lt;br /&gt;,x_msg_data =&gt; x_msg_data&lt;br /&gt;,x_response =&gt; x_response_rec&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;After the bank and branches are created, the table iby.iby_temp_ext_bank_accounts can be populated to create the bank accounts and associate to the supplier or supplier site&lt;br /&gt;&lt;br /&gt;Note: Table must be populated prior to running the supplier interface&lt;br /&gt;&lt;br /&gt;Below API's are used internally by oracle to create payee and associate bank account to supplier or supplier site.&lt;br /&gt;&lt;br /&gt;IBY_EXT_BANKACCT_PUB.create_ext_bank_acct&lt;br /&gt;(p_api_version =&gt; 1.0&lt;br /&gt;,p_init_msg_list =&gt; FND_API.G_TRUE&lt;br /&gt;,p_ext_bank_acct_rec =&gt; x_bank_acct_rec&lt;br /&gt;,x_acct_id =&gt; x_acct_id&lt;br /&gt;,x_return_status =&gt; x_return_status&lt;br /&gt;,x_msg_count =&gt; x_msg_count&lt;br /&gt;,x_msg_data =&gt; x_msg_data&lt;br /&gt;,x_response =&gt; x_response_rec&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;IBY_DISBURSEMENT_SETUP_PUB.Create_External_Payee &lt;br /&gt;(p_api_version =&gt; 1.0,&lt;br /&gt;p_init_msg_list =&gt; FND_API.G_TRUE,&lt;br /&gt;p_ext_payee_tab =&gt; v_external_payee_tab_type,&lt;br /&gt;x_return_status =&gt; v_return_status,&lt;br /&gt;x_msg_count =&gt; v_msg_count,&lt;br /&gt;x_msg_data =&gt; v_msg_data,&lt;br /&gt;x_ext_payee_id_tab =&gt; x_ext_payee_id_tab,&lt;br /&gt;x_ext_payee_status_tab =&gt; x_ext_payee_status_tab);&lt;br /&gt;&lt;br /&gt;IBY_DISBURSEMENT_SETUP_PUB.Set_Payee_Instr_Assignment&lt;br /&gt;(p_api_version =&gt; 1.0&lt;br /&gt;,p_init_msg_list =&gt; FND_API.G_TRUE&lt;br /&gt;,p_payee =&gt; x_rec&lt;br /&gt;,p_assignment_attribs =&gt; x_assign&lt;br /&gt;,x_assign_id =&gt; x_assign_id&lt;br /&gt;,x_return_status =&gt; x_return_status&lt;br /&gt;,x_msg_count =&gt; x_msg_count&lt;br /&gt;,x_msg_data =&gt; x_msg_data&lt;br /&gt;,x_response =&gt; x_response_rec); &lt;br /&gt;&lt;br /&gt;From Amit Chintawar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-531558016685246621?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/531558016685246621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=531558016685246621' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/531558016685246621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/531558016685246621'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/10/r12-supplier-banks.html' title='R12 Supplier Banks'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3658046814899046994</id><published>2010-10-04T11:01:00.001+05:30</published><updated>2011-09-01T01:58:55.764+05:30</updated><title type='text'>R12 Supplier Payment Method Table/View</title><content type='html'>IBY_EXTERNAL_PAYEES_ALL : This stores supplier information and customer information &lt;br /&gt;IBY_EXT_BANK_ACCOUNTS : This storage for bank accounts &lt;br /&gt;IBY_EXT_PARTY_PMT_MTHDS : This storage for payment method usage rules. &lt;br /&gt;IBY_CREDITCARD : stores the credit card information for a customer &lt;br /&gt;IBY_EXT_BANK_ACCOUNTS :This Stores external bank accounts . These records have bank_account_type = Supplier &lt;br /&gt;IBY_ACCOUNT_OWNERS :stores the joint account owners of a bank account &lt;br /&gt;IBY_PMT_INSTR_USES_ALL : This stores data from AP_BANK_ACCOUNT_USES_ALL for payment instruments assignments .This information is stored in the following iPayment (IBY) tables: &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3658046814899046994?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3658046814899046994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3658046814899046994' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3658046814899046994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3658046814899046994'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/10/r12-supplier-payment-method-tableview.html' title='R12 Supplier Payment Method Table/View'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7084310143720330893</id><published>2010-09-22T14:13:00.001+05:30</published><updated>2010-09-22T14:13:57.092+05:30</updated><title type='text'>New MetaLink eTRM Path</title><content type='html'>Knowledge (tab) --&gt; Online Documentation (left side bottom) --&gt; E-Business Suite Documentation --&gt; Electronic Technical Reference Manual (eTRM)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7084310143720330893?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7084310143720330893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7084310143720330893' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7084310143720330893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7084310143720330893'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/09/new-metalink-etrm-path.html' title='New MetaLink eTRM Path'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2268643129636625385</id><published>2010-08-31T13:11:00.001+05:30</published><updated>2010-08-31T13:12:38.785+05:30</updated><title type='text'>How to execute VIEWS (AP_INVOICE_V) and see data in toad for R12.</title><content type='html'>How to execute VIEWS (AP_INVOICE_V) and see data in toad for R12. &lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;MO_GLOBAL.SET_ORG_CONTEXT('125',NULL,'SQLAP');&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;commit&lt;br /&gt;&lt;br /&gt;125--- Operating Unit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2268643129636625385?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2268643129636625385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2268643129636625385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2268643129636625385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2268643129636625385'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/how-to-execute-views-apinvoicev-and-see.html' title='How to execute VIEWS (AP_INVOICE_V) and see data in toad for R12.'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7897916104133477962</id><published>2010-08-26T19:05:00.002+05:30</published><updated>2010-08-26T19:10:04.117+05:30</updated><title type='text'>CUSTOM FORM DEVELOPMENT</title><content type='html'>On the CLIENT machine create a FOLDER as say: c:\custom_test&lt;br /&gt;&lt;br /&gt;In custom_test folder creates 2 folders forms, resource&lt;br /&gt;&lt;br /&gt;Copy TEMPLATE.fmb, APPSTAND.fmb, .pll files to CLIENT&lt;br /&gt;&lt;br /&gt;• Copy TEMPLATE.fmb , APPSTAND.fmb from AU_TOP/forms/US to c:\custom_test\ forms directory copy all .pll files from /Applvis/visappl/au/11.5.0/resource to c:\custom_test\resource using ftp&lt;br /&gt;• On windows go to command prompt&lt;br /&gt;• Cd c:\custom_test\forms&lt;br /&gt;• ftp cloneserver&lt;br /&gt;• username: applmgr password: applmgr&lt;br /&gt;• now you are at ftp prompt&lt;br /&gt;• bin&lt;br /&gt;• prompt&lt;br /&gt;• cd visappl/au/11.5.0/forms/US ( here apparently cd $AU_TOP does not work)&lt;br /&gt;• get TEMPLATE.fmb&lt;br /&gt;• (file copied)&lt;br /&gt;• get APPSTAND.fmb&lt;br /&gt;• (file copied)&lt;br /&gt;• lcd ./resource (check this. Basically you need to be in c:\custom_test\resource. You can go to that directory and then run ftp)&lt;br /&gt;• cd visappl/au/11.5.0/resource&lt;br /&gt;• mget *.pll&lt;br /&gt;• ( now all .pll files are copied to c:custom_test/resource)&lt;br /&gt;&lt;br /&gt;SET env variable FORMS60_PATH through regedit&lt;br /&gt;&lt;br /&gt;• Regedit/HKEY_LOCAL_MACHINE/software/oracle&lt;br /&gt;• Double click FORMS60_PATH&lt;br /&gt;• At the end of existing value data add: ;c:\custom_test\froms;c:\custom_test\resource&lt;br /&gt;&lt;br /&gt;Now open TEMPLATE.fmb and make the following changes&lt;br /&gt;&lt;br /&gt;• DELETE BLOCKNAME &amp;DETAIL BLOCK FROM DATABLOCK,DELETE BLOCKNAME FROM CANVAS AND WINDOW&lt;br /&gt;• Create a window NEW_WIN, canvas NEW_CAN&lt;br /&gt;• Create a new block based on the table you created in your custom schema&lt;br /&gt;• In pre-form trigger: app_windows.set_window_position(‘NEW_WIN’)…….&lt;br /&gt;• In program units open custom_package.AP_cutom_pacakge body&lt;br /&gt;• Change : if (wind=’NEW_WIN’);&lt;br /&gt;• Template name = TEST_FORM&lt;br /&gt;• Save as TEST_FROM to c:\custom_test\forms&lt;br /&gt;• (????????SET THE WINDOW NAME AS U HAVE CREATED NEW WINDOW IN PRE-FORM TRIGGER BY BLOCKNAME?????)&lt;br /&gt;&lt;br /&gt;DEPLOY the FORM (upload it to AU_TOP/forms/US)&lt;br /&gt;&lt;br /&gt;• Go to command prompt (on client)&lt;br /&gt;• cd c:\cutom_test\forms&lt;br /&gt;• ftp cloneserver&lt;br /&gt;• cd visappl/au/11.5.0/froms/US&lt;br /&gt;• bin&lt;br /&gt;• prompt&lt;br /&gt;• put TEST_FORM.fmb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Changing ORACLE_HOME (/Visdb/visdb/9.2.0 to /Applvis/visora/8.0.6)&lt;br /&gt;&lt;br /&gt;• thru putty login as applmgr&lt;br /&gt;• pwd: /Applvis&lt;br /&gt;• echo $ORACLE_HOME: shows /Visdb/visdb/9.2.0&lt;br /&gt;• cd visora&lt;br /&gt;• cd 8.0.6&lt;br /&gt;• . VIS_cloneserver.env (this changes ORACLE_HOME apparently based on pwd?)&lt;br /&gt;• echo $ORACLE_HOME: shows /Applvis/visora/8.0.6&lt;br /&gt;• now ORACLE_HOME is 8.0.6 (forms/reports home)&lt;br /&gt;• pwd : gives /Applvis/visora/8.0.6&lt;br /&gt;&lt;br /&gt;COMPILE and generate FMX&lt;br /&gt;&lt;br /&gt;• (now you are in /Applvis/visora/8.0.6 directory and ORACLE_HOME is set to /Applvis/visora/8.0.6)&lt;br /&gt;• pwd: gives /Applvis/visora/8.0.6&lt;br /&gt;• f60gen module=$AU_TOP/forms/US/TEST_FORMS.fmb module_type=form user=apps output_file=$TEST_TOP/forms/US/TEST_FORM.fmx compile_all=special batch=no&lt;br /&gt;• this generates TEST_FORM.fmx and puts in TEST_TOP/forms/US&lt;br /&gt;&lt;br /&gt;FORM REGISTRATION&lt;br /&gt;&lt;br /&gt;• Login to applications with application developer responsibility&lt;br /&gt;• Application/form&lt;br /&gt;• Enter the following details&lt;br /&gt;o Form: the fmx name (TEST_FORM)&lt;br /&gt;o Application: Oracle Receivables (as per Amer) –give appropriate name based the intended use of this form&lt;br /&gt;o user form name: TEST_FORM_U (this will appear in LOV)&lt;br /&gt;o SAVE&lt;br /&gt;&lt;br /&gt;Attach the FORM to FUNCTION&lt;br /&gt;(Create a new function)&lt;br /&gt;Application/function&lt;br /&gt;Enter the following details&lt;br /&gt;o Function: TEST_FUNCT&lt;br /&gt;o User function name: TEST FUNCTION&lt;br /&gt;o Form: TEST_FORM (previously registered)&lt;br /&gt;o SAVE&lt;br /&gt;&lt;br /&gt;Attach FUNCTION to MENU&lt;br /&gt;Application/menu&lt;br /&gt;• Enter the following details&lt;br /&gt;o Menu: test_menu&lt;br /&gt;o User menu name: test menu&lt;br /&gt;o Seq: 1&lt;br /&gt;o Prompt: test form&lt;br /&gt;o Function: TEST_FUNCT( previously deined)&lt;br /&gt;o SAVE&lt;br /&gt;&lt;br /&gt;Attach MENU to RESPONSIBILITY&lt;br /&gt;&lt;br /&gt;Attach RESPONSIBILITY to USER&lt;br /&gt;&lt;br /&gt;Login as the new USER&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7897916104133477962?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7897916104133477962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7897916104133477962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7897916104133477962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7897916104133477962'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/custom-form-development.html' title='CUSTOM FORM DEVELOPMENT'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6853370935365920629</id><published>2010-08-26T19:03:00.001+05:30</published><updated>2010-08-26T19:03:39.490+05:30</updated><title type='text'>SQL Interview Questions</title><content type='html'>1. The most important DDL statements in SQL are:&lt;br /&gt;CREATE TABLE - creates a new database table&lt;br /&gt;ALTER TABLE - alters (changes) a database table&lt;br /&gt;DROP TABLE - deletes a database table&lt;br /&gt;TRUNCATE - cleans all data&lt;br /&gt;RENAME- renames a table name&lt;br /&gt;&lt;br /&gt;2. Operators used in SELECT statements.&lt;br /&gt;= Equal&lt;br /&gt;&lt;&gt; or != Not equal&lt;br /&gt;&gt; Greater than&lt;br /&gt;&lt;&gt;= Greater than or equal&lt;br /&gt;&lt;= Less than or equal BETWEEN Between an inclusive range LIKE Search for a pattern&lt;br /&gt;&lt;br /&gt;3. SELECT statements:&lt;br /&gt;SELECT column_name(s) FROM table_name&lt;br /&gt;SELECT DISTINCT column_name(s) FROM table_name&lt;br /&gt;SELECT column FROM table WHERE column operator value&lt;br /&gt;SELECT column FROM table WHERE column LIKE pattern&lt;br /&gt;SELECT column,SUM(column) FROM table GROUP BY column&lt;br /&gt;SELECT column,SUM(column) FROM table GROUP BY column HAVING SUM(column) condition value&lt;br /&gt;Note that single quotes around text values and numeric values should not be enclosed in quotes. Double quotes may be acceptable in some databases.&lt;br /&gt;&lt;br /&gt;4. The SELECT INTO Statement is most often used to create backup copies of tables or for archiving records.&lt;br /&gt;SELECT column_name(s) INTO newtable [IN externaldatabase] FROM source&lt;br /&gt;SELECT column_name(s) INTO newtable [IN externaldatabase] FROM source WHERE column_name operator value&lt;br /&gt;&lt;br /&gt;5. The INSERT INTO Statements:&lt;br /&gt;INSERT INTO table_name VALUES (value1, value2,....)&lt;br /&gt;INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....)&lt;br /&gt;&lt;br /&gt;6. The Update Statement:&lt;br /&gt;UPDATE table_name SET column_name = new_value WHERE column_name = some_value&lt;br /&gt;&lt;br /&gt;7. The Delete Statements:&lt;br /&gt;DELETE FROM table_name WHERE column_name = some_value&lt;br /&gt;Delete All Rows:&lt;br /&gt;DELETE FROM table_name or DELETE * FROM table_name&lt;br /&gt;&lt;br /&gt;8. Sort the Rows:&lt;br /&gt;SELECT column1, column2, ... FROM table_name ORDER BY columnX, columnY, ..&lt;br /&gt;SELECT column1, column2, ... FROM table_name ORDER BY columnX DESC&lt;br /&gt;SELECT column1, column2, ... FROM table_name ORDER BY columnX DESC, columnY ASC&lt;br /&gt;&lt;br /&gt;9. The IN operator may be used if you know the exact value you want to return for at least one of the columns.&lt;br /&gt;SELECT column_name FROM table_name WHERE column_name IN (value1,value2,..)&lt;br /&gt;&lt;br /&gt;10. BETWEEN ... AND&lt;br /&gt;SELECT column_name FROM table_name WHERE column_name BETWEEN value1 AND value2 The values can be numbers, text, or dates.&lt;br /&gt;&lt;br /&gt;11. What is the use of CASCADE CONSTRAINTS?&lt;br /&gt;When this clause is used with the DROP command, a parent table can be dropped even when a child table exists.&lt;br /&gt;&lt;br /&gt;12. Why does the following command give a compilation error?&lt;br /&gt;DROP TABLE &amp;TABLE NAME; Variable names should start with an alphabet. Here the table name starts with an '&amp;' symbol.&lt;br /&gt;&lt;br /&gt;13. Which system tables contain information on privileges granted and privileges obtained? USER_TAB_PRIVS_MADE, USER_TAB_PRIVS_RECD&lt;br /&gt;&lt;br /&gt;14. Which system table contains information on constraints on all the tables created?obtained? USER_CONSTRAINTS.&lt;br /&gt;&lt;br /&gt;15. State true or false. !=, &lt;&gt;, ^= all denote the same operation?&lt;br /&gt;True.&lt;br /&gt;&lt;br /&gt;16. State true or false. EXISTS, SOME, ANY are operators in SQL?&lt;br /&gt;True.&lt;br /&gt;&lt;br /&gt;17. What will be the output of the following query?&lt;br /&gt;SELECT REPLACE(TRANSLATE(LTRIM(RTRIM('!! ATHEN !!','!'), '!'), 'AN', '**'),'*','TROUBLE') FROM DUAL;?&lt;br /&gt;&lt;br /&gt;18. What does the following query do?&lt;br /&gt;SELECT SAL + NVL(COMM,0) FROM EMP;?&lt;br /&gt;This displays the total salary of all employees. The null values in the commission column will be replaced by 0 and added to salary.&lt;br /&gt;&lt;br /&gt;19. What is the advantage of specifying WITH GRANT OPTION in the GRANT command?&lt;br /&gt;The privilege receiver can further grant the privileges he/she has obtained from the owner to any other user.&lt;br /&gt;&lt;br /&gt;20. Which command executes the contents of a specified file?&lt;br /&gt;START or @.&lt;br /&gt;&lt;br /&gt;21. What is the value of comm and sal after executing the following query if the initial value of ‘sal’ is 10000&lt;br /&gt;UPDATE EMP SET SAL = SAL + 1000, COMM = SAL*0.1;?&lt;br /&gt;sal = 11000, comm = 1000.&lt;br /&gt;&lt;br /&gt;22. Which command displays the SQL command in the SQL buffer, and then executes it?&lt;br /&gt;RUN.&lt;br /&gt;&lt;br /&gt;23. What command is used to get back the privileges offered by the GRANT command?&lt;br /&gt;REVOKE.&lt;br /&gt;&lt;br /&gt;24. What will be the output of the following query? SELECT DECODE(TRANSLATE('A','1234567890','1111111111'), '1','YES', 'NO' );? NO.&lt;br /&gt;Explanation : The query checks whether a given string is a numerical digit.&lt;br /&gt;&lt;br /&gt;26. Which date function is used to find the difference between two dates?&lt;br /&gt;MONTHS_BETWEEN.&lt;br /&gt;&lt;br /&gt;27. What operator performs pattern matching?&lt;br /&gt;LIKE operator.&lt;br /&gt;&lt;br /&gt;28. What is the use of the DROP option in the ALTER TABLE command?&lt;br /&gt;It is used to drop constraints specified on the table.&lt;br /&gt;&lt;br /&gt;29. What operator tests column for the absence of data?&lt;br /&gt;IS NULL operator.&lt;br /&gt;&lt;br /&gt;30. What are the privileges that can be granted on a table by a user to others?&lt;br /&gt;Insert, update, delete, select, references, index, execute, alter, all.&lt;br /&gt;&lt;br /&gt;31. Which function is used to find the largest integer less than or equal to a specific value?&lt;br /&gt;FLOOR.&lt;br /&gt;&lt;br /&gt;32. Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?&lt;br /&gt;Data Definition Language (DDL).&lt;br /&gt;&lt;br /&gt;33. What is the use of DESC in SQL?&lt;br /&gt;DESC has two purposes. It is used to describe a schema as well as to retrieve rows from table in descending order.&lt;br /&gt;Explanation :&lt;br /&gt;The query SELECT * FROM EMP ORDER BY ENAME DESC will display the output sorted on ENAME in descending order.&lt;br /&gt;&lt;br /&gt;34. What command is used to create a table by copying the structure of another table?&lt;br /&gt;CREATE TABLE .. AS SELECT command&lt;br /&gt;Explanation:&lt;br /&gt;To copy only the structure, the WHERE clause of the SELECT command should contain a FALSE statement as in the following.&lt;br /&gt;CREATE TABLE NEWTABLE AS SELECT * FROM EXISTINGTABLE WHERE 1=2;&lt;br /&gt;If the WHERE condition is true, then all the rows or rows satisfying the condition will be copied to the new table.&lt;br /&gt;&lt;br /&gt;35. TRUNCATE TABLE EMP;DELETE FROM EMP;&lt;br /&gt;Will the outputs of the above two commands differ?&lt;br /&gt;Both will result in deleting all the rows in the table EMP..&lt;br /&gt;&lt;br /&gt;36. What is the output of the following query SELECT TRUNC(1234.5678,-2) FROM DUAL;?&lt;br /&gt;1200.&lt;br /&gt;&lt;br /&gt;37. What are the wildcards used for pattern matching.?&lt;br /&gt;_ for single character substitution and % for multi-character substitution.&lt;br /&gt;&lt;br /&gt;38. What is the parameter substitution symbol used with INSERT INTO command?&lt;br /&gt;&amp;&lt;br /&gt;&lt;br /&gt;39. What's an SQL injection?&lt;br /&gt;SQL Injection is when form data contains an SQL escape sequence and injects a new SQL query to be run.&lt;br /&gt;&lt;br /&gt;40. What is difference between TRUNCATE &amp; DELETE&lt;br /&gt;TRUNCATE commits after deleting entire table i.e., cannot be rolled back. Database triggers do not fire on TRUNCATE&lt;br /&gt;DELETE allows the filtered deletion. Deleted records can be rolled back or committed. Database triggers fire on DELETE.&lt;br /&gt;&lt;br /&gt;41. What is a join? Explain the different types of joins?&lt;br /&gt;Join is a query, which retrieves related columns or rows from multiple tables.&lt;br /&gt;Self Join - Joining the table with itself.&lt;br /&gt;Equi Join - Joining two tables by equating two common columns.&lt;br /&gt;Non-Equi Join - Joining two tables by equating two common columns.&lt;br /&gt;Outer Join - Joining two tables in such a way that query can also retrieve rows that do not have corresponding join value in the other table.&lt;br /&gt;&lt;br /&gt;42. What is the sub-query?&lt;br /&gt;Sub-query is a query whose return values are used in filtering conditions of the main query.&lt;br /&gt;&lt;br /&gt;43. What is correlated sub-query?&lt;br /&gt;Correlated sub-query is a sub-query, which has reference to the main query.&lt;br /&gt;&lt;br /&gt;44. Explain CONNECT BY PRIOR?&lt;br /&gt;Retrieves rows in hierarchical order eg.&lt;br /&gt;select empno, ename from emp where.&lt;br /&gt;&lt;br /&gt;45. Difference between SUBSTR and INSTR?&lt;br /&gt;INSTR (String1, String2 (n, (m)),&lt;br /&gt;INSTR returns the position of the m-th occurrence of the string 2 in string1. The search begins from nth position of string1.&lt;br /&gt;SUBSTR (String1 n, m)&lt;br /&gt;SUBSTR returns a character string of size m in string1, starting from n-th position of string1.&lt;br /&gt;&lt;br /&gt;46. Explain UNION, MINUS, UNION ALL and INTERSECT?&lt;br /&gt;INTERSECT - returns all distinct rows selected by both queries.&lt;br /&gt;MINUS - returns all distinct rows selected by the first query but not by the second.&lt;br /&gt;UNION - returns all distinct rows selected by either query&lt;br /&gt;UNION ALL - returns all rows selected by either query, including all duplicates.&lt;br /&gt;&lt;br /&gt;47. What is ROWID?&lt;br /&gt;ROWID is a pseudo column attached to each row of a table. It is 18 characters long, blockno, rownumber are the components of ROWID.&lt;br /&gt;&lt;br /&gt;48. What is the fastest way of accessing a row in a table?&lt;br /&gt;Using ROWID.&lt;br /&gt;CONSTRAINTS&lt;br /&gt;&lt;br /&gt;49. What is an integrity constraint?&lt;br /&gt;Integrity constraint is a rule that restricts values to a column in a table.&lt;br /&gt;&lt;br /&gt;50. What is referential integrity constraint?&lt;br /&gt;Maintaining data integrity through a set of rules that restrict the values of one or more columns of the tables based on the values of primary key or unique key of the referenced table.&lt;br /&gt;&lt;br /&gt;51. What is the usage of SAVEPOINTS?&lt;br /&gt;SAVEPOINTS are used to subdivide a transaction into smaller parts. It enables rolling back part of a transaction. Maximum of five save points are allowed.&lt;br /&gt;&lt;br /&gt;52. What is ON DELETE CASCADE?&lt;br /&gt;When ON DELETE CASCADE is specified Oracle maintains referential integrity by automatically removing dependent foreign key values if a referenced primary or unique key value is removed.&lt;br /&gt;&lt;br /&gt;53. What are the data types allowed in a table?&lt;br /&gt;CHAR, VARCHAR2, NUMBER, DATE, RAW, LONG and LONG RAW.&lt;br /&gt;&lt;br /&gt;54. What is difference between CHAR and VARCHAR2? What is the maximum SIZE allowed for each type?&lt;br /&gt;CHAR pads blank spaces to the maximum length.&lt;br /&gt;VARCHAR2 does not pad blank spaces.&lt;br /&gt;For CHAR the maximum length is 255 and 2000 for VARCHAR2.&lt;br /&gt;&lt;br /&gt;55. How many LONG columns are allowed in a table? Is it possible to use LONG columns in WHERE clause or ORDER BY?&lt;br /&gt;Only one LONG column is allowed. It is not possible to use LONG column in WHERE or ORDER BY clause.&lt;br /&gt;&lt;br /&gt;56. What are the pre-requisites to modify datatype of a column and to add a column with NOT NULL constraint?&lt;br /&gt;- To modify the datatype of a column the column must be empty.&lt;br /&gt;- To add a column with NOT NULL constrain, the table must be empty.&lt;br /&gt;&lt;br /&gt;57. Where the integrity constraints are stored in data dictionary?&lt;br /&gt;The integrity constraints are stored in USER_CONSTRAINTS.&lt;br /&gt;&lt;br /&gt;58. How will you activate/deactivate integrity constraints?&lt;br /&gt;The integrity constraints can be enabled or disabled by ALTER TABLE ENABLE CONSTRAINT / DISABLE CONSTRAINT.&lt;br /&gt;&lt;br /&gt;59. If unique key constraint on DATE column is created, will it validate the rows that are inserted with SYSDATE?&lt;br /&gt;It won't, Because SYSDATE format contains time attached with it.&lt;br /&gt;&lt;br /&gt;60. What is a database link?&lt;br /&gt;Database link is a named path through which a remote database can be accessed.&lt;br /&gt;&lt;br /&gt;61. How to access the current value and next value from a sequence? Is it possible to access the current value in a session before accessing next value?&lt;br /&gt;Sequence name CURRVAL, sequence name NEXTVAL. It is not possible. Only if you access next value in the session, current value can be accessed.&lt;br /&gt;&lt;br /&gt;62.What is CYCLE/NO CYCLE in a Sequence?&lt;br /&gt;CYCLE specifies that the sequence continue to generate values after reaching either maximum or minimum value. After pan-ascending sequence reaches its maximum value, it generates its minimum value. After a descending sequence reaches its minimum, it generates its maximum.&lt;br /&gt;NO CYCLE specifies that the sequence cannot generate more values after reaching its maximum or minimum value.&lt;br /&gt;&lt;br /&gt;63. What are the advantages of VIEW?&lt;br /&gt;- To protect some of the columns of a table from other users.&lt;br /&gt;- To hide complexity of a query.&lt;br /&gt;- To hide complexity of calculations.&lt;br /&gt;&lt;br /&gt;64. Can a view be updated/inserted/deleted? If Yes - under what conditions?&lt;br /&gt;A View can be updated/deleted/inserted if it has only one base table if the view is based on columns from one or more tables then insert, update and delete is not possible.&lt;br /&gt;&lt;br /&gt;65. If a view on a single base table is manipulated will the changes be reflected on the base table?&lt;br /&gt;If changes are made to the tables and these tables are the base tables of a view, then the changes will be reference on the view.&lt;br /&gt;&lt;br /&gt;66. Which of the following statements is true about implicit cursors?&lt;br /&gt;1. Implicit cursors are used for SQL statements that are not named.&lt;br /&gt;2. Developers should use implicit cursors with great care.&lt;br /&gt;3. Implicit cursors are used in cursor for loops to handle data processing.&lt;br /&gt;4. Implicit cursors are no longer a feature in Oracle.&lt;br /&gt;&lt;br /&gt;67. Which of the following is not a feature of a cursor FOR loop?&lt;br /&gt;1. Record type declaration.&lt;br /&gt;2. Opening and parsing of SQL statements.&lt;br /&gt;3. Fetches records from cursor.&lt;br /&gt;4. Requires exit condition to be defined.&lt;br /&gt;&lt;br /&gt;66. A developer would like to use referential datatype declaration on a variable. The variable name is EMPLOYEE_LASTNAME, and the corresponding table and column is EMPLOYEE, and LNAME, respectively. How would the developer define this variable using referential datatypes?&lt;br /&gt;1. Use employee.lname%type.&lt;br /&gt;2. Use employee.lname%rowtype.&lt;br /&gt;3. Look up datatype for EMPLOYEE column on LASTNAME table and use that.&lt;br /&gt;4. Declare it to be type LONG.&lt;br /&gt;&lt;br /&gt;67. Which three of the following are implicit cursor attributes?&lt;br /&gt;1. %found&lt;br /&gt;2. %too_many_rows&lt;br /&gt;3. %notfound&lt;br /&gt;4. %rowcount&lt;br /&gt;5. %rowtype&lt;br /&gt;&lt;br /&gt;68. If left out, which of the following would cause an infinite loop to occur in a simple loop?&lt;br /&gt;1. LOOP&lt;br /&gt;2. END LOOP&lt;br /&gt;3. IF-THEN&lt;br /&gt;4. EXIT&lt;br /&gt;&lt;br /&gt;69. Which line in the following statement will produce an error?&lt;br /&gt;1. cursor action_cursor is&lt;br /&gt;2. select name, rate, action&lt;br /&gt;3. into action_record&lt;br /&gt;4. from action_table;&lt;br /&gt;5. There are no errors in this statement.&lt;br /&gt;&lt;br /&gt;70. The command used to open a CURSOR FOR loop is&lt;br /&gt;1. open&lt;br /&gt;2. fetch&lt;br /&gt;3. parse&lt;br /&gt;4. None, cursor for loops handle cursor opening implicitly.&lt;br /&gt;&lt;br /&gt;71. What happens when rows are found using a FETCH statement&lt;br /&gt;1. It causes the cursor to close&lt;br /&gt;2. It causes the cursor to open&lt;br /&gt;3. It loads the current row values into variables&lt;br /&gt;4. It creates the variables to hold the current row values&lt;br /&gt;&lt;br /&gt;72. Read the following code:&lt;br /&gt;10. CREATE OR REPLACE PROCEDURE find_cpt&lt;br /&gt;11. (v_movie_id {Argument Mode} NUMBER, v_cost_per_ticket {argument mode} NUMBER)&lt;br /&gt;12. IS&lt;br /&gt;13. BEGIN&lt;br /&gt;14. IF v_cost_per_ticket &gt; 8.5 THEN&lt;br /&gt;15. SELECT cost_per_ticket&lt;br /&gt;16. INTO v_cost_per_ticket&lt;br /&gt;17. FROM gross_receipt&lt;br /&gt;18. WHERE movie_id = v_movie_id;&lt;br /&gt;19. END IF;&lt;br /&gt;20. END;&lt;br /&gt;Which mode should be used for V_COST_PER_TICKET?&lt;br /&gt;1. IN&lt;br /&gt;2. OUT&lt;br /&gt;3. RETURN&lt;br /&gt;4. IN OUT&lt;br /&gt;73. Read the following code:&lt;br /&gt;22. CREATE OR REPLACE TRIGGER update_show_gross&lt;br /&gt;23. {trigger information}&lt;br /&gt;24. BEGIN&lt;br /&gt;25. {additional code}&lt;br /&gt;26. END;&lt;br /&gt;The trigger code should only execute when the column, COST_PER_TICKET, is greater than $3. Which trigger information will you add?&lt;br /&gt;1. WHEN (new.cost_per_ticket &gt; 3.75)&lt;br /&gt;2. WHEN (:new.cost_per_ticket &gt; 3.75&lt;br /&gt;3. WHERE (new.cost_per_ticket &gt; 3.75)&lt;br /&gt;4. WHERE (:new.cost_per_ticket &gt; 3.75)&lt;br /&gt;&lt;br /&gt;74. What is the maximum number of handlers processed before the PL/SQL block is exited when an exception occurs?&lt;br /&gt;1. Only one&lt;br /&gt;2. All that apply&lt;br /&gt;3. All referenced&lt;br /&gt;4. None&lt;br /&gt;&lt;br /&gt;77. For which trigger timing can you reference the NEW and OLD qualifiers?&lt;br /&gt;1. Statement and Row 2. Statement only 3. Row only 4. Oracle Forms trigger&lt;br /&gt;&lt;br /&gt;78. Read the following code:&lt;br /&gt;CREATE OR REPLACE FUNCTION get_budget(v_studio_id IN NUMBER)&lt;br /&gt;RETURN number IS&lt;br /&gt;v_yearly_budget NUMBER;&lt;br /&gt;BEGIN&lt;br /&gt;SELECT yearly_budget&lt;br /&gt;INTO v_yearly_budget&lt;br /&gt;FROM studio&lt;br /&gt;WHERE id = v_studio_id;&lt;br /&gt;RETURN v_yearly_budget;&lt;br /&gt;END;&lt;br /&gt;Which set of statements will successfully invoke this function within SQL*Plus?&lt;br /&gt;1. VARIABLE g_yearly_budget NUMBER&lt;br /&gt;EXECUTE g_yearly_budget := GET_BUDGET(11);&lt;br /&gt;2. VARIABLE g_yearly_budget NUMBER&lt;br /&gt;EXECUTE :g_yearly_budget := GET_BUDGET(11);&lt;br /&gt;3. VARIABLE :g_yearly_budget NUMBER&lt;br /&gt;EXECUTE :g_yearly_budget := GET_BUDGET(11);&lt;br /&gt;4. VARIABLE g_yearly_budget NUMBER&lt;br /&gt;31. CREATE OR REPLACE PROCEDURE update_theater&lt;br /&gt;32. (v_name IN VARCHAR v_theater_id IN NUMBER) IS&lt;br /&gt;33. BEGIN&lt;br /&gt;34. UPDATE theater&lt;br /&gt;35. SET name = v_name&lt;br /&gt;36. WHERE id = v_theater_id;&lt;br /&gt;37. END update_theater;&lt;br /&gt;&lt;br /&gt;79. When invoking this procedure, you encounter the error:&lt;br /&gt;ORA-000:Unique constraint(SCOTT.THEATER_NAME_UK) violated.&lt;br /&gt;How should you modify the function to handle this error?&lt;br /&gt;1. An user defined exception must be declared and associated&lt;br /&gt;with the error code and handled in the EXCEPTION section.&lt;br /&gt;2. Handle the error in EXCEPTION section by referencing the error&lt;br /&gt;code directly.&lt;br /&gt;3. Handle the error in the EXCEPTION section by referencing the UNIQUE_ERROR predefined exception.&lt;br /&gt;4. Check for success by checking the value of SQL%FOUND immediately after the UPDATE statement.&lt;br /&gt;&lt;br /&gt;80. Read the following code:&lt;br /&gt;40. CREATE OR REPLACE PROCEDURE calculate_budget IS&lt;br /&gt;41. v_budget studio.yearly_budget%TYPE;&lt;br /&gt;42. BEGIN&lt;br /&gt;43. v_budget := get_budget(11);&lt;br /&gt;44. IF v_budget &lt; 30000&lt;br /&gt;45. THEN&lt;br /&gt;46. set_budget(11,30000000);&lt;br /&gt;47. END IF;&lt;br /&gt;48. END; You are about to add an argument to CALCULATE_BUDGET.&lt;br /&gt;What effect will this have?&lt;br /&gt;1. The GET_BUDGET function will be marked invalid and must be recompiled before the next execution.&lt;br /&gt;2. The SET_BUDGET function will be marked invalid and must be recompiled before the next execution.&lt;br /&gt;3. Only the CALCULATE_BUDGET procedure needs to be recompiled.&lt;br /&gt;4. All three procedures are marked invalid and must be recompiled.&lt;br /&gt;&lt;br /&gt;81. Which procedure can be used to create a customized error message?&lt;br /&gt;1. RAISE_ERROR&lt;br /&gt;2. SQLERRM&lt;br /&gt;3. RAISE_APPLICATION_ERROR&lt;br /&gt;4. RAISE_SERVER_ERROR&lt;br /&gt;&lt;br /&gt;82. The CHECK_THEATER trigger of the THEATER table has been disabled. Which command can you issue to enable this trigger?&lt;br /&gt;1. ALTER TRIGGER check_theater ENABLE;&lt;br /&gt;2. ENABLE TRIGGER check_theater;&lt;br /&gt;3. ALTER TABLE check_theater ENABLE check_theater;&lt;br /&gt;4. ENABLE check_theater;&lt;br /&gt;&lt;br /&gt;83. Examine this database trigger&lt;br /&gt;52. CREATE OR REPLACE TRIGGER prevent_gross_modification&lt;br /&gt;53. {additional trigger information}&lt;br /&gt;54. BEGIN&lt;br /&gt;55. IF TO_CHAR(sysdate, DY) = MON&lt;br /&gt;56. THEN&lt;br /&gt;57. RAISE_APPLICATION_ERROR(-20000,Gross receipts cannot be deleted on Monday);&lt;br /&gt;58. END IF;&lt;br /&gt;59. END;&lt;br /&gt;This trigger must fire before each DELETE of the GROSS_RECEIPT table. It should fire only once for the entire DELETE statement. What additional information must you add?&lt;br /&gt;1. BEFORE DELETE ON gross_receipt&lt;br /&gt;2. AFTER DELETE ON gross_receipt&lt;br /&gt;3. BEFORE (gross_receipt DELETE)&lt;br /&gt;4. FOR EACH ROW DELETED FROM gross_receipt&lt;br /&gt;&lt;br /&gt;84. Examine this function:&lt;br /&gt;61. CREATE OR REPLACE FUNCTION set_budget&lt;br /&gt;62. (v_studio_id IN NUMBER, v_new_budget IN NUMBER) IS&lt;br /&gt;63. BEGIN&lt;br /&gt;64. UPDATE studio&lt;br /&gt;65. SET yearly_budget = v_new_budget WHERE id = v_studio_id; IF SQL%FOUND THEN RETURN TRUEl; ELSE RETURN FALSE; END IF; COMMIT; END; Which code must be added to successfully compile this function?&lt;br /&gt;1. Add RETURN right before the IS keyword.&lt;br /&gt;2. Add RETURN number right before the IS keyword.&lt;br /&gt;3. Add RETURN boolean right after the IS keyword.&lt;br /&gt;4. Add RETURN boolean right before the IS keyword.&lt;br /&gt;&lt;br /&gt;85. Under which circumstance must you recompile the package body after recompiling the package specification?&lt;br /&gt;1. Altering the argument list of one of the package constructs&lt;br /&gt;2. Any change made to one of the package constructs&lt;br /&gt;3. Any SQL statement change made to one of the package constructs&lt;br /&gt;4. Removing a local variable from the DECLARE section of one of the package constructs&lt;br /&gt;&lt;br /&gt;86. Procedure and Functions are explicitly executed. This is different from a database trigger. When is a database trigger executed?&lt;br /&gt;1. When the transaction is committed&lt;br /&gt;2. During the data manipulation statement&lt;br /&gt;3. When an Oracle supplied package references the trigger&lt;br /&gt;4. During a data manipulation statement and when the transaction is committed&lt;br /&gt;&lt;br /&gt;87. Which Oracle supplied package can you use to output values and messages from database triggers, stored procedures and functions within SQL*Plus?&lt;br /&gt;1. DBMS_DISPLAY&lt;br /&gt;2. DBMS_OUTPUT&lt;br /&gt;3. DBMS_LIST&lt;br /&gt;4. DBMS_DESCRIBE&lt;br /&gt;&lt;br /&gt;88. What occurs if a procedure or function terminates with failure without being handled?&lt;br /&gt;1. Any DML statements issued by the construct are still pending and can be committed or rolled back.&lt;br /&gt;2. Any DML statements issued by the construct are committed&lt;br /&gt;3. Unless a GOTO statement is used to continue processing within the BEGIN section,the construct terminates.&lt;br /&gt;4. The construct rolls back any DML statements issued and returns the unhandled exception to the calling environment.&lt;br /&gt;&lt;br /&gt;89. Examine this code&lt;br /&gt;71. BEGIN&lt;br /&gt;72. theater_pck.v_total_seats_sold_overall := theater_pck.get_total_for_year;&lt;br /&gt;73. END; For this code to be successful, what must be true?&lt;br /&gt;1. Both the V_TOTAL_SEATS_SOLD_OVERALL variable and the GET_TOTAL_FOR_YEAR function must exist only in the body of the THEATER_PCK package.&lt;br /&gt;2. Only the GET_TOTAL_FOR_YEAR variable must exist in the specification of the THEATER_PCK package.&lt;br /&gt;3. Only the V_TOTAL_SEATS_SOLD_OVERALL variable must exist in the specification of the THEATER_PCK package.&lt;br /&gt;4. Both the V_TOTAL_SEATS_SOLD_OVERALL variable and the GET_TOTAL_FOR_YEAR function must exist in the specification of the THEATER_PCK package.&lt;br /&gt;&lt;br /&gt;90. A stored function must return a value based on conditions that are determined at runtime. Therefore, the SELECT statement cannot be hard-coded and must be created dynamically when the function is executed. Which Oracle supplied package will enable this feature?&lt;br /&gt;1. DBMS_DDL&lt;br /&gt;2. DBMS_DML&lt;br /&gt;3. DBMS_SYN&lt;br /&gt;4. DBMS_SQL&lt;br /&gt;&lt;br /&gt;91 How to implement ISNUMERIC function in SQL *Plus ? Method&lt;br /&gt;1: Select length (translate(trim (column_name),'+-.0123456789',''))from dual; Will give you a zero if it is a number or greater than zero if not numeric (actually gives the count of non numeric characters) Method 2: select instr(translate('wwww','abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ','XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX'),'X') FROM dual; It returns 0 if it is a number, 1 if it is not.&lt;br /&gt;&lt;br /&gt;92 How to Select last N records from a Table? select * from (select rownum a, CLASS_CODE,CLASS_DESC from clm) where a &gt; ( select (max(rownum)-10) from clm) Here N = 10&lt;br /&gt;The following query has a Problem of performance in the execution of the following&lt;br /&gt;query where the table ter.ter_master have 22231 records. So the results are obtained&lt;br /&gt;after hours.&lt;br /&gt;Cursor rem_master(brepno VARCHAR2) IS&lt;br /&gt;select a.* from ter.ter_master a&lt;br /&gt;where NOT a.repno in (select repno from ermast) and&lt;br /&gt;(brepno = 'ALL' or a.repno &gt; brepno)&lt;br /&gt;Order by a.repno&lt;br /&gt;What are steps required tuning this query to improve its performance?&lt;br /&gt;-Have an index on TER_MASTER.REPNO and one on ERMAST.REPNO&lt;br /&gt;-Be sure to get familiar with EXPLAIN PLAN. This can help you determine the execution&lt;br /&gt;path that Oracle takes. If you are using Cost Based Optimizer mode, then be sure that&lt;br /&gt;your statistics on TER_MASTER are up-to-date. -Also, you can change your SQL to:&lt;br /&gt;SELECT a.*&lt;br /&gt;FROM ter.ter_master a&lt;br /&gt;WHERE NOT EXISTS (SELECT b.repno FROM ermast b&lt;br /&gt;WHERE a.repno=b.repno) AND&lt;br /&gt;(a.brepno = 'ALL' or a.repno &gt; a.brepno)&lt;br /&gt;ORDER BY a.repno;&lt;br /&gt;&lt;br /&gt;93. What is the difference between Truncate and Delete interms of Referential Integrity?&lt;br /&gt;DELETE removes one or more records in a table, checking referential Constraints (to see if there are dependent child records) and firing any DELETE triggers. In the order you are deleting (child first then parent) There will be no problems.&lt;br /&gt;TRUNCATE removes ALL records in a table. It does not execute any triggers. Also, it&lt;br /&gt;only checks for the existence (and status) of another foreign key Pointing to the&lt;br /&gt;table. If one exists and is enabled, then you will get The following error. This&lt;br /&gt;is true even if you do the child tables first.&lt;br /&gt;ORA-02266: unique/primary keys in table referenced by enabled foreign keys&lt;br /&gt;You should disable the foreign key constraints in the child tables before issuing&lt;br /&gt;the TRUNCATE command, then re-enable them afterwards.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6853370935365920629?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6853370935365920629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6853370935365920629' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6853370935365920629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6853370935365920629'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/sql-interview-questions.html' title='SQL Interview Questions'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-578344902900283994</id><published>2010-08-26T19:02:00.002+05:30</published><updated>2010-08-26T19:03:07.712+05:30</updated><title type='text'>PL-SQL Interview Questions</title><content type='html'>PL-SQL Interview Questions&lt;br /&gt;&lt;br /&gt;1. Describe the difference between a procedure, function and anonymous pl/sql block.&lt;br /&gt;Level: Low&lt;br /&gt;Expected answer : Candidate should mention use of DECLARE statement, a function must&lt;br /&gt;return a value while a procedure doesn?t have to.&lt;br /&gt;&lt;br /&gt;2. What is a mutating table error and how can you get around it?&lt;br /&gt;Level: Intermediate&lt;br /&gt;Expected answer: This happens with triggers. It occurs because the trigger is trying&lt;br /&gt;to update a row it is currently using. The usual fix involves either use of views&lt;br /&gt;or temporary tables so the database is selecting from one while updating the other.&lt;br /&gt;&lt;br /&gt;3. Describe the use of %ROWTYPE and %TYPE in PL/SQL&lt;br /&gt;Level: Low&lt;br /&gt;Expected answer: %ROWTYPE allows you to associate a variable with an entire table row.&lt;br /&gt;The %TYPE associates a variable with a single column type.&lt;br /&gt;&lt;br /&gt;4. What packages (if any) has Oracle provided for use by developers?&lt;br /&gt;Expected answer: Oracle provides the DBMS_ series of packages. There are many&lt;br /&gt;which developers should be aware of such as DBMS_SQL, DBMS_PIPE, DBMS_TRANSACTION,&lt;br /&gt;DBMS_LOCK, DBMS_ALERT, DBMS_OUTPUT, DBMS_JOB, DBMS_UTILITY, DBMS_DDL, UTL_FILE. If&lt;br /&gt;they can mention a few of these and describe how they used them, even better. If&lt;br /&gt;they include the SQL routines provided by Oracle, great, but not really what&lt;br /&gt;was asked.&lt;br /&gt;&lt;br /&gt;5. Describe the use of PL/SQL tables&lt;br /&gt;Expected answer: PL/SQL tables are scalar arrays that can be referenced by a&lt;br /&gt;binary integer. They can be used to hold values for use in later queries&lt;br /&gt;or calculations. In Oracle 8 they will be able to be of the %ROWTYPE designation,&lt;br /&gt;or RECORD.&lt;br /&gt;&lt;br /&gt;6. When is a declare statement needed ?&lt;br /&gt;The DECLARE statement is used in PL/SQL anonymous blocks such as with stand alone, non-stored PL/SQL procedures. It must come first in a PL/SQL stand alone file if it is used.&lt;br /&gt;&lt;br /&gt;7. In what order should a open/fetch/loop set of commands in a PL/SQL block be implemented if you use the NOTFOUND cursor variable in the exit when statement? Why?&lt;br /&gt;Expected answer: OPEN then FETCH then LOOP followed by the exit when. If not specified in this order will result in the final return being done twice because of the way the %NOTFOUND is handled by PL/SQL.&lt;br /&gt;&lt;br /&gt;8. What are SQLCODE and SQLERRM and why are they important for PL/SQL developers?&lt;br /&gt;Expected answer: SQLCODE returns the value of the error number for the last error encountered. The SQLERRM returns the actual error message for the last error encountered. They can be used in exception handling to report, or, store in an error log table, the error that occurred in the code. These are especially useful for the WHEN OTHERS exception.&lt;br /&gt;&lt;br /&gt;9. How can you find within a PL/SQL block, if a cursor is open?&lt;br /&gt;Expected answer: Use the %ISOPEN cursor status variable.&lt;br /&gt;&lt;br /&gt;10. How can you generate debugging output from PL/SQL?&lt;br /&gt;Expected answer: Use the DBMS_OUTPUT package. Another possible method is to just use the SHOW ERROR command, but this only shows errors. The DBMS_OUTPUT package can be used to show intermediate results from loops and the status of variables as the procedure is executed. The new package UTL_FILE can&lt;br /&gt;also be used.&lt;br /&gt;&lt;br /&gt;11. What are the types of triggers?&lt;br /&gt;Expected Answer: There are 12 types of triggers in PL/SQL that consist of&lt;br /&gt;combinations of the BEFORE, AFTER, ROW, TABLE, INSERT, UPDATE, DELETE and&lt;br /&gt;ALL key words:&lt;br /&gt;BEFORE ALL ROW INSERT&lt;br /&gt;AFTER ALL ROW INSERT&lt;br /&gt;BEFORE INSERT&lt;br /&gt;AFTER INSERT etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-578344902900283994?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/578344902900283994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=578344902900283994' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/578344902900283994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/578344902900283994'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/pl-sql-interview-questions.html' title='PL-SQL Interview Questions'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1119165119641493628</id><published>2010-08-26T19:02:00.001+05:30</published><updated>2010-08-26T19:02:47.581+05:30</updated><title type='text'>SQL / SQLPlus Interview Questions</title><content type='html'>SQL / SQLPlus Interview Questions&lt;br /&gt;&lt;br /&gt;1. How can variables be passed to a SQL routine?&lt;br /&gt;Expected answer: By use of the &amp; symbol. For passing in variables the numbers&lt;br /&gt;1-8 can be used (&amp;1, &amp;2,...,&amp;8) to pass the values after the command into the&lt;br /&gt;SQLPLUS session. To be prompted for a specific variable, place the ampersanded&lt;br /&gt;variable in the code itself:&lt;br /&gt;"select * from dba_tables where owner=&amp;owner_name;" . Use of double&lt;br /&gt;ampersands tells SQLPLUS to resubstitute the value for each subsequent&lt;br /&gt;use of the variable, a single ampersand will cause a reprompt for the&lt;br /&gt;value unless an ACCEPT statement is used to get the value from the user.&lt;br /&gt;&lt;br /&gt;2. You want to include a carriage return/linefeed in your output from a SQL script, how can you do this?&lt;br /&gt;Expected answer: The best method is to use the CHR() function (CHR(10) is a return/linefeed) and the concatenation function "". Another method, although it is hard to document and isn?t always portable is to use the return/linefeed as a part of a quoted string.&lt;br /&gt;&lt;br /&gt;3. How can you call a PL/SQL procedure from SQL?&lt;br /&gt;Expected answer: By use of the EXECUTE (short form EXEC) command.&lt;br /&gt;&lt;br /&gt;4. How do you execute a host operating system command from within SQL?&lt;br /&gt;Expected answer: By use of the exclamation point "!" (in UNIX and some other OS) or the HOST (HO) command.&lt;br /&gt;&lt;br /&gt;5. You want to use SQL to build SQL, what is this called and give an example&lt;br /&gt;Expected answer: This is called dynamic SQL. An example would be:&lt;br /&gt;set lines 90 pages 0 termout off feedback off verify off&lt;br /&gt;spool drop_all.sql&lt;br /&gt;select ?drop user ?username? cascade;? from dba_users&lt;br /&gt;where username not in ("SYS?,?SYSTEM?);&lt;br /&gt;spool off&lt;br /&gt;Essentially you are looking to see that they know to include a command (in this case DROP USER...CASCADE;) and that you need to concatenate using the ?? the values selected from the database.&lt;br /&gt;&lt;br /&gt;6. What SQLPlus command is used to format output from a select?&lt;br /&gt;Expected answer: This is best done with the COLUMN command.&lt;br /&gt;&lt;br /&gt;7. You want to group the following set of select returns, what can you group on?&lt;br /&gt;Max(sum_of_cost), min(sum_of_cost), count(item_no), item_no&lt;br /&gt;Expected answer: The only column that can be grouped on is the "item_no" column, the rest have aggregate functions associated with them.&lt;br /&gt;&lt;br /&gt;8. What special Oracle feature allows you to specify how the cost based system treats a SQL statement?&lt;br /&gt;Level: Intermediate to high Expected answer: The COST based system allows the use of HINTs to control the optimizer path selection. If they can give some example hints such as FIRST ROWS, ALL ROWS, USING INDEX, STAR, even better.&lt;br /&gt;&lt;br /&gt;9. You want to determine the location of identical rows in a table before attempting to place a unique index on the table, how can this be done?&lt;br /&gt;Level: High Expected answer: Oracle tables always have one guaranteed unique column, the rowid column. If you use a min/max function against your rowid and then select against the proposed primary key you can squeeze out the rowids of the duplicate rows pretty quick. For example: select rowid from emp e where e.rowid &gt; (select min(x.rowid) from emp x where x.emp_no = e.emp_no); In the situation where multiple columns make up the proposed key, they must all be used in the where clause.&lt;br /&gt;&lt;br /&gt;10. What is a Cartesian product?&lt;br /&gt;Expected answer: A Cartesian product is the result of an unrestricted join of two or more tables. The result set of a three table Cartesian product will have x * y * z number of rows where x, y, z correspond to the number of rows in each table involved in the join.&lt;br /&gt;&lt;br /&gt;11. You are joining a local and a remote table, the network manager complains about the traffic involved, how can you reduce the network traffic?&lt;br /&gt;Level: High Expected answer: Push the processing of the remote data to the remote instance by using a view to pre-select the information for the join. This will result in only the data required for the join being sent across.&lt;br /&gt;&lt;br /&gt;12. What is the default ordering of an ORDER BY clause in a SELECT statement?&lt;br /&gt;Expected answer: Ascending&lt;br /&gt;&lt;br /&gt;13. What is tkprof and how is it used?&lt;br /&gt;Level: Intermediate to high Expected answer: The tkprof tool is a tuning tool used to determine cpu and execution times for SQL statements. You use it by first setting timed_statistics to true in the initialization file and then turning on tracing for either the entire database via the sql_trace parameter or for the session using the ALTER SESSION command. Once the trace file is generated you run the tkprof tool against the trace file and then look at the output from the tkprof tool. This can also be used to generate explain plan output.&lt;br /&gt;&lt;br /&gt;14. What is explain plan and how is it used?&lt;br /&gt;Level: Intermediate to high Expected answer: The EXPLAIN PLAN command is a tool to tune SQL statements. To use it you must have an explain_table generated in the user you are running the explain plan for. This is created using the utlxplan.sql script. Once the explain plan table exists you run the explain plan command giving as its argument the SQL statement to be explained. The explain_plan table is then queried to see the execution plan of the statement. Explain plans can also be run using tkprof.&lt;br /&gt;&lt;br /&gt;15. How do you set the number of lines on a page of output? The width?&lt;br /&gt;Level: Low Expected answer: The SET command in SQLPLUS is used to control the number of lines generated per page and the width of those lines, for example SET PAGESIZE 60 LINESIZE 80 will generate reports that are 60 lines long with a line width of 80 characters. The PAGESIZE and LINESIZE options can be shortened to PAGES and LINES.&lt;br /&gt;&lt;br /&gt;16. How do you prevent output from coming to the screen?&lt;br /&gt;Level: Low&lt;br /&gt;Expected answer: The SET option TERMOUT controls output to the screen. Setting TERMOUT OFF turns&lt;br /&gt;off screen output. This option can be shortened to TERM.&lt;br /&gt;&lt;br /&gt;17. How do you prevent Oracle from giving you informational messages during and after a SQL statement execution?&lt;br /&gt;Level: Low Expected answer: The SET options FEEDBACK and VERIFY can be set to OFF.&lt;br /&gt;&lt;br /&gt;18. How do you generate file output from SQL?&lt;br /&gt;Answer: By use of the SPOOL command&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1119165119641493628?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1119165119641493628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1119165119641493628' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1119165119641493628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1119165119641493628'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/sql-sqlplus-interview-questions.html' title='SQL / SQLPlus Interview Questions'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7438464122132517079</id><published>2010-08-26T19:00:00.001+05:30</published><updated>2010-08-26T19:00:38.597+05:30</updated><title type='text'>Useful Oracle Queries</title><content type='html'>1) Display the name of employees along with their annual salary (sal*12) the name of the employee earning highest annual salary should appear first?&lt;br /&gt;Select ename, sal, sal*12 "Annual Salary" from EMP order by "Annual Salary" desc;&lt;br /&gt;2) Display name, salary, Hra, pf, da, TotalSalary for each employee. The out put should be in the order of total salary, hra 15% of salary, DA 10% of salary .pf 5% salary Total Salary will be (salary+hra+da)-pf?&lt;br /&gt;Select ename, sal SA, sal*0.15 HRA, sal*0.10 DA, sal*5/100 PF, sal+ (sal*0.15) + (sal*0.10) -(sal*.05) TOTALSALARY from emp ORDER BY TOTALSALARY DESC;&lt;br /&gt;3) Display Department numbers and total number of employees working in each Department?&lt;br /&gt;Select deptno, count (*) from emp group by deptno;&lt;br /&gt;4) Display the various jobs and total number of employees working in each job group?&lt;br /&gt;Select job, count (*) from emp group by job;&lt;br /&gt;5) Display department numbers and Total Salary for each Department?&lt;br /&gt;Select deptno, sum (sal) from emp group by deptno;&lt;br /&gt;6) Display department numbers and Maximum Salary from each Department?&lt;br /&gt;Select deptno, max (Sal) from emp group by deptno;&lt;br /&gt;7) Display various jobs and Total Salary for each job?&lt;br /&gt;Select job, sum (sal) from emp group by job;&lt;br /&gt;8)Display each job along with min of salary being paid in each job group?&lt;br /&gt;Select job, min (sal) from emp group by job;&lt;br /&gt;9) Display the department Number with more than three employees in each department?&lt;br /&gt;Select deptno, count (*) from emp group by deptno having count (*)&gt;3;&lt;br /&gt;10) Display various jobs along with total salary for each of the job where total salary is greater than 40000?&lt;br /&gt;Select job, sum (sal) from emp group by job having sum (Sal)&gt;40000;&lt;br /&gt;11) Display the various jobs along with total number of employees in each job. The output should contain only those jobs with more than three employees?&lt;br /&gt;Select job, count (*) from emp group by job having count (*)&gt;3;&lt;br /&gt;12) Display the name of employees who earn Highest Salary?&lt;br /&gt;select ename, sal from emp where sal&gt;=(select max(sal) from emp );&lt;br /&gt;13) Display the employee Number and name for employee working as clerk and earning highest salary among the clerks?&lt;br /&gt;select ename,empno from emp where sal=(select max(sal) from emp where job='CLERK') and job='CLERK' ;&lt;br /&gt;14) Display the names of salesman who earns a salary more than the Highest Salary of the Clerk?&lt;br /&gt;select ename,sal from emp where sal&gt;(select max(sal) from emp where job='CLERK') AND job='SALESMAN';&lt;br /&gt;15) Display the names of clerks who earn a salary more than the lowest Salary of any Salesman?&lt;br /&gt;select ename,sal from emp where sal&gt;(select min(sal) from emp where job='SALESMAN') and job='CLERK';&lt;br /&gt;16) Display the names of employees who earn a salary more than that of jones or that of salary greater than that of scott?&lt;br /&gt;select ename,sal from emp where sal&gt;all(select sal from emp where ename='JONES' OR ename='SCOTT');&lt;br /&gt;17) Display the names of employees who earn Highest salary in their respective departments?&lt;br /&gt;select ename,sal,deptno from emp where sal in (select max(sal) from emp group by deptno); &lt;br /&gt;18) Display the names of employees who earn Highest salaries in their respective job Groups?&lt;br /&gt;select ename,job from emp where sal in (select max(sal) from emp group by job);&lt;br /&gt;19)Display employee names who are working in Accounting department?&lt;br /&gt;select e.ename,d.dname from emp e,dept d where e.deptno=d.deptno and d.dname = 'ACCOUNTING';&lt;br /&gt;20) Display the employee names who are Working in Chicago?&lt;br /&gt;select e.ename,d.loc from emp e,dept d where e.deptno=d.deptno and d.loc='CHICAGO';&lt;br /&gt;21) Display the job groups having Total Salary greater than the maximum salary for Managers?&lt;br /&gt;select job ,sum(sal) from emp group by job having sum(sal) &gt;(select max(sal) from emp where job='MANAGER');&lt;br /&gt;22) Display the names of employees from department number 10 with salary greater than that of ANY employee working in other departments?&lt;br /&gt;select ename,deptno from emp where sal&gt;any(select min(sal) from emp where deptno!=10 group by deptno) and deptno=10 ;&lt;br /&gt;23) Display the names of employees from department number 10 with salary greater than that of ALL employee working in other departments?&lt;br /&gt;select ename,deptno from emp where sal&gt;all(select max(sal) from emp where deptno!=10 group by deptno) and deptno=10 ;&lt;br /&gt;24) Display the names of Employees in Upper Case?&lt;br /&gt;select upper(ename) from emp;&lt;br /&gt;25) Display the names of employees in Lower Case?&lt;br /&gt;select Lower(ename) from emp;&lt;br /&gt;26) Display the names of employees in Proper case?&lt;br /&gt;select InitCap(ename)from emp;&lt;br /&gt;27) Find the length of your name using Appropriate Function?&lt;br /&gt;select lentgh('RAMA') from dual;&lt;br /&gt;28) Display the length of all the employee names?&lt;br /&gt;select length(ename) from emp;&lt;br /&gt;29) Display the name of employee Concatinate with Employee Number?&lt;br /&gt;select ename' 'empno from emp;&lt;br /&gt;30) Use appropriate function and extract 3 characters starting from 2 characters from the following string 'Oracle' i.e., the out put should be ac?&lt;br /&gt;select substr('Oracle',3,2) from dual;&lt;br /&gt;31) Find the first occurance of character a from the following string Computer Maintenance Corporation?&lt;br /&gt;select lstr('Computer Maintenance Corporation','a' ) from dual;&lt;br /&gt;32) Replace every occurance of alphabet A with B in the string .Alliens (Use Translate function)&lt;br /&gt;select translate('Alliens','A','B') from Dual;&lt;br /&gt;33) Display the information from the employee table . where ever job Manager is found it should be displayed as Boss?&lt;br /&gt;select ename ,replace(job,'MANAGER','BOSS') from emp;&lt;br /&gt;34) Display empno,ename,deptno from emp table. Instead of display department numbers display the related department name(Use decode function)?&lt;br /&gt;select empno,ename,deptno,Decode(deptno,10,'ACCOUNTING',20, 'RESEARCH' ,30 , 'SALES','OPERATIONS')DName from emp;&lt;br /&gt;35) Display your Age in Days?&lt;br /&gt;select sysdate-to_date('30-jul-1977') from dual;&lt;br /&gt;36) Display your Age in Months?&lt;br /&gt;select months_between(sysdate,to_date('30-jul-1977')) from dual;&lt;br /&gt;37) Display current date as 15th August Friday Nineteen Nienty Seven?&lt;br /&gt;select To_char(sysdate,'ddth Month Day year') from dual;&lt;br /&gt;39) Scott has joined the company on 13th August ninteen ninety?&lt;br /&gt;select empno,ename,to_char(Hiredate,'Day ddth Month year') from emp;&lt;br /&gt;40) Find the nearest Saturday after Current date?&lt;br /&gt;select next_day(sysdate,'Saturday') from dual;&lt;br /&gt;41) Display the current time?&lt;br /&gt;select To_Char(sysdate,'HH:MI:SS') from dual;&lt;br /&gt;42) Display the date three months before the Current date?&lt;br /&gt;select Add_months(sysdate,-3) from dual&lt;br /&gt;43) Display the common jobs from department number 10 and 20?&lt;br /&gt;select job from emp where job in (select job from emp where deptno=20) and deptno=10;&lt;br /&gt;44) Display the jobs found in department 10 and 20 Eliminate duplicate jobs?&lt;br /&gt;select Distinct job from emp where deptno in(10,20);&lt;br /&gt;45) Display the jobs which are unique to department 10?&lt;br /&gt;select job from emp where deptno=10;&lt;br /&gt;46) Display the details of those employees who do not have any person working under him?&lt;br /&gt;select empno,ename,job from emp where empno not in (select mgr from emp where mgr is not null );&lt;br /&gt;47) Display the details of those employees who are in sales department and grade is 3?&lt;br /&gt;select e.ename,d.dname,grade from emp e,dept d ,salgrade where e.deptno=d.deptno and dname='SALES' and grade=3&lt;br /&gt;48) Display thoes who are not managers?&lt;br /&gt;select ename from emp where job!='MANAGER';&lt;br /&gt;49) Display those employees whose name contains not less than 4 characters?&lt;br /&gt;Select ename from emp where length (ename)&gt;=4&lt;br /&gt;50) Display those department whose name start with"S” while location name ends with "K"?&lt;br /&gt;Select e.ename, d.loc from emp e, dept d where d.loc like ('%K') and enamelike ('S%')&lt;br /&gt;51) Display those employees whose manager name is Jones?&lt;br /&gt;Select e.ename Superior, e1.ename Subordinate from emp e, e1 where e.empno = e1.mgr and e.ename='JONES'&lt;br /&gt;52) Display those employees whose salary is more than 3000 after giving 20% increment?&lt;br /&gt;Select ename, sal, (sal+(sal*0.20)) from emp where (sal+(sal*0.20))&gt;3000;&lt;br /&gt;53) Display all employees with their department names?&lt;br /&gt;Select e.ename, d.dname from emp e, dept d where e.deptno=d.deptno&lt;br /&gt;54) Display ename who are working in sales department?&lt;br /&gt;Select e.ename, d.dname from emp e, dept d where e.deptno=d.deptno and d.dname='SALES'&lt;br /&gt;55) Display employee name, dept name, salary, and commission for those sal in between 2000 to 5000 while location is Chicago?&lt;br /&gt;Select e.ename, d.dname, e.sal, e.comm from emp e, dept d where e.deptno=d.deptno and sal between 2000 and 5000&lt;br /&gt;56) Display those employees whose salary is greater than his manager’s salary?&lt;br /&gt;Select e.ename, e.sal, e1.ename, e1.sal from emp e, e1 where e.mgr=e1.empno and e.sal&gt;e1.sal&lt;br /&gt;57) Display those employees who are working in the same dept where his manager is work?&lt;br /&gt;Select e.ename, e.deptno, e1.ename, e1.deptno from emp e, e1 where e.mgr=e1.empno and e.deptno=e1.deptno&lt;br /&gt;58) Display those employees who are not working under any Manager?&lt;br /&gt;Select ename from emp where mgr is null;&lt;br /&gt;59) Display the grade and employees name for the deptno 10 or 30 but grade is not 4 while joined the company before 31-DEC-82?&lt;br /&gt;Select ename, grade, deptno, sal from emp, salgrade where (grade, Sal) in (select grade, Sal from salgrade, emp where sal between losal and hisal) and grade! =4 and deptno in (10,30) and hiredate&lt;'31-Dec-82'&lt;br /&gt;60) Update the salary of each employee by 10% increment that are not eligible for commission?&lt;br /&gt;Update emp set sal= (sal+(sal*0.10)) where comm is null&lt;br /&gt;61) Delete those employees who joined the company before 31-Dec-82 while their department Location is New York or Chicago?&lt;br /&gt;Select e.ename, e.hiredate, d.loc from emp e, dept d where e.deptno=d.deptno and hiredate&lt;'31-Dec-82' and d.loc in('NEW YORK','CHICAGO')&lt;br /&gt;62) Display employee name, job, deptname, and loc for all who are working as manager?&lt;br /&gt;Select e.ename, e.job, d.dname, d.loc from emp e, dept d where e.deptno=d.deptno&lt;br /&gt;and e.empno in (select mgr from emp where mgr is not null)&lt;br /&gt;63) Display those employees whose manager name is Jones and also display their manager name?&lt;br /&gt;Select e.ename sub, e1.ename from emp e, emp e1 where e.mgr=e1.empno and e1.ename='JONES'&lt;br /&gt;64) Display name and salary of ford if his salary is equal to hisal of his grade?&lt;br /&gt;Select ename, grade, hisal, sal from emp, salgrade where ename='FORD' and sal=hisal;&lt;br /&gt;OR&lt;br /&gt;Select grade, sal, hisal from emp, salgrade where ename='FORD' and sal between losal and hisal;&lt;br /&gt;OR&lt;br /&gt;Select ename, sal, hisal, grade from emp, salgrade where ename='FORD' and (grade, Sal) in (select grade, hisal from salgrade,emp where sal between losal and hisal);&lt;br /&gt;65) Display employee name, job, deptname, his manager name, his grade and make an under department wise?&lt;br /&gt;Select e.ename sub, e1.ename sup, e.job, d.dname, grade from emp e1, salgrade, dept d where e.mgr=e1.empno and e.sal between losal and hisal and e.deptno=d.deptno group by d.deptno, e.ename, e1.ename, e.job, d.dname, grade&lt;br /&gt;OR&lt;br /&gt;Select e.ename sub, e1.ename sup, e.job, d.dname, grade from emp e, e1, salgrade, dept d where e.mgr=e1.empno and e.sal between losal and hisal and e.deptno=d.deptno&lt;br /&gt;66) List out all the employee names, job, salary, grade and deptname for every one in a company except ‘CLERK’. Sort on salary display the highest salary?&lt;br /&gt;Select e.ename, e.job, e.sal, d.dname, grade from emp e, salgrade, dept d where (e.deptno=d.deptno and e.sal between losal and hisal) order by e.sal desc&lt;br /&gt;67) Display employee name, job and his manager. Display also employees who are with out managers?&lt;br /&gt;Select e.ename, e1.ename, e.job, e.sal, d.dname from emp e, emp e1, dept d where e.mgr=e1.empno (+) and e.deptno=d.deptno&lt;br /&gt;68) Display Top 5 employee of a Company?&lt;br /&gt;&lt;br /&gt;69) Display the names of those employees who are getting the highest salary?&lt;br /&gt;Select ename, sal from emp where sal in (select max (sal) from emp)&lt;br /&gt;70) Display those employees whose salary is equal to average of maximum and minimum? &lt;br /&gt;Select * from emp where sal=(select (max (sal)+min (sal))/2 from emp)&lt;br /&gt;71) Select count of employees in each department where count &gt;3?&lt;br /&gt;Select count (*) from emp group by deptno having count (*)&gt;3&lt;br /&gt;72) Display dname where atleast three are working and display only deptname?&lt;br /&gt;select d.dname from dept d, emp e where e.deptno=d.deptno group by d.dname having count(*)&gt;3&lt;br /&gt;73) Display name of those managers name whose salary is more than average salary of Company?&lt;br /&gt;Select distinct e1.ename, e1.sal from emp e, e1, dept d where e.deptno=d.deptno and e.mgr=e1.empno and e1.sal&gt; (select avg (sal) from emp)&lt;br /&gt;&lt;br /&gt;74) Display those managers name whose salary is more than average salary of his employees?&lt;br /&gt;Select distinct e1.ename, e1.sal from emp e, e1, dept d where e.deptno=d.deptno and e.mgr=e1.empno and e1.sal&gt;any (select avg (sal) from emp group by deptno)&lt;br /&gt;75) Display employee name, sal, comm and net pay for those employees whose net pay is greater than or equal to any other employee salary of the company?&lt;br /&gt;Select ename, sal, NVL (comm, 0), sal+NVL (comm, 0) from emp where sal+NVL (comm, 0) &gt;any (select e.sal from emp e)&lt;br /&gt;76) Display those employees whose salary is less than his manager but more than salary of other managers?&lt;br /&gt;Select e.ename sub, e.sal from emp e, e1, dept d where e.deptno=d.deptno and e.mgr=e1.empno and e.salany (select e2.sal from emp e2, e, dept d1 where e.mgr=e2.empno and d1.deptno=e.deptno)&lt;br /&gt;77) Display all employees’ names with total sal of company with each employee name?&lt;br /&gt;&lt;br /&gt;78) Find the last 5(least) employees of company?&lt;br /&gt;&lt;br /&gt;79) Find out the number of employees whose salary is greater than their managers salary?&lt;br /&gt;Select e.ename, e.sal, e1.ename, e1.sal from emp e, e1, dept d where e.deptno=d.deptno and e.mgr=e1.empno and e.sal&gt;e1.sal&lt;br /&gt;80) Display the manager who are not working under president but they are working under any other manager?&lt;br /&gt;Select e2.ename from emp e1, emp e2, emp e3 where e1.mgr=e2.empno and e2.mgr=e3.empno and e3.job! ='PRESIDENT';&lt;br /&gt;81) Delete those department where no employee working?&lt;br /&gt;Delete from emp where empno is null;&lt;br /&gt;82) Delete those records from emp table whose deptno not available in dept table?&lt;br /&gt;Delete from emp e where e.deptno not in (select deptno from dept)&lt;br /&gt;83) Display those enames whose salary is out of grade available in salgrade table?&lt;br /&gt;Select empno, sal from emp where sal&lt;(select min (LOSAL) from salgrade) OR sal&gt;(select max (hisal) from salgrade)&lt;br /&gt;84) Display employee name, sal, comm and whose net pay is greater than any other in the company?&lt;br /&gt;Select ename, sal, comm, sal+comm from emp where sal+comm&gt;any (select sal+comm from emp) &lt;br /&gt;85) Display name of those employees who are going to retire 31-Dec-99 if maximum job period is 30 years?&lt;br /&gt;Select empno, hiredate, sysdate, to_char (sysdate,'yyyy') - to_char (hiredate,'yyyy') from emp where to_char (sysdate,'yyyy') - to_char (hiredate,'yyyy')=30 &lt;br /&gt;86) Display those employees whose salary is odd value?&lt;br /&gt;Select ename, sal from emp where mod (sal, 2)! =0&lt;br /&gt;87) Display those employees whose salary contains atleast 3 digits?&lt;br /&gt;Select ename, sal from emp where length (sal)=3&lt;br /&gt;&lt;br /&gt;88) Display those employees who joined in the company in the month of Dec?&lt;br /&gt;Select empno, ename from emp where trim (to_char (hiredate,'Mon'))=trim ('DEC') &lt;br /&gt;89) Display those employees whose name contains A?&lt;br /&gt;Select ename from emp where ename like ('%A%')&lt;br /&gt;90) Display those employees whose deptno is available in salary?&lt;br /&gt;Select ename, sal from emp where deptno in (select distinct sal from emp);&lt;br /&gt;91) Display those employees whose first 2 characters from hiredate - last 2 characters sal?&lt;br /&gt;Select empno, hiredate, sal from emp where trim (substr (hiredate, 1,2))=trim (substr (sal, -2,2));&lt;br /&gt;OR&lt;br /&gt;Select hiredate, sal from emp where to_Char (hiredate,'dd')=trim (substr (sal, -2,2))&lt;br /&gt;92) Display those employees whose 10% of salary is equal to the year joining?&lt;br /&gt;Select ename, sal, 0.10*sal from emp where 0.10*sal=trim (to_char (hiredate,'yy'))&lt;br /&gt;93) Display those employees who are working in sales or research?&lt;br /&gt;Select e.ename from emp e, dept d where e.deptno=d.deptno and d.dname in ('SALES','RESEARCH'); &lt;br /&gt;94) Display the grade of Jones?&lt;br /&gt;Select ename, grade from emp, salgrade where (grade, Sal) =(select grade, Sal from salgrade, emp where sal between losal and hisal and ename='JONES')&lt;br /&gt;95) Display those employees who joined the company before 15th of the month?&lt;br /&gt;select ename ,hiredate from emp where hiredate&lt;'15-Jul-02' and hiredate &gt;='01-jul-02';&lt;br /&gt;96) Display those employees who has joined before 15th of the month?&lt;br /&gt;select ename ,hiredate from emp where hiredate&lt;'15-Jul-02' &lt;br /&gt;97) Delete those records where no of employees in particular department is less than 3?&lt;br /&gt;delete from emp where deptno in (select deptno from emp group by deptno having count(*) &lt;3&lt;br /&gt;98) Delete those employeewho joined the company 10 years back from today?&lt;br /&gt;delete from emp where empno in (select empno from emp where to_char(sysdate,'yyyy')- to_char(hiredate,'yyyy')&gt;=10)&lt;br /&gt;99) Display the deptname the number of characters of which is equal to no of employee in any other department?&lt;br /&gt;&lt;br /&gt;100) Display the deptname where no employee is working?&lt;br /&gt;select deptno from emp where empno is null;&lt;br /&gt;101) Display those employees who are working as manager?&lt;br /&gt;select e2.ename from emp e1,e2 where e1.mgr=e2.empno and e2.empno is not null&lt;br /&gt;102) Count th number of employees who are working as managers (Using set opetrator)?&lt;br /&gt;select d.dname from dept d where length(d.dname) in (select count(*) from emp e where e.deptno!=d.deptno group by e.deptno)&lt;br /&gt;103) Display the name of the dept those employees who joined the company on the same date?&lt;br /&gt;select a.ename,b.ename from emp a,emp b where a.hiredate=b.hiredate and a.empno!=b.empno&lt;br /&gt;104) Display those employees whose grade is equal to any number of sal but not equal to first number of sal?&lt;br /&gt;select ename,sal,grade ,substr(sal,grade,1) from emp,salgrade where grade!= substr (sal,1,1) and grade = substr(sal,grade,1) and sal between losal and hisal&lt;br /&gt;105) Count the no of employees working as manager using set operation?&lt;br /&gt;Select count(empno) from emp where empno in (select a.empno from emp a intersect select b.mgr from emp b)&lt;br /&gt;106) Display the name of employees who joined the company on the same date?&lt;br /&gt;select a.ename,b.ename from emp a,emp b where a.hiredate=b.hiredate and a.empno!=b.empno; &lt;br /&gt;107) Display the manager who is having maximum number of employees working under him?&lt;br /&gt;select e2.ename,count(*) from emp e1,e2 where e1.mgr=e2.empno group by e2.ename Having count(*)=(select max(count(*)) from emp e1,e2 where e1.mgr=e2.empno group by e2.ename) &lt;br /&gt;108) List out the employee name and salary increased by 15% and express as whole number of Dollars?&lt;br /&gt;select ename,sal,lpad(translate(sal,sal,((sal +(sal*0.15))/50)),5,'$') from emp &lt;br /&gt;147) Produce the output of the emptable "EMPLOYEE_AND JOB" for ename and job ?&lt;br /&gt;Ans: select ename"EMPLOYEE_AND",job"JOB" FROM EMP;&lt;br /&gt;148) List of employees with hiredate in the format of 'June 4 1988'?&lt;br /&gt;Ans: select ename,to_char(hiredate,'Month dd yyyy') from emp;&lt;br /&gt;149) print list of employees displaying 'Just salary' if more than 1500 if exactly 1500 display 'on taget' if less than 1500 display below 1500?&lt;br /&gt;Ans: select ename,sal,&lt;br /&gt;(&lt;br /&gt;case when sal &lt; 1500 then&lt;br /&gt;'Below_Target'&lt;br /&gt;when sal=1500 then&lt;br /&gt;'On_Target'&lt;br /&gt;when sal &gt; 1500 then&lt;br /&gt;'Above_Target'&lt;br /&gt;else&lt;br /&gt;'kkkkk'&lt;br /&gt;end&lt;br /&gt;)&lt;br /&gt;from emp&lt;br /&gt;150) Which query to calculate the length of time any employee has been with the company&lt;br /&gt;Ans: select hiredate, to_char (hiredate,' HH:MI:SS') FROM emp&lt;br /&gt;151) Given a string of the format 'nn/nn' . Verify that the first and last 2 characters are numbers. And that the middle character is '/' Print the expressions 'Yes' IF valid ‘NO’ of not valid. Use the following values to test your solution'12/54', 01/1a, '99/98'? &lt;br /&gt;Ans: &lt;br /&gt;&lt;br /&gt;152) Employes hire on OR Before 15th of any month are paid on the last friday of that month those hired after 15th are paid the last friday of th following month .print a list of employees .their hiredate and first pay date sort those who se salary contains first digit of their deptno?&lt;br /&gt;Ans: select ename,hiredate, LAST_DAY ( next_day(hiredate,'Friday')),&lt;br /&gt;(&lt;br /&gt;case when to_char(hiredate,'dd') &lt;=('15') then&lt;br /&gt;LAST_DAY ( next_day(hiredate,'Friday'))&lt;br /&gt;when to_char(hiredate,'dd')&gt;('15') then&lt;br /&gt;LAST_DAY( next_day(add_months(hiredate,1),'Friday'))&lt;br /&gt;end&lt;br /&gt;)&lt;br /&gt;from emp&lt;br /&gt;&lt;br /&gt;153) Display those managers who are getting less than his employees salary?&lt;br /&gt;Ans: select a.empno, a.ename, a.sal, b.sal, b.empno, b.ename from emp a, emp b where a.mgr=b.empno and a.sal&gt;b.sal&lt;br /&gt;&lt;br /&gt;154) Print the details of employees who are subordinates to BLAKE?&lt;br /&gt;Ans: select a.empno,a.ename ,b.ename from emp a, emp b where a.mgr=b.empno&lt;br /&gt;and b.ename='BLAKE'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7438464122132517079?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7438464122132517079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7438464122132517079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7438464122132517079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7438464122132517079'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/useful-oracle-queries.html' title='Useful Oracle Queries'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-715063175970405006</id><published>2010-08-26T18:57:00.000+05:30</published><updated>2010-08-26T18:58:12.378+05:30</updated><title type='text'>FIXED ASSETS</title><content type='html'>FIXED ASSETS&lt;br /&gt;&lt;br /&gt;1. What is unplanned depreciation? &lt;br /&gt;Answer: Unplanned depreciation is a feature used primarily to comply with special&lt;br /&gt;depreciation accounting rules in Germany and the Netherlands. However, you&lt;br /&gt;also can use this feature to handle unusual accounting situations in which&lt;br /&gt;you need to adjust the net book value and accumulated depreciation amounts&lt;br /&gt;for an asset without affecting its cost. Oracle Assets immediately updates&lt;br /&gt;the YTD and LTD depreciation and the net book value of the asset. The&lt;br /&gt;unplanned depreciation expense you enter must not exceed the current net&lt;br /&gt;book value (Cost - Salvage Value - Accumulated Depreciation) of the asset.&lt;br /&gt;2. Can depreciation be suspended for a specified period of time?&lt;br /&gt;Answer: Depreciation can be suspended at any time by changing the depreciate flag&lt;br /&gt;on the book form to NO. Note that the total depreciation to be taken over&lt;br /&gt;the life of the asset (including that incurred in periods the flag was set&lt;br /&gt;to NO) will still be taken over the original life assigned to the asset. If&lt;br /&gt;the asset was added with the depreciate flag set to NO, missed depreciation&lt;br /&gt;will be caught up in the period the flag is changed to YES. If the asset&lt;br /&gt;was added with the depreciate flag set to YES and the flag was later changed&lt;br /&gt;to NO, the missed depreciation will be caught up in the last period of the&lt;br /&gt;asset's ORIGINAL life; suspending depreciation will not extend the period&lt;br /&gt;over which the asset is depreciated. &lt;br /&gt;The Depreciate flag can also be set at the category level.&lt;br /&gt;If you set the depreciate flag at the asset level, this will override the category&lt;br /&gt;depreciate flag which is the default. &lt;br /&gt;If the intention is to never have the asset Depreciate then the flag Depreciate&lt;br /&gt;flag should be set to 'No' for the life of the asset or the asset can be entered&lt;br /&gt;into the system fully reserved.&lt;br /&gt;3. Can depreciation expense be manually input to override the system?&lt;br /&gt;Answer: Depreciation reserve adjustments can be made to a TAX book. From Release&lt;br /&gt;10.7, with unplanned depreciation you may manually override the depreciation&lt;br /&gt;amount taken in the Corporate book. The depreciation amount cannot be&lt;br /&gt;greater than the net book value of the asset.&lt;br /&gt;4. How does the Depreciate When Placed In Service flag on my prorate&lt;br /&gt;convention affect the calculation and allocation of depreciation?&lt;br /&gt;Answer: With the exception of the method type Calculated Straight Line,&lt;br /&gt;depreciation for the year is calculated based on the prorate date which maps&lt;br /&gt;to a prorate period and rate on the prorate calendar. This total amount is&lt;br /&gt;then allocated back to the individual periods in the year. If this flag is&lt;br /&gt;set to NO, the years depreciation will be spread over the periods beginning&lt;br /&gt;with the prorate date. If the flag is set to YES, the years depreciation&lt;br /&gt;will be spread over the periods beginning with the date placed in service.&lt;br /&gt;Note that total depreciation for the year remains unchanged, only&lt;br /&gt;depreciation per period will differ.&lt;br /&gt;When the method type Calculated Straight Line is used, this flag has no&lt;br /&gt;effect. Yearly depreciation will be calculated as recoverable cost/life,&lt;br /&gt;and allocated beginning with the prorate date.&lt;br /&gt;5. GAAP defines two types of changes; changes in estimates which are to be&lt;br /&gt;handled prospectively and errors which are to be retroactively corrected. &lt;br /&gt;What Oracle functionality addresses these?&lt;br /&gt;Answer: Expense an adjustment for correction of an error, amortize the adjustment&lt;br /&gt;for a change in estimate.&lt;br /&gt;6. How do I set up Oracle Assets to charge a half-month's depreciation in the&lt;br /&gt;first and last periods of the assets life?&lt;br /&gt;Answer: You must do the following:&lt;br /&gt;a. Set up a prorate CALENDAR with semi-monthly periods. So your prorate&lt;br /&gt;calendar will have 24 periods per fiscal year.&lt;br /&gt;Example:&lt;br /&gt;Period 1: Jan 01 - Jan 15&lt;br /&gt;Period 2: Jan 16 - Jan 31&lt;br /&gt;Period 3: Feb 01 - Feb 15&lt;br /&gt;Period 4: Feb 16 - Feb 28&lt;br /&gt;Period 5: Mar 01 - Mar 15 ...&lt;br /&gt;&lt;br /&gt;b. Set up a prorate CONVENTION that maps the appropriate dates to the&lt;br /&gt;middle of the month.&lt;br /&gt;Example:&lt;br /&gt;Jan 01 - Jan 31 map to Jan 16&lt;br /&gt;Feb 01 - Feb 28 map to Feb 16&lt;br /&gt;Mar 01 - Mar 31 map to Mar 16 ...&lt;br /&gt;&lt;br /&gt;c. Assign your book to the appropriate prorate CALENDAR in the Book&lt;br /&gt;Controls form. (You will also probably want it to depreciate EVENLY).&lt;br /&gt;&lt;br /&gt;d. Set the default prorate convention to the appropriate mid-month&lt;br /&gt;convention in the Default Depreciation Rules zone of the Asset&lt;br /&gt;Categories form. You can also specify the prorate CONVENTION in the&lt;br /&gt;Books window during the Detail Additions process.&lt;br /&gt;&lt;br /&gt;Now when the depreciation program processes an asset whose date placed in&lt;br /&gt;service is Jan 10, it will use the prorate convention to map that date to a&lt;br /&gt;PRORATE DATE of Jan 16, and it will use the prorate date to map to&lt;br /&gt;PRORATE PERIOD #2 in your prorate calendar. Thus, if you are running&lt;br /&gt;depreciation for January (note that your DEPRECIATION CALENDAR can still&lt;br /&gt;be monthly), you will get half a month's worth of depreciation for January.&lt;br /&gt;&lt;br /&gt;*** It is not enough to set the prorate convention to a mid-month convention -&lt;br /&gt;*** you must also set the prorate CALENDAR to be semi-monthly.&lt;br /&gt;7. What is the difference between the new What-If feature and the old&lt;br /&gt;depreciation projections functionality?&lt;br /&gt;Answer: Using What-If Analysis, you can model depreciation scenarios for any number&lt;br /&gt;of future periods based on depreciation attributes different from what you&lt;br /&gt;have currently set up for the asset. Hence the name: What If Analysis.&lt;br /&gt;&lt;br /&gt;Using Depreciation Projection, you can project depreciation expense based&lt;br /&gt;on the asset's current depreciation method, life, etc.&lt;br /&gt;&lt;br /&gt;Additionally, What-If Analysis is very flexible in allowing you to select a&lt;br /&gt;subset of assets for analysis. Selection criteria include Range of Asset&lt;br /&gt;Numbers, Range of Dates Placed in Service, Asset Category etc. For&lt;br /&gt;Depreciation Projections, you must specify a BOOK and the program selects&lt;br /&gt;all active assets for that book.&lt;br /&gt;8. When I run depreciation I get the following error:&lt;br /&gt;"Error: function fafbgcc returned failure (called from fadoflx) Getting&lt;br /&gt;account CCID"&lt;br /&gt;How do I correct this problem?&lt;br /&gt;Answer: Set the profile options FA:PRINT_DEBUG and FA:DEPRN SINGLE to YES and&lt;br /&gt;rerun depreciation. Make note of the asset number and distribution id.&lt;br /&gt;Depreciation tries to build a code combination id (CCID) for one of the&lt;br /&gt;following:&lt;br /&gt;&lt;br /&gt;Asset Cost Account/CIP Cost Acct (Current Period Asset Clearing&lt;br /&gt;Account)/CIP Clearing Acct (Current Period Adds) Depreciation Expense&lt;br /&gt;Account (Prior Period Additions)&lt;br /&gt;&lt;br /&gt;Check whether Allow Dynamic Inserts is being allowed for the Accounting&lt;br /&gt;Flexfield (AFF).&lt;br /&gt;Navigation:&lt;br /&gt;Setup -&gt; Financials -&gt; Flexfields -&gt; Segments -&gt; Key&lt;br /&gt;Query for Oracle General Ledger - Accounting Flexfield&lt;br /&gt;If the Allow Dynamic Inserts box is not checked, unfreeze the flexfield&lt;br /&gt;definition, check the box, refreeze and Compile. If it is already checked,&lt;br /&gt;that means the combination generated is not valid. To find out what&lt;br /&gt;combination is being generated, do the following: &lt;br /&gt;&lt;br /&gt;Find out which category the asset belongs to by querying for the asset in&lt;br /&gt;the Asset Workbench (Navigation: Assets -&gt; Asset Workbench). Then query for&lt;br /&gt;the asset category/book combination in the Asset Categories form&lt;br /&gt;(Navigation: Setup -&gt; Asset System -&gt; Asset Categories). Using the Help -&gt;&lt;br /&gt;Tools -&gt; Examine function from the menu, get the following information:&lt;br /&gt;&lt;br /&gt;Account segment value for Asset Cost/Cost Clearing accounts&lt;br /&gt;(or CIP Cost/CIP Clearing accounts if asset is CIP)&lt;br /&gt;Code combination id (CCID) associated with these accounts&lt;br /&gt;&lt;br /&gt;From the Book Controls form, you need to get the Default CCID for the&lt;br /&gt;book utilizing Help -&gt; Tools -&gt; Examine method&lt;br /&gt;(N)Setup -&gt; Asset System -&gt; Book Controls.&lt;br /&gt;&lt;br /&gt;From the Inquiry/Financial Information form, you need to get the&lt;br /&gt;distribution CCID for the asset utilizing the same method&lt;br /&gt;(N)Inquiry -&gt; Financial Information -&gt; Assignments form.&lt;br /&gt;&lt;br /&gt;Once you have the parameters, in Release 11 run the script faxagtst.sql&lt;br /&gt;to see what combination is getting built and why it is failing.&lt;br /&gt;For details on using faxagtst.sql, see Note 1062849.6&lt;br /&gt;&lt;br /&gt;In Release 10.7, you will need to perform a Flexbuilder Test in the&lt;br /&gt;application.&lt;br /&gt;(N)Setup -&gt; Financials -&gt; Flexfields -&gt; Flexbuilder -&gt; Test&lt;br /&gt;9. What depreciation methods are supported within Oracle Assets?&lt;br /&gt;Answer: You may choose from the following:&lt;br /&gt;Straight-line&lt;br /&gt;Declining balance&lt;br /&gt;Sum-of-year's digits&lt;br /&gt;Units of production&lt;br /&gt;ACRS and MACRS&lt;br /&gt;Flat rate&lt;br /&gt;Diminishing value&lt;br /&gt;Bonus depreciation&lt;br /&gt;In Release 11i, you will also be able to create formula-based methods&lt;br /&gt;for depreciation.&lt;br /&gt;10. When should I run the depreciation program?&lt;br /&gt;Answer: For Release 10.7 and 11:&lt;br /&gt;You should run depreciation when you are ready to close your depreciation&lt;br /&gt;period. Depreciation cannot be rolled back once run. Since the depreciation&lt;br /&gt;program closes the period, you should make sure that you entered all your&lt;br /&gt;transactions for the current period. If you forget to enter a transaction in&lt;br /&gt;the current period, you can enter a retroactive addition, transfer, or&lt;br /&gt;retirement transaction in the following period. Oracle Assets will not&lt;br /&gt;calculate adjustments to depreciation until you run depreciation again.&lt;br /&gt;&lt;br /&gt;For Release 11i:&lt;br /&gt;You can now run Depreciation as many times as you would like without closing&lt;br /&gt;the period. When you are ready to close the period, on your final&lt;br /&gt;Depreciation run, you would check the Close Period button on the form.&lt;br /&gt;You have the capability in 11i to rollback depreciation. So if you run&lt;br /&gt;Depreciation and you do not like the results, you can rollback Depreciation,&lt;br /&gt;make your changes, and submit Depreciation again. Once the final Depreciation&lt;br /&gt;has been run and the period is closed, you cannot rollback Depreciation for&lt;br /&gt;the period. If you are closing the last period for a fiscal year, you cannot&lt;br /&gt;enter a retroactive retirement for a period after the end of the year.&lt;br /&gt;11. How often can I run depreciation?&lt;br /&gt;Answer: For Release 10.7 and 11:&lt;br /&gt;You can run depreciation only once per depreciation period. When you run&lt;br /&gt;depreciation and close the period, you cannot reopen that period. You must&lt;br /&gt;run depreciation for each corporate and tax book; Oracle Assets does not run&lt;br /&gt;depreciation automatically for a tax book when you run depreciation for the&lt;br /&gt;associated corporate book. Run Mass Copy to update your tax book prior to&lt;br /&gt;running depreciation for the tax book.&lt;br /&gt;&lt;br /&gt;For Release 11i:&lt;br /&gt;You can run Depreciation as many times as you like. When you are ready to&lt;br /&gt;close the period, on your last Depreciation run, check the Close Period&lt;br /&gt;box on the Run Depreciation form.&lt;br /&gt;12. What happens if I run depreciation when there are retirements or&lt;br /&gt;reinstatements pending?&lt;br /&gt;Answer:&lt;br /&gt;When you submit depreciation, the process automatically runs the Calc&lt;br /&gt;Gain/Loss (FARET) program to calculate gains and losses for any pending&lt;br /&gt;retirements. You also can run FARET independently in order to reduce&lt;br /&gt;depreciation processing time. &lt;br /&gt;13. What is the difference between depreciation projections and depreciation?&lt;br /&gt;Answer: Depreciation projections use a completely separate set of modules than the&lt;br /&gt;Depreciation program. Depreciation projections do not take into account&lt;br /&gt;adjustments entered in the current period, so any new retirements, transfers,&lt;br /&gt;or adjustments will not effect the projection. Projections simply take a&lt;br /&gt;snapshot of the asset at the start date of the projection and project&lt;br /&gt;depreciation expense based on that information.&lt;br /&gt;14. What happens if depreciation encounters an error? How do I proceed?&lt;br /&gt;Answer: For Release 10.7 and 11:&lt;br /&gt;If the depreciation program encounters an error, the program will stop and&lt;br /&gt;perform a rollback to the previous commit. The program automatically resets&lt;br /&gt;the DEPRN_RUNNING_FLAG to NO. If the error is straight forward, such as&lt;br /&gt;Out of rollback segments, you can try to correct the error and then resubmit&lt;br /&gt;the depreciation program. If the error is more serious, such as an operating&lt;br /&gt;system error, you should contact Support before taking any further actions.&lt;br /&gt;&lt;br /&gt;For Release 11i:&lt;br /&gt;If the Depreciation program encounters and error, it will continue to&lt;br /&gt;process all of the assets. The errored assets will appear in your logfile&lt;br /&gt;so that you can fix them and resubmit Depreciation. Depreciation will then&lt;br /&gt;only process the corrected assets.&lt;br /&gt;15. What can I do to reduce processing time for the depreciation program?&lt;br /&gt;Answer: Run Calc Gain/Loss several times throughout the period (this can be run&lt;br /&gt;as often as you want). Then, when you finally run depreciation, the&lt;br /&gt;Calc Gain/Loss program will process only the remaining retirements or&lt;br /&gt;reinstatements. Ensure that your tables are not fragmented. Ask your&lt;br /&gt;database administrator (DBA) to check for fragmentation problems. If&lt;br /&gt;fragmentation exists, have the DBA export and reimport the tables, or&lt;br /&gt;recreate them.&lt;br /&gt;&lt;br /&gt;For Release 11 and 11i:&lt;br /&gt;In addition to running Calculate Gains and Losses throughout the period,&lt;br /&gt;run the Generate Accounts program before running Depreciation (N)Other&lt;br /&gt;-&gt; Requests -&gt; Run. This will create the new code combinations needed so&lt;br /&gt;that when you run Depreciation, the Generate Accounts program will not&lt;br /&gt;detect any new asset with code combinations that need to be built, which&lt;br /&gt;will greatly enhance overall performance.&lt;br /&gt;&lt;br /&gt;For 11i customers, if the concurrent program (FAGDA) does not appear in the LOV&lt;br /&gt;using Standard Report Submission (SRS) form, then please see Note 124955.1.&lt;br /&gt;16. How does the depreciation program handle the end of a fiscal year?&lt;br /&gt;Answer: At the end of a fiscal year, the depreciation program runs a short module&lt;br /&gt;to prepare Oracle Assets for the next fiscal year. This module runs&lt;br /&gt;automatically during the depreciation program. The fiscal years program&lt;br /&gt;runs if the current period is the last period in the fiscal year. This&lt;br /&gt;occurs when the period number of the current period = NUMBER_PER_FISCAL_YEAR&lt;br /&gt;in the table FA_CALENDAR_TYPES. The fiscal years program checks if there are&lt;br /&gt;rows defined for the next fiscal year in FA_DEPRN_PERIODS, FA_FISCAL_YEAR,&lt;br /&gt;FA_CALENDAR_PERIODS, and FA_CONVENTIONS. If rows do not already&lt;br /&gt;exist, the fiscal years program creates them.&lt;br /&gt;&lt;br /&gt;For Release 11i:&lt;br /&gt;Because of changes for the formula-based depreciation methods, you are now&lt;br /&gt;required to create your fiscal year and calendars for the current fiscal&lt;br /&gt;year + 1. Otherwise, you will be unable to run depreciation successfully.&lt;br /&gt;17. What is the process flow for running Depreciation in 11i?&lt;br /&gt;Answer:There have been several changes made by development to make the Depreciation/Create&lt;br /&gt;Journals Process go much smoother for 11i. To take advantage of these changes, you must be on minipack H (2115788) and stand alone Patch 2130639.&lt;br /&gt;In 11i, you may run Depreciation without closing the period. This allows you to check Depreciation&lt;br /&gt;and make any necessary adjustments before closing the period. &lt;br /&gt;The process should be:&lt;br /&gt;1. Run Depreciation (without closing the period)&lt;br /&gt;2. Run Create Journals&lt;br /&gt;3. Review reports in FA and GL to determine if everything look correct&lt;br /&gt;If everything is correct,&lt;br /&gt;- Resubmit Depreciation (closing the period)&lt;br /&gt;- Create Journals does not need to be ran again&lt;br /&gt;If corrections are necessary,&lt;br /&gt;- Rollback Journals&lt;br /&gt;- Rollback Depreciation&lt;br /&gt;- Make corrections&lt;br /&gt;- Repeat steps 1-3.&lt;br /&gt;With the application of the new code mentioned above, if you try to rollback&lt;br /&gt;Depreciation without rolling back Create Journals, Rollback Depreciation will&lt;br /&gt;error telling you that you need to rollback Create Journals.&lt;br /&gt;18. What is the difference between the 'B' row and the 'D' row in the&lt;br /&gt;FA_DEPRN_DETAIL table?&lt;br /&gt;Answer:The 'B' (Books) row is added to the FA_DEPRN_DETAIL table when the asset is added&lt;br /&gt;to Oracle Assets. There will only be one Books row per distribution in the&lt;br /&gt;FA_DEPRN_DETAIL table. The 'D' (Depreciation) rows are added when Depreciation&lt;br /&gt;is ran. There will be one row for each period and distribution that&lt;br /&gt;Depreciation is ran for.&lt;br /&gt;19. What is the Depreciation Adjustment account used for?&lt;br /&gt;Answer:When you use the functionality of Tax Reserve Adjustment for the prior fiscal&lt;br /&gt;of a Tax book the Depreciation Adjustment Account is used.&lt;br /&gt;20. How can I add assets to a closed period (after Depreciation has been ran)?&lt;br /&gt;Answer:Many types of transactions within Oracle Assets can be entered with&lt;br /&gt;retro-active effective dates - (please consult the User Guide to see&lt;br /&gt;if this is possible for the transactions you wanted to enter).&lt;br /&gt;For the period accidentally closed in Assets, you can accrue for the&lt;br /&gt;financial impact of these transactions using manual GL journals.&lt;br /&gt;Oracle Assets will then catch up any financial impact of the transactions&lt;br /&gt;when you Create Journal Entries for the next period. You can then reverse&lt;br /&gt;out your accruals.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-715063175970405006?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/715063175970405006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=715063175970405006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/715063175970405006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/715063175970405006'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/fixed-assets.html' title='FIXED ASSETS'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6760039406423596866</id><published>2010-08-26T18:47:00.001+05:30</published><updated>2010-08-26T18:47:23.383+05:30</updated><title type='text'>OTC</title><content type='html'>Order cycle&lt;br /&gt;1.customer sends details of order or sales dept brings order from customer.&lt;br /&gt;2.Enter the order in Sales order (SO)&lt;br /&gt;3.Book an SO&lt;br /&gt;4.Check for ATP (Available to promise)&lt;br /&gt;5. Check for CTP (Capable to Promise) and CTD (capable to deliver)&lt;br /&gt;6.Schedule SOship date&lt;br /&gt;7.Send SO Acknowledgement&lt;br /&gt;8.Resolve SO Holds&lt;br /&gt;9.Release Credit Holds (Go to SO actions tab and release hold or increase the credit amount in customers-&gt;&gt;standard--&gt;&gt;profile:amount)&lt;br /&gt;10.Pick material (Pick release material from Inventory)&lt;br /&gt;11.Pick wave MO is generated by system and material is moved to staging&lt;br /&gt;12.prepare material for shipment (Packing)&lt;br /&gt;13.Load Material&lt;br /&gt;14.Ship material (Send ship documentslike bill of lading,customer invoice,packing list,vehicle load sheet)&lt;br /&gt;15.Generate invoice in AR AR-&gt; setup-&gt; Auto invoice and send it to cus.&lt;br /&gt;16.customer followup (calling customer thruphone,Dunning letters etc)&lt;br /&gt;17.Customer payment aganist the invoice and receive payment&lt;br /&gt;18.Financial reconcilation (reconsile shipment and payment done by customer)&lt;br /&gt;Order to cash life cycle contains following steps&lt;br /&gt;Order Entry --&gt; OrderBooked --&gt; Pick release --&gt; Ship confirm --&gt; Auto invoice&lt;br /&gt;--&gt; invoice --&gt; Receipt --&gt; Bank Reconcilations&lt;br /&gt;&lt;br /&gt;Steps in Order management&lt;br /&gt;Enter the sales orderBook the sales order&lt;br /&gt;Steps in Shipping exexution&lt;br /&gt;release the sales order for picking&lt;br /&gt;Ship confirm the sales order&lt;br /&gt;Steps in Receivables&lt;br /&gt;Run auto invoiceInvoiceBank Reconcilation&lt;br /&gt;&lt;br /&gt;Technical point of o2c(order to cash) is as follows&lt;br /&gt;first we setup the customer,tax category details,item details,pricing definitions,payment terms,freight terms and then only we can order the product.&lt;br /&gt;for set up main base tables are&lt;br /&gt;RA_CUSTOMERS,&lt;br /&gt;RA_ADDRESSES,&lt;br /&gt;RA_CUST_SITE_USES_ALL&lt;br /&gt;then go for the order entry&lt;br /&gt;here effected tables are&lt;br /&gt;OE_ORDER_HEADERS_ALL,&lt;br /&gt;OE_ORDER_LINES_ALL&lt;br /&gt;flow_status_code for both tables will be 'ENTER'&lt;br /&gt;then book the order&lt;br /&gt;flow_status_code for both tables of&lt;br /&gt;OE_ORDER_HEADERS_ALL,&lt;br /&gt;OE_ORDER_LINES_ALLwill be 'Booked'&lt;br /&gt;WSH_DELIVERY_DETAILS,&lt;br /&gt;WSH_DELIVERY_ASSIGNMENTS will be going to effect.&lt;br /&gt;the pick release&lt;br /&gt;the flow_status_code for OE_ORDER_HEADERS_ALL will be 'BOOKED"&lt;br /&gt;and flow_status_code for OE_ORDER_LINES_ALL will be 'awaiting shipping"&lt;br /&gt;pick conform&lt;br /&gt;flow_status_code for both tables of OE_ORDER_HEADERS_ALL,&lt;br /&gt;OE_ORDER_LINES_ALL will be 'PICKED'&lt;br /&gt;ship conform&lt;br /&gt;flow_status_code for both tables of OE_ORDER_HEADERS_ALL,&lt;br /&gt;OE_ORDER_LINES_ALL will be 'SHIPPED'&lt;br /&gt;here in WSH_NEW_ASSIGNMENTS the status_code is 'CL' then the order details are conformed and otherwise it is 'Open' stage&lt;br /&gt;here in WSH_DELIVERY_DETAILS the oe_interface_flag is 'Y' then the order is closed and if it is 'N' it is an error in the order line details and we need to assign line level order details&lt;br /&gt;once the shipping is conformed invoice will be generated&lt;br /&gt;the effected tables are RA_CUSTOMER_TRX_ALL,RA_CUSTOMER_TRX_LINES_ALL&lt;br /&gt;this is O2C&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6760039406423596866?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6760039406423596866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6760039406423596866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6760039406423596866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6760039406423596866'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/otc.html' title='OTC'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4845221305137212453</id><published>2010-08-26T18:46:00.001+05:30</published><updated>2010-08-26T18:46:42.336+05:30</updated><title type='text'>API's</title><content type='html'>API's&lt;br /&gt;FND_PROGRAM.EXECUTABLE ( )&lt;br /&gt;FND_PROGRAM.DELETE_EXECUTABLE( )&lt;br /&gt;FND_PROGRAM.REGISTER( )&lt;br /&gt;FND_PROGRAM.DELETE_PROGRAM( )&lt;br /&gt;FND_PROGRAM.PARAMETER( )&lt;br /&gt;FND_PROGRAM.DELETE_PARAMETER( )&lt;br /&gt;FND_PROGRAM.INCOMPATIBILITY( )&lt;br /&gt;FND_PROGRAM.DELETE_INCOMPATIBILITY( )&lt;br /&gt;FND_PROGRAM.REQUEST_GROUP( )&lt;br /&gt;FND_PROGRAM.DELETE_GROUP( )&lt;br /&gt;FND_PROGRAM.ADD_TO_GROUP( )&lt;br /&gt;FND_PROGRAM.REMOVE_FROM_GROUP( )&lt;br /&gt;FND_REQUEST.SUBMIT_REQUEST( )&lt;br /&gt;FND_CONCURRENT.WAIT_FOR_REQUEST( )&lt;br /&gt;FND_REQUEST.SET_PRINT_OPTIONS ( )&lt;br /&gt;FND_GLOBAL.USER_IDFND_GLOBAL.APPS_INITIALIZE(user_id in number,resp_id in number,resp_appl_id in number);&lt;br /&gt;FND_GLOBAL.LOGIN_ID&lt;br /&gt;FND_GLOBAL.CONC_LOGIN_ID&lt;br /&gt;FND_GLOBAL.PROG_APPL_ID&lt;br /&gt;FND_GLOBAL.CONC_PROGRAM_ID&lt;br /&gt;FND_GLOBAL.CONC_REQUEST_ID&lt;br /&gt;FND_PROFILE.PUT(name,value)&lt;br /&gt;FND_PROFILE.GET(name IN varchar2,value out varchar2)&lt;br /&gt;API’S IN APPS&lt;br /&gt;PO&lt;br /&gt;PO_CUSTOM_PRICE_PUB&lt;br /&gt;PO_DOCUMENT_CONTROL_PUB&lt;br /&gt;PO_DOC_MANAGER_PUB&lt;br /&gt;PO_WFDS_PUB&lt;br /&gt;AP&lt;br /&gt;AP_NOTES_PUB&lt;br /&gt;AP_WEB_AUDIT_LIST_PUB&lt;br /&gt;INV&lt;br /&gt;INV_COST_GROUP_PUB&lt;br /&gt;INV_ITEM_CATALOG_ELEM_PUB&lt;br /&gt;INV_ITEM_CATEGORY_PUB&lt;br /&gt;INV_ITEM_PUB&lt;br /&gt;INV_ITEM_REVISION_PUB&lt;br /&gt;INV_ITEM_STATUS_PUB&lt;br /&gt;INV_LOT_API_PUB&lt;br /&gt;INV_MATERIAL_STATUS_PUB&lt;br /&gt;INV_MOVEMENT_STATISTICS_PUB&lt;br /&gt;INV_MOVE_ORDER_PUB&lt;br /&gt;INV_PICK_RELEASE_PUB&lt;br /&gt;INV_PICK_WAVE_PICK_CONFIRM_PUB&lt;br /&gt;INV_RESERVATION_PUB&lt;br /&gt;INV_SERIAL_NUMBER_PUB&lt;br /&gt;INV_SHIPPING_TRANSACTION_PUB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4845221305137212453?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4845221305137212453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4845221305137212453' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4845221305137212453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4845221305137212453'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/apis.html' title='API&apos;s'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-139949523550712510</id><published>2010-08-26T17:21:00.001+05:30</published><updated>2010-08-26T17:21:32.180+05:30</updated><title type='text'>Concurrent Program Submission Through Backend</title><content type='html'>declare&lt;br /&gt;l_request_id number(9) ;&lt;br /&gt;begin&lt;br /&gt;l_request_id := Fnd_Request.submit_request&lt;br /&gt;( 'PO', -Concurrent Prog Application Name&lt;br /&gt;'SQL-USERS', -Conccurrent Prog Short Name&lt;br /&gt;'Users Data', -Concurrent Prog description '',&lt;br /&gt;-start time '',&lt;br /&gt;-sub request 1000,&lt;br /&gt;-first parameter value 2000,&lt;br /&gt;-second parameter value&lt;br /&gt;'CREATION_DATE');-third parameter value&lt;br /&gt;Commit;&lt;br /&gt;if l_request_id = 0&lt;br /&gt;then fnd_file.put_line(fnd_file.log,'Prograqm not sumitted Succesfully');&lt;br /&gt;else&lt;br /&gt;fnd_file.put_line(fnd_file.log,'Prograqm sumitted Succesfully Request ID ='l_request_id);&lt;br /&gt;End If;&lt;br /&gt;Exception&lt;br /&gt;when others then&lt;br /&gt;fnd_file.put_line(fnd_file.log,'Error occured during Porgram submission');&lt;br /&gt;End ;&lt;br /&gt;&lt;br /&gt;from Triggers&lt;br /&gt;declare&lt;br /&gt;l_request_id number(9) ;&lt;br /&gt;begin&lt;br /&gt;l_request_id := Fnd_Request.submit_request&lt;br /&gt;( 'PO', -Concurrent Prog ApplciationName&lt;br /&gt;'SQL-USERS', -Conccurrent Prog Short Name&lt;br /&gt;'Users Data', -Concurrent Prog description '',&lt;br /&gt;-start time '',&lt;br /&gt;-sub request 1000,&lt;br /&gt;-first parameter value 2000,&lt;br /&gt;-second parameter value&lt;br /&gt;'CREATION_DATE','','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','' '','','','','','','','','','');&lt;br /&gt;Commit;&lt;br /&gt;if l_request_id = 0 then&lt;br /&gt;fnd_file.put_line(fnd_file.log,'Prograqm not sumitted Succesfully');&lt;br /&gt;else&lt;br /&gt;fnd_file.put_line(fnd_file.log,'Prograqm sumitted Succesfully Request ID ='l_request_id);&lt;br /&gt;End If;&lt;br /&gt;Exception&lt;br /&gt;when others then&lt;br /&gt;fnd_file.put_line(fnd_file.log,'Error occured during Porgram submission');&lt;br /&gt;End ;&lt;br /&gt;fnd_global.apps_initialize(user_id, Resp_id, Resp_appl_id);&lt;br /&gt;-To initialize the Application Environment by specifying the UserID and RespID system will verify the User Access details based on that it will submit the Program.&lt;br /&gt;1)fnd_Program.executable&lt;br /&gt;2)fnd_program.register&lt;br /&gt;3)fnd_program.request_group&lt;br /&gt;4)fnd_program.add_to_group - Add concurrent Pogram to the Group&lt;br /&gt;5)fnd_program.parameter - To create parameters for concurrent Program&lt;br /&gt;6)fnd_program.incompatibility - TO attach Incompatibility Programs List&lt;br /&gt;7)fnd_program.delete_group - To delete the Request Group&lt;br /&gt;Any Table ,Procedure,Package,view any database Object starting with "FND" then it is relatedfor AOL(Application Obejct Library) , AOL ObjectSchema Name :APPLSYS"fnd" is nothing but foundation&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-139949523550712510?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/139949523550712510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=139949523550712510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/139949523550712510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/139949523550712510'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/concurrent-program-submission-through.html' title='Concurrent Program Submission Through Backend'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-916485862369564722</id><published>2010-08-26T15:39:00.000+05:30</published><updated>2010-08-26T15:40:11.132+05:30</updated><title type='text'>Requisition Interface</title><content type='html'>Requisition Interface - PO_REQUISITIONS_INTERFACE_ALL &lt;br /&gt;-- insert data into Interface tables&lt;br /&gt;INSERT INTO PO_REQUISITIONS_INTERFACE_ALL&lt;br /&gt;(interface_source_code&lt;br /&gt;,source_type_code&lt;br /&gt;,requisition_type&lt;br /&gt;,destination_type_code&lt;br /&gt;,item_id&lt;br /&gt;,item_description&lt;br /&gt;,quantity&lt;br /&gt;,authorization_status&lt;br /&gt;,preparer_id&lt;br /&gt;,autosource_flag&lt;br /&gt;,req_number_segment1 *** see the note&lt;br /&gt;,header_attribute13 ---xtra infomation &lt;br /&gt;,line_attribute15 ---xtra infomation &lt;br /&gt;,uom_code&lt;br /&gt;,destination_organization_id&lt;br /&gt;,destination_subinventory&lt;br /&gt;,deliver_to_location_id&lt;br /&gt;,deliver_to_requestor_id&lt;br /&gt;,need_by_date&lt;br /&gt;,gl_date&lt;br /&gt;,charge_account_id&lt;br /&gt;,accrual_account_id&lt;br /&gt;,variance_account_id&lt;br /&gt;,org_id&lt;br /&gt;,suggested_vendor_id&lt;br /&gt;,suggested_vendor_site_id&lt;br /&gt;,unit_price&lt;br /&gt;,creation_date&lt;br /&gt;,created_by&lt;br /&gt;,last_update_date&lt;br /&gt;,last_updated_by&lt;br /&gt;)&lt;br /&gt;VALUES ('INV'&lt;br /&gt;,'VENDOR'&lt;br /&gt;,'PURCHASE'&lt;br /&gt;,'INVENTORY'&lt;br /&gt;,rec_get_lines_info.inventory_item_id&lt;br /&gt;,rec_get_lines_info.item_desc&lt;br /&gt;,rec_get_lines_info.ordered_quantity&lt;br /&gt;,l_authorization_status --------'INCOMPLETE' or 'APPROVED'&lt;br /&gt;,g_employee_id&lt;br /&gt;,'P'&lt;br /&gt;,l_req_segment1&lt;br /&gt;,'ZZ' ---xtra infomation &lt;br /&gt;,rec_get_lines_info.ship_to_org_id ---xtra infomation &lt;br /&gt;,rec_get_lines_info.uom_code&lt;br /&gt;,rec_get_lines_info.ship_from_org_id&lt;br /&gt;,rec_get_lines_info.subinventory&lt;br /&gt;,rec_get_lines_info.location_id&lt;br /&gt;,get_requestor (fnd_global.user_id) --rec_get_lines_info.requestor&lt;br /&gt;,rec_get_lines_info.schedule_ship_date&lt;br /&gt;,SYSDATE&lt;br /&gt;,rec_get_lines_info.charge_account&lt;br /&gt;,rec_get_lines_info.ap_accrual_account&lt;br /&gt;,rec_get_lines_info.invoice_price_var_account&lt;br /&gt;,g_org_id&lt;br /&gt;, rec_get_lines_info.vendor_id &lt;br /&gt;, rec_get_lines_info.vendor_site_id &lt;br /&gt;,rec_get_lines_info.list_price&lt;br /&gt;,SYSDATE&lt;br /&gt;,fnd_global.user_id&lt;br /&gt;,SYSDATE&lt;br /&gt;,fnd_global.user_id&lt;br /&gt;); &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: &lt;br /&gt;&lt;br /&gt;Standard grouping rules provided by Oracle are by&lt;br /&gt;Buyer &lt;br /&gt;Category&lt;br /&gt;Item&lt;br /&gt;Location&lt;br /&gt;Vendor or &lt;br /&gt;ALL , these grouping rules can be over written by populating "req_number_segment1" .&lt;br /&gt;When we use req_number_segment1 with ALL grouping option, requisiton will be grouped by req_number_segment1&lt;br /&gt;&lt;br /&gt;Concurrent Program: &lt;br /&gt;&lt;br /&gt;apps.fnd_request.submit_request (application =&gt; 'PO' --Application, &lt;br /&gt;program =&gt; 'REQIMPORT' --Program, &lt;br /&gt;argument1 =&gt; 'INV' --Interface Source code, &lt;br /&gt;argument2 =&gt; '' --Batch ID, &lt;br /&gt;argument3 =&gt; 'ALL'--Group By, &lt;br /&gt;argument4 =&gt; ''--Last Req Number, &lt;br /&gt;argument5 =&gt; ''--Multi Distributions, &lt;br /&gt;argument6 =&gt; 'N' --Initiate Approval after ReqImport &lt;br /&gt;);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-916485862369564722?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/916485862369564722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=916485862369564722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/916485862369564722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/916485862369564722'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/requisition-interface.html' title='Requisition Interface'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-128099534391841622</id><published>2010-08-26T15:37:00.003+05:30</published><updated>2010-08-26T15:37:57.492+05:30</updated><title type='text'>Purchase Order Interface</title><content type='html'>Purchase Order Interface -- PO_HEADERS_INTERFACE &lt;br /&gt;Interface Tables Used&lt;br /&gt;&lt;br /&gt;1)PO_HEADERS_INTERFACE&lt;br /&gt;2)PO_LINES_INTERFACE&lt;br /&gt;3)PO_DISTRIBUTIONS_INTERFACE&lt;br /&gt;&lt;br /&gt;INSERT INTO po_headers_interface&lt;br /&gt;(interface_header_id&lt;br /&gt;,batch_id&lt;br /&gt;,action&lt;br /&gt;,org_id&lt;br /&gt;,document_type_code&lt;br /&gt;,vendor_id&lt;br /&gt;,vendor_site_code&lt;br /&gt;,vendor_site_id&lt;br /&gt;,vendor_doc_num&lt;br /&gt;,currency_code&lt;br /&gt;,agent_id&lt;br /&gt;,terms_id&lt;br /&gt;,approval_status&lt;br /&gt;,ship_to_location_id&lt;br /&gt;,effective_date&lt;br /&gt;,creation_date&lt;br /&gt;,created_by&lt;br /&gt;,last_update_date&lt;br /&gt;,last_updated_by&lt;br /&gt;,attribute_category&lt;br /&gt;,attribute9 --xtra information &lt;br /&gt;,comments&lt;br /&gt;)&lt;br /&gt;VALUES (po_headers_interface_s.NEXTVAL&lt;br /&gt;,po_headers_interface_s.CURRVAL&lt;br /&gt;,'ORIGINAL'&lt;br /&gt;,g_org_id&lt;br /&gt;,'STANDARD'&lt;br /&gt;,rec_get_header_info.vendor_id&lt;br /&gt;,rec_get_header_info.vendor_site_code&lt;br /&gt;,rec_get_header_info.vendor_site_id&lt;br /&gt;,po_headers_interface_s.CURRVAL&lt;br /&gt;,'USD'&lt;br /&gt;,l_agent_id&lt;br /&gt;,rec_get_header_info.terms_id&lt;br /&gt;,'APPROVED'&lt;br /&gt;,rec_get_header_info.deliver_to_location_id&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,fnd_profile.VALUE ('USER_ID')&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,fnd_profile.VALUE ('USER_ID')&lt;br /&gt;,'DS Fields'&lt;br /&gt;,rec_get_header_info.attribute9 --xtra information &lt;br /&gt;,l_comments&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INSERT INTO po_lines_interface&lt;br /&gt;(interface_header_id&lt;br /&gt;,interface_line_id&lt;br /&gt;,requisition_line_id&lt;br /&gt;,line_num&lt;br /&gt;,shipment_num&lt;br /&gt;,line_type_id&lt;br /&gt;,item&lt;br /&gt;,item_description&lt;br /&gt;,category_id&lt;br /&gt;,unit_of_measure&lt;br /&gt;,quantity&lt;br /&gt;,unit_price&lt;br /&gt;,ship_to_organization_id &lt;br /&gt;,line_location_id&lt;br /&gt;,effective_date&lt;br /&gt;,need_by_date&lt;br /&gt;,creation_date&lt;br /&gt;,created_by&lt;br /&gt;,last_update_date&lt;br /&gt;,last_updated_by&lt;br /&gt;,taxable_flag&lt;br /&gt;)&lt;br /&gt;VALUES (po.po_headers_interface_s.CURRVAL&lt;br /&gt;,po.po_lines_interface_s.NEXTVAL&lt;br /&gt;,rec_get_line_info.requisition_line_id&lt;br /&gt;,l_line_num&lt;br /&gt;,1&lt;br /&gt;,rec_get_line_info.line_type_id&lt;br /&gt;,rec_get_line_info.segment1&lt;br /&gt;,rec_get_line_info.item_description&lt;br /&gt;,rec_get_line_info.category_id&lt;br /&gt;,rec_get_line_info.primary_unit_of_measure&lt;br /&gt;,rec_get_line_info.quantity&lt;br /&gt;,rec_get_line_info.unit_price&lt;br /&gt;,rec_get_line_info.destination_organization_id&lt;br /&gt;, po_line_locations_s.NEXTVAL&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,TO_DATE (rec_get_line_info.need_by_date, 'DD-MON-RRRR')&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,fnd_profile.VALUE ('USER_ID')&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,fnd_profile.VALUE ('USER_ID')&lt;br /&gt;,'Y'&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INSERT INTO po.po_distributions_interface&lt;br /&gt;(interface_header_id&lt;br /&gt;,interface_line_id&lt;br /&gt;,interface_distribution_id&lt;br /&gt;,req_distribution_id&lt;br /&gt;,org_id&lt;br /&gt;,distribution_num&lt;br /&gt;,quantity_ordered&lt;br /&gt;,destination_organization_id&lt;br /&gt;,destination_type_code&lt;br /&gt;,destination_subinventory &lt;br /&gt;, deliver_to_location_id&lt;br /&gt;,set_of_books_id&lt;br /&gt;,charge_account_id&lt;br /&gt;,budget_account_id&lt;br /&gt;,accrual_account_id&lt;br /&gt;,variance_account_id&lt;br /&gt;,deliver_to_person_id&lt;br /&gt;,creation_date&lt;br /&gt;,created_by&lt;br /&gt;,last_update_date&lt;br /&gt;,last_updated_by&lt;br /&gt;)&lt;br /&gt;VALUES (po.po_headers_interface_s.CURRVAL&lt;br /&gt;,po.po_lines_interface_s.CURRVAL&lt;br /&gt;,po.po_distributions_interface_s.NEXTVAL&lt;br /&gt;,rec_get_distrib_info.distribution_id&lt;br /&gt;,g_org_id&lt;br /&gt;,rec_get_distrib_info.distribution_num&lt;br /&gt;,rec_get_distrib_info.req_line_quantity&lt;br /&gt;,rec_get_distrib_info.destination_organization_id&lt;br /&gt;,rec_get_distrib_info.destination_type_code&lt;br /&gt;,l_destination_subinventory &lt;br /&gt;, rec_get_line_info.deliver_to_location_id&lt;br /&gt;,rec_get_distrib_info.set_of_books_id&lt;br /&gt;,rec_get_distrib_info.code_combination_id&lt;br /&gt;,rec_get_distrib_info.budget_account_id&lt;br /&gt;,l_new_accrual_account_id&lt;br /&gt;,rec_get_distrib_info.variance_account_id&lt;br /&gt;,rec_get_line_info.to_person_id&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,fnd_profile.VALUE ('USER_ID')&lt;br /&gt;,TO_DATE (SYSDATE, 'DD-MON-RRRR')&lt;br /&gt;,fnd_profile.VALUE ('USER_ID')&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;Concurrent Program: &lt;br /&gt;apps.fnd_request.submit_request (application =&gt; 'PO' --Application, &lt;br /&gt;program =&gt; 'POXPOPDOI'--Program, &lt;br /&gt;argument1 =&gt; ''--Buyer ID, &lt;br /&gt;argument2 =&gt; 'STANDARD'--Document Type, &lt;br /&gt;argument3 =&gt; ''--Document Subtype, &lt;br /&gt;argument4 =&gt; 'N'--Process Items Flag, &lt;br /&gt;argument5 =&gt; 'N'--Create Sourcing rule, &lt;br /&gt;argument6 =&gt; ''--Approval Status, &lt;br /&gt;argument7 =&gt; ''--Release Generation Method, &lt;br /&gt;argument8 =&gt; ''--NULL, &lt;br /&gt;argument9 =&gt; g_org_id--Operating Unit ID, &lt;br /&gt;argument10 =&gt; ''--Global Agreement&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;Calling PO Approval workflow to approve POs&lt;br /&gt;&lt;br /&gt;SELECT TO_CHAR (po_wf_itemkey_s.NEXTVAL)&lt;br /&gt;INTO v_wf_seq&lt;br /&gt;FROM SYS.DUAL;&lt;br /&gt;&lt;br /&gt;v_itemkey := TO_CHAR (l_header.po_header_id)&lt;br /&gt;|| '-'&lt;br /&gt;|| v_wf_seq;&lt;br /&gt;po_reqapproval_init1.start_wf_process (itemtype =&gt; 'POAPPRV'&lt;br /&gt;,itemkey =&gt; v_itemkey&lt;br /&gt;,workflowprocess =&gt; 'POAPPRV_TOP'&lt;br /&gt;,actionoriginatedfrom =&gt; 'PO_FORM'&lt;br /&gt;,documentid =&gt; l_header.po_header_id&lt;br /&gt;,documentnumber =&gt; l_header.segment1&lt;br /&gt;,preparerid =&gt; l_header.agent_id&lt;br /&gt;,documenttypecode =&gt; 'PO'&lt;br /&gt;,documentsubtype =&gt; 'STANDARD'&lt;br /&gt;,submitteraction =&gt; 'APPROVE'&lt;br /&gt;,forwardtoid =&gt; NULL&lt;br /&gt;,forwardfromid =&gt; l_header.agent_id&lt;br /&gt;,defaultapprovalpathid =&gt; 10&lt;br /&gt;,note =&gt; NULL&lt;br /&gt;,printflag =&gt; 'N'&lt;br /&gt;,faxflag =&gt; NULL&lt;br /&gt;,faxnumber =&gt; NULL&lt;br /&gt;);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-128099534391841622?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/128099534391841622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=128099534391841622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/128099534391841622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/128099534391841622'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/purchase-order-interface.html' title='Purchase Order Interface'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-949306569092717600</id><published>2010-08-26T15:37:00.001+05:30</published><updated>2010-08-26T15:37:23.684+05:30</updated><title type='text'>Concatenating Multiple Rows into single row</title><content type='html'>Concatenating Multiple Rows into single row &lt;br /&gt;SELECT customer_product_id, &lt;br /&gt;SUBSTR(MAX(REPLACE(SYS_CONNECT_BY_PATH(incident_number, '/') ,&lt;br /&gt;'/',' ,')),3) Concatenated_String &lt;br /&gt;FROM (SELECT cia.incident_number,cia.customer_product_id &lt;br /&gt;,ROW_NUMBER () OVER (PARTITION BY customer_product_id ORDER BY customer_product_id) row# &lt;br /&gt;FROM cs_incidents_all cia &lt;br /&gt;,csi_item_instances cii &lt;br /&gt;WHERE 1 = 1 &lt;br /&gt;AND cia.customer_product_id = cii.instance_id &lt;br /&gt;AND cii.serial_number = 'XXXXXX' &lt;br /&gt;AND NOT EXISTS ( &lt;br /&gt;SELECT 1 &lt;br /&gt;FROM cs_incident_statuses &lt;br /&gt;WHERE NAME IN ('Cancelled', 'Closed') &lt;br /&gt;AND incident_subtype = 'INC' &lt;br /&gt;AND incident_status_id = cia.incident_status_id)) &lt;br /&gt;START&lt;br /&gt;WITH ROW#=1 &lt;br /&gt;CONNECT&lt;br /&gt;BY PRIOR row# = row#-1 and prior customer_product_id = customer_product_id &lt;br /&gt;GROUP&lt;br /&gt;BY customer_product_id&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-949306569092717600?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/949306569092717600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=949306569092717600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/949306569092717600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/949306569092717600'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/concatenating-multiple-rows-into-single.html' title='Concatenating Multiple Rows into single row'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5940845245482641603</id><published>2010-08-26T15:36:00.000+05:30</published><updated>2010-08-26T15:37:05.116+05:30</updated><title type='text'>Spliting One row into Multi rows</title><content type='html'>Spliting One row into Multi rows &lt;br /&gt;select * from ( &lt;br /&gt;with t as (select 'A-INSTALL,6-FOLLOWUP' str from dual)&lt;br /&gt;SELECT trim(REGEXP_SUBSTR (str,'[^,]+' ,1,level))&lt;br /&gt;FROM t&lt;br /&gt;connect by instr(str, ',', 1, level - 1) &gt; 0&lt;br /&gt;and connect_by_root str = str)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5940845245482641603?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5940845245482641603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5940845245482641603' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5940845245482641603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5940845245482641603'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/spliting-one-row-into-multi-rows.html' title='Spliting One row into Multi rows'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7984531609540914962</id><published>2010-08-26T15:33:00.001+05:30</published><updated>2010-08-26T15:33:42.389+05:30</updated><title type='text'>SQL Loader Case Studies</title><content type='html'>SQL Loader Case Studies &lt;br /&gt;http://www.cs.umbc.edu/portal/help/oracle8/server.815/a67792/ch04.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7984531609540914962?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7984531609540914962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7984531609540914962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7984531609540914962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7984531609540914962'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/sql-loader-case-studies.html' title='SQL Loader Case Studies'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6209392544160288151</id><published>2010-08-26T15:30:00.000+05:30</published><updated>2010-08-26T15:31:38.692+05:30</updated><title type='text'>Importing material cost associated to item.</title><content type='html'>Importing material cost associated to item. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First check which cost elements are defined for the organizaion.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select cost_type_id,cost_type,description&lt;br /&gt;from CST_COST_TYPES;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Output looks like this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cost_type_id cost_type description&lt;br /&gt;------------ ------------ ------------------------------------&lt;br /&gt;1 Frozen Frozen Standard Cost Type&lt;br /&gt;2 Average Average Cost Type&lt;br /&gt;3 Pending Pending Standard Cost Type&lt;br /&gt;.....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To find the sub element name defined for your organization for a particular cost type please check bom resources table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In our example we are checking for material sub element in organization M1 with organization_id = 207 for cost_code type 1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select resource_code,description,cost_element_id,cost_code_type&lt;br /&gt;from bom_resources where organization_id = 207&lt;br /&gt;and cost_code_type= 1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;resource_code description cost_element_id cost_code_type&lt;br /&gt;------------- ----------------- --------------- --------------&lt;br /&gt;Material Material Sub element 1 1&lt;br /&gt;Labor Labor Sub element 1 1&lt;br /&gt;Expense Expense Sub element 1 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In our scenario we want to create a new item in organization M1 along with its material cost (say $11) assuming the same item is already created in master organization V1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;insert into mtl_system_items_interface&lt;br /&gt;(process_flag, set_process_id, transaction_type,organization_id,segment1,&lt;br /&gt;description,template_id,MATERIAL_COST,MATERIAL_SUB_ELEM)&lt;br /&gt;values&lt;br /&gt;(1,1,'CREATE',207,'TESTCOSTMATERIAL', 'Testing Item Material Cost Import',&lt;br /&gt;259,11,'Material');&lt;br /&gt;commit;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note : Using mtl_system_items_interface 'Frozen cost' also be converted&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Similary we can use MATERIAL_SUB_ELEM_ID, MATERIAL_OH_RATE,MATERIAL_OH_SUB_ELEM and MATERIAL_OH_SUB_ELEM_ID colums.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To check the subelements you can go to Cost management responsibility for your organization and under Setup &gt; Sub-Elements you will see the respective&lt;br /&gt;subelements being defined.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now run the item import program ie. Item &gt; Import &gt; Import Items.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In Process Set enter 1 as we had used 1 in the set_process_id column.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now go to organization items and query on 'TESTCOSTMATERIAL' the item that we had populated and you should be able to see the item.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to Tools &gt; Item Costs and then hit Open button from Item Cost Summary screen&lt;br /&gt;and you should see the details. In out example we see a material cost of $11 for the item in cost type 'Frozen'(Standard Costing).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE: Item import cannot be used to update item costs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;You have to populate&lt;br /&gt;CST_ITEM_CST_DTLS_INTERFACE,&lt;br /&gt;CST_RESOURCE_COSTS_INTERFACE,&lt;br /&gt;CST_RES_OVERHEADS_INTERFACE and&lt;br /&gt;CST_DEPT_OVERHEADS_INTERFACE accordingly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The concurrent request can be launched by navigating to cost-&gt;cost massedits-&gt;Import Cost Information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The parameters for the Cost Import concurrent program and their description is&lt;br /&gt;as follows :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Import Cost Option : A LOV is provided from which the user can select one of the import options which may be either to import Only item costs , Only resource costs , Only overhead rates or all the cost information .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option Table from which data is processed&lt;br /&gt;---------- --------------------------------------------&lt;br /&gt;Only item cost cst_item_cst_dtls_interface&lt;br /&gt;Only resource costs cst_resource_costs_interface&lt;br /&gt;Only overhead rates cst_res_overheads_interface ,&lt;br /&gt;cst_dept_overheads_interface&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All Cost Information From all the four interface tables&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mode to run this request : A LOV is provided with possible two values , 'Insert new cost' or 'Remove and replace cost'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The 'Insert new cost' mode , is useful if you are importing large # of items and are not sure if that Item/Organization/Cost Type combination already exists in the production tables, if it does then the row in the interface table would be flaged as errored and not imported.This would prevent any accidental overwrite of already existing data.&lt;br /&gt;With 'Remove and replace cost' mode all the previous cost information for this item, cost_type and organization combination will be deleted from the production tables and the new information will overwrite (replace) the already existing one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Group Id Option : A LOV is provided from which the user can either select 'ALL' or 'Specific Group Id' . If the user wishes to submit multiple Cost Import process requests he can do so by submitting one request per group id. For doing so the data in the interface tables should be stamped with distinct group id value by using the NEXTVAL from the sequence generator CST_LISTS_S .The use of this sequence geneartor is a MUST for generating multiple groups or may lead to data corruption as these interface tables are used by other processes too.&lt;br /&gt;If the user selects "ALL" from the list then a group ID generated by a sequence will replace the group ID in the interface tables (if any) and all the unprocessed rows from the four interface table (viz.cst_item_cst_dtls_interface , cst_resource_costs_interface ,cst_res_overheads_interface , cst_dept_overheads_interface ) will be processed in one run.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cost type to import to : The user is provided with a LOV from which he needs to select the cost type in which he wishes to import the cost information. Even if the user has populated a cost type or cost type ID in the interface tables, it would be overwritten with the one that is selected here.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The cost types that the user can pick from is restricted to the multi-org,&lt;br /&gt;updateable cost types.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Delete succesfull rows : This parameter decides whether the successfully processed rows should be deleted from the interface tables at the end of the run. If the user selects 'Yes' then all the successful rows be deleted, basically rows that do not have their error flag set to "E".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Importing directly into Frozen/Average cost type (i.e non updateable cost types)and merging of new cost with existing costs is not supported at this time and would still have to be processed by cost update routines. Also when importing the costs from the interface table ,material overhead defaults (if any) specified for an Organization/Category would not be respected.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Minimum columns in each table that the user needs to provide&lt;br /&gt;1. CST_ITEM_CST_DTLS_INTERFACE&lt;br /&gt;The columns that the user has to provide are&lt;br /&gt;a. Inventory_item_id&lt;br /&gt;b. organization_ID or organization_code.&lt;br /&gt;c. resource_ID or resource_code for cost elements other than 1(material).&lt;br /&gt;If we are importing cost into material cost element and default material&lt;br /&gt;subelement has been specified on 'Define Organization parameters' form&lt;br /&gt;then that would be respected unless the user overides it with a value&lt;br /&gt;in this column.&lt;br /&gt;d. usage_rate_or_amount&lt;br /&gt;e. cost_element_ID or cost_element&lt;br /&gt;f. Process Flag (must be set to 1)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We default values for based_on_rollup, shrinkage_rate, inventory_asset_flag,&lt;br /&gt;lot_size from the row from CST_ITEM_COSTS for this item and the default cost&lt;br /&gt;type(default cost type of the cost type specified to import the costs into). If&lt;br /&gt;there is no such row already defined in CST_ITEM_COSTS, then, the values for&lt;br /&gt;these 4 columns also need to be specified and they have to be the same for all&lt;br /&gt;rows of this item, cost type and organization combination.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CST_RESOURCE_COSTS_INTERFACE&lt;br /&gt;a. Resource_ID or resource_code&lt;br /&gt;b. organization_ID or organization_code&lt;br /&gt;c. resource_rate&lt;br /&gt;d. Process_flag (must be set to 1)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CST_RES_OVERHEADS_INTERFACE&lt;br /&gt;a. Resource_ID or resource_code&lt;br /&gt;b. Overhead_ID or overhead&lt;br /&gt;c. Organization_ID or organization_code&lt;br /&gt;d. Process_flag(must be set to 1)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CST_DEPT_OVERHEADS_INTERFACE&lt;br /&gt;a. Department_ID or department&lt;br /&gt;b. Overhead_ID or overhead&lt;br /&gt;c. Organization_ID&lt;br /&gt;d. Rate_or_amount&lt;br /&gt;e. Process_flag(must be set to 1)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The other columns will be defaulted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CST_ITEM_COSTS_INTERFACE can be used to import all the costs&lt;br /&gt;MATERIAL_COST, OUTSIDE PROCESSING COST, OVER HEAD COST and other costs&lt;br /&gt;&lt;br /&gt;Article from Uday Somavarapu Blog&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6209392544160288151?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6209392544160288151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6209392544160288151' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6209392544160288151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6209392544160288151'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/importing-material-cost-associated-to.html' title='Importing material cost associated to item.'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7733676892424273656</id><published>2010-08-26T15:20:00.001+05:30</published><updated>2010-08-26T15:20:51.013+05:30</updated><title type='text'>Ship To address and Bill to Address Qry</title><content type='html'>Ship To address and Bill to Address Qry &lt;br /&gt;&lt;br /&gt;SELECT hp.party_name&lt;br /&gt;FROM hz_parties hp&lt;br /&gt;,hz_party_sites site&lt;br /&gt;,hz_locations loc&lt;br /&gt;,hz_party_site_uses uses&lt;br /&gt;,fnd_territories_vl terr&lt;br /&gt;,hz_cust_site_uses hcsua&lt;br /&gt;,hz_cust_acct_sites hcasa&lt;br /&gt;WHERE site.party_id = hp.party_id&lt;br /&gt;AND site.location_id = loc.location_id&lt;br /&gt;AND site.party_site_id = uses.party_site_id(+)&lt;br /&gt;AND loc.country = terr.territory_code&lt;br /&gt;AND hp.status = 'A'&lt;br /&gt;AND site.status = 'A'&lt;br /&gt;AND hcsua.status = 'A'&lt;br /&gt;AND uses.site_use_type = 'SHIP_TO'&lt;br /&gt;AND NVL (uses.status, 'A') = 'A'&lt;br /&gt;AND hcsua.cust_acct_site_id = hcasa.cust_acct_site_id&lt;br /&gt;AND hcasa.party_site_id = site.party_site_id&lt;br /&gt;AND hcsua.site_use_code = uses.site_use_type&lt;br /&gt;AND hcsua.site_use_id = ol.ship_to_org_id&lt;br /&gt;&lt;br /&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;br /&gt;&lt;br /&gt;SELECT hp.party_name&lt;br /&gt;FROM hz_parties hp&lt;br /&gt;,hz_party_sites site&lt;br /&gt;,hz_locations loc&lt;br /&gt;,hz_party_site_uses uses&lt;br /&gt;,fnd_territories_vl terr&lt;br /&gt;,hz_cust_site_uses hcsua&lt;br /&gt;,hz_cust_acct_sites hcasa&lt;br /&gt;WHERE site.party_id = hp.party_id&lt;br /&gt;AND site.location_id = loc.location_id&lt;br /&gt;AND site.party_site_id = uses.party_site_id(+)&lt;br /&gt;AND loc.country = terr.territory_code&lt;br /&gt;AND hp.status = 'A'&lt;br /&gt;AND site.status = 'A'&lt;br /&gt;AND hcsua.status = 'A'&lt;br /&gt;AND uses.site_use_type = 'BILL_TO'&lt;br /&gt;AND NVL (uses.status, 'A') = 'A'&lt;br /&gt;AND hcsua.cust_acct_site_id = hcasa.cust_acct_site_id&lt;br /&gt;AND hcasa.party_site_id = site.party_site_id&lt;br /&gt;AND hcsua.site_use_code = uses.site_use_type&lt;br /&gt;AND hcsua.site_use_id = ol.invoice_to_org_id&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7733676892424273656?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7733676892424273656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7733676892424273656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7733676892424273656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7733676892424273656'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/ship-to-address-and-bill-to-address-qry.html' title='Ship To address and Bill to Address Qry'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-8527235907392502992</id><published>2010-08-26T15:16:00.001+05:30</published><updated>2010-08-26T15:19:01.013+05:30</updated><title type='text'>OTC (Order To Cash Techinical Overview )</title><content type='html'>Order To Cash Techinical Overview &lt;br /&gt;&lt;br /&gt;Enter order --&gt; Book Order --&gt; Pick Release --&gt; Pick Slip --&gt; Confirm Shipment àGenerate Invoice --&gt; Customer follow up --&gt; Receipt --&gt; [Final Reconciliation]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Steps in Cycle:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Order Entry&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This is first stage, when the order is entered in the system; it creates a record in order headers and Order Lines table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enter header details: Once you enter details on the order header and save it or move it to lines, record goes to one table OE_ORDER_HEADERS_ALL &lt;br /&gt;  FLOW_STATUS_CODE = ENTERED, &lt;br /&gt;&lt;br /&gt;  BOOKED_FLAG = N),&lt;br /&gt;&lt;br /&gt;  Primary key=HEADER_ID &lt;br /&gt;&lt;br /&gt; No record exists in any other table for this order till now.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enter Line details for this order: Enter different item numbers, quantity and other details in line tab. When the record gets saved, it goes to one table. Order header details will be linked with line details by order HEADER_ID. &lt;br /&gt;&lt;br /&gt;OE_ORDER_LINES_ALL&lt;br /&gt;&lt;br /&gt;FLOW_STATUS_CODE = ENTERED, &lt;br /&gt;&lt;br /&gt;BOOKED_FLAG = N, &lt;br /&gt;&lt;br /&gt;OPEN_FLAG = Y &lt;br /&gt;&lt;br /&gt;Primary key= LINE_ID&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Order Booking&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This is next stage, when Order is booked then the Flow status changed from Entered to Booked.At this stage, these below table get affected. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OE_ORDER_HEADERS_ALL (FLOW_STATUS_CODE as BOOKED, BOOKED_FLAG updated to Y) &lt;br /&gt;OE_ORDER_LINES_ALL (FLOW_STATUS_CODE as AWAITING_SHIPPING, BOOKED_FLAGupdated Y)&lt;br /&gt;WSH_DELIVERY_DETAILS (DELIVERY_DETAIL_ID is assigned here, RELEASED_STATUS ‘R’ ready to release, LINE_ID comes as SOURCE_LINE_ID) &lt;br /&gt;WSH_DELIVERY_ASSIGNMENTS (DELIVERY_ASSIGNMENT_ID is assigned for DELIVERY_DETAIL_ID present in WSH_DELIVERY_DETAILS, DELIVERY_ID remains blank till this stage)&lt;br /&gt;&lt;br /&gt;In shipping transaction form order status remains "Ready to Release".&lt;br /&gt;&lt;br /&gt;At the same time, Demand interface program runs in background And insert into inventory tables MTL_DEMAND, here LINE_ID come as a reference in DEMAND_SOURCE_LINE&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Reservation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This step is required for doing reservations SCHEDULE ORDER PROGRAM runs in the background and quantities are reserved. Once these programs get successfully get completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MTL_DEMAND andMTL_RESERVATIONS table get updated. LINE_ID gets updated in DEMAND_SOURCE_LINE_ID in both the tables.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. Pick Release&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Pick Release is the process of putting reservation on on-hand quantity available in the inventory and pick them for particular sales order.&lt;br /&gt;&lt;br /&gt;Pick release can be done from 'Release Sales Order' form or 'Pick release SRS' program can be scheduled in background. In both of these cases all lines of the order gets pick released depending on the Picking rule used. If specific line/s needs to be pick release it can be done from 'Shipping Transaction form. For this case Pick Release is done from 'Release Sales Order' form with Pick Confirm=NO.&lt;br /&gt;Once pick release is done these are the tables get affected:&lt;br /&gt;&lt;br /&gt;· If step 3 is not done then MTL_RESERVATIONS gets updated now.&lt;br /&gt;&lt;br /&gt;· WSH_NEW_DELIVERIES (one record gets inserted with SOURCE_HEADER_ID= order header ID, STATUS_CODE=OP =&gt;open)&lt;br /&gt;&lt;br /&gt;· WSH_DELIVERY_ASSIGNMENTS (DELIVERY_ID gets assigned which comes from WSH_NEW_DELIVERIES)&lt;br /&gt;&lt;br /&gt;· WSH_DELIVERY_DETAILS (RELEASED_STATUS ‘S’ ‘submitted for release’)&lt;br /&gt;&lt;br /&gt;· MTL_TXN_REQUEST_HEADERS&lt;br /&gt;&lt;br /&gt;· MTL_TXN_REQUEST_LINES (LINE_ID goes as TXN_SOURCE_LINE_ID)&lt;br /&gt;&lt;br /&gt;· (move order tables. Here request is generated to move item from Source (RM or FG) sub-inventory to staging sub-inventory)&lt;br /&gt;&lt;br /&gt;· MTL_MATERIAL_TRANSACTIONS_TEMP (link to above tables through MOVE_ORDER_HEADER_ID/LINE_ID, this table holds the record temporally)&lt;br /&gt;&lt;br /&gt;· MTL_SERIAL_NUMBERS_TEMP (if item is serial controlled at receipt then record goes in this table)&lt;br /&gt;&lt;br /&gt;· MTL_SERIAL_NUMBERS (enter value in GROUP_MARK_ID )&lt;br /&gt;&lt;br /&gt;*In shipping transaction form order status remains "Released to Warehouse" and all the material still remains in source sub-inventory. We need to do Move Order Transaction for this order. Till this no material transaction has been posted to MTL_MATERIAL_TRANSACTIONS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Pick Confirm/ Move Order Transaction&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Items are transferred from source sub-inventory to staging Sub-inventory. Here material transaction occurs.&lt;br /&gt;&lt;br /&gt;Order line status becomes 'Picked' on Sales Order and 'Staged/Pick Confirmed' on Shipping Transaction Form.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MTL_MATERIAL_TRANSACTIONS_TEMP (Record gets deleted from here and gets posted to MTL_MATERIAL_TRANSACTIONS)&lt;br /&gt;OE_ORDER_LINES_ALL (FLOW_STATUS_CODE ‘PICKED’ )&lt;br /&gt;MTL_MATERIAL_TRANSACTIONS (LINE_ID goes as TXN_SOURCE_LINE_ID)&lt;br /&gt;MTL_TRANSACTION_ACCOUNTS&lt;br /&gt;WSH_DELIVERY_DETAILS (RELEASED_STATUS becomes ‘Y’ =&gt; ‘Released’ )&lt;br /&gt;WSH_DELIVERY_ASSIGNMENTS&lt;br /&gt;MTL_ONHAND_QUANTITIES&lt;br /&gt;MTL_SERIAL_NUMBERS_TEMP (record gets inserted after putting details for the item which are serial controlled at 'Sales order issue')&lt;br /&gt;MTL_SERIAL_NUMBERS (record gets inserted after putting details for the item which are serial controlled at 'Sales order issue')&lt;br /&gt;&lt;br /&gt;* This step can be eliminated if we set Pick Confirm=YES at the time of Pick Release&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. Ship Confirm&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Here is the ship confirm interface program runs in background. Data removed from &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WSH_NEW_DELIVERIES. The items on the delivery shipped to customer at this stage&lt;br /&gt;OE_ORDER_LINES_ALL (FLOW_STATUS_CODE ‘shipped’) &lt;br /&gt;WSH_DELIVERY_DETAILS (RELEASED_STATUS ‘C’ ‘Shipped’, SERIAL_NUMBER if quantity is ONE)&lt;br /&gt;WSH_SERIAL_NUMBERS (records gets inserted with the DELIVERY_DETAIL_ID reference, only in case of shipped quantity is two or more)&lt;br /&gt;MTL_TRANSACTION_INTERFACE&lt;br /&gt;MTL_MATERIAL_TRANSACTIONS (linked through Transaction source header id)&lt;br /&gt;MTL_TRANSACTION_ACCOUNTS&lt;br /&gt;Data deleted from MTL_DEMAND, MTL_RESERVATIONS&lt;br /&gt;Item deducted from MTL_ONHAND_QUANTITIES&lt;br /&gt;MTL_SERIAL_NUMBERS_TEMP (records gets deleted from this table)&lt;br /&gt;MTL_SERIAL_NUMBERS (Serial number stauts gets updated CURRENT_STATUS=4 , 'Issued out of store')&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7. Enter Invoice&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;After shipping the order, order lines are eligible to transfer to RA_INTERFACE_LINES_ALL. Workflow background engine picks those records and post it to RA_INTERFACE_LINES_ALL. This is also called Receivable interface, this mean information moved to accounting area for invoicing details. Invoicing workflow activity transfers shipped item information to Oracle Receivables. At the same time records also goes in the table RA_INTERFACE_SALESCREDITS_ALL which hold details of sales credit for the particular order&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RA_INTERFACE_LINES_ALL (interface table into which the data is transferred from order management) Then Autoinvoice program imports data from this table which get affected into this stage are receivables base table. At the same time records goes in&lt;br /&gt;RA_CUSTOMER_TRX_ALL (CUST_TRX_ID is primary key to link it to TRX_LINES table and TRX_NUMBER is the invoice number)&lt;br /&gt;RA_CUSTOMER_TRX_LINES_ALL (LINE_ATTRIBUTE_1 and LINE_ATTRIBUTE_6 are linked to order number and LINE_ID of the orders)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8. Complete Line&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt; In this stage order line level table get updated with Flow status and open flag.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OE_ORDER_LINES_ALL (FLOW_STATUS_CODE ‘shipped’, OPEN_FLAG “N”)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;9. Close Order&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt; This is last step of Order Processing. In this stage only OE_ORDER_LINES_ALL table get updated. These are the table get affected in this step.&lt;br /&gt;&lt;br /&gt; OE_ORDER_LINES_ALL (FLOW_STATUS_CODE ‘closed’, OPEN_FLAG “N”)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-8527235907392502992?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/8527235907392502992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=8527235907392502992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8527235907392502992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8527235907392502992'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/otc-order-to-cash-techinical-overview.html' title='OTC (Order To Cash Techinical Overview )'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1834489062607870106</id><published>2010-08-26T15:12:00.000+05:30</published><updated>2010-08-26T15:13:35.695+05:30</updated><title type='text'>To import a routing with operations and resource</title><content type='html'>To import a routing with operations and resources, you need to populate the following tables:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BOM_OP_ROUTINGS_INTERFACE&lt;br /&gt;BOM_OP_SEQUENCES_INTERFACE &lt;br /&gt;BOM_OP_RESOURCES_INTERFACE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With these three tables, you can create routing header information and assign&lt;br /&gt;operation and resource details. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PROCESS_FLAG&lt;br /&gt;The column PROCESS_FLAG indicates the current state of processing for a row in the interface table. All inserted rows must have the PROCESS_FLAG set to 1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1 - Pending&lt;br /&gt;2 - Assigned Succeeded&lt;br /&gt;3 - Assign/Validation Failed&lt;br /&gt;4 - Validation Succeeded&lt;br /&gt;7 - Import Succeeded&lt;br /&gt;BOM_OP_ROUTINGS_INTERFACE TABLE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;a. REQUIRED COLUMNS FOR THE BOM_OP_ROUTINGS_INTERFACE TABLE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You must always enter values for the following required columns when &lt;br /&gt;you insert rows into the BOM_OP_ROUTINGS_INTERFACE table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PROCESS_FLAG&lt;br /&gt;ASSEMBLY_ITEM_ID &lt;br /&gt;ORGANIZATION_ID &lt;br /&gt;ROUTING_TYPE &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you are creating an alternate routing, you must also enter a value &lt;br /&gt;in the ALTERNATE_ROUTING_DESIGNATOR column. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If the routing you import references a common routing, you must enter a &lt;br /&gt;value in the COMMON_ASSEMBLY_ITEM_ID or the COMMON_ROUTING_SEQUENCE_ID &lt;br /&gt;columns. Routings can only reference common routings that belong to the &lt;br /&gt;same organization. If the routing does not reference a common routing, &lt;br /&gt;the Bill and Routing Interface program defaults the value of the &lt;br /&gt;ROUTING_SEQUENCE_ID for the COMMON_ROUTING_SEQUENCE_ID. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can specify, in the ROUTING_TYPE column, whether the routing is a &lt;br /&gt;manufacturing routing or an engineering routing. If you do not include&lt;br /&gt;a value for this column, Oracle Bills of Material defaults a value &lt;br /&gt;of 1 (manufacturing), and creates a manufacturing routing. To create &lt;br /&gt;an engineering routing, you must enter a value of 2 (engineering) for &lt;br /&gt;the ROUTING_TYPE column.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For each new row you insert into the BOM_OP_ROUTINGS_INTERFACE table, &lt;br /&gt;you should set the PROCESS_FLAG to 1 (Pending).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b. DERIVED/DEFAULTED VALUES FOR BOM_OP_ROUTINGS_INTERFACE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Bill and Routing Interface program derives or defaults most of the &lt;br /&gt;data required to create a manufacturing or engineering routing. &lt;br /&gt;The Bill and Routing Interface program derives or defaults the columns&lt;br /&gt;using the same logic as the Define Routing form or the Define &lt;br /&gt;Engineering Routing form. When you populate a column in the interface&lt;br /&gt;table, the program imports the row with the data you included and does &lt;br /&gt;not default a value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you enter a value for the ASSEMBLY_ITEM_NUMBER or COMMON_ITEM_NUMBER&lt;br /&gt;column, you must insert the system item flexfield separator between each &lt;br /&gt;segment of your item number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; INSERT INTO bom_op_routing_interface&lt;br /&gt;(process_flag&lt;br /&gt;,assembly_item_id&lt;br /&gt;,organization_id&lt;br /&gt;,routing_type&lt;br /&gt;,transaction_type&lt;br /&gt;)&lt;br /&gt;VALUES (1&lt;br /&gt;,&amp;inventory_item_id&lt;br /&gt;,&amp;organization_id&lt;br /&gt;,1&lt;br /&gt;,'insert'&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BOM_OP_SEQUENCES_INTERFACE TABLE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;a. REQUIRED COLUMNS FOR THE BOM_OP_SEQUENCES_INTERFACE TABLE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Each imported record must have a value for the following columns:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PROCESS_FLAG&lt;br /&gt;ROUTING_SEQUENCE_ID&lt;br /&gt;OPERATION_SEQ_NUM&lt;br /&gt;DEPARTMENT_ID&lt;br /&gt;EFFECTIVITY_DATE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You must also specify a value in the ALTERNATE_ROUTING_DESIGNATOR column&lt;br /&gt;if you assign an operation to an alternate routing and have not entered &lt;br /&gt;a value for the ROUTING_SEQUENCE_ID column.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you insert rows into BOM_OP_SEQUENCES_INTERFACE, you must set the&lt;br /&gt;PROCESS_FLAG to 1 (Pending) for the Bill and Routing Interface program &lt;br /&gt;to process the record.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b. DERIVED/DEFAULTED COLUMN VALUES FOR BOM_OP_SEQUENCES_INTERFACE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Bill and Routing Interface program derives or defaults most of the &lt;br /&gt;data required to assign operations to a routing. You can optionally &lt;br /&gt;include a value for derived or defaulted columns, as well as data for &lt;br /&gt;any of the other columns in the interface. The interface program uses &lt;br /&gt;the same logic to derive or default column values in the &lt;br /&gt;BOM_OP_SEQUENCES_INTERFACE table as in the BOM_OP_ROUTINGS_INTERFACE &lt;br /&gt;table. When you populate a column in the interface table, the program &lt;br /&gt;imports the row with the data you included and does not default a &lt;br /&gt;value. However, if you do not enter data in a derived or defaulted &lt;br /&gt;column, the program automatically imports the row with the derived or &lt;br /&gt;defaulted value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BOM_OP_SEQUENCES_INTERFACE Derived or Defaulted Value&lt;br /&gt;OPERATION_SEQUENCE_ID Sequence BOM_OPERATIONAL_SEQUENCES_S&lt;br /&gt;ROUTING_SEQUENCE_ID From BOM_OP_ROUTINGS_INTERFACE or &lt;br /&gt;BOM_OPERATIONAL_ROUTINGS&lt;br /&gt;LAST_UPDATE_DATE System Date&lt;br /&gt;LAST_UPDATE_BY Userid&lt;br /&gt;CREATION_DATE System Date&lt;br /&gt;CREATED_BY Userid&lt;br /&gt;STANDARD_OPERATION_ID From OPERATION_CODE&lt;br /&gt;DEPARTMENT_ID From DEPARTMENT_CODE &lt;br /&gt;MINIMUM_TRANSFER_QUANTITY 0&lt;br /&gt;COUNT_POINT_TYPE 1&lt;br /&gt;EFFECTIVITY_DATE System Date&lt;br /&gt;BACKFLUSH_FLAG 1&lt;br /&gt;REQUEST_ID From FND_CONCURRENT_REQUESTS&lt;br /&gt;ASSEMBLY_ITEM_ID From ASSEMBLY_ITEM_NUMBER&lt;br /&gt;OPTION_DEPENDENT_FLAG 2&lt;br /&gt;ORGANIZATION_ID From ORGANIZATION_CODE&lt;br /&gt;RESOURCE_ID1 From RESOURCE_CODE1&lt;br /&gt;RESOURCE_ID2 From RESOURCE_CODE2&lt;br /&gt;RESOURCE_ID3 From RESOURCE_CODE3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; INSERT INTO bom_op_sequences_interface&lt;br /&gt;(process_flag&lt;br /&gt;,assembly_item_id&lt;br /&gt;,organization_id&lt;br /&gt;,operation_seq_num&lt;br /&gt;,department_id&lt;br /&gt;,effectivity_date&lt;br /&gt;,transaction_type&lt;br /&gt;)&lt;br /&gt;VALUES (1&lt;br /&gt;,&amp;assembly_item_id&lt;br /&gt;,&amp;organization_id&lt;br /&gt;,&amp;operation_seq_num&lt;br /&gt;,&amp;department_id&lt;br /&gt;,&amp;effectivity_date&lt;br /&gt;,'insert'&lt;br /&gt;);&lt;br /&gt; &lt;br /&gt;BOM_OP_RESOURCES_INTERFACE TABLE.&lt;br /&gt;a. REQUIRED COLUMNS FOR THE BOM_OP_RESOURCES_INTERFACE TABLE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You must always enter values for the following required columns when &lt;br /&gt;you insert rows into the BOM_OP_RESOURCES_INTERFACE table:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PROCESS_FLAG&lt;br /&gt;RESOURCE_SEQ_NUM &lt;br /&gt;RESOURCE_ID &lt;br /&gt;OPERATION_SEQUENCE_ID &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You must specify a value in the ALTERNATE_ROUTING_DESIGNATOR column if &lt;br /&gt;you assign resources to an alternate routing and have not entered a &lt;br /&gt;value for the ROUTING_SEQUENCE_ID or the OPERATION_SEQUENCE_ID column.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you insert a row into the BOM_OP_RESOURCES_INTERFACE table, you &lt;br /&gt;must set the PROCESS_FLAG to 1 (Pending) for the Bill and Routing &lt;br /&gt;Interface program to process the record.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b. DERIVED/DEFAULTED COLUMN VALUES FOR BOM_OP_RESOURCES_INTERFACE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Bill and Routing Interface program derives or defaults most of the &lt;br /&gt;data required to assign a resource to an operation. You can optionally &lt;br /&gt;include a value for derived or defaulted columns, as well as data for &lt;br /&gt;any of the other columns in the interface. The interface program uses &lt;br /&gt;the same logic to derive or default column values in the &lt;br /&gt;BOM_OP_RESOURCES_INTERFACE table as in the BOM_OP_ROUTINGS_INTERFACE &lt;br /&gt;table and BOM_OP_SEQUENCES_INTERFACE tables. When you populate a &lt;br /&gt;column in the interface table, the program imports the row with the &lt;br /&gt;data you included and does not default a value. However, if you do not &lt;br /&gt;enter data in a derived or defaulted column, the program automatically&lt;br /&gt;imports the row with the derived or defaulted value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BOM_OP_RESOURCES_INTERFACE Derived or Defaulted Value&lt;br /&gt;OPERATION_SEQUENCE_ID Sequence BOM_OP_SEQUENCES_INTERFACE or &lt;br /&gt;BOM_OPERATION_SEQUENCES_S&lt;br /&gt;RESOURCE_ID From RESOURCE_CODE&lt;br /&gt;ACTIVITY_ID From ACTIVITY&lt;br /&gt;STATDARD_RATE_FLAG From BOM_RESOURCES.STANDARD_RATE_FLAG&lt;br /&gt;ASSIGNED UNITS 1&lt;br /&gt;USAGE_RATE_OR_AMOUNT 1&lt;br /&gt;USAGE_RATE_OR_AMOUNT_INVERSE 1&lt;br /&gt;BASIS_TYPE From BOM_RESOURCES.DEFAULT_BASIS&lt;br /&gt;SCHEDULE_FLAG 2&lt;br /&gt;LAST_UPDATE_DATE System Date&lt;br /&gt;LAST_UPDATED_BY Userid&lt;br /&gt;CREATION_DATE System Date&lt;br /&gt;CREATED_BY Userid&lt;br /&gt;AUTOCHARGE_TYPE From BOM_RESOURCES.AUTOCHARGE_TYPE&lt;br /&gt;REQUEST_ID From FND_CONCURRENT_REQUESTS&lt;br /&gt;ASSEMBLY_ITEM_ID From ASSEMBLY_ITEM_NUMBER&lt;br /&gt;ORGANIZATION_ID From ORGANIZATION_CODE&lt;br /&gt;ROUTING_SEQUENCE_ID From BOM_OP_ROUTINGS_INTERFACE or &lt;br /&gt;BOM_OPERATIONAL_ROUTINGS&lt;br /&gt;INSERT INTO bom_op_resources_interface&lt;br /&gt;(process_flag&lt;br /&gt;,resource_seq_num&lt;br /&gt;,resource_id&lt;br /&gt;,assembly_item_id&lt;br /&gt;,organization_id&lt;br /&gt;,operation_seq_num&lt;br /&gt;,effectivity_date&lt;br /&gt;,transaction_type&lt;br /&gt;)&lt;br /&gt;VALUES (1&lt;br /&gt;,&amp;resource_seq_num&lt;br /&gt;,&amp;resource_id&lt;br /&gt;,&amp;assembly_item_id&lt;br /&gt;,&amp;organization_id&lt;br /&gt;,&amp;operation_seq_num&lt;br /&gt;,&amp;effectivity_date&lt;br /&gt;,'insert'&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;This Article from Uday Somavarapu BlogSpot&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1834489062607870106?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1834489062607870106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1834489062607870106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1834489062607870106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1834489062607870106'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/to-import-routing-with-operations-and.html' title='To import a routing with operations and resource'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2387532977329655677</id><published>2010-08-26T10:06:00.001+05:30</published><updated>2010-08-26T10:06:32.886+05:30</updated><title type='text'>Accounts Payable Suppliers Show In Release 12 Receivables Customer</title><content type='html'>Following Oracle support note has the answers to some common questions..&lt;br /&gt; &lt;br /&gt;FAQ: Why Do Accounts Payable Suppliers Show In Release 12 Receivables Customer Form? [ID 733801.1]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2387532977329655677?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2387532977329655677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2387532977329655677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2387532977329655677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2387532977329655677'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/accounts-payable-suppliers-show-in.html' title='Accounts Payable Suppliers Show In Release 12 Receivables Customer'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-765043968724838644</id><published>2010-08-11T20:03:00.003+05:30</published><updated>2010-08-11T20:05:53.527+05:30</updated><title type='text'>R12 AP Tax Tables</title><content type='html'>select * from ZX_TAXES_VL&lt;br /&gt;&lt;br /&gt;select * from ZX_TAXES_TL&lt;br /&gt;&lt;br /&gt;select * from ZX_TAXES_b&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-765043968724838644?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/765043968724838644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=765043968724838644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/765043968724838644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/765043968724838644'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/r12-ap-tax-tables.html' title='R12 AP Tax Tables'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5772128422447566428</id><published>2010-08-11T16:37:00.001+05:30</published><updated>2010-08-11T16:38:36.950+05:30</updated><title type='text'>Items Master and Child Conflict Trouble shooting guide</title><content type='html'>Troubleshooting Guide for INV_IOI_MASTER_CHILD Errors in Item Import [ID 429924.1]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5772128422447566428?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5772128422447566428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5772128422447566428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5772128422447566428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5772128422447566428'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/items-master-and-child-conflict-trouble.html' title='Items Master and Child Conflict Trouble shooting guide'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1733952443391300863</id><published>2010-08-10T17:00:00.000+05:30</published><updated>2010-08-10T17:01:02.739+05:30</updated><title type='text'>AP Invoices conversion process</title><content type='html'>The process for AP invoice program is as follows: &lt;br /&gt;&lt;br /&gt;Excel Sheet -&gt; Data file -&gt; SQL Loader (Control file) -&gt; Staging Tables -&gt; Run Validation program -&gt; Interface Tables -&gt; Run the Payables Open Invoice Import Program -&gt; Base Tables &lt;br /&gt;&lt;br /&gt;Staging tables: &lt;br /&gt;Create a custom staging table XX_AP_INVOICE_INTERFACE, XX_AP_INVOICE_LINES_INTERFACE which should be same as seeded interface table AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE. &lt;br /&gt;&lt;br /&gt;Interface Tables: &lt;br /&gt;1. AP_INVOICES_INTERFACE &lt;br /&gt;2. AP_INVOICE_LINES_INTERFACE &lt;br /&gt;&lt;br /&gt;Base Tables: &lt;br /&gt;1. AP_INVOICES_ALL &lt;br /&gt;2. AP_INVOICE_DISTRIBUTIONS_ALL &lt;br /&gt;3. AP_PAYMENT_SCHEDULES_ALL &lt;br /&gt;&lt;br /&gt;Process Flow: &lt;br /&gt;----------------- &lt;br /&gt;1. Excel sheet template is prepared which contains all the columns in AP_INVOICES_INTERFACE and AP_INVOICE_LINES table. &lt;br /&gt;2. Convert the Excel Sheet which contains data to be interfaced given by the user into CSV file format. &lt;br /&gt;3. Format the CSV file so that it contains only the relevant data separated with commas. &lt;br /&gt;4. Rename the CSV into DAT file. &lt;br /&gt;5. Prepare the Control File. &lt;br /&gt;6. Run SQL Loader Script. &lt;br /&gt;7. Check the Log file for any errors. In case of any errors rectify it and re-run the SQL Loader Script. &lt;br /&gt;8. Run the PL/SQL Program to validate staging table data and load to Interface tables. &lt;br /&gt;9. Run the Payables Open Invoice Import Program. &lt;br /&gt;10. Check for the status in the Interface Table. &lt;br /&gt;11. Query for the data in the front-end.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1733952443391300863?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1733952443391300863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1733952443391300863' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1733952443391300863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1733952443391300863'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/ap-invoices-conversion-process.html' title='AP Invoices conversion process'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3861475043869821194</id><published>2010-08-09T20:13:00.002+05:30</published><updated>2010-08-09T20:13:49.001+05:30</updated><title type='text'>Script to Cancel AP Invoices</title><content type='html'>/* Formatted on 2010/08/09 20:15 (Formatter Plus v4.8.0) */&lt;br /&gt;CREATE OR REPLACE PROCEDURE cancel_invoices (ip_operating_unit IN VARCHAR2)&lt;br /&gt;AS&lt;br /&gt;   l_resp_id                      NUMBER;&lt;br /&gt;   l_appl_id                      NUMBER;&lt;br /&gt;   l_user_id                      NUMBER          := apps.fnd_global.user_id;&lt;br /&gt;   l_org_id                       NUMBER          := apps.fnd_global.org_id;&lt;br /&gt;   l_message_name                 VARCHAR2 (1000);&lt;br /&gt;   l_invoice_amount               NUMBER;&lt;br /&gt;   l_base_amount                  NUMBER;&lt;br /&gt;   l_tax_amount                   NUMBER;&lt;br /&gt;   l_temp_cancelled_amount        NUMBER;&lt;br /&gt;   l_cancelled_by                 VARCHAR2 (1000);&lt;br /&gt;   l_cancelled_amount             NUMBER;&lt;br /&gt;   l_cancelled_date               DATE;&lt;br /&gt;   l_last_update_date             DATE;&lt;br /&gt;   l_original_prepayment_amount   NUMBER;&lt;br /&gt;   l_pay_curr_invoice_amount      NUMBER;&lt;br /&gt;   l_token                        VARCHAR2 (100);&lt;br /&gt;   l_boolean                      BOOLEAN;&lt;br /&gt;   err_msg                        VARCHAR2 (2000);&lt;br /&gt;&lt;br /&gt;   CURSOR invoice_cur&lt;br /&gt;   IS&lt;br /&gt;      SELECT aia.invoice_id, aia.last_updated_by, aia.last_update_login,&lt;br /&gt;             aia.gl_date, aia.invoice_num&lt;br /&gt;        FROM xx_ap_invoices_conv_stg a,&lt;br /&gt;             ap_invoices_all aia,&lt;br /&gt;             ap_invoice_lines_all aila&lt;br /&gt;       WHERE a.ls_inv_num = aia.invoice_num&lt;br /&gt;         AND a.ls_org_id = aia.org_id&lt;br /&gt;         AND aia.invoice_id = aila.invoice_id&lt;br /&gt;         AND aia.org_id = aila.org_id&lt;br /&gt;         AND aia.payment_status_flag = 'N'&lt;br /&gt;         AND NVL (aila.cancelled_flag, 'N') &lt;&gt; 'Y';&lt;br /&gt;---    AND aia.invoice_num = '65431';&lt;br /&gt;BEGIN&lt;br /&gt;   BEGIN&lt;br /&gt;      SELECT DISTINCT fr.responsibility_id, frx.application_id&lt;br /&gt;                 INTO l_resp_id, l_appl_id&lt;br /&gt;                 FROM apps.fnd_responsibility frx,&lt;br /&gt;                      apps.fnd_responsibility_tl fr&lt;br /&gt;                WHERE fr.responsibility_id = frx.responsibility_id&lt;br /&gt;                  AND UPPER (fr.responsibility_name) LIKE&lt;br /&gt;                         UPPER (DECODE (ip_operating_unit,&lt;br /&gt;                                        'OU USA MA', 'Payables Manager',&lt;br /&gt;                                        'OU USA WI', 'OU USA WI_Payables Manager',&lt;br /&gt;                                        'OU Austria', 'OU AUSTRIA_Payables Manager',&lt;br /&gt;                                        'OU China', 'OU CHINA_Payables Manager'&lt;br /&gt;                                       )&lt;br /&gt;                               );&lt;br /&gt;&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_resp_id =&gt; ' || l_resp_id);&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_appl_id =&gt; ' || l_appl_id);&lt;br /&gt;   EXCEPTION&lt;br /&gt;      WHEN OTHERS&lt;br /&gt;      THEN&lt;br /&gt;         err_msg :=&lt;br /&gt;                  'Error Occured while Deriving responsibility id' || SQLERRM;&lt;br /&gt;         apps.fnd_file.put_line&lt;br /&gt;                            (apps.fnd_file.output,&lt;br /&gt;                             'Error Occured while Deriving responsibility id'&lt;br /&gt;                            );&lt;br /&gt;   END;&lt;br /&gt;&lt;br /&gt;   mo_global.set_policy_context ('S', l_org_id);&lt;br /&gt;   apps.fnd_global.apps_initialize (l_user_id, l_resp_id, l_appl_id);&lt;br /&gt;&lt;br /&gt;   FOR l_inv_rec IN invoice_cur                                 ----(l_org_id)&lt;br /&gt;   LOOP&lt;br /&gt;      DBMS_OUTPUT.put_line&lt;br /&gt;         (   'Calling API ap_cancel_pkg.ap_cancel_single_invoice to Cancel Invoice: '&lt;br /&gt;          || l_inv_rec.invoice_num&lt;br /&gt;         );&lt;br /&gt;      DBMS_OUTPUT.put_line&lt;br /&gt;             ('**************************************************************');&lt;br /&gt;      l_boolean :=&lt;br /&gt;         ap_cancel_pkg.ap_cancel_single_invoice&lt;br /&gt;                (p_invoice_id                      =&gt; l_inv_rec.invoice_id,&lt;br /&gt;                 p_last_updated_by                 =&gt; l_inv_rec.last_updated_by,&lt;br /&gt;                 p_last_update_login               =&gt; l_inv_rec.last_update_login,&lt;br /&gt;                 p_accounting_date                 =&gt; l_inv_rec.gl_date,&lt;br /&gt;                 p_message_name                    =&gt; l_message_name,&lt;br /&gt;                 p_invoice_amount                  =&gt; l_invoice_amount,&lt;br /&gt;                 p_base_amount                     =&gt; l_base_amount,&lt;br /&gt;                 p_temp_cancelled_amount           =&gt; l_temp_cancelled_amount,&lt;br /&gt;                 p_cancelled_by                    =&gt; l_cancelled_by,&lt;br /&gt;                 p_cancelled_amount                =&gt; l_cancelled_amount,&lt;br /&gt;                 p_cancelled_date                  =&gt; l_cancelled_date,&lt;br /&gt;                 p_last_update_date                =&gt; l_last_update_date,&lt;br /&gt;                 p_original_prepayment_amount      =&gt; l_original_prepayment_amount,&lt;br /&gt;                 p_pay_curr_invoice_amount         =&gt; l_pay_curr_invoice_amount,&lt;br /&gt;                 p_token                           =&gt; l_token,&lt;br /&gt;                 p_calling_sequence                =&gt; NULL&lt;br /&gt;                );&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_message_name =&gt; ' || l_message_name);&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_invoice_amount =&gt; ' || l_invoice_amount);&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_base_amount =&gt; ' || l_base_amount);&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_tax_amount =&gt; ' || l_tax_amount);&lt;br /&gt;      DBMS_OUTPUT.put_line (   'l_temp_cancelled_amount =&gt; '&lt;br /&gt;                            || l_temp_cancelled_amount&lt;br /&gt;                           );&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_cancelled_by =&gt; ' || l_cancelled_by);&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_cancelled_amount =&gt; ' || l_cancelled_amount);&lt;br /&gt;      DBMS_OUTPUT.put_line ('l_cancelled_date =&gt; ' || l_cancelled_date);&lt;br /&gt;      DBMS_OUTPUT.put_line ('P_last_update_date =&gt; ' || l_last_update_date);&lt;br /&gt;      DBMS_OUTPUT.put_line (   'P_original_prepayment_amount =&gt; '&lt;br /&gt;                            || l_original_prepayment_amount&lt;br /&gt;                           );&lt;br /&gt;      DBMS_OUTPUT.put_line (   'l_pay_curr_invoice_amount =&gt; '&lt;br /&gt;                            || l_pay_curr_invoice_amount&lt;br /&gt;                           );&lt;br /&gt;&lt;br /&gt;      IF l_boolean&lt;br /&gt;      THEN&lt;br /&gt;         DBMS_OUTPUT.put_line (   'Successfully Cancelled the Invoice =&gt; '&lt;br /&gt;                               || l_inv_rec.invoice_num&lt;br /&gt;                              );&lt;br /&gt;         COMMIT;&lt;br /&gt;      ELSE&lt;br /&gt;         DBMS_OUTPUT.put_line (   'Failed to Cancel the Invoice =&gt; '&lt;br /&gt;                               || l_inv_rec.invoice_num&lt;br /&gt;                              );&lt;br /&gt;         ROLLBACK;&lt;br /&gt;      END IF;&lt;br /&gt;   END LOOP;&lt;br /&gt;END cancel_invoices;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3861475043869821194?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3861475043869821194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3861475043869821194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3861475043869821194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3861475043869821194'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/script-to-cancel-ap-invoices.html' title='Script to Cancel AP Invoices'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-198119395648688756</id><published>2010-08-02T16:32:00.002+05:30</published><updated>2010-08-02T17:18:08.397+05:30</updated><title type='text'>Item Import Overview</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;Item Import Overview&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Use the item import process to import items from your legacy system or PDM system. You can import items from any source into Oracle Inventory and Oracle Engineering. When you import items through the Item Interface, you create new items in your Item Master organization or assign existing items to additionalorganizations.  You can specify values for all the item attributes, or you canspecify just a few attributes and let the remainder default or remain Null.  You can also specify an item template for each item and inherit attribute values from the template.  The Item Interface also lets you import revision details, including past and future revisions and effectivity dates.  Validation of imported items is done using the same rules as the item definition forms, so you are insured of valid items.The Item Interface reads data from two tables for importing items and item details.  You use the MTL_SYSTEMS_ITEM_INTERFACE table for new item numbers and all item attributes.  This is the main item interface table, and can be the only table you choose to use.  If you are importing revision details for new items, you can use the MTL_ITEM_REVISIONS_INTERFACE table.  A third table, MTL_INTERFACE_ERRORS, is used for error tracking of all items that the Item Interface fails. You can import item categories using  interface  table called as MTL_ITEM_CATEGORIES_INTERFACE.Before you use the Item Interface, you must write and run a custom program that extracts item information from your source system and inserts it into the MTL_SYSTEM_ITEM_INTERFACE table, and (if revision detail is included) the MTL_ITEMS_REVISIONS_INTERFACE table.  After you load the items into these interface tables, you run the Item Interface to import the data.  The Item Interface assigns defaults, validates data you include, and then imports the new items.  You may also specify an item template for each item being imported.  You must import items into the Item Master organization before you import itemsinto additional organizations.  You can accomplish this by specifying only your Item Master organization on first run of the Item Interface.  Once this has completed, you can run the Item Interface again, this time specifying an additional or all organizations.  You can also use the Item Interface to import a single item material cost and material overhead, and revision details.Below we will walk through few scenarios of item import. Scenario: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;1Testing the basic item import with minimum columns populated. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;First always try to populate the master organization with a sample record and test.1. How do I know my organization code and organization id ?Select organization_code , organization_id from org_organization_definitionsorder by organization_code;Sample out put is below.ORG ORGANIZATION_ID--- -------------------------------V1              204M1              207M2              209M3              606M4             1641M5             1642M6             1643M7             1644....2. How do I know which organization is master to a child organization?select a.organization_id ,a.organization_code,a.master_organization_id,b.organization_code from mtl_parameters a, org_organization_definitions bwhere a.master_organization_id = b.organization_idorder by a.organization_code;Sample out put is belowORGANIZATION_ID             ORG     MASTER_ORGANIZATION_ID                    ORG--------------------------- ------- ----------------------------------------  -------            204                   V1                    204                   V1            207                   M1                    204                   V1            209                   M2                    204                   V1            606                   M3                    204                   V1           1641                   M4                    204                   V1           1642                   M5                    204                   V1           1643                   M6                    204                   V1           1644                   M7                    204                   V1      .....In the above example for organizations M1 to M7, V1 organization is the master organization.Populating V1 organization with one new item using just the basic columns.Please truncate all IOI interface tables before loading mtl_system_items_interface: ex. TRUNCATE TABLE  &lt;tablename&gt;TRUNCATE TABLE  INV.MTL_SYSTEM_ITEMS_INTERFACE;TRUNCATE TABLE  INV.MTL_INTERFACE_ERRORS;TRUNCATE TABLE  INV.MTL_ITEM_REVISIONS_INTERFACE;TRUNCATE TABLE  INV.MTL_ITEM_CATEGORIES_INTERFACE;Note: Truncate frees space, delete does not free space.insert into mtl_system_items_interface(process_flag,set_process_id,transaction_type,organization_id,segment1,description)values(1,1,'CREATE',204,'TESTITEMIMPORT', 'Testing Item Import');commit;In the above insert Process_Flag = 1. Only when process_flag = 1 will the item import program process the record.Set_Process_Id = 1. You can set which ever number you want for this column. This is basically used like a batch number. You can tell item import which set of records to process by entering a set_process_id.Transaction_Type is 'CREATE' when you are inserting new records and 'UDATE' when you are updating existing records.We are using organization_id 204 which is for master organization V1.Note: If you have more than one segment defined for items please populate all those segments.To check which segments to be populated please got to Setup &gt; Flexfields &gt; Key &gt; Segments . Now query up 'System Items' by putting it in flexfield title.Select segments button, and now you should be able to see the different segments being defined.Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to master items screen and query on 'TESTITEMIMPORT' the item that we had populated and you should be able to see the item.Similarly you can import the same item for the child organization. Eg. we want item 'TESTITEMIMPORT' in organization M1 say Seattle manufacturing then all I have to do is replace the organization_id by M1 organization_id. Now the insert statement will look like this.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description)values(1,1,'CREATE',207,'TESTITEMIMPORT', 'Testing Item Import');commit;Run the item import with the same parameters and then check if the concurrent request has completed successfully.Now do Change Organization and go to Organization Item screen and query up TESTITEMIMPORT and you should be able to see the item in M1 organization.Scenario: 2~~~~~~~~~~~~~To import items and use item templates.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^To see all template names run the following sql.select template_id,template_name,description from MTL_ITEM_TEMPLATES;To see all the attributes related to template run the following sql.select template_id,attribute_name,enabled_flag,report_user_value  from MTL_ITEM_TEMPL_ATTRIBUTES where template_id = &amp;amp;template_id;Please subsitute the template id from the 1st query in the second query to see the attribute values.In our example I am going to use Purchasing Template.select template_id,template_name,description from MTL_ITEM_TEMPLATESwhere template_id = 259;template_id template_name  description----------- -------------  ----------------        259 Purchased Item Purchased ItemWe are going to insert a new item in the master organization and use the purchasing template.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description,TEMPLATE_ID)values(1,1,'CREATE',204,'TESTTEMPLATE', 'Testing Item Import With Template',259);commit;Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to master items screen and query on 'TESTTEMPLATE' the item that we had populated and you should be able to see the item. Now you will see that the purchasing attributes are set because we used the purchasing template.Note: Instead of using template_id we can use template_name and you should see the same effect.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description,TEMPLATE_NAME)values(1,1,'CREATE',204,'TESTTEMPLATE', 'Testing Item Import With Template','Purchased Item');commit;Scenario: 3~~~~~~~~~~~~To import items and material cost associated to it.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^First check which cost elements are defined for the organizaion.select cost_type_id,cost_type,description from CST_COST_TYPES;Output looks like this.cost_type_id cost_type     description------------ ------------- ------------------------------------           1 Frozen Frozen Standard Cost Type           2 Average       Average Cost Type           3 Pending       Pending Standard Cost Type.....To find the sub element name defined for your organization for a particular cost type please check bom resources table.In our example we are checking for material sub element in organization M1 with organization_id = 207 for cost_code type 1.select resource_code,description,cost_element_id,cost_code_type from bom_resources where organization_id = 207and cost_code_type= 1;resource_code description       cost_element_id cost_code_type------------- ----------------- --------------- --------------Material      Material Sub element    1                1Labor         Labor Sub element       1                1Expense       Expense Sub element     1                1In our scenario we want to create a new item in organization M1 along with its material cost (say $11) assuming the same item is already created in master organization V1.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description,template_id,MATERIAL_COST,MATERIAL_SUB_ELEM)values(1,1,'CREATE',207,'TESTCOSTMATERIAL', 'Testing Item Material Cost Import',259,11,'Material');commit;In the above sql you might have observed we are populating MATERIAL_COST  and MATERIAL_SUB_ELEM.Similary we can use MATERIAL_SUB_ELEM_ID, MATERIAL_OH_RATE,  MATERIAL_OH_SUB_ELEM and MATERIAL_OH_SUB_ELEM_ID colums.To check the subelements you can go to Cost management responsibility for your organization and under Setup &gt; Sub-Elements you will see the respective subelements being defined.Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'TESTCOSTMATERIAL' the item that we had populated and you should be able to see the item. Go to Tools &gt; Item Costs and then hit Open button from Item Cost Summary screenand you should see the details. In out example we see a material cost of $11 for the item in cost type 'Frozen'(Standard Costing).NOTE: Item import cannot be used to update item costs.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You have to populate CST_ITEM_CST_DTLS_INTERFACE,CST_RESOURCE_COSTS_INTERFACE,CST_RES_OVERHEADS_INTERFACE and CST_DEPT_OVERHEADS_INTERFACE accordingly.The concurrent request can be launched by navigating to cost-&gt;cost mass edits-&gt;Import Cost Information.The parameters for the Cost Import concurrent program and their description isas follows : Import Cost Option :   A LOV is provided from which the user can select one of the import options which may be either  to import Only item costs , Only resource costs , Only overhead rates  or  all the cost information . Option                        Table from which data is processed ----------                    -------------------------------------------- Only item cost          cst_item_cst_dtls_interface Only resource costs           cst_resource_costs_interface Only overhead rates           cst_res_overheads_interface ,                               cst_dept_overheads_interface All Cost Information        From all the four interface tablesMode to run this request  :  A LOV is provided with possible two values , 'Insert new cost' or 'Remove and replace cost'.                            The 'Insert new cost'  mode ,  is useful if you are importing large # of  items and are not sure if that Item/Organization/Cost Type combination already exists in the production  tables,  if it does then the row in the interface table would  be flaged as errored and not imported.This would prevent any accidental overwrite of already existing data.                             With 'Remove and replace cost' mode all the previous cost information for this item, cost_type and organization combination will be deleted from the production tables and the new information will overwrite (replace) the already existing one. Group Id Option :   A LOV is provided from which the user can either select 'ALL' or 'Specific Group Id' . If the user wishes to submit multiple Cost Import process requests  he can do so by submitting one request per group id. For doing so the data in the interface tables should be stamped with distinct group id value by using the NEXTVAL from the sequence generator CST_LISTS_S .The use of this sequence geneartor is a MUST for generating multiple groups or may lead to data corruption as these interface tables are used by other processes too.                     If the user selects  "ALL"  from the list then a group ID generated by a sequence will replace the group ID in the interface tables (if any) and all the unprocessed rows from the four interface table (viz. cst_item_cst_dtls_interface , cst_resource_costs_interface , cst_res_overheads_interface , cst_dept_overheads_interface ) will be processed in one run. Cost type to import to :  The user is provided with a  LOV from which he needs to select the cost type in which he wishes to import the cost information. Even if the user has  populated a cost type or cost type ID in the interface tables, it would  be overwritten with the one that is selected here. The cost types that the user can  pick from is restricted to the multi-org, updateable cost types. Delete succesfull rows :  This parameter decides whether  the successfully processed  rows should be deleted from the interface tables at the end of the run. If the user selects 'Yes' then all the successful rows be deleted,  basically rows that do not have their error flag set to "E".Importing directly into Frozen/Average cost type (i.e non updateable cost types)and merging of new cost with existing costs is not supported at this time andwould still have to be processed by cost update routines. Also when importingthe costs from the interface table ,material overhead defaults (if any)specified for an Organization/Category would not be respected.Minimum columns in each table that the user needs to provide1.  CST_ITEM_CST_DTLS_INTERFACE The columns that the user has to provide are    a.  Inventory_item_id    b.  organization_ID or organization_code.    c.  resource_ID or resource_code for cost elements other than 1(material).        If we are importing cost into material cost element and default material        subelement has been specified on 'Define Organization parameters' form        then that would be respected unless the user overides it with a value        in this column.    d.  usage_rate_or_amount    e.  cost_element_ID or cost_element    f.  Process Flag (must be set to 1) We default values for based_on_rollup, shrinkage_rate, inventory_asset_flag, lot_size from the row from CST_ITEM_COSTS for this item and the default cost type(default cost type of the cost type specified to import the costs into). If there is no such row already defined in CST_ITEM_COSTS, then, the values for these 4 columns also need to be specified and they have to be the same for all rows of this item, cost type and organization combination.CST_RESOURCE_COSTS_INTERFACE   a.  Resource_ID or resource_code   b.  organization_ID or organization_code   c.  resource_rate   d.  Process_flag (must be set to 1)CST_RES_OVERHEADS_INTERFACE   a.  Resource_ID or resource_code   b.  Overhead_ID or overhead   c.  Organization_ID or organization_code   d.  Process_flag(must be set to 1)CST_DEPT_OVERHEADS_INTERFACE   a.  Department_ID or department   b.  Overhead_ID or overhead   c.  Organization_ID   d.  Rate_or_amount   e.  Process_flag(must be set to 1)The other columns will be defaulted.This is available for only 11.5.9 and above customers.Customers on 11.5.8 can apply patch 2193391 to get this functionality.Please refer to costing Manuals for further details.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^In case you have any questions please log a tar with costing group.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Sample cost update statement is belowINSERT INTO CST_ITEM_CST_DTLS_INTERFACE(INVENTORY_ITEM_ID,ORGANIZATION_ID,COST_TYPE,RESOURCE_CODE,USAGE_RATE_OR_AMOUNT, COST_ELEMENT_ID,PROCESS_FLAG)VALUES(9935,207,'Pending','Material',17,1,1);commit;Using this I update the pending cost for the item from $11 to $17.Now once the pending cost is updated you will have to use 'Update Standard Cost'Concurrent program to update Frozen cost for the item from the pending cost.Scenario: 4~~~~~~~~~~~~~~To import item and revisions associated to it.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^When ever you import  a new item based on the Starting revision specified under'Revison/Lot/Serial' tab in organization parameters screen the default revison gets assigned to the item. For eg. the default revision in V1 organization is 'A' when we do item import this revision gets associated to the item.Now lets import a new item with revision 'B' which is not the default revision.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description,REVISION)values(1,1,'CREATE',204,'TESTREVB1', 'Testing Item Revision','B');Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'TESTREVB1' the item that we had populated and you should be able to see the item. Go to Tools &gt; Revisions and then you should be able to see two records one with revision 'A' which is the default revision and another with revision 'B' that we had populated.In case you want to import a new revision say revision 'C'. You directlypopulate the MTL_ITEM_REVISIONS_INTERFACE table and then run item import.insert into MTL_ITEM_REVISIONS_INTERFACE(item_number,revision, revision_label,implementation_date, effectivity_date, process_flag,  organization_id ,set_process_id, transaction_type)values('TESTREVB1','C','C',sysdate,sysdate,1,204,1,'CREATE');Commit;Now run the item import.In Process Set enter 1 as we had used 1 in the set_process_id column.Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.When you query up the item 'TESTREVB1' You will see the new revision 'C'.Scenario: 5~~~~~~~~~~~~~~Lets take into consideration we have to import more than two revisions along ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^with item creation. We will be populating MTL_ITEM_REVISIONS_INTERFACE. The key point here is the IMPLEMENTATION_DATE should increment cronologically.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description)values(1,1,'CREATE',204,'TESTREVB2', 'Testing Item Revision');insert into MTL_ITEM_REVISIONS_INTERFACE(item_number,revision, revision_label,implementation_date, effectivity_date, process_flag,  organization_id ,set_process_id, transaction_type)values('TESTREVB2','A','A',sysdate,sysdate,1,204,1,'CREATE');insert into MTL_ITEM_REVISIONS_INTERFACE(item_number,revision, revision_label,implementation_date, effectivity_date, process_flag,  organization_id ,set_process_id, transaction_type)values('TESTREVB2','B','B',sysdate+.0003472,sysdate+.0003472,1,204,1,'CREATE');insert into MTL_ITEM_REVISIONS_INTERFACE(item_number,revision, revision_label,implementation_date, effectivity_date, process_flag,  organization_id ,set_process_id, transaction_type)values('TESTREVB2','C','C',sysdate+.0023472,sysdate+.0023472,1,204,1,'CREATE');COMMIT;Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'TESTREVB2' the item that we had populated and you should be able to see the item. Go to Tools &gt; Revisions and then you should be able to see three records one with revision 'A' , another with revision 'B' and the thrid one is 'C' that we had populated.Note: We have been inctementing the minutes section by sysdate+.0003472 and sysdate+.0023472 so that the implementation date is in cronological order.Scenario: 6~~~~~~~~~~~~~~~~Lets take into consideration we have to import item categories along with items.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^select category_id,structure_id,segment1,description,category_concat_segs,structure_name from mtl_categories_vwhere segment1 = 'DAIRY'order by category_id,structure_id;category_id  structure_id segment1 description category_concat_segs structure_name ---------------------------------------------------------------------------------------       1440         51466                  DAIRYDairy Products  DAIRY                           Inventory Class       1861        51467                   DAIRYDairy Products DAIRY                            Planning Class       1869        51470                   DAIRYDairy Products DAIRY                             Sales Class       1886        51766                  DAIRYDAIRY            DAIRY                            GL Product Lineselect category_set_id,category_set_name,description,structure_name,structure_idfrom mtl_category_sets_v where category_set_name = 'Inventory Class';category_set_id category_set_name description    structure_namestructure_id---------------------------------------------------------------------             90  Inventory Class   Inventory Class Inventory Class  51466In out example we want to use category 'DAIRY'  which has a category_id of 1440 and category set 'Inventory Class' which has category_set_id of 90.You can go to the application Setup &gt; Items &gt; Categories &gt; Category Codes and using examine get the category id.You can go to the application Setup &gt; Items &gt; Categories &gt; Category Sets and using examine get the category set id.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description)values(1,1,'CREATE',204,'TESTCATG1', 'Testing Item Categories');insert into MTL_ITEM_CATEGORIES_INTERFACE(item_number,category_set_id, category_id,process_flag,  organization_id ,set_process_id, transaction_type)values('TESTCATG1',90,1440,1,204,1,'CREATE');In the above insert statement you could use CATEGORY_SET_NAME and CATEGORY_NAME instead of CATEGORY_SET_ID and CATEGORY_ID.commit;Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'TESTCATG1' the item that we had populated and you should be able to see the item. Go to Tools &gt; Categoriess and then you should be able to see category Dairy associated to the item.To verify you can run the following querySelect * from MTL_ITEM_CATEGORIES where inventory_item_id in (select distinct inventory_item_id from mtl_system_items_b where segment1 = 'TESTCATG1');It shows one record.NOTE: Populating set_process_id is mandatory for categories import. Please putthe same set process id when you run the import program.Updating exsisting item categories:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Updated transaction can only be performed as a combination of DELETE assignment, then CREATE.Lets take our above example of item 'TESTCATG1' which has now category 'DAIRY'associated with it. I want to update category 'DAIRY' with a new category 'BAKERY' whose category_id is 1436 for item 'TESTCATG1'.insert into MTL_ITEM_CATEGORIES_INTERFACE(item_number,category_set_id, category_id,process_flag,  organization_id ,set_process_id, transaction_type)values('TESTCATG1',90,1440,1,204,1,'DELETE');insert into MTL_ITEM_CATEGORIES_INTERFACE(item_number,category_set_id, category_id,process_flag,  organization_id ,set_process_id, transaction_type)values('TESTCATG1',90,1436,1,204,1,'CREATE');commit;Run item import.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 2 in create or update items field  as we are updating the exsisting item and changing its category. Hit OK button.You can check view requests to check whether your request has completed successfully.When you query up item 'TESTCATG1' and select the categories from tools you will find that the category 'BAKERY' is now asscoiated with the item.Scenario: 7~~~~~~~~~~~~Lets take into consideration we have to import item catalogs along with items.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^In our example we want to asscoiate 'ADSL Modem' catalog to our item.select ITEM_CATALOG_GROUP_ID,SEGMENT1 from MTL_ITEM_CATALOG_GROUPS_Bwhere  ITEM_CATALOG_GROUP_ID = 161;ITEM_CATALOG_GROUP_ID SEGMENT1--------------------- ----------------------------------------                  161 ADSL Modemselect ITEM_CATALOG_GROUP_ID,ELEMENT_NAME,ELEMENT_SEQUENCE,DESCRIPTION from mtl_descriptive_elementswhere  ITEM_CATALOG_GROUP_ID = 161;ITEM_CATALOG_GROUP_ID ELEMENT_NAME ELEMENT_SEQUENCE DESCRIPTION--------------------- ------------ ---------------- ----------- 161                  2wire                  10     2wire 161                  linksys                20     linksysdescinsert into mtl_system_items_interface(process_flag, set_process_id, transaction_type,organization_id,segment1,description,ITEM_CATALOG_GROUP_ID)values(1,1,'CREATE',204,'TESTCATA1', 'Testing Item Catalog',161);commit;Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 1 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'TESTCATA1' the item that we had populated and you should be able to see the item. Go to Tools &gt; Catalogs and then you should be able to see 'ADSL Modem'   along with descriptive elements '2wire' and 'linksys'. In 11.5.9 you have to manually enter the values for descriptive elements. In 11.5.10 API to import descriptive element values will be present.Scenario: 8~~~~~~~~~~~~Lets understand how to update existing items.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Lets say I have an item 'ODC' which has no buyer code in Seattle organization (M1 organization code). I want to update and asscoiate 'West, Rod' as buyer to the item 'ODC'.First I check  under Setup &gt; Items &gt; Attribute Contol to check if it controlled at the organization level or master level. In our case the attribute is controlled at the Org Level.Now we check if Rod exists in the list of valid buyers.select agent_id,agent_name,start_date_active,end_date_activefrom PO_AGENTS_V where agent_name like '%Rod%';agent_id agent_name start_date_active end_date_active-------- ---------- ----------------- ---------------    10183    West, Rod     17-FEB-04select inventory_item_id from mtl_system_items_bwhere segment1 = 'ODC'and organization_id = 207;207 organization id is for M1(Seattle organization)INVENTORY_ITEM_ID-----------------             9372Now use the above values in the insert script.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type, organization_id, inventory_item_id, BUYER_ID)values (1,1,'UPDATE',207,9372,10183);commit;Now you will observe that the transaction type is 'UPDATE' because we are updating an existing record. I am also using inventory_item_id because when you use id's the performance is better. And also when running the item import I use value 2 in create or update items field.Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 2 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'ODC' item in M1 organization. Under purchasing tab you will see that the buyer 'West, Rod' populated.Note:INCOIN does not support updating item numbers. Enhancement request 6507704 already logged for this.Scenario: 9~~~~~~~~~~~~~In this scenario you will learn how to populate character and number columns^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ and make it null.^^^^^^^^^^^^^^^^^Just from out above example we have buyer 'West, Rod' populated for item 'ODC'. Now for some reason we want to make null for buyer for item ODC.Buyer id column is a number column. To make it null we have to populate -999999.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type, organization_id, inventory_item_id, BUYER_ID)values (1,1,'UPDATE',207,9372,-999999);commit;  Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 2 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'ODC' item in M1 organization. Under purchasing tab you will see that the buyer field is updated to null.Suppose planner 'S.Peters' is asscoiated to item ODC. You want to make it null.PLANNER_CODE in mtl_system_items_interface is a charracter type. To make it null we have to use '!'.insert into mtl_system_items_interface(process_flag, set_process_id, transaction_type, organization_id, inventory_item_id, PLANNER_CODE)values (1,1,'UPDATE',207,9372,'!');commit;Now run the item import program ie. Item &gt; Import &gt; Import Items.In Process Set enter 1 as we had used 1 in the set_process_id column. Now enter 2 in create or update items field and hit OK button.You can check view requests to check whether your request has completed successfully.Now go to organization items and query on 'ODC' item in M1 organization. Under general planning tab you will see that the planner is updated to null.Note: To make number columns null use -999999 and to make character columns -----------------------------------------------------------------------------null use '!' exclamation.-------------------------Frequently Asked Questions (FAQ):~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~a. How do I know what error has occurred?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Ans .  The process_flag in mtl_system_items_interface will be 3. Now the error message will be in mtl_interface_errors table.The record in mtl_system_items_interface will have a transaction_id. There will be corresponding record with error code and explanation in mtl_interface_errors.select transaction_id from mtl_system_items_interface where process_flag = 3;Now substitue the &amp;amp;transaction_id value in the following sql by the value that you get in the ablove sql. You should be able to see the error.select message_name,column_name,error_message from mtl_interface_errors where transaction_id = &amp;amp;transaction_id;b. What things should I check if I getting errors?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Ans. First check if you are populating the correct values in all the fields. Then check if there are any mandatory descriptive flexfield columns. You can go to application setup &gt; flexfields &gt; descriptive &gt; segments and on query type ?Items? in title field and then check each segment whether it is mandatory and whether it is doing any validation against some pre-existing values in some value set. If so check if the corresponding attributes are populated properly. Many times user forgets to populate mandatory values and item import fails.Also check for invalid objectsSelect object_name,object_type from all_objects where status = 'INVALID';If any invalid objects please recompile those and retest item import.c. I run item import but records are not getting processed. The process_flag^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^is still 1.^^^^^^^^^^^Ans. Check under sysadmin&gt; concurrent managers whether inventory namager is running. Then check if there is suffcient memory and extent spaces. Use notes 1019721.6 and 1020085.6 to determine if there is a memory or extents issue. Please check if there is sufficient roll back segments , system global  area and tablespace.Please use the following truncate . This frees up space.TRUNCATE TABLE  INV.MTL_SYSTEM_ITEMS_INTERFACE;TRUNCATE TABLE  INV.MTL_INTERFACE_ERRORS;TRUNCATE TABLE  INV.MTL_ITEM_REVISIONS_INTERFACE;TRUNCATE TABLE  INV.MTL_ITEM_CATEGORIES_INTERFACE;Now try importing one record and see if you are able to import it successfully.If you see ORA-1654 happens while inserting records into mtl_pending_item_status table in the log file (01654, 00000, "unable to extend index %s.%s by %s in tablespace %s") please use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated. d. What do I do to check more in to errors and see where the import is failing?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Ans. From sysdamin please set the following profile options.INV: Debug Trace: set Yes to turn on the debug functionality. INV:Debug Level: set 10 , to print the detail debug messages.INV: Debug file (Including the complete path): The path is one of the directories from the valid                         directories defined in the obtained v$parameter through the following sql : select value from   v$parameter where  name = 'utl_file_dir';    Make sure to include the file name at the end of the path, e.g. '/&lt;&lt;directory&gt;&gt;/trx_mgr.log'MRP: Debug Mode 'Yes'2. After setting the above system profile values go to Sysadmin &gt; Concurrent &gt; Program &gt; Define. Query on short name 'INCOIN'. Now check enable trace and save. Now run the item import the log file of item import will give more details. Note: A log file may not be generated in the directory, what developmentwants is the concurrent request log file after the above settings are done.To identify the correct trace file please run the following queryselect request_id,oracle_process_idfrom fnd_concurrent_requestswhere request_id = &amp;amp;request_id;Please substitute &amp;amp;request_id by the correct request id from the concurrent program.The trace file in the trace directory would have the number thatyou get for oracle_process_id from the above query as a part of the file name.eg: if oracle_process_id = 22771The file could be ora22771.trce. 11.5.9 Item import issues and patches to be applied.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1. Cannot create items - Patch 32154732. INV_IOI_REV_BAD_ORDER error message for revisions - Patch 32263593. Item import fails with no error message - Patch 32263594. Item import completes but process_flag = 4 and set_process_id = -999         - Patch 32263595. If duplicate records for one master IOI does not import child recs for        other master records. The error message that you will get is "This Child        Item has no Master Item record in MTL_SYSTEM_ITEMS" -Patch 3474468f. List of documents required while logging a tar on item import.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1. Dump of records in all 4 interface tables (in excel spread sheet includingcolumn headers) MTL_SYSTEM_ITEMS_INTERFACE,MTL_INTERFACE_ERRORS,MTL_ITEM_REVISIONS_INTERFACE and MTL_ITEM_CATEGORIES_INTERFACE before running import and after running import.2. Output of BOMCHECK.sql (See NOTE:244145.1)3. Raw Trace, Tkprof of trace and log files after doing settings recommended in section d(What do I do to check more in to errors and see where the import is failing?) above.4. Version of INCOIN from the server.G. Some examples of errors and what it might mean^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^a.Some times users are unable to import items to child organization. They mightget error DEFAULT_INCLUDE_IN_ROLLUP_FLAG,INVENTORY_ITEM_STATUS_CODE,INVENTORY_PLANNING_CODE,PLANNER_CODE,PLANNING_MAKE_BUY_CODE,FIXED_LOT_MULTIPLIER,ROUNDING_CONTROL_TYPE,CARRYING_COST Check the corresponding attribute values.If planner code is set at Master level please make it organization level.(Ref. Oracle Inventory User Guide pg 5-52 - General Planning Attribute Group ) "Planner Code  This attribute is controlled at the Organization level only."b.Some times users might get MESSAGE NAME : BOM_PARSE_ITEM_ERROR or MESSAGE NAME : INV_IOI_ERRERROR MESSAGE : *** BAD RETURN CODE b ***Please do the following1)Please see that setup &gt; Receiving &gt; (Purchasing and Receiving) setups are complete.2)Please auto extend all MTL Tables and MTL Indexes.3)Please auto extend Table Space.4)Re-Link all Inventory libraries. Relink INCOIN.o.5)Compile all Inventory Key Flex Fields.6)Compile all invalid objects.7)Please check all INV profile options are set.8)Now truncate the interface tables and populate it with few records and run import. The error should go.H. Is there an API for Item creation and updation^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INV_ITEM_GRP.Create_item  - For creating the items  INV_ITEM_GRP.Update_item  - For updating the items (For details on calling on this API check file INVGITMB.pls)- file in /invdev/inv/11.5/patch/115/sqlOr useEGO_ITEM_PUB.Process_item - For creating/updating items (For details on calling on this API check file EGOPITMB.pls)  - file in /egodev/ego/11.5/patch/115/sql&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-198119395648688756?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/198119395648688756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=198119395648688756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/198119395648688756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/198119395648688756'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/08/item-import-overview.html' title='Item Import Overview'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2644776380380068217</id><published>2010-07-16T18:18:00.002+05:30</published><updated>2010-07-16T18:21:06.157+05:30</updated><title type='text'>Increasing Performance in cursor</title><content type='html'>To increase the performance in the cursor use below statement in the cursor&lt;br /&gt;/*+PARALLEL(OL, 10) */&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt; CURSOR cur_month_usage&lt;br /&gt;      IS&lt;br /&gt;         SELECT   /*+PARALLEL(OL, 10) */&lt;br /&gt;                  ol.sold_to_org_id,&lt;br /&gt;                  (SELECT hc.account_number&lt;br /&gt;                     FROM apps.hz_cust_accounts hc&lt;br /&gt;                    WHERE 1 = 1&lt;br /&gt;                      AND hc.cust_account_id = ol.sold_to_org_id)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2644776380380068217?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2644776380380068217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2644776380380068217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2644776380380068217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2644776380380068217'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/07/increasing-performance-in-cursor.html' title='Increasing Performance in cursor'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-5572226036027463725</id><published>2010-07-14T12:45:00.002+05:30</published><updated>2011-02-17T01:27:51.794+05:30</updated><title type='text'>Examples of the to_date function</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Examples of the to_date function might include:&lt;br /&gt;to_date('10-12-06','MM-DD-YY')&lt;br /&gt;to_date('jan 2007','MON YYYY')&lt;br /&gt;to_date('2007/05/31','YYYY/MM/DD')&lt;br /&gt;to_date('12-31-2007 12:15','MM-DD-YYYY HH:MI')&lt;br /&gt;to_date('2006,091,00:00:00' , 'YYYY,DDD,HH24:MI:SS')&lt;br /&gt;to_date('15-may-2006 06:00:01','dd-mon-yyyy hh24:mi:ss')&lt;br /&gt;to_date('022002','mmyyyy')&lt;br /&gt;to_date('12319999','MMDDYYYY')&lt;br /&gt;to_date(substr( collection_started,1,12),'DD-MON-YY HH24')&lt;br /&gt;to_date('2004/10/14 21', 'yyyy/mm/dd hh24')&lt;br /&gt;TO_DATE(First_Load_Time, 'yyyy-mm-dd/hh24:mi:ss'))*24*60) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;To see the current system date and time with time zone use CURRENT_DATE function&lt;br /&gt;&lt;/strong&gt;select sysdate, sysdate+1/24, sysdate +1/1440, sysdate + 1/86400 from dual;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;select sysdate NOW, sysdate+30/(24*60*60) NOW_PLUS_30_SECS from dual;&lt;br /&gt;&lt;/strong&gt;NOW                                  NOW_PLUS_30_SECS&lt;br /&gt;--------------------                --------------------&lt;br /&gt;03-JUL-2005 16:47:23            03-JUL-2005 16:47:53&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-5572226036027463725?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/5572226036027463725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=5572226036027463725' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5572226036027463725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/5572226036027463725'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2010/07/examples-of-todate-function.html' title='Examples of the to_date function'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-8484879446754074689</id><published>2009-10-30T16:57:00.000+05:30</published><updated>2009-10-30T16:59:53.721+05:30</updated><title type='text'>Expense Report Restriction of Viewing from other users</title><content type='html'>Expense Report Restriction of Viewing from other users &lt;br /&gt;&lt;br /&gt;For restricting the user to view other users expense report from his View Expense report tab we need to set up below &lt;br /&gt;&lt;br /&gt;• @Japan Web Expenses&lt;br /&gt;&lt;br /&gt;Navigation:  sysadmin--&gt;security--&gt;responsibility--&gt;Define (F11 query for above responsibility and add securing attribute(ICX_HR_PERSON_ID), save the changes)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-8484879446754074689?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/8484879446754074689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=8484879446754074689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8484879446754074689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8484879446754074689'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/10/expense-report-restriction-of-viewing.html' title='Expense Report Restriction of Viewing from other users'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1039635805039935334</id><published>2009-07-09T09:58:00.000+05:30</published><updated>2009-07-09T10:00:52.365+05:30</updated><title type='text'>How to Reverse the distribution Lines when entered wrongly</title><content type='html'>Reverse the distribution Lines when entered wrongly &lt;br /&gt;&lt;br /&gt;Responsibility: GL Super User&lt;br /&gt;Nav: Setup &gt; Financials &gt; Flexfields &gt; Key &gt; Security &gt; Assign&lt;br /&gt;Pull up COMPANY rule&lt;br /&gt;Delete row for INR STAT AP Manager&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1039635805039935334?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1039635805039935334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1039635805039935334' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1039635805039935334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1039635805039935334'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/07/how-to-reverse-distribution-lines-when.html' title='How to Reverse the distribution Lines when entered wrongly'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2940626894818674443</id><published>2009-07-07T16:04:00.000+05:30</published><updated>2009-07-07T16:05:38.624+05:30</updated><title type='text'>Query to find on which Patch level we are for particular module</title><content type='html'>Query to find on which Patch level we are for particular module &lt;br /&gt;&lt;br /&gt;select * from fnd_application&lt;br /&gt;where APPLICATION_SHORT_NAME='PA'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from FND_PRODUCT_INSTALLATIONS&lt;br /&gt;where APPLICATION_ID=275&lt;br /&gt;&lt;br /&gt;Can cross check the PATCH_LEVEL column.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2940626894818674443?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2940626894818674443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2940626894818674443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2940626894818674443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2940626894818674443'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/07/query-to-find-on-which-patch-level-we.html' title='Query to find on which Patch level we are for particular module'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3139371647400680463</id><published>2009-07-07T15:54:00.001+05:30</published><updated>2009-07-07T15:57:16.006+05:30</updated><title type='text'>To Track Requisition Number from PO Number</title><content type='html'>If we have PO Number then use below query to get the Related Requisition Number&lt;br /&gt;&lt;br /&gt;SELECT segment1&lt;br /&gt;FROM po_requisition_headers_all&lt;br /&gt;WHERE requisition_header_id IN&lt;br /&gt;  (SELECT requisition_header_id&lt;br /&gt;   FROM po_requisition_lines_all&lt;br /&gt;   WHERE requisition_line_id IN&lt;br /&gt;    (SELECT requisition_line_id&lt;br /&gt;     FROM po_req_distributions_all&lt;br /&gt;     WHERE distribution_id IN&lt;br /&gt;      (SELECT req_distribution_id&lt;br /&gt;       FROM po_distributions_all&lt;br /&gt;       WHERE po_header_id IN&lt;br /&gt;        (SELECT po_header_id&lt;br /&gt;         FROM po_headers_all&lt;br /&gt;         WHERE segment1 = Give Po Number)&lt;br /&gt;      )&lt;br /&gt;    )&lt;br /&gt;  )&lt;br /&gt;;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3139371647400680463?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3139371647400680463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3139371647400680463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3139371647400680463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3139371647400680463'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/07/to-track-requisition-number-from-po.html' title='To Track Requisition Number from PO Number'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7397134378840361949</id><published>2009-06-26T16:53:00.001+05:30</published><updated>2009-06-26T16:54:20.523+05:30</updated><title type='text'>How to block Auto Approval of PurchaseRequisition created by preparer, and it should route to his manager for approval,though preparer has approval</title><content type='html'>How to block Auto Approval of PurchaseRequisition created by preparer, and it should route to his manager for approval,though preparer has approval Authority &lt;br /&gt;&lt;br /&gt;Navigation to change the setup as below&lt;br /&gt;&lt;br /&gt;PO Super User---&gt;Setup---&gt;Purchasing---&gt;Document Types (Select Purchase Requisition) &lt;br /&gt;&lt;br /&gt;Now uncheck the Attribute (Owner Can Approve). Save the work and close the form.&lt;br /&gt;&lt;br /&gt;Once the above setup is done, no preparer can approve the requisitions he created rather it will route to his manager, though he has Approval Authority.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7397134378840361949?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7397134378840361949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7397134378840361949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7397134378840361949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7397134378840361949'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/06/how-to-block-auto-approval-of.html' title='How to block Auto Approval of PurchaseRequisition created by preparer, and it should route to his manager for approval,though preparer has approval'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6339334282658358412</id><published>2009-06-26T16:48:00.001+05:30</published><updated>2009-06-26T16:48:39.469+05:30</updated><title type='text'>steps are involved while making payments, checkrun and generation of payment notifications</title><content type='html'>The following steps are involved while making payments, checkrun and generation of payment notifications:&lt;br /&gt;&lt;br /&gt;1. Create Invoices&lt;br /&gt;Navigation: AP Super User --&gt;Invoices--&gt;Entry--&gt;Invoice Batches&lt;br /&gt;Validate the above Invoices Through 'Actions' / Release Holds if any exist.&lt;br /&gt;&lt;br /&gt;2. Create Payment Batch&lt;br /&gt;Navigation: AP Super User --&gt;Payments--&gt;Entry--&gt;Payment Batches&lt;br /&gt;Actions --&gt; Select Invoices&lt;br /&gt;Actions --&gt; Build Payments&lt;br /&gt;Once the above steps are done Requery the Payment Batch and Click 'Payment' Button to Build Payments&lt;br /&gt;&lt;br /&gt;3. Requery Payment Batch in 'Payment Batch Window' and perform below steps one by one after completion of Concurrent requests generated by the same&lt;br /&gt;Actions --&gt; Build Payments&lt;br /&gt;Actions --&gt; Format Payments&lt;br /&gt;Actions --&gt; Confirm Payment Batch&lt;br /&gt;&lt;br /&gt;The Payment Notifications are generated in the 'Actions --&gt; Confirm Payment Batch' step, when the Payment Batch is confirmed.&lt;br /&gt;&lt;br /&gt;A trigger is executed when 'AP_INV_SELECTION_CRITERIA_ALL' table is updated with STATUS = 'CONFIRMED' and if the PAYMENT_METHOD_LOOKUP_CODE = 'EFT'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6339334282658358412?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6339334282658358412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6339334282658358412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6339334282658358412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6339334282658358412'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/06/steps-are-involved-while-making.html' title='steps are involved while making payments, checkrun and generation of payment notifications'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-2749754342424639731</id><published>2009-06-12T15:41:00.001+05:30</published><updated>2009-06-12T15:46:07.616+05:30</updated><title type='text'>How to Kill the session when there is a lock on the objects you are working in TOAD or Sqlplus</title><content type='html'>How to Kill the session when there is a lock on the objects you are working in TOAD or Sqlplus&lt;br /&gt;&lt;br /&gt;select * from V$SESSION &lt;br /&gt;where OSUSER like 'c_sgoud'  -- User name of the terminal ( may be your windows login name )&lt;br /&gt;&lt;br /&gt;Alter system kill session '146,46619'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select sid, serial# from v$session where username = 'USER';&lt;br /&gt;&lt;br /&gt;alter system kill session 'SID,SERIAL#';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-2749754342424639731?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/2749754342424639731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=2749754342424639731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2749754342424639731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/2749754342424639731'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/06/how-to-kill-session-when-there-is-lock.html' title='How to Kill the session when there is a lock on the objects you are working in TOAD or Sqlplus'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1520431966563474916</id><published>2009-06-11T17:05:00.000+05:30</published><updated>2009-06-11T17:06:24.510+05:30</updated><title type='text'>Oracle Table to Find Approval Limits for any person</title><content type='html'>Oracle Table to Find Approval Limits for any person&lt;br /&gt;&lt;br /&gt;ap_Web_signing_limits_all  &lt;br /&gt;&lt;br /&gt;query with person_id&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1520431966563474916?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1520431966563474916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1520431966563474916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1520431966563474916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1520431966563474916'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/06/oracle-table-to-find-approval-limits.html' title='Oracle Table to Find Approval Limits for any person'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-8591260536076456767</id><published>2009-05-27T12:21:00.001+05:30</published><updated>2009-05-27T12:21:33.554+05:30</updated><title type='text'>Time Card Creation</title><content type='html'>Time Card Creation &lt;br /&gt;&lt;br /&gt;Patcard Creation steps for i2 technologies client&lt;br /&gt;&lt;br /&gt;As i2 do not have OTL implemented so all the time cards created will be saved in pa tables only.&lt;br /&gt;&lt;br /&gt;Go to responsibility @webtimecards--- Create New Timecard &lt;br /&gt;Select project and other details and enter the time details for the week and submit the time cards , you will get the Time card number once you submitted.&lt;br /&gt;&lt;br /&gt;The above information is saves in Pa_expenditures_all table and the lines details are saved in the internediate interface tables once you go to the &lt;br /&gt;PA Super User ---Expenditures---Transaction Import ---Import Transactions &lt;br /&gt;here select 'PRC: Transaction Import'  select Transaction source as "Oracle Self Service Time" and Btach Name we need to take from pa_expenditures_all table USER_BATCH_NAME and submit the program.&lt;br /&gt;&lt;br /&gt;Once Submitted the records will be inserted into select * from pa_expenditure_items_all table&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-8591260536076456767?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/8591260536076456767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=8591260536076456767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8591260536076456767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8591260536076456767'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/time-card-creation.html' title='Time Card Creation'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3146127427925502639</id><published>2009-05-26T12:45:00.001+05:30</published><updated>2009-05-26T12:47:18.450+05:30</updated><title type='text'>3 C's.(Set of books)</title><content type='html'>Set of books determines the functional &lt;strong&gt;C&lt;/strong&gt;urrency, &lt;strong&gt;C&lt;/strong&gt;hart of account structure, and &lt;br /&gt;accounting &lt;strong&gt;C&lt;/strong&gt;alendar for each company or group of companies, which are known as the 3 C's.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3146127427925502639?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3146127427925502639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3146127427925502639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3146127427925502639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3146127427925502639'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/3-csset-of-books.html' title='3 C&apos;s.(Set of books)'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4122518470255834922</id><published>2009-05-12T17:20:00.000+05:30</published><updated>2009-05-12T17:22:56.222+05:30</updated><title type='text'>Select data with a hierarchical (parent/child) relationship.</title><content type='html'>Select data with a hierarchical (parent/child) relationship. &lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;   SELECT... &lt;br /&gt;   [START WITH initial_condition]&lt;br /&gt;   CONNECT BY [nocycle] PRIOR recurse_condition&lt;br /&gt;   [ORDER SIBLINGS BY order_by_clause]&lt;br /&gt;&lt;br /&gt; Key:&lt;br /&gt;&lt;br /&gt;    START WITH        : The row(s) to be used as the root of the hierarchy&lt;br /&gt;&lt;br /&gt;    CONNECT BY        : Condition that identifies the relationship between&lt;br /&gt;                        parent and child rows of the hierarchy&lt;br /&gt;&lt;br /&gt;    NOCYCLE           : Do not circle around loops (where the current row has&lt;br /&gt;                        a child which is also its ancestor.)&lt;br /&gt;&lt;br /&gt;    ORDER SIBLINGS BY : Preserve ordering of the hierarchical query &lt;br /&gt;                        then apply the order_by_clause to the sibling rows&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;create table test_connect_by (&lt;br /&gt;  Level1     varchar2(100),&lt;br /&gt;  Item      varchar2(100)&lt;br /&gt;  );&lt;br /&gt;  &lt;br /&gt;Sample Data&lt;br /&gt;  &lt;br /&gt;LEVEL1 ITEM&lt;br /&gt;&lt;br /&gt;0 123&lt;br /&gt;1 345&lt;br /&gt;2 678&lt;br /&gt;1 987&lt;br /&gt;0 666&lt;br /&gt;  &lt;br /&gt;Inserted above values in the table &lt;br /&gt;  &lt;br /&gt;insert into test_connect_by values(0,666);&lt;br /&gt;&lt;br /&gt;select * from  test_connect_by&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LEVEL1 ITEM&lt;br /&gt;&lt;br /&gt;0 123&lt;br /&gt;1 345&lt;br /&gt;2 678&lt;br /&gt;1 987&lt;br /&gt;0 666&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from test_connect_by&lt;br /&gt;connect by prior item=level1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LEVEL1 ITEM&lt;br /&gt;&lt;br /&gt;0 123&lt;br /&gt;0 666&lt;br /&gt;1 345&lt;br /&gt;1 987&lt;br /&gt;2 678&lt;br /&gt;&lt;br /&gt;=====================================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4122518470255834922?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4122518470255834922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4122518470255834922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4122518470255834922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4122518470255834922'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/select-data-with-hierarchical.html' title='Select data with a hierarchical (parent/child) relationship.'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-582474478125445303</id><published>2009-05-12T13:04:00.000+05:30</published><updated>2009-05-12T13:05:04.514+05:30</updated><title type='text'>Script to check Responsibilities assigned to particular user or users assigned for particular resposibility or all users and their responsibilities</title><content type='html'>Script to check Responsibilities assigned to particular user or users assigned for particular resposibility or all users and their responsibilities in oracle&lt;br /&gt;&lt;br /&gt;SELECT fu.user_id, fu.user_name, fur.responsibility_id,&lt;br /&gt;          fr.responsibility_name&lt;br /&gt;     FROM fnd_user fu, fnd_user_resp_groups fur, fnd_responsibility_vl fr&lt;br /&gt;    WHERE fu.user_id = fur.user_id&lt;br /&gt;           AND fr.application_id = fur.responsibility_application_id&lt;br /&gt;      AND fr.responsibility_id = fur.responsibility_id&lt;br /&gt;      AND TRUNC (SYSDATE) BETWEEN TRUNC (fr.start_date)&lt;br /&gt;                              AND TRUNC (NVL ((fr.end_date - 1), SYSDATE))&lt;br /&gt;      AND TRUNC (SYSDATE) BETWEEN TRUNC (fur.start_date)&lt;br /&gt;                              AND TRUNC (NVL ((fur.end_date - 1), SYSDATE))&lt;br /&gt;      and user_name like 'SAIRAM_GOUD'  --- for all user or for perticular user &lt;br /&gt;   -- AND fur.responsibility_application_id = 275  -- to check users for perticular responsibility         &lt;br /&gt;  order by user_name&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-582474478125445303?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/582474478125445303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=582474478125445303' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/582474478125445303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/582474478125445303'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/script-to-check-responsibilities.html' title='Script to check Responsibilities assigned to particular user or users assigned for particular resposibility or all users and their responsibilities'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7620577116212015044</id><published>2009-05-12T12:32:00.001+05:30</published><updated>2009-05-12T12:33:33.477+05:30</updated><title type='text'>Script To find Oracle API's for any module</title><content type='html'>Following script and get all the packages related to API in Oracle applications, from which you can select APIs that pertain to AP. You can change the name like to PA or AR and can check for different modules&lt;br /&gt;&lt;br /&gt;select substr(a.OWNER,1,20)&lt;br /&gt;, substr(a.NAME,1,30)&lt;br /&gt;, substr(a.TYPE,1,20) &lt;br /&gt;, substr(u.status,1,10) Stat&lt;br /&gt;, u.last_ddl_time&lt;br /&gt;, substr(text,1,80) Description &lt;br /&gt;from dba_source a, dba_objects u &lt;br /&gt;WHERE 2=2 &lt;br /&gt;and u.object_name = a.name &lt;br /&gt;and a.text like '%Header%' &lt;br /&gt;and a.type = u.object_type &lt;br /&gt;and a.name like 'PA_%API%' &lt;br /&gt;order by &lt;br /&gt;a.owner, a.name;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7620577116212015044?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7620577116212015044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7620577116212015044' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7620577116212015044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7620577116212015044'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html' title='Script To find Oracle API&apos;s for any module'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-4418113931323959626</id><published>2009-05-07T15:27:00.001+05:30</published><updated>2009-05-07T15:27:52.104+05:30</updated><title type='text'>Project Expense Report Account Generator workflow process</title><content type='html'>If using a custom Project Expense Report Account Generator workflow process:&lt;br /&gt;&lt;br /&gt;To implement the solution, please execute the following steps:&lt;br /&gt;&lt;br /&gt;1. Set the profile option 'Account Generator:Run in Debug Mode' = 'Yes'. This will persist the&lt;br /&gt;workflow data so that the custom Account Generator workflow can be debugged.&lt;br /&gt;&lt;br /&gt;2. Bounce the Apache server.&lt;br /&gt;&lt;br /&gt;3. Reproduce the error. The custom Project Expense Report Account Generator workflow process can now be viewed through the workflow monitor.&lt;br /&gt;&lt;br /&gt;4. Resolve the issue with the custom Project Expense Report Account Generator&lt;br /&gt;&lt;br /&gt;5. After the issue has been resolved, the employees whose expense reports have failed with this&lt;br /&gt;error should withdraw and resubmit their expense reports.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-4418113931323959626?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/4418113931323959626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=4418113931323959626' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4418113931323959626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/4418113931323959626'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/project-expense-report-account.html' title='Project Expense Report Account Generator workflow process'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3050741842526453215</id><published>2009-05-07T15:26:00.001+05:30</published><updated>2009-05-07T15:26:27.978+05:30</updated><title type='text'>Expense report workflow errors ( WFENG_NOTIFICATION_PERFORMER )</title><content type='html'>Expense report workflow errors ( WFENG_NOTIFICATION_PERFORMER )&lt;br /&gt;&lt;br /&gt;Failed Activity  Inform Individual of Expense Allocations Failure &lt;br /&gt;Activity Type  Notice &lt;br /&gt;Error Name  WFENG_NOTIFICATION_PERFORMER &lt;br /&gt;Error Message  3120: Activity 'APEXP/301116' has no performer. &lt;br /&gt;Error Stack  Wf_Engine_Util.Notification_Send(APEXP, 550307, 301116, APEXP:OIE_AP_EXP_ALLOCATIONS_FAILURE) Wf_Engine_Util.Notification(APEXP, 550307, 301116, RUN) &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; For the above error we need to cross check the setup for that employee who has filed the expense report &lt;br /&gt;&lt;br /&gt; select * from gl_sets_of_books&lt;br /&gt; where CHART_OF_ACCOUNTS_ID=50184&lt;br /&gt; &lt;br /&gt;select * from per_employees_x&lt;br /&gt;where EMPLOYEE_ID=72546 &lt;br /&gt;&lt;br /&gt; select * from GL_CODE_COMBINATIONS_KFV&lt;br /&gt; code_combination_id=298127&lt;br /&gt;&lt;br /&gt;and from the above cross check concatnated segments all are defined correctly or not&lt;br /&gt;&lt;br /&gt;and  you can go to HR super user and find the employee and click on Assignment buttion and from their select purchase order information where you can find the segmnents change accordigly and now file new expense report which will be in success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3050741842526453215?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3050741842526453215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3050741842526453215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3050741842526453215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3050741842526453215'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/expense-report-workflow-errors.html' title='Expense report workflow errors ( WFENG_NOTIFICATION_PERFORMER )'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-6892252625833720964</id><published>2009-05-06T14:34:00.001+05:30</published><updated>2009-05-06T14:39:43.213+05:30</updated><title type='text'>Oracle Workflow tables:</title><content type='html'>Oracle Workflow tables:&lt;br /&gt;&lt;br /&gt;WF_ACTIVITIES table stores the definition of an activity. Activities &lt;br /&gt;can be processes, notifications, functions or folders. A process activity &lt;br /&gt;is a modelled workflow process, which can be included as an activity in&lt;br /&gt;other processes to represent a subprocess. A notification activity &lt;br /&gt;sends a message to a performer. A functions activity performs an &lt;br /&gt;automated function that is written as a PL/SQL stored procedure. &lt;br /&gt;A folder activity is not part of a process, it provides a means of grouping activities.&lt;br /&gt;&lt;br /&gt;WF_ITEMS is the runtime table for workflow processes. Each row&lt;br /&gt;defines one work item within the system.&lt;br /&gt;&lt;br /&gt;WF_ITEM_ATTRIBUTES table stores definitions of attributes&lt;br /&gt;associated with a process. Each row includes the sequence in which &lt;br /&gt;the attribute is used as well as the format of the attribute data.&lt;br /&gt;&lt;br /&gt;WF_NOTIFICATIONS holds the runtime information about a specific&lt;br /&gt;instance of a sent message. A new row is created in the table each time &lt;br /&gt;a message is sent.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-6892252625833720964?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/6892252625833720964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=6892252625833720964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6892252625833720964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/6892252625833720964'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/oracle-workflow-tables.html' title='Oracle Workflow tables:'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-3676415552325839086</id><published>2009-05-05T15:37:00.001+05:30</published><updated>2009-05-05T15:37:58.564+05:30</updated><title type='text'>AP Standard Expense Report Process (Expense report workflow error)</title><content type='html'>AP Standard Expense Report Process&lt;br /&gt;&lt;br /&gt;Request Approval from APPROVER Error &lt;br /&gt;&lt;br /&gt; Failed Activity  Request Approval from APPROVER &lt;br /&gt; Activity Type  Notice &lt;br /&gt; Error Name  WFENG_NOTIFICATION_PERFORMER &lt;br /&gt; Error Message  3120: Activity 'APEXP/301347' has no performer. &lt;br /&gt; Error Stack  Wf_Engine_Util.Notification_Send(APEXP, 549406, 301347, APEXP:OIE_REQ_EXPENSE_REPORT_APPRVL)  Wf_Engine_Util.Notification(APEXP, 549406, 301347, RUN) &lt;br /&gt;&lt;br /&gt;Resolution &lt;br /&gt; &lt;br /&gt;For the errors with 'no performer'  for 'Request Approval from APPROVER'  Activity we should not restart the process, first we need to update the attribute values and then we can restart the process.&lt;br /&gt;&lt;br /&gt;Once we open the workflow notification click on 'Activities History' and below we will have "Update Attributes" Button click on that and we will have fields with &lt;br /&gt;&lt;br /&gt;Approver ID&lt;br /&gt;Approver Name&lt;br /&gt;Approver Display Name &lt;br /&gt;&lt;br /&gt;Update above fields with proper values and Click on Apply Button , it will prompt with message &lt;br /&gt;"Confirmation The workflow-level attribute values have been updated."&lt;br /&gt;&lt;br /&gt;Now go to "Monitor Activities History" window and cilck the  " Request Approval from APPROVER" Button and  Re-start the workflow now the workfow will route to correct person and will be in Active state.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-3676415552325839086?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/3676415552325839086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=3676415552325839086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3676415552325839086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/3676415552325839086'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/05/ap-standard-expense-report-process.html' title='AP Standard Expense Report Process (Expense report workflow error)'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-8282245233810625055</id><published>2009-04-27T18:04:00.001+05:30</published><updated>2009-04-27T18:04:22.066+05:30</updated><title type='text'>setting the Password for PDF File sent through XML Publisher</title><content type='html'>setting the Password for PDF File sent through XML Publisher&lt;br /&gt;&lt;br /&gt;Open the rtf  for which you want to set password and do the following things&lt;br /&gt;&lt;br /&gt;1)      Open the .rtf&lt;br /&gt;2)      Go to File - &gt; Properties &lt;br /&gt; Create a new custom property &lt;br /&gt; a)  Name   : xdo-pdf-open-password&lt;br /&gt;     Type     : text &lt;br /&gt;     Value    : Either Hard Code the value / or get the value for xml data &lt;br /&gt; b)  Name :  xdo-pdf-security&lt;br /&gt;     Type   :  text&lt;br /&gt;     Value  : true&lt;br /&gt;&lt;br /&gt;Note : property name should always start with xdo- .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-8282245233810625055?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/8282245233810625055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=8282245233810625055' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8282245233810625055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/8282245233810625055'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/04/setting-password-for-pdf-file-sent.html' title='setting the Password for PDF File sent through XML Publisher'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-1697882780308531097</id><published>2009-04-27T17:56:00.001+05:30</published><updated>2009-04-27T17:56:17.339+05:30</updated><title type='text'>Generating Excel Outputs from existing standard Oracle Reports 6i Output</title><content type='html'>Generating Excel Outputs from existing standard Oracle Reports 6i Output&lt;br /&gt;&lt;br /&gt;Most end-users use Excel as a very generic tool, because of their familiarity and the control in analysing data using the power of MS Excel.&lt;br /&gt;&lt;br /&gt;There is a trick to capture Oracle Reports output (text output) into a excel sheet.&lt;br /&gt; &lt;br /&gt;Basic Steps : &lt;br /&gt;1) Set the output format for the report to XML&lt;br /&gt;2) Run the report to generate output.&lt;br /&gt;3) Save the output file locally as a XML file.&lt;br /&gt;4) Open the file using MS Excel.&lt;br /&gt;5) To make it more beautiful, you may use a MS Excel Template.&lt;br /&gt; &lt;br /&gt;The Excel Templates can be used to do complex data analysis and formatting. Displayed example below is a simple excel template, to make the point.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-1697882780308531097?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/1697882780308531097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=1697882780308531097' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1697882780308531097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/1697882780308531097'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/04/generating-excel-outputs-from-existing.html' title='Generating Excel Outputs from existing standard Oracle Reports 6i Output'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-9118336837372796671</id><published>2009-04-27T16:01:00.000+05:30</published><updated>2009-04-27T16:02:44.739+05:30</updated><title type='text'>Points be to Noted while doing AR Conversion</title><content type='html'>Conversion (Data Migration) of Invoices in Receivables &lt;br /&gt;&lt;br /&gt;Whenever we are going in for implementation of Receivables module, we have to consider the necessity of bringing in customer open balances from the old system to Oracle Receivables.&lt;br /&gt;&lt;br /&gt;Some of the key questions that needs to be addressed before we take up a conversion activity. This is just a sample list and not an exhaustive one:&lt;br /&gt;&lt;br /&gt;1. What are the different types of invoices in existing system Provide invoice samples? (invoices, credit/ debit memos, commitments, chargebacks)&lt;br /&gt;2. Do we need to migrate only open invoices?&lt;br /&gt;3. Do we migrate closed invoices also, if yes, then for what time period?&lt;br /&gt;4. Please explain the invoice numbering mechanism? Is it automatic?&lt;br /&gt;5. What are the interfaces from/to your existing receivables system?&lt;br /&gt;6. Will the old system still be in place for querying and reporting purpose?&lt;br /&gt;&lt;br /&gt;One can adopt one of the following three strategies for conversion:&lt;br /&gt;&lt;br /&gt;1. Consolidate all the open balances customer-wise and create a single open invoice for each customer in the new Oracle system. The advantage of this system is that it is quite easy and not data intensive and makes good business sense in case of small businesses with very few customers. The major demerit of this approach is that later on one cannot track the individual invoices which the customer had sent and can become an audit issue also. In case of dispute over payment, this invoice will remain open till the dispute is resolved. Also, aging of invoices and dunning history will be lost.&lt;br /&gt;&lt;br /&gt;2. Bring in all the open and partially paid invoices, credit/debit memos into the new system. Migrate all the unapplied and partially applied receipts to the new system. The advantage of this process of conversion is that you can track all open invoices individually and apply the correct receipt to correct invoice. Also, the conversion effort will be moderately low compared to case if you migrate all open and closed invoices. The disadvantage of this approach is that you cannot have a track of closed invoices in the new system. Also, it would be tough to handle scenarios where there is a dispute regarding incorrect receipt application, etc. This is the most common approach taken for receivables invoice, credit/debit memo and receipt migration.&lt;br /&gt;&lt;br /&gt;3. Migrate all open and closed invoices to the new system. Reapply the migrated receipts to invoices in the new system. This approach makes sense if your receivables data is quite small else the effort involved in migrating all closed invoices and credit memos to the new system does not make much business sense.&lt;br /&gt;&lt;br /&gt;The next question that arises is how we should migrate the invoices, credit/debit memos and receipts to the new system. Oracle provides standard interfaces to load the same. We can also use tools like Dataloader or manually key in the data into Oracle.&lt;br /&gt;&lt;br /&gt;In this article i will talk of invoice, credit/debit memo conversion only. Prior to invoice migration, customer migration should be over apart from other pre-requisites. Following is the list of pre-requisites that should be completed prior to invoice, credit/debit memo conversion:&lt;br /&gt;&lt;br /&gt;•Set-up of Customer Payment Terms should be complete&lt;br /&gt;•Set-up of Currencies should be complete (this is necessary in case you have foreign currency invoices also)&lt;br /&gt;•Set-up of Transaction Types should be complete&lt;br /&gt;•Set-up of Accounting Rules should be complete&lt;br /&gt;•Set-up of Tax rates and Tax codes should be complete&lt;br /&gt;•Set up for sales representative should be complete&lt;br /&gt;•Set up for debtor area should be complete&lt;br /&gt;•Set up for income category should be complete&lt;br /&gt;•Automatic customer invoice numbering should be set to 'No'&lt;br /&gt;•Customer and Customer address should be migrated in the system&lt;br /&gt;•Disable the Invoice interface purge program so that the data successfully imported should not get purged in the interface table.&lt;br /&gt;•Set up for invoice batch source name should be complete&lt;br /&gt;&lt;br /&gt;In the next step extract Invoice data from the legacy files and using SQL loader populate the interface tables RA_INTERFACE_LINES_ALL and RA_INTERFACE_DISTRIBUTIONS_ALL. Submit the Auto Invoice open interface program. Data from the two interface tables will be uploaded to the following base tables using the Invoice open interface program:&lt;br /&gt;&lt;br /&gt;•RA_CUSTOMER_TRX_ALL&lt;br /&gt;•RA_CUSTOMER_TRX_LINES_ALL&lt;br /&gt;•RA_CUST_TRX_LINE_GL_DIST_ALL&lt;br /&gt;•RA_BATCHES_ALL&lt;br /&gt;•RA_CUST_TRX_LINE_SALESREPS_ALL&lt;br /&gt;•AR_RECEIVABLE_APPLICATIONS_ALL&lt;br /&gt;•AR_PAYMENT_SCHEDULES_ALL&lt;br /&gt;•RA_INTERFACE_ERRORS_ALL&lt;br /&gt;&lt;br /&gt;Ensure that the Purge Interface check box is not checked when you submit the Autoinvoice program. In the Autoinvoice errors form you can see the error corresponding to failed records. Correct the errors in the interface table and rerun the Autoinvoice program. Submit the Autoinvoice Purge Program separately. Only records that have been successfully processed by Autoinvoice are purged.&lt;br /&gt;&lt;br /&gt;Using autoinvoice you can migrate invoices, credit/debit memos and on-account credits into Oracle. However, you have to set grouping rules (Navigation &gt; Setup &gt; Transactions &gt; Autoinvoice &gt; Grouping Rule) to group lines to create one transaction and ordering rules (Navigation &gt; Setup &gt; Transactions &gt; Autoinvoice &gt; Line Ordering Rules) to determine the order of the transaction lines on a particular invoice.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-9118336837372796671?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/9118336837372796671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=9118336837372796671' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/9118336837372796671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/9118336837372796671'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/04/points-be-to-noted-while-doing-ar.html' title='Points be to Noted while doing AR Conversion'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-289938516260317702</id><published>2009-04-27T15:44:00.000+05:30</published><updated>2009-04-27T15:45:06.566+05:30</updated><title type='text'>Troubleshooting the Projects to Receivables Interface</title><content type='html'>Troubleshooting the Projects to Receivables Interface&lt;br /&gt;&lt;br /&gt;This feature is for anyone using Oracle Projects and Receivables 11.5.10 and beyond. There were several new features introduced to Projects 10.5.10 (Family Pack M), which now require additional configurations for the Receivables interface to work.Here are few quick tipts consolidated from the Metalink notes and user guides to remember what to do &lt;br /&gt;&lt;br /&gt;Open Periods&lt;br /&gt;&lt;br /&gt;Make sure to open respective accounting periods in Receivables. As Receivables Manager, navigate to Control &gt; Accounting &gt; Open/Close Periods.&lt;br /&gt;&lt;br /&gt;Retention Error&lt;br /&gt;&lt;br /&gt;You may not be using retention or multi-currency in Project Billing, but you still receive the “Transaction Code: TRA OU Level Retention Accounting flag N… Some transactions are disabled. Please Check auto-accounting setup” error when running the PRC: Interface Invoices to Receivables program (PATTAR).&lt;br /&gt;&lt;br /&gt;To resolve the error you need to enable the AutoAccounting Assignments for Unbilled Retention Account and Rounding Account.&lt;br /&gt;&lt;br /&gt;As Projects Billing Super User:&lt;br /&gt;&lt;br /&gt;Navigate to Setup &gt; AutoAccounting &gt; Assign &lt;br /&gt;Query up function ‘Revenue and Invoice Accounts’ &lt;br /&gt;Define Segment Rule Pairings for the Unbilled Retention Account &lt;br /&gt;Define Segment Rule Pairings for the Rounding Account &lt;br /&gt;Make sure to enable the Function Transactions! &lt;br /&gt;Again, you need to do this even if you do not intend to enable retention and multi-currency billing in your Implementation Options.&lt;br /&gt;&lt;br /&gt;Sales Credit Type Rejection&lt;br /&gt;&lt;br /&gt;You might get a ‘No sales credit type at Implementation or Projec Level’ rejection when running the PRC: Interface Invoices to Receivables program (PATTAR).&lt;br /&gt;&lt;br /&gt;In order to resolve this error as Projects Billing Super User:&lt;br /&gt;&lt;br /&gt;Navigate to Implementation Options &lt;br /&gt;Select ‘Exchange Rate Type’ in the Currency tab &lt;br /&gt;Select ‘Sales Credit Type’ in the Billing tab &lt;br /&gt;Transaction Source and Transaction Type Errors&lt;br /&gt;&lt;br /&gt;The seeded Project Transaction Source and Project Transaction Types might be incomplete. Make sure to review and update these for your setting you defined in the Implementation Options &gt; Billing tab. The source It is going to be ‘PROJECTS INVOICES’ (if new 11i or R12 implementation, or ‘PA INVOICES’ if upgraded from 10.7) and Transaction Types are going to be ‘Projects Invoice’ and ‘Projects Credit Memo’ (11i and beyond) or ‘PA Invoice’ and ‘PA Credit Memo’ (10.7) respectively.&lt;br /&gt;&lt;br /&gt;As Receivables Manager:&lt;br /&gt;&lt;br /&gt;Navigate to Transaction Sources: Setup &gt; Transactions &gt; Sources &lt;br /&gt;Query up your Transactions Source you defined in the Implementation Options &gt; Billing tab &lt;br /&gt;Make sure the Reference Field Default Value field = ‘interface_header_attribute1′ &lt;br /&gt;Make sure the Standard Transaction Type = ‘Projects Invoice’ &lt;br /&gt;Make sure the Credit Meno Batch Source = ‘PROJECTS INVOICES’ &lt;br /&gt;Also navigate to Transaction Types: Setup &gt; Transactions &gt; Types &lt;br /&gt;Query up ‘Projects Invoice’ transaction type &lt;br /&gt;Make sure the Credit memo Type = ‘Projects Credit Memo’&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-289938516260317702?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/289938516260317702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=289938516260317702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/289938516260317702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/289938516260317702'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/04/troubleshooting-projects-to-receivables.html' title='Troubleshooting the Projects to Receivables Interface'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6427794798870474985.post-7005214066086223636</id><published>2009-04-27T14:57:00.000+05:30</published><updated>2009-04-27T14:58:31.916+05:30</updated><title type='text'>How to track Current Apps Versions</title><content type='html'>1)select product_version,patch_level from fnd_product_installations&lt;br /&gt;Get current version ana Patch level information.&lt;br /&gt;&lt;br /&gt;2)select * FROM V$VERSION&lt;br /&gt;Database Version infomation.&lt;br /&gt;&lt;br /&gt;3)select * from v$instance&lt;br /&gt;Instance details&lt;br /&gt;&lt;br /&gt;4)select WF_EVENT_XML.XMLVersion() XML_VERSION from sys.dual;&lt;br /&gt;Current XML Parser Version info.&lt;br /&gt;&lt;br /&gt;5)select TEXT from WF_RESOURCES where TYPE = 'WFTKN' and NAME = 'WF_VERSION'&lt;br /&gt;Workflow version Number.&lt;br /&gt;&lt;br /&gt;6)select home_url from icx_parameters&lt;br /&gt;Oracle applications front end URL&lt;br /&gt;&lt;br /&gt;7)SELECT VALUE FROM V$PARAMETER WHERE NAME=’USER_DUMP_DEST’&lt;br /&gt;Get the Trace file location.&lt;br /&gt;&lt;br /&gt;8) XML Publisher Vesion info.&lt;br /&gt;$OA_JAVA/oracle/apps/xdo/common/MetaInfo.class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6427794798870474985-7005214066086223636?l=sairamgoudmalla.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sairamgoudmalla.blogspot.com/feeds/7005214066086223636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6427794798870474985&amp;postID=7005214066086223636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7005214066086223636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6427794798870474985/posts/default/7005214066086223636'/><link rel='alternate' type='text/html' href='http://sairamgoudmalla.blogspot.com/2009/04/how-to-track-current-apps-versions.html' title='How to track Current Apps Versions'/><author><name>Sairamgoud</name><uri>http://www.blogger.com/profile/05683685602731756392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_AgTz6W3o5I0/SoeW3BP56OI/AAAAAAAAAic/VbX-5-3aXaU/S220/812112007163022.jpg'/></author><thr:total>0</thr:total></entry></feed>
