<?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-4715885911366291269</id><updated>2012-02-01T01:51:12.923-05:00</updated><category term='Oracle Order Management'/><category term='Unix'/><category term='Oracle Reports/Forms'/><category term='Accounts Receivables'/><category term='XML Publisher'/><category term='FNDLOAD'/><category term='Oracle'/><category term='Fun'/><category term='Interface'/><category term='APIs'/><category term='Forms Personalization'/><category term='Discoverer'/><category term='Oracle Inventory'/><category term='General'/><category term='Database'/><category term='Oracle Receivables'/><category term='SQL Loader'/><category term='FND'/><category term='Work in Process'/><category term='Shell Scripting'/><category term='Query'/><category term='System Administrator'/><category term='Oracle Purchasing'/><category term='Oracle Alerts'/><category term='Value Set'/><category term='profile'/><title type='text'>Oracle Applications - Suresh Vaishya</title><subtitle type='html'>This is the blog dedicated to Oracle Applications users. Here I will be posting information on Oracle Application which will have technical, functional and Administration related topics. Although the site may be more beneficial to technial junkies.
Please remember to visit site regularly as it will be updated quite often and do remember to encourage me by posting your valuable comments.&lt;br&gt;
Thanks,&lt;br&gt;
Suresh Vaishya</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default?start-index=101&amp;max-results=100'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>119</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4756936019980701021</id><published>2010-09-08T18:13:00.024-04:00</published><updated>2011-08-18T15:06:06.439-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Use of variable with comma seperated value in Oracle SQL Query</title><content type='html'>The requirement is to pass comma seperated value to a procedure and to use that variable in the query to extract values. For e.g. variable p_ord_num_list has a value of '90001234, 90001235, 90001236' and we attempt to use this in variable in the query as below&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;SELECT * FROM oe_order_headers_all WHERE order_number IN p_ord_num_list &lt;/pre&gt;The above query completes in error&lt;br /&gt;&lt;pre&gt;ORA-01722: invalid number&lt;br /&gt;ORA-06512: at line 13&lt;/pre&gt;&lt;br /&gt;The above requirement can be achieved in following way&lt;br /&gt;&lt;pre&gt;DECLARE&lt;br /&gt;   p_ord_num_list   VARCHAR2 (4000) := '90001234, 90001235, 90001236';&lt;br /&gt;BEGIN&lt;br /&gt;   FOR i IN (SELECT order_number&lt;br /&gt;             FROM   oe_order_headers_all e&lt;br /&gt;             WHERE  order_number IN (&lt;br /&gt;                       SELECT EXTRACTVALUE (xt.COLUMN_VALUE, 'e')&lt;br /&gt;                       FROM   TABLE (XMLSEQUENCE (EXTRACT (XMLTYPE (   '&amp;lt;ord_num&amp;gt;&amp;lt;e&amp;gt;'&lt;br /&gt;                                                                    || REPLACE (p_ord_num_list, ',', '&amp;lt;/e&amp;gt;&amp;lt;e&amp;gt;')&lt;br /&gt;                                                                    || '&amp;lt;/e&amp;gt;&amp;lt;/ord_num&amp;gt;'&lt;br /&gt;                                                                   )&lt;br /&gt;                                                         , '/ord_num/*'&lt;br /&gt;                                                          )&lt;br /&gt;                                                 )&lt;br /&gt;                                    ) xt))&lt;br /&gt;   LOOP&lt;br /&gt;      DBMS_OUTPUT.put_line ('a = ' || i.order_number);&lt;br /&gt;   END LOOP;&lt;br /&gt;END;&lt;/pre&gt;&lt;br /&gt;The way above statement works is that it first generates the XML tag for each comma seperated value and then extracts values from each element.&lt;br /&gt;&lt;br /&gt;The other way to do this is by using regular expression functions as shown below&lt;br /&gt;&lt;pre&gt;DECLARE&lt;br /&gt;   p_ord_num_list   VARCHAR2 (4000) := '90001234, 90001235, 90001236';&lt;br /&gt;BEGIN&lt;br /&gt;   FOR i IN (SELECT * FROM oe_order_headers_all WHERE order_number IN (         &lt;br /&gt;SELECT     TRIM(REGEXP_SUBSTR(p_ord_num_list   , '[^,]+', 1, LEVEL)) item_id&lt;br /&gt;FROM       (SELECT p_ord_num_list    str&lt;br /&gt;            FROM   DUAL)&lt;br /&gt;CONNECT BY LEVEL &lt;= LENGTH(str) - LENGTH(REPLACE(str, ',')) + 1))&lt;br /&gt;   LOOP&lt;br /&gt;      DBMS_OUTPUT.put_line ('a = ' || i.order_number);&lt;br /&gt;   END LOOP;&lt;br /&gt;END;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4756936019980701021?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4756936019980701021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4756936019980701021&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4756936019980701021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4756936019980701021'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/09/use-of-variable-with-comma-seperated.html' title='Use of variable with comma seperated value in Oracle SQL Query'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8950007287501871754</id><published>2010-06-17T16:30:00.001-04:00</published><updated>2010-06-17T16:30:00.546-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Create form with Cancel Query option</title><content type='html'>Set the form level property Interaction Mode to Blocking or non-Blocking. &lt;br /&gt;When set to non-Blocking, a dialog box appears that contains the following prompt:&lt;br /&gt;&lt;br /&gt;  Press cancel to end this database operation&lt;br /&gt;&lt;br /&gt;When a long running query is executed in forms, this enables the option to interrupt the query by pressing the cancel button. However, this only works for Forms blocks which are based on standard tables or views. &lt;br /&gt;It does not work for blocks based on stored procedures, where the data is returned by a ref cursor or a table of records.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8950007287501871754?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8950007287501871754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8950007287501871754&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8950007287501871754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8950007287501871754'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/06/create-form-with-cancel-query-option.html' title='Create form with Cancel Query option'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1873178824630341046</id><published>2010-06-16T08:02:00.001-04:00</published><updated>2010-06-16T08:02:00.186-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Enable Cancel Query option on Oracle Forms</title><content type='html'>Sometimes when we query form with higher data results the forms hangs and leaves us with option to wait until data is displayed or close it forcefully.&lt;br /&gt;Using profile option &lt;b&gt;FND: Enable Cancel Query&lt;/b&gt;, the cancel button with message "Press cancel to end this database operation" can be displayed that allows canceling query. The profile option may not support all forms but still you can have this option for most of the oracle provided forms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1873178824630341046?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1873178824630341046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1873178824630341046&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1873178824630341046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1873178824630341046'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/06/enable-cancel-query-option-on-oracle.html' title='Enable Cancel Query option on Oracle Forms'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8243378839259735817</id><published>2010-06-01T16:37:00.002-04:00</published><updated>2010-06-01T16:37:00.332-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ReCompile invalid objects using UTL_RECOMP</title><content type='html'>The UTL_RECOMP package contains two procedures used to recompile invalid objects. As the names suggest, the RECOMP_SERIAL  procedure recompiles all the invalid objects one at a time, while the RECOMP_PARALLEL  procedure performs the same task in parallel using the specified number of threads. Their definitions are listed below:&lt;br /&gt;&lt;br /&gt;PROCEDURE RECOMP_SERIAL(&lt;br /&gt;schema   IN   VARCHAR2    DEFAULT NULL,&lt;br /&gt;flags    IN   PLS_INTEGER DEFAULT 0);&lt;br /&gt;&lt;br /&gt;PROCEDURE RECOMP_PARALLEL(&lt;br /&gt;threads  IN   PLS_INTEGER DEFAULT NULL,&lt;br /&gt;schema   IN   VARCHAR2    DEFAULT NULL,&lt;br /&gt;flags    IN   PLS_INTEGER DEFAULT 0);&lt;br /&gt;&lt;pre&gt;-- Schema level.&lt;br /&gt;EXEC UTL_RECOMP.recomp_serial('APPS');&lt;br /&gt;EXEC UTL_RECOMP.recomp_parallel(4, 'APPS');&lt;br /&gt;&lt;br /&gt;-- Database level.&lt;br /&gt;EXEC UTL_RECOMP.recomp_serial();&lt;br /&gt;EXEC UTL_RECOMP.recomp_parallel(4);&lt;br /&gt;&lt;br /&gt;-- Using job_queue_processes value.&lt;br /&gt;EXEC UTL_RECOMP.recomp_parallel();&lt;br /&gt;EXEC UTL_RECOMP.recomp_parallel(NULL, 'APPS');&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Reference: &lt;a href="http://www.oracle-base.com/articles/misc/RecompilingInvalidSchemaObjects.php"&gt;Oracle Base&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8243378839259735817?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8243378839259735817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8243378839259735817&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8243378839259735817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8243378839259735817'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/06/recompile-invalid-objects-using.html' title='ReCompile invalid objects using UTL_RECOMP'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6805730830349502020</id><published>2010-05-07T12:56:00.000-04:00</published><updated>2010-05-05T12:57:50.182-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Disable interactive prompts at SQL*Plus</title><content type='html'>Whenever we have ampersand "&amp;amp;" in our script, SQL Plus prompts for a value to be entered. There are several ways to avoid that prompt as discussed below&lt;br /&gt;&lt;br /&gt;1) user chr(38) instead of &amp;&lt;br /&gt;&lt;pre&gt;SELECT 'I love SQL '||chr(38)||' PLSQL' from dual; &lt;/pre&gt;&lt;br /&gt;2) Use &amp; at the end just below the single quotes&lt;br /&gt;&lt;pre&gt;SELECT 'I love SQL &amp;'||' PLSQL' from dual;  &lt;/pre&gt;&lt;br /&gt;3) SET DEFINE OFF can be use to disable the prompt&lt;br /&gt;&lt;pre&gt;SET DEFINE OFF&lt;br /&gt;SELECT 'I love SQL &amp; PLSQL ' from dual; &lt;br /&gt;SET DEFINE ON&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6805730830349502020?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6805730830349502020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6805730830349502020&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6805730830349502020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6805730830349502020'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/05/disable-interactive-prompts-at-sqlplus.html' title='Disable interactive prompts at SQL*Plus'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4889591961310480700</id><published>2010-05-05T13:05:00.001-04:00</published><updated>2010-05-05T13:08:05.350-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Change SQL prompt oracle SQL*Plus (pre 10g)</title><content type='html'>&lt;a href="http://sureshvaishya.blogspot.com/2010/05/change-sql-prompt-in-oracle-sqlplus.html"&gt;Here &lt;/a&gt;we discussed how to change prompt for release 10g and up. Now we will discuss how to achieve same in pre 10g releases&lt;br /&gt;&lt;br /&gt;Enter following commands in glogin.sql file located at $ORACLE_HOME/sqlplus/admin directory or execute them one by one at SQL Prompt.&lt;br /&gt;&lt;pre&gt;col username new_value username&lt;br /&gt;col dbname new_value dbname&lt;br /&gt;set termout off&lt;br /&gt;SELECT lower(user) username,&lt;br /&gt;       substr(global_name, 1, instr(global_name, '.')-1) dbname&lt;br /&gt;FROM   global_name&lt;br /&gt;/&lt;br /&gt;set termout on&lt;br /&gt;set sqlprompt '&amp;&amp;username@&amp;&amp;dbname&gt; '&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4889591961310480700?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4889591961310480700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4889591961310480700&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4889591961310480700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4889591961310480700'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/05/change-sql-prompt-oracle-sqlplus-pre.html' title='Change SQL prompt oracle SQL*Plus (pre 10g)'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7321907716682169430</id><published>2010-05-05T12:37:00.006-04:00</published><updated>2010-05-05T13:07:12.050-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Change SQL Prompt in oracle SQL*Plus (10g and up)</title><content type='html'>Below is an example to change the SQL*Plus prompt (10g and up), simple and yet very useful.&lt;br /&gt;SET SQLPROMPT command is used to change the default SQL&amp;gt; prompt&lt;br /&gt;&lt;br /&gt;1) Display username&lt;br /&gt;&lt;pre&gt;set sqlprompt '_user&amp;gt;' &lt;/pre&gt;2) Display database name&lt;br /&gt;&lt;pre&gt;set sqlprompt '_connect_identifier_privilege&amp;gt;' &lt;/pre&gt;&lt;br /&gt;Step 2 and 3 can be combined together to display username and database name together.&lt;br /&gt;3) Display username and database name (e.g. apps@dbname&amp;gt; )&lt;br /&gt;&lt;pre&gt;set sqlprompt "_USER'@'_CONNECT_IDENTIFIER _PRIVILEGE&amp;gt;"&lt;br /&gt;&lt;/pre&gt;4) To set the time at sqlprompt&lt;br /&gt;&lt;pre&gt;set time on &lt;/pre&gt;&lt;br /&gt;Now the best part is to avoid typing this command everytime you open a new SQL*Plus session, edit glogin.sql file located at $ORACLE_HOME/sqlplus/admin directory as follows.&lt;br /&gt;&lt;pre&gt;set sqlprompt "_USER'@'_CONNECT_IDENTIFIER _PRIVILEGE&amp;gt;"&lt;br /&gt;set time on&lt;br /&gt;&lt;/pre&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_CWRCDagUe5A/S-Gf-nDXUzI/AAAAAAAAC6A/Kg3NyPpiCaA/s1600/a.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://1.bp.blogspot.com/_CWRCDagUe5A/S-Gf-nDXUzI/AAAAAAAAC6A/Kg3NyPpiCaA/s640/a.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Related Post: &lt;a href="http://sureshvaishya.blogspot.com/2010/05/change-sql-prompt-oracle-sqlplus-pre.html"&gt;For Pre 10g Releases&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7321907716682169430?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7321907716682169430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7321907716682169430&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7321907716682169430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7321907716682169430'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/05/change-sql-prompt-in-oracle-sqlplus.html' title='Change SQL Prompt in oracle SQL*Plus (10g and up)'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/S-Gf-nDXUzI/AAAAAAAAC6A/Kg3NyPpiCaA/s72-c/a.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4488192871956803036</id><published>2010-05-04T13:38:00.002-04:00</published><updated>2010-05-04T13:38:51.057-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Display line number in VI editor in Unix</title><content type='html'>Following command can be used to display line numbers&lt;br /&gt;&lt;pre&gt;:set number &lt;/pre&gt;&lt;br /&gt;Following command can be used to hide the line numbers&lt;br /&gt;&lt;pre&gt;:set nonumber &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4488192871956803036?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4488192871956803036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4488192871956803036&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4488192871956803036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4488192871956803036'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/05/display-line-number-in-vi-editor-in.html' title='Display line number in VI editor in Unix'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8843420690981821786</id><published>2010-05-02T18:41:00.002-04:00</published><updated>2010-05-03T16:23:55.755-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Example of DBMS_XMLGEN.getxml to generate XML Tag using oracle query</title><content type='html'>Below is an example of DBMS_XMLGEN.getxml to generate XML tags directly out of the query&lt;br /&gt;&lt;pre&gt;SELECT DBMS_XMLGEN.getxml(&lt;br /&gt;'SELECT CURSOR(SELECT oha.order_number,&lt;br /&gt;                     ola.ordered_item,&lt;br /&gt;                     ola.ordered_quantity&lt;br /&gt;                FROM ont.oe_order_headers_all oha,&lt;br /&gt;                     ont.oe_order_lines_all ola&lt;br /&gt;               WHERE oha.header_id = ola.header_id &lt;br /&gt;                 and oha.order_number in (&amp;amp;order_number) order by ola.line_id) as order_detail,&lt;br /&gt;       CURSOR(SELECT ohd.name, ohs.hold_comment&lt;br /&gt;                FROM ont.oe_hold_sources_all ohs,&lt;br /&gt;                     ont.oe_order_holds_all ohld,&lt;br /&gt;                     ont.oe_hold_definitions ohd,&lt;br /&gt;                     ont.oe_order_headers_all oha,&lt;br /&gt;                     ont.oe_order_lines_all ola&lt;br /&gt;               WHERE oha.header_id = ola.header_id&lt;br /&gt;                 AND ola.line_id = ohld.line_id &lt;br /&gt;                 and ohld.hold_release_id is null&lt;br /&gt;                 AND ohld.hold_source_id = ohs.hold_source_id&lt;br /&gt;                 AND ohs.hold_id =  ohd.hold_id&lt;br /&gt;                 AND oha.order_number = &amp;amp;&amp;amp;order_number) as holds_detail&lt;br /&gt;FROM DUAL')&lt;br /&gt;FROM DUAL&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Output&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_CWRCDagUe5A/S9oL0uQDpOI/AAAAAAAAC54/SbgIuMhevpk/s1600/a.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_CWRCDagUe5A/S9oL0uQDpOI/AAAAAAAAC54/SbgIuMhevpk/s320/a.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8843420690981821786?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8843420690981821786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8843420690981821786&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8843420690981821786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8843420690981821786'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/04/example-of-dbmsxmlgengetxml-to-generate.html' title='Example of DBMS_XMLGEN.getxml to generate XML Tag using oracle query'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_CWRCDagUe5A/S9oL0uQDpOI/AAAAAAAAC54/SbgIuMhevpk/s72-c/a.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4890416617648976655</id><published>2010-04-28T21:12:00.011-04:00</published><updated>2010-06-28T15:59:26.070-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><category scheme='http://www.blogger.com/atom/ns#' term='FNDLOAD'/><title type='text'>FNDLOAD - Menu Driven</title><content type='html'>Hi friends, before I proceed thanks to everyone reading and supporting the blog.&lt;br /&gt;&lt;br /&gt;Here is another new post on FNDLOAD which provides a menu to select the option and execute FNDLOAD Command. &lt;br /&gt;Below are the screenshots of how screen looks&lt;br /&gt;1)Accepts the apps password. Note that the password is hidden and not displayed on the screen.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_CWRCDagUe5A/S9mzRhmszsI/AAAAAAAAC5o/Z6C_uMOUBPY/s1600/a.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_CWRCDagUe5A/S9mzRhmszsI/AAAAAAAAC5o/Z6C_uMOUBPY/s320/a.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;2)Displays a menu to select an option and Downloads/Uploads a .ldt file&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_CWRCDagUe5A/S9mzUmyzSnI/AAAAAAAAC5w/j3wY4qXzH3Q/s1600/b.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_CWRCDagUe5A/S9mzUmyzSnI/AAAAAAAAC5w/j3wY4qXzH3Q/s320/b.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Below is the script&lt;br /&gt;&lt;pre&gt;#The script that Displays a Menu and calls FNDLOAD command accordingly. &lt;br /&gt;#Created by       Date            Version&lt;br /&gt;#Suresh Vaishya   29-Jul-09       1.0&lt;br /&gt;#http://sureshvaishya.blogspot.com&lt;br /&gt;&lt;br /&gt;#Suresh Vaishya. Reading apps password outside loop to avoid entering same thing again and again.&lt;br /&gt;echo "Enter APPS Password: "&lt;br /&gt;stty -echo             #Turns echo off&lt;br /&gt;read appspwd&lt;br /&gt;stty echo              #Turns echo on&lt;br /&gt;&lt;br /&gt;sel='123456789'&lt;br /&gt;while true&lt;br /&gt;do  &lt;br /&gt;if [ $sel -ne '123456789' ]&lt;br /&gt;then&lt;br /&gt;echo "Press ENTER key to continue"&lt;br /&gt;read key&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;tput clear&lt;br /&gt;echo "1.  Download Concurrent Program"&lt;br /&gt;echo "2.  Upload   Concurrent Program"&lt;br /&gt;echo "3.  Download Request Group for a program"&lt;br /&gt;echo "4.  Upload   Request Group for  a program"&lt;br /&gt;echo "5.  Download Value Set"&lt;br /&gt;echo "6.  Upload   Value Set"&lt;br /&gt;echo "7.  Download Menu"&lt;br /&gt;echo "8.  Upload   Menu"&lt;br /&gt;echo "9.  Download Descriptive Flexfield Definition"&lt;br /&gt;echo "10. Upload   Descriptive Flexfield Definition"&lt;br /&gt;echo "11.  Download Descriptive Flexfield Definition"&lt;br /&gt;echo "12. Upload   Descriptive Flexfield Definition"&lt;br /&gt;echo "13. Download Lookup Definition and Values"&lt;br /&gt;echo "14. Upload   Lookup Definition and Values"&lt;br /&gt;echo "15. Download Forms Personalization"&lt;br /&gt;echo "16. Upload   Forms Personalization"&lt;br /&gt;echo "17. Download Responsibility"&lt;br /&gt;echo "18. Upload   Responsibility"&lt;br /&gt;echo "q or Q. Quit"&lt;br /&gt;&lt;br /&gt;echo "Enter your selection  "&lt;br /&gt;read sel&lt;br /&gt;&lt;br /&gt;#echo "You entered $sel"&lt;br /&gt;if [ "$sel" = 'q' ] || [ "$sel" = 'Q' ]&lt;br /&gt;then&lt;br /&gt;exit&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;if [ $sel -gt 0 ] &amp;amp;&amp;amp; [ $sel -lt 19 ]&lt;br /&gt;then&lt;br /&gt;if [ `printf "%d\n" "'$sel"` -gt 57 ] || [ `printf "%d\n" "'$sel"` -lt 49 ] # Suresh Vaishya. Using the ascii value to check valid values&lt;br /&gt;then&lt;br /&gt;echo "You entered $sel"&lt;br /&gt;echo "Invalid selection. Valid value are from 1 to 18."&lt;br /&gt;else&lt;br /&gt;echo "Enter .ldt Name: "&lt;br /&gt;read ldtname&lt;br /&gt;&lt;br /&gt;#Suresh Vaishya   Download Concurrent program&lt;br /&gt;if [ $sel -eq 1 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Application Short Name: "&lt;br /&gt;read applname&lt;br /&gt;&lt;br /&gt;echo "Enter Concurrent Program Short Name: "&lt;br /&gt;read cpname&lt;br /&gt;&lt;br /&gt;FNDLOAD apps/$appspwd O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct $ldtname PROGRAM APPLICATION_SHORT_NAME="$applname" CONCURRENT_PROGRAM_NAME="$cpname"&lt;br /&gt;&lt;br /&gt;echo "LDT File $ldtname created"&lt;br /&gt;#Suresh Vaishya Upload Concurrent program&lt;br /&gt;elif [ $sel -eq 2 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct $ldtname - CUSTOM_MODE=FORCE&lt;br /&gt;echo "LDT File $ldtname uploaded"&lt;br /&gt;#Suresh Vaisha Download Request Group&lt;br /&gt;elif [ $sel -eq 3 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Request Group Application Short Name"&lt;br /&gt;read applname&lt;br /&gt;&lt;br /&gt;echo "Enter Request Group Name"&lt;br /&gt;read rgname&lt;br /&gt;&lt;br /&gt;echo "Enter Program Short Name"&lt;br /&gt;read cpname&lt;br /&gt;&lt;br /&gt;FNDLOAD apps/$appspwd O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct $ldtname REQUEST_GROUP REQUEST_GROUP_NAME="$rgname" APPLICATION_SHORT_NAME="$applname" REQUEST_GROUP_UNIT UNIT_NAME="$cpname"&lt;br /&gt;#Suresh Vaishya Upload Request Group&lt;br /&gt;elif [ $sel -eq 4 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd O Y UPLOAD $FND_TOP/patch/115/import/afcpreqg.lct $ldtname&lt;br /&gt;echo "LDT File $ldtname uploaded"&lt;br /&gt;#Suresh Vaishya   download Value Set&lt;br /&gt;elif [ $sel -eq 5 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Value set Short Name"&lt;br /&gt;read vsname&lt;br /&gt;&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct $ldtname VALUE_SET FLEX_VALUE_SET_NAME="$vsname"&lt;br /&gt;echo "LDT File $ldtname created"&lt;br /&gt;#Suresh Vaishya Upload Value Set&lt;br /&gt;elif [ $sel -eq 6 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct $ldtname&lt;br /&gt;echo "LDT File $ldtname uploaded"&lt;br /&gt;#Suresh  Vaishya Download Menu &lt;br /&gt;elif [ $sel -eq 7 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Menu Name"&lt;br /&gt;read mname&lt;br /&gt;FNDLOAD apps/$appspwd O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct $ldtname MENU MENU_NAME="$mname"&lt;br /&gt;#Suresh Vaishya Upload Menu &lt;br /&gt;elif [ $sel -eq 8 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd O Y UPLOAD $FND_TOP/patch/115/import/afsload.lct $ldtname&lt;br /&gt;#Suresh    Vaishya Download DFF&lt;br /&gt;elif [ $sel -eq 9 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Application Name"&lt;br /&gt;read applname&lt;br /&gt;echo "Enter Descriptive Flexfield Name"&lt;br /&gt;read dff&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct $ldtname DESC_FLEX APPLICATION_SHORT_NAME="$applname" DESCRIPTIVE_FLEXFIELD_NAME="$dff"&lt;br /&gt;#Suresh  Vaishya Upload DFF&lt;br /&gt;elif [ $sel -eq 10 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct $ldtname&lt;br /&gt;#Suresh Vaishya Download KFF&lt;br /&gt;elif [ $sel -eq 11 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Application Name"&lt;br /&gt;read applname&lt;br /&gt;echo "Enter Key Flexfield Name"&lt;br /&gt;read dff&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct $ldtname KEY_FLEX APPLICATION_SHORT_NAME="$applname" DESCRIPTIVE_FLEXFIELD_NAME="$dff"&lt;br /&gt;#Suresh  Vaishya Upload KFF&lt;br /&gt;elif [ $sel -eq 12 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct $ldtname&lt;br /&gt;&lt;br /&gt;#Suresh Vaishay Download Lookup type&lt;br /&gt;elif [ $sel -eq 13 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Application Name"&lt;br /&gt;read applname&lt;br /&gt;echo "Enter Lookup Type Name"&lt;br /&gt;read lname&lt;br /&gt;FNDLOAD apps/$appspwd O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct $ldtname FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="$applname" LOOKUP_TYPE="$lname"&lt;br /&gt;#Suresh Vaishya Upload Lookup Type&lt;br /&gt;elif [ $sel -eq 14 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd O Y UPLOAD $FND_TOP/patch/115/import/aflvmlu.lct $ldtname&lt;br /&gt;#Suresh Vaishya Download Forms Personalization&lt;br /&gt;elif [ $sel -eq 15 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Function Name for the form"&lt;br /&gt;read fname&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct $ldtname FND_FORM_CUSTOM_RULES FUNCTION_NAME="$fname"&lt;br /&gt;#http://sureshvaishya.blogspot.com Upload forms personalization&lt;br /&gt;elif [ $sel -eq 16 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct $ldtname&lt;br /&gt;#Suresh Download Responsibility&lt;br /&gt;elif [ $sel -eq 17 ]&lt;br /&gt;then&lt;br /&gt;echo "Enter Responsibility Key"&lt;br /&gt;read rname&lt;br /&gt;FNDLOAD apps/$appspwd O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct $ldtname FND_RESPONSIBILITY RESP_KEY="$rname"&lt;br /&gt;#Suersh Upload Responsibility&lt;br /&gt;elif [ $sel -eq 18 ]&lt;br /&gt;then&lt;br /&gt;FNDLOAD apps/$appspwd O Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct $ldtname&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;fi # ascii if&lt;br /&gt;else&lt;br /&gt;echo "You entered $sel"&lt;br /&gt;echo "Invalid selection. Valid value are from 1 to 18."&lt;br /&gt;fi # number check if&lt;br /&gt;done&lt;br /&gt;# End of Script. http://sureshvaishya.blogspot.com&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4890416617648976655?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4890416617648976655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4890416617648976655&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4890416617648976655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4890416617648976655'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/fndload-menu-driven.html' title='FNDLOAD - Menu Driven'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_CWRCDagUe5A/S9mzRhmszsI/AAAAAAAAC5o/Z6C_uMOUBPY/s72-c/a.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4604677263829612562</id><published>2010-04-20T11:36:00.000-04:00</published><updated>2010-04-20T11:36:25.706-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Colors in Concurrent Request Manager Screen</title><content type='html'>On concurrent manager screen normally along with default form color we see Red, Yellow and Green color for Error, Warning and Pending respectively. Recently I came across a profile that would change this normal behavior and hide these colors.&lt;br /&gt;&lt;br /&gt;The profile name is &lt;b&gt;FND: Indicator Colors&lt;/b&gt;. The profile also affects the behavior of required parameter which is normally displayed in yellow.&lt;br /&gt;Another point to note is that by setting this profile to No only concurrent manager screen is affected and other forms behave normally.&lt;br /&gt;&lt;br /&gt;This is just for your information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4604677263829612562?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4604677263829612562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4604677263829612562&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4604677263829612562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4604677263829612562'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/04/colors-in-concurrent-request-manager.html' title='Colors in Concurrent Request Manager Screen'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6508487623155634082</id><published>2010-03-29T11:14:00.002-04:00</published><updated>2010-03-29T16:21:17.260-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>How to complete Host(Unix Shell Script) Concurrent Program  with Warning</title><content type='html'>If we have a concurrent program as of type host(Unix Shell Script), then the program by default either completes Normal or in Error.&lt;br /&gt;If we return from shell script using text exit 0, program completes in normal and if we use any value other value e.g. exit 1, exit 2, exit 10 etc then the program completes in error.&lt;br /&gt;Below is the code that can be used if requirement is to complete it in warning.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sqlplus -s $p_usr_pwd &lt;&lt;-EOF&lt;br /&gt;  set feedback off&lt;br /&gt;  declare&lt;br /&gt;    l_stat Boolean;&lt;br /&gt;    l_session_id Number;&lt;br /&gt;  begin&lt;br /&gt;    fnd_global.initialize(session_id =&gt; l_session_id&lt;br /&gt;                        , user_id =&gt; fnd_global.user_id&lt;br /&gt;                        , resp_id =&gt; fnd_global.resp_id&lt;br /&gt;                        , resp_appl_id =&gt; fnd_global.resp_appl_id&lt;br /&gt;                        , security_group_id =&gt; null&lt;br /&gt;                        , site_id =&gt; null&lt;br /&gt;                        , login_id =&gt; null&lt;br /&gt;                        , conc_login_id =&gt; null&lt;br /&gt;                        , prog_appl_id =&gt; null&lt;br /&gt;                        , conc_program_id =&gt; null&lt;br /&gt;                        , conc_request_id =&gt; $p_req_id&lt;br /&gt;                        , conc_priority_request =&gt; null);&lt;br /&gt;    l_stat := fnd_concurrent.set_completion_status('WARNING','Completed in Warning. Review log for details.');&lt;br /&gt;    commit;&lt;br /&gt;  end;&lt;br /&gt;/&lt;br /&gt;  exit;&lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;In the example above $p_usr_pwd stores database username/password, $p_req_id stores the request ID for concurrent request that needs to complete in warning.&lt;br /&gt;&lt;br /&gt;Related Post: &lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/03/read-concurrent-parameters-in-unix.html"&gt;Concurrent program parameter in Unix Shell Script&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/03/calling-sqlplus-from-unix-shell-script.html"&gt;Calling SQLPLUS from unix shell script&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6508487623155634082?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6508487623155634082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6508487623155634082&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6508487623155634082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6508487623155634082'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/03/hostunix-shell-script-concurrent.html' title='How to complete Host(Unix Shell Script) Concurrent Program  with Warning'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-821891188682133446</id><published>2010-03-12T15:16:00.010-05:00</published><updated>2010-03-25T15:59:04.060-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>In a directory in Unix convert Tab Delimeted file to Comma delimeted</title><content type='html'>On Request from one of our &lt;a href="http://www.blogger.com/profile/04760871346619346608"&gt;reader&lt;/a&gt; here is a post to convert excel files into a comma delimeted file.&lt;br /&gt;&lt;br /&gt;create shell script using following code. The script below will fetch all files with extension &lt;span style="font-weight:bold;"&gt;xls&lt;/span&gt; and convert tabs into comma and create a .csv file.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd /applmgr/custom/inbound/data&lt;br /&gt;for i in *.xls&lt;br /&gt;do&lt;br /&gt;echo $i&lt;br /&gt;newfile=$i.csv&lt;br /&gt;awk 'BEGIN {&lt;br /&gt;        FS = "\t"&lt;br /&gt;        OFS = ","&lt;br /&gt;     }&lt;br /&gt;     {&lt;br /&gt;        $1 = $1&lt;br /&gt;        for (i = 1; i &lt;= NF; i++) {&lt;br /&gt;           if ($i == "") {&lt;br /&gt;              $i = "null"&lt;br /&gt;           }&lt;br /&gt;        }&lt;br /&gt;        print $0&lt;br /&gt;     }' $i &gt; $newfile&lt;br /&gt;done&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-821891188682133446?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/821891188682133446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=821891188682133446&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/821891188682133446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/821891188682133446'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/03/in-directory-in-unix-convert-tab.html' title='In a directory in Unix convert Tab Delimeted file to Comma delimeted'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7678075102276100872</id><published>2010-03-05T13:20:00.007-05:00</published><updated>2010-03-05T13:33:05.482-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Loader'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>SQLLDR - Shell script to load Multiple files in table</title><content type='html'>Based on request from one of our &lt;a href="http://sureshvaishya.blogspot.com/2009/10/sqlldr-in-oracle-applications.html#comment-1393475881291786829"&gt;reader&lt;/a&gt;, here is the post to read file from a directory and then call sqlloader command to load data file into a table.&lt;br /&gt;Assumptions:&lt;br /&gt;1) There has to be some way/standard to recognize the file name. In my case its a &lt;span style="font-weight:bold;"&gt;.dat&lt;/span&gt; file starting with &lt;span style="font-weight:bold;"&gt;sample&lt;/span&gt;. If you don't know data file name then create a directory specific to the load and select all data files from that directory.&lt;br /&gt;2) The file format has to be same so that same .ctl file can be used to read the file and load the table.&lt;br /&gt;3) Once loaded the file is then archived.&lt;br /&gt;&lt;br /&gt;Control file code&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;LOAD DATA&lt;br /&gt;insert into table sv_temp&lt;br /&gt;fields terminated by '|' optionally enclosed by '"'&lt;br /&gt;(first_col&lt;br /&gt;,second_col&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Shell Script Code&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd $CUSTOM_TOP/data&lt;br /&gt;for file in sample*.dat&lt;br /&gt;do&lt;br /&gt;sqlldr userid=$login control=$CUSTOM_TOP/bin/sv_test.ctl data=$CUSTOM_TOP/data/$file&lt;br /&gt;mv $CUSTOM_TOP/data/$file $CUSTOM_TOP/archive/$file&lt;br /&gt;done&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3 files sample1.dat, sample2.dat, sample3.dat was copied in CUSTOM_TOP/data directory.&lt;br /&gt;Sample Output is&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SQL*Loader: Release 8.0.6.3.0 - Production on Fri Mar 5 13:24:18 2010&lt;br /&gt;&lt;br /&gt;(c) Copyright 1999 Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Commit point reached - logical record count 8&lt;br /&gt;Commit point reached - logical record count 9&lt;br /&gt;&lt;br /&gt;SQL*Loader: Release 8.0.6.3.0 - Production on Fri Mar 5 13:24:18 2010&lt;br /&gt;&lt;br /&gt;(c) Copyright 1999 Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Commit point reached - logical record count 4&lt;br /&gt;Commit point reached - logical record count 5&lt;br /&gt;&lt;br /&gt;SQL*Loader: Release 8.0.6.3.0 - Production on Fri Mar 5 13:24:18 2010&lt;br /&gt;&lt;br /&gt;(c) Copyright 1999 Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Commit point reached - logical record count 7&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7678075102276100872?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7678075102276100872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7678075102276100872&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7678075102276100872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7678075102276100872'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/03/based-on-request-from-one-of-our-reader.html' title='SQLLDR - Shell script to load Multiple files in table'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4955978856686351829</id><published>2010-02-15T13:48:00.003-05:00</published><updated>2010-02-15T13:56:10.692-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML Publisher'/><title type='text'>View Barcode in BI Publisher Report when run from Application</title><content type='html'>Following steps should be completed in order to register your Barcode font to be viewed when report is run from Application.&lt;br /&gt;&lt;br /&gt;1) From XML Publisher responsibility, create a font file in XML administration.&lt;br /&gt;Navigation: XML Publisher Administrator -- Administration -- Font FilesCreate Font File&lt;br /&gt;2) Create a font mapping set. Navigation: XML Publisher Administrator -- Administration -- Font Mapping&lt;br /&gt;3) In the template screen , edit configuration -- FO Processing -- Font Mapping Set , provided the corresponding font mapping set&lt;br /&gt;4) The last important step is to always use Territory column while defining Template. E.g. United States.&lt;br /&gt;&lt;br /&gt;Now when report is generated from application, barcode font should be viewed.&lt;br /&gt;&lt;br /&gt;Related Post: &lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2009/05/using-3-of-9-barcodes-in-xml-publisher.html"&gt;Using 3 of 9 Barcodes in XML Publisher&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2010/01/cannot-view-barcodes-in-when-previewed.html"&gt;Cannot View Output when previewed from RTF Template&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4955978856686351829?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4955978856686351829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4955978856686351829&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4955978856686351829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4955978856686351829'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/02/view-barcode-in-bi-publisher-report.html' title='View Barcode in BI Publisher Report when run from Application'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1042646051012567057</id><published>2010-02-05T16:33:00.006-05:00</published><updated>2010-02-05T17:01:43.508-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Alerts'/><title type='text'>Notify when SO is booked or new line is entered on booked order</title><content type='html'>Based on a request from one of our &lt;a href="http://sureshvaishya.blogspot.com/2009/04/introduction-to-oracle-alerts.html#comment-1766203388705583721"&gt;reader&lt;/a&gt;, below are the steps on how to notify users when an order is booked or new line is inserted on a booked order.&lt;br /&gt;&lt;br /&gt;The Alert below will send notification once a day in the morning at 8:00 am.&lt;br /&gt;&lt;br /&gt;1) Define Alert&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/S2yTMw39GqI/AAAAAAAAC5E/hMl2anN8fNk/s1600-h/1.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/S2yTMw39GqI/AAAAAAAAC5E/hMl2anN8fNk/s320/1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5434880697816652450" /&gt;&lt;/a&gt;&lt;br /&gt;Query used is&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SELECT ooh.order_number&lt;br /&gt;    , ool.line_number||'.'||ool.shipment_number line_number&lt;br /&gt;    , ordered_item, ordered_quantity, ool.flow_Status_code&lt;br /&gt;INTO &amp;order_num, &amp;line_num,&amp;Item_num, &amp;Quantity, &amp;line_Status&lt;br /&gt;FROM oe_order_headers_all ooh, oe_order_lines_all ool&lt;br /&gt;WHERE ooh.header_id = ool.header_id&lt;br /&gt;AND &lt;br /&gt;( ooh.booked_date &gt;= to_date(Sysdate,'DD-MON-RRRR HH24:MI:SS')&lt;br /&gt; OR (ool.creation_Date &gt;= to_date(Sysdate,'DD-MON-RRRR HH24:MI:SS')&lt;br /&gt;   AND ool.creation_date &gt; ooh.booked_date)&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;2) Define Actions&lt;br /&gt;Click on the actions button and then actions Detail button and define message as shown in screenshot. Note that the message type is summary.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/S2yTNORoFsI/AAAAAAAAC5M/50K9e3CIx5w/s1600-h/2.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 174px;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/S2yTNORoFsI/AAAAAAAAC5M/50K9e3CIx5w/s320/2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5434880705708955330" /&gt;&lt;/a&gt;&lt;br /&gt;3) Define Action Sets&lt;br /&gt;Click on action sets and then action set details and in the members tab enter the action defined in step 2&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/S2yTNZPp29I/AAAAAAAAC5U/I3Bqm5CpjAY/s1600-h/3.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 224px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/S2yTNZPp29I/AAAAAAAAC5U/I3Bqm5CpjAY/s320/3.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5434880708653472722" /&gt;&lt;/a&gt;&lt;br /&gt;4) Schedule the Request&lt;br /&gt;Navigate to Request --&gt; Check and submit the alert. Based on the definition of alert it will be scheduled to run.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/S2yTN-8EiLI/AAAAAAAAC5c/cauW5MOqhIk/s1600-h/4.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 154px;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/S2yTN-8EiLI/AAAAAAAAC5c/cauW5MOqhIk/s320/4.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5434880718771882162" /&gt;&lt;/a&gt;&lt;br /&gt;Kindly let me know if any questions.&lt;br /&gt;&lt;br /&gt;Related Link: &lt;a href="http://sureshvaishya.blogspot.com/2009/04/introduction-to-oracle-alerts.html"&gt;Introduction to Oracle Alerts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1042646051012567057?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1042646051012567057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1042646051012567057&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1042646051012567057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1042646051012567057'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/02/notify-when-so-is-booked-or-new-line-is.html' title='Notify when SO is booked or new line is entered on booked order'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_CWRCDagUe5A/S2yTMw39GqI/AAAAAAAAC5E/hMl2anN8fNk/s72-c/1.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-548025961538205225</id><published>2010-01-26T11:48:00.003-05:00</published><updated>2010-02-01T12:19:38.565-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APIs'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Receivables'/><title type='text'>List of Receipts API in Oracle Receivables</title><content type='html'>Below is the list of some of the Receipt API's in Oracle Receivables. Receipt APIs provide an extension to existing functionality for creating and manipulating receipts through standard AR Receipts forms and lockboxes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;AR_RECEIPT_API_PUB&lt;/span&gt; is the main package that has several procedures to perform different actions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) AR_RECEIPT_API_PUB.APPLY &amp; AR_RECEIPT_API_PUB.UNAPPLY: &lt;br /&gt;   Use this procedure to apply or unaply respectively, the cash receipts from a customer to an invoice, debit memo, or other debit item .&lt;br /&gt;2) AR_RECEIPT_API_PUB.APPLY_ON_ACCOUNT &amp; AR_RECEIPT_API_PUB.UNAPPLY_ON_ACCOUNT&lt;br /&gt;   Use this procedure to apply or unapply a cash receipt on account.&lt;br /&gt;3) AR_RECEIPT_API_PUB.APPLY_OPEN_RECEIPT &amp; AR_RECEIPT_API_PUB.UNAPPLY_OPEN_RECEIPT&lt;br /&gt;   To apply or unapply a cash receipt to another open receipt.&lt;br /&gt;4) AR_RECEIPT_API_PUB.CREATE_CASH: &lt;br /&gt;   Procedure to create a single cash receipt for payment received in the form of a check or cash.&lt;br /&gt;6) AR_RECEIPT_API_PUB.REVERSE&lt;br /&gt;   Procedure to reverse cash and miscellaneous receipts&lt;br /&gt;&lt;br /&gt;In later post I will try to explain in detail how to use each API and the impact of same in application.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-548025961538205225?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/548025961538205225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=548025961538205225&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/548025961538205225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/548025961538205225'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/01/list-of-receipts-api-in-oracle.html' title='List of Receipts API in Oracle Receivables'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3449898478477177120</id><published>2010-01-21T14:58:00.009-05:00</published><updated>2010-02-15T13:57:58.820-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML Publisher'/><title type='text'>For BI Publisher Reports, cannot view Barcodes when previewed output in PDF</title><content type='html'>Based on question from one of our reader here are the steps to view the barcode fonts when the report is previewed in PDF format from .rtf file.&lt;br /&gt;&lt;br /&gt;The problem here is that the fonts are correctly installed in computer but when output is previewed instead of barcodes actual text is seen. One of the possible reason for this could be that the xdo.cfg file is not configured correctly. Below are the steps&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1)&lt;/span&gt; Copy Barcode font in C:\Windows\Fonts directory.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2)&lt;/span&gt; Copy xdo.cfg in C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config directory. The sample file is already available when BI Publisher desktop is installed.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3)&lt;/span&gt; Right click the font file and go to properties. Copy the .ttf file name. Double click the font file to get the family name.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4)&lt;/span&gt; Open the xdo.cfg file and paste as follows (My filename is FRE3OF9X.ttf and font family is Free 3 of 9 Extended)&lt;br /&gt;&lt;br /&gt;[font family="Free 3 of 9 Extended" style="normal" weight="normal"]&lt;br /&gt;[truetype path="C:\Windows\fonts\FRE3OF9X.ttf" /]&lt;br /&gt;[/font]&lt;br /&gt;Note: replace brackets([ &amp; ]) with angle brackets as was unable to paste due to HTML restriction in comments. There should be sample already available in the xdo.cfg file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5)&lt;/span&gt; Try your report should work fine and barcodes should be correctly displayed.&lt;br /&gt;&lt;br /&gt;Related Post:&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2009/05/using-3-of-9-barcodes-in-xml-publisher.html"&gt;Using 3 of 9 Barcodes in XML Publisher&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2010/02/view-barcode-in-bi-publisher-report.html"&gt;View Barcode in XML Publisher report when run from Application&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Keywords: Code 39, Barcode 39, 3 of 9 Barcodes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3449898478477177120?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3449898478477177120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3449898478477177120&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3449898478477177120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3449898478477177120'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/01/cannot-view-barcodes-in-when-previewed.html' title='For BI Publisher Reports, cannot view Barcodes when previewed output in PDF'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1669412045018591601</id><published>2010-01-19T14:19:00.003-05:00</published><updated>2010-01-19T14:40:51.414-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Purchasing'/><title type='text'>Types of Purchase Orders</title><content type='html'>Different types of purchase order in Oracle&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Standard Purchase Order&lt;/span&gt;: A standard purchase orders is generally created for one–time purchase of various items. Standard purchase orders is created when we know the details of the goods or services we require, estimated costs, quantities, delivery schedules, and accounting distributions.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Blanket Purchase Agreements&lt;/span&gt;: A blanket purchase agreements are created when we know the detail of the goods or services we plan to buy from a specific supplier in a period, but we do not yet know the detail of your delivery schedules. Blanket purchase agreements can be used to specify negotiated prices for items before actually purchasing them. Blanket purchase agreements can be created for a single organization or to be shared by different business units of organization (global agreements). &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Blanket Releases&lt;/span&gt;: A blanket release is issued against a blanket purchase agreement to&lt;br /&gt;place the actual order (as long as the release is within the blanket agreement effectivity dates).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Contract Purchase Agreements&lt;/span&gt;: A contract purchase agreement is an agreement between buyer and a supplier for unspecified goods or services. This agreement may include terms and conditions, amount, and effective dates. Later Standard Purchase orders can be issued based on the agreements decided.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Planned Purchase Orders&lt;/span&gt;: A planned purchase order is a long–term agreement committing to buy items or services from a single source. Tentative delivery schedules and all other details like item, price, quantity is specified in planned purchase orders. We can issue scheduled releases against planned purchase order to create standard purchase orders.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/S1YKsScPrlI/AAAAAAAAC48/cN74ZPDuHDA/s1600-h/1.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 215px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/S1YKsScPrlI/AAAAAAAAC48/cN74ZPDuHDA/s400/1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5428538156822539858" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1669412045018591601?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1669412045018591601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1669412045018591601&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1669412045018591601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1669412045018591601'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/01/types-of-purchase-orders.html' title='Types of Purchase Orders'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/S1YKsScPrlI/AAAAAAAAC48/cN74ZPDuHDA/s72-c/1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6085237991053367024</id><published>2010-01-13T15:19:00.002-05:00</published><updated>2010-01-13T15:25:05.289-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Work in Process'/><title type='text'>Types of Discrete Jobs in WIP</title><content type='html'>There are 2 types of discrete Jobs&lt;br /&gt;1) &lt;span style="font-weight:bold;"&gt;Standard&lt;/span&gt; - Standard discrete jobs are used to manufacture a brand new product using Bill of Materials and Routings. E.g. There is a demand in the sales order for an Assembly item which in turn creates a WIP Job. For this case standard discrete job will be created. &lt;br /&gt;2) &lt;span style="font-weight:bold;"&gt;Non-Standard&lt;/span&gt; - Non Standard discrete jobs are mostly used to repair a defective item. E.g. A product is returned by the customer for some defective reason. For this item a non-standard job is created and item is refurbished.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6085237991053367024?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6085237991053367024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6085237991053367024&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6085237991053367024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6085237991053367024'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2010/01/types-of-discrete-jobs-in-wip.html' title='Types of Discrete Jobs in WIP'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-709151774802227472</id><published>2009-12-20T17:01:00.000-05:00</published><updated>2009-12-08T03:50:07.347-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Loader'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>SQL Loader (SQLLDR) in Oracle Applications</title><content type='html'>One of the executable type in Oracle applications is SQL*Loader. In this post we will discuss more about how to define, create and use this type of Execution Method.&lt;br /&gt;&lt;br /&gt;Execution Method SQL*Loader is used to load data into database table using SQL*Loader. Below are the steps that needs to completed&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1)&lt;/span&gt; Create Control File and copy it in the TOP/bin directory. E.g. if your custom application top directory is $XX_TOP, then the file should be copied in $XX_TOP/bin directory&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;OPTIONS (SKIP=1)&lt;br /&gt;LOAD DATA infile '%1'&lt;br /&gt;APPEND INTO TABLE sv_test_tbl&lt;br /&gt;FIELDS TERMINATED BY "," optionally enclosed by '"'&lt;br /&gt;(&lt;br /&gt;   item_number     "trim(:item_number)"&lt;br /&gt; , description     "trim(:description)"&lt;br /&gt; , attribute1      "trim(:attribute1)"&lt;br /&gt; , process_flag    Constant 'UNPROCESSED'&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2)&lt;/span&gt; Create an executable with execution method as SQL*Loader and use the control file Name as Execution file Name. The Application should same as where the file is copied.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3)&lt;/span&gt; Create a concurrent program definition and use the executable created above.&lt;br /&gt;It is optional to have any parameters to the program, but in this case the data file name should be same as control file name except the extension for the data file being .dat&lt;br /&gt;If you notice in the control file definition above I have used &lt;span style="font-weight: bold;"&gt;%1&lt;/span&gt; as the infile name. This is how parameters are referenced in control file.&lt;br /&gt;So now we can create conc. program with a file name as a parameter(Full file name with path should be entered and this is case sensitive.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4)&lt;/span&gt; Assign this program to the request group and it is ready to be used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-709151774802227472?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/709151774802227472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=709151774802227472&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/709151774802227472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/709151774802227472'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/10/sqlldr-in-oracle-applications.html' title='SQL Loader (SQLLDR) in Oracle Applications'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5722528457403317684</id><published>2009-12-06T11:00:00.000-05:00</published><updated>2009-12-08T03:49:44.801-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Purchasing'/><title type='text'>Error in RCV Transactions Interface (Receiving Transaction Processor)</title><content type='html'>When trying to use RCV interfaces and ran Receiving transaction Processor import program, the transaction errored out with message "&lt;span style="font-weight:bold;"&gt;The parameters passed to procedure populate_cost_details are invalid.&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;In the documentation, the column name LAST_UPDATE_LOGIN is noted as "optional".&lt;br /&gt;However, the columns user_id and login_id in package &lt;br /&gt;inv_wwacst.populate_cost_details are selected from &lt;br /&gt;mtl_material_transactions_temp table in inltpu, which is populated by the &lt;br /&gt;Receiving Interface Manager. These columns are expected to be NOT null and &lt;br /&gt;will error if they are null. The solution is to populate the LAST_UPDATE_LOGIN&lt;br /&gt;with a value (type is Number. Even though Purchasing does not require this&lt;br /&gt;field to be populated, this is required in Inventory when the items are&lt;br /&gt;delivered.&lt;br /&gt;&lt;br /&gt;Refer Metalink Note: &lt;a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&amp;id=%28%29%29,%28page=KBNavigator&amp;id=%28bmDocDsrc=KB&amp;bmDocTitle=RVTII-060%20error%20received%20when%20using%20Receiving%20Open%20Interface%20-%20ROI&amp;viewingMode=1143&amp;bmDocID=99533.1&amp;from=BOOKMARK&amp;bmDocType=PROBLEM%29%29" target="_blank"&gt;99533.1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Keywords: Receiving Open Interface, RVCTP, PO Receipts, populate_cost_details&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5722528457403317684?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5722528457403317684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5722528457403317684&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5722528457403317684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5722528457403317684'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/10/error-in-rcv-transactions-interface.html' title='Error in RCV Transactions Interface (Receiving Transaction Processor)'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2577939719482115753</id><published>2009-11-25T14:13:00.010-05:00</published><updated>2009-12-01T11:09:42.964-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><title type='text'>Sales Order Line Status Flow and Meaning</title><content type='html'>&lt;span style="font-size:100%;"&gt;Below are some of the different statuses of Sales Order Line with brief explanation&lt;br /&gt;&lt;br /&gt;OM = Order Management Sales order form&lt;br /&gt;SE = Shipping Transactions or execution form&lt;br /&gt;&lt;br /&gt;1) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Entered (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Order is saved but not booked&lt;br /&gt;&lt;br /&gt;2) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Booked (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Order is Booked.&lt;br /&gt;&lt;br /&gt;3) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Awaiting Shipping (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Order is booked but lines are not yet picked.&lt;br /&gt;Navigating to Shipping Execution, the delivery line status flow is:&lt;br /&gt;&lt;br /&gt;4) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Not Ready to Release (SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: A delivery line may be in this status when it is interfaced manually into Shipping, is not scheduled and has no reservations. When lines are imported automatically from Order Management this status is not used&lt;br /&gt;&lt;br /&gt;5) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Released to Warehouse (SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Pick Release has started but not yet completed. One of the reason could be allocation have not been pick confirmed. The Pick Release process creates a Move Order Header &amp;amp; Mover Order Line in Inventory. This is a common status for users that perform a two-step pick release process. This status indicates that inventory allocation has occurred however pick conformation has not yet taken place.&lt;br /&gt;&lt;br /&gt;6) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Ready to Release (SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Order Line is booked and passed to shipping execution. The line is now eligible to pick Release.&lt;br /&gt;&lt;br /&gt;7) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Backordered(SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: The status of Backorderd is assigned to a line under the following circumstances.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;blockquote&gt;&lt;ul&gt;&lt;li&gt;      The Pick Release process attempted to allocate inventory to the line and all or a partial quantity of the item was not available. In this case the system automatically backorders the discrepant quantity.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;      At Ship confirm the user enters a shipped quantity for an item that is less than the original requested quantity.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;      The user manually Backorders the entire delivery.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;8) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Shipped (SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: The delivery line is shipped confirmed.&lt;br /&gt;&lt;br /&gt;9) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Confirmed (SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: The delivery line is shipped or backordered and the trip stops are open.&lt;br /&gt;&lt;br /&gt;10) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Picked (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Pick release is complete, both allocations and pick confirm&lt;br /&gt;&lt;br /&gt;11) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Picked Partial (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: This status occurs when a delivery line is not allocated the full quantity during Pick Release and Ship Confirm has not occurred&lt;br /&gt;&lt;br /&gt;12) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Interfaced (SE)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: The delivery line is shipped and Inventory interface concurrent process is complete.&lt;br /&gt;&lt;br /&gt;13) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Awaiting Fulfillment (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: When fulfillment set is used, Not all shippable lines in a fulfillment set or a&lt;br /&gt;configuration are fulfilled&lt;br /&gt;&lt;br /&gt;14) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Fulfilled (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: All lines in a fulfillment set are fulfilled.&lt;br /&gt;&lt;br /&gt;15) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Interfaced to Receivables (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: The order is linked with Receivables and the invoice is created.&lt;br /&gt;&lt;br /&gt;16) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Partially Interfaced to Receivables (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: This status is used in a PTO flow and indicates that the particular PTO item is required for revenue.&lt;br /&gt;&lt;br /&gt;17) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Closed (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Closed indicates that the line is closed.&lt;br /&gt;&lt;br /&gt;18) &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Canceled (OM)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;: Indicates that the line has been completely canceled. No further processing will occur for this line.&lt;br /&gt;&lt;br /&gt;Reference: Oracle Metalink&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2577939719482115753?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2577939719482115753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2577939719482115753&amp;isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2577939719482115753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2577939719482115753'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/11/below-are-some-of-different-status-of.html' title='Sales Order Line Status Flow and Meaning'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5893524337746586752</id><published>2009-11-03T09:16:00.002-05:00</published><updated>2009-11-03T09:26:54.541-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Loader'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>SQL Loader limit number of rows</title><content type='html'>Based on a query from one of our reader here is an example to illustrate how to limit number of rows to be loaded in SQL Loader. This can be done using option &lt;span style="font-weight:bold;"&gt;LOAD&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;OPTIONS (SKIP=1, &lt;span style="font-weight:bold;"&gt;LOAD=10&lt;/span&gt;, ERRORS=5)&lt;br /&gt;LOAD DATA infile c:/sv_test.dat&lt;br /&gt;REPLACE INTO TABLE sv_test_sql_tbl&lt;br /&gt;FIELDS TERMINATED BY "," optionally enclosed by '"'&lt;br /&gt;trailing nullcols&lt;br /&gt;(&lt;br /&gt;    item_number     "trim(:item_number)"&lt;br /&gt;  , vendor_name "trim(:vendor_name)"&lt;br /&gt;  , vendor_site_name "trim(:vendor_site_name)"&lt;br /&gt;  , supplier_item   "trim(:supplier_item)"&lt;br /&gt;  , process_flag  Constant 'UNPROCESSED'&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In the example above the total records to be loaded is limited to 10, error records is 5 and 1 record is skipped.&lt;br /&gt;&lt;br /&gt;These options can also be given with sqlldr command as follows&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sqlldr control='sv_test.ctl' data='sv_test.dat' &lt;span style="font-weight:bold;"&gt;load=10&lt;/span&gt; errors=5  skip=1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Keywords: SQL*LOADER, ERRORS, SKIP, LOAD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5893524337746586752?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5893524337746586752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5893524337746586752&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5893524337746586752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5893524337746586752'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/11/sql-loader-limit-number-of-rows.html' title='SQL Loader limit number of rows'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5760427654693666972</id><published>2009-11-02T14:53:00.000-05:00</published><updated>2009-12-08T02:46:19.907-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Accounts Receivables'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Query to Link between Order Management and Account Receivables</title><content type='html'>On request I continue to write further on Post &lt;a href="http://sureshvaishya.blogspot.com/2009/09/relation-between-ar-invoice-table-and.html"&gt;Relation between AR Invoice and Sales Order tables&lt;/a&gt; and based on the standard assumption, provide a query that can be used to link Invoice and Sales Order.&lt;br /&gt;&lt;br /&gt;Query below can be handy&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SELECT ooha.order_number&lt;br /&gt;     , oola.line_number so_line_number&lt;br /&gt;     , oola.ordered_item&lt;br /&gt;     , oola.ordered_quantity * oola.unit_selling_price so_extended_price&lt;br /&gt;     , rcta.trx_number invoice_number&lt;br /&gt;     , rcta.trx_date&lt;br /&gt;     , rctla.line_number inv_line_number&lt;br /&gt;     , rctla.unit_selling_price inv_unit_selling_price&lt;br /&gt;FROM   oe_order_headers_all ooha&lt;br /&gt;     , oe_order_lines_all oola&lt;br /&gt;     , ra_customer_trx_all rcta&lt;br /&gt;     , ra_customer_trx_lines_all rctla&lt;br /&gt;WHERE  ooha.header_id = oola.header_id&lt;br /&gt;AND    rcta.customer_trx_id = rctla.customer_trx_id&lt;br /&gt;AND    rctla.interface_line_attribute6 = TO_CHAR (oola.line_id)&lt;br /&gt;AND    rctla.interface_line_attribute1 = TO_CHAR (ooha.order_number)&lt;br /&gt;AND    order_number = :p_order_number&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Keywords: Sales Order, AR, OM&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5760427654693666972?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5760427654693666972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5760427654693666972&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5760427654693666972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5760427654693666972'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/12/link-between-order-management-and.html' title='Query to Link between Order Management and Account Receivables'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7545562924713377118</id><published>2009-10-21T09:57:00.003-04:00</published><updated>2009-10-21T10:01:30.594-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Query to find locked objects in Oracle</title><content type='html'>Sometimes program takes a little longer time then expected, one of the reason to this could be that the table/object you are trying to manipulate is locked by other program and hence it is waiting for the resource to be released.&lt;br /&gt;Below query can be handy to find the objects that are locked &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SELECT   c.owner&lt;br /&gt;       , c.object_name&lt;br /&gt;       , c.object_type&lt;br /&gt;       , b.SID&lt;br /&gt;       , b.serial#&lt;br /&gt;       , b.status&lt;br /&gt;       , b.osuser&lt;br /&gt;       , b.machine&lt;br /&gt;       , b.program&lt;br /&gt;       , b.module&lt;br /&gt;       , b.action&lt;br /&gt;FROM     v$locked_object a&lt;br /&gt;       , v$session b&lt;br /&gt;       , dba_objects c&lt;br /&gt;WHERE    b.SID = a.session_id &lt;br /&gt;AND a.object_id = c.object_id&lt;br /&gt;ORDER BY module&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If you want to forcefully kill any session then it can be done using&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;alter system kill session 'sid,serial#'&lt;br /&gt;&lt;br /&gt;e.g. &lt;br /&gt;altery system kill session '123,5325'&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7545562924713377118?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7545562924713377118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7545562924713377118&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7545562924713377118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7545562924713377118'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/10/query-to-find-locked-objects-in-oracle.html' title='Query to find locked objects in Oracle'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4816786269990053488</id><published>2009-10-01T15:51:00.001-04:00</published><updated>2009-10-01T15:51:00.773-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><title type='text'>Restart or Bounce Apache Server</title><content type='html'>Following command can be used to bounce apache. An apache bounce is needed to reflect any changes in the self service pages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To Stop&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$COMMON_TOP/admin/scripts/$TWO_TASK*/adapcctl.sh stop&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To Start&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$COMMON_TOP/admin/scripts/$TWO_TASK*/adapcctl.sh start&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4816786269990053488?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4816786269990053488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4816786269990053488&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4816786269990053488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4816786269990053488'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/10/restart-or-bounce-apache-server.html' title='Restart or Bounce Apache Server'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5869513028469344341</id><published>2009-09-08T16:22:00.007-04:00</published><updated>2009-09-08T16:30:17.272-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Accounts Receivables'/><title type='text'>Relation between AR Invoice and Sales Order tables</title><content type='html'>Many times I have seen a question being asked in the forums about the relationship between AR Invoice and Sales Order.&lt;br /&gt;There are several interface_line_attribute and interface_header_attribute columns in RA_CUSTOMER_TRX_ALL and RA_CUSTOMER_TRX_LINES_ALL table respectively which are used to map it with other modules.&lt;br /&gt;The relationship is actually mapped using the descriptive flexfield.&lt;br /&gt;&lt;br /&gt;Query for following&lt;br /&gt;&lt;b&gt;Application:&lt;/b&gt; Receivables&lt;br /&gt;&lt;b&gt;Title:&lt;/b&gt; Line Transaction Flexfield&lt;br /&gt;&lt;br /&gt;and then in the &lt;b&gt;context field&lt;/b&gt; is the listed different modules.&lt;br /&gt;&lt;br /&gt;For Sales order search for Order Management or Order Entry and click on segments to see how they are mapped. Screenshots below&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_CWRCDagUe5A/Sqa8vID0Q8I/AAAAAAAAC08/Mn9w9LBPc2g/s1600-h/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_CWRCDagUe5A/Sqa8vID0Q8I/AAAAAAAAC08/Mn9w9LBPc2g/s320/1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Click on the segments button to see column mappings.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp;&lt;a href="http://1.bp.blogspot.com/_CWRCDagUe5A/Sqa8x7WxgXI/AAAAAAAAC1E/fkiD80ninvU/s1600-h/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_CWRCDagUe5A/Sqa8x7WxgXI/AAAAAAAAC1E/fkiD80ninvU/s320/2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The above method can also be used to find mapping of Receivables with other modules like Oracle Projects, Services, Contracts etc.&lt;br /&gt;&lt;br /&gt;P.S. Please click on the image to zoom it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5869513028469344341?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5869513028469344341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5869513028469344341&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5869513028469344341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5869513028469344341'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/09/relation-between-ar-invoice-table-and.html' title='Relation between AR Invoice and Sales Order tables'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/Sqa8vID0Q8I/AAAAAAAAC08/Mn9w9LBPc2g/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3971382746476976716</id><published>2009-09-07T15:50:00.000-04:00</published><updated>2009-09-07T15:50:00.279-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Command/Code to get ASCII value in UNIX</title><content type='html'>Found a method to ASCII to character and vice versa in unix and thought of sharing it.&lt;br /&gt;Below is the code.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;## Character to ASCII&lt;br /&gt;printf "%d\n" "'A"&lt;br /&gt;&lt;br /&gt;## ASCII number to character&lt;br /&gt;awk -v char=65 'BEGIN { printf "%c\n", char; exit }'&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3971382746476976716?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3971382746476976716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3971382746476976716&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3971382746476976716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3971382746476976716'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/09/commandcode-to-get-ascii-value-in-unix.html' title='Command/Code to get ASCII value in UNIX'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8485132398090075008</id><published>2009-09-01T09:34:00.006-04:00</published><updated>2009-09-02T10:17:29.113-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Find Table and Column Name with table and column description</title><content type='html'>Many times we refer to TRM to get the description or know more about the columns in a table. The query below can be handy to know which tables use the column and get a small description about the table and the column.&lt;br /&gt;Note if there is a custom table created and not registered in oracle apps then those tables and columns will not be listed by the query below.&lt;br /&gt;&lt;pre&gt;SELECT fa.application_id&lt;br /&gt;, fa.application_short_name&lt;br /&gt;, fat.application_name&lt;br /&gt;, table_name&lt;br /&gt;, column_name&lt;br /&gt;, ft.description table_description&lt;br /&gt;, fc.description column_description&lt;br /&gt;FROM   fnd_tables ft&lt;br /&gt;, fnd_columns fc&lt;br /&gt;, fnd_application_tl fat&lt;br /&gt;, fnd_application fa&lt;br /&gt;WHERE  ft.table_id = fc.table_id&lt;br /&gt;AND    fc.column_name = :column_name&lt;br /&gt;AND    fat.application_id = ft.application_id&lt;br /&gt;AND    fat.LANGUAGE = USERENV ('LANG')&lt;br /&gt;AND    fa.application_id = fat.application_id&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8485132398090075008?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8485132398090075008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8485132398090075008&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8485132398090075008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8485132398090075008'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/find-table-by-column-name-with-table.html' title='Find Table and Column Name with table and column description'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-995204799134106868</id><published>2009-08-13T11:44:00.008-04:00</published><updated>2009-11-10T10:01:28.070-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Reports/Forms'/><title type='text'>Print Image using Reports 6i using the file path</title><content type='html'>To add further to my earlier post &lt;a href="http://sureshvaishya.blogspot.com/2009/08/display-images-in-reports-6i.html"&gt;&lt;span style="font-weight:bold;"&gt;Display image using Reports 6i&lt;/span&gt;&lt;/a&gt;, here we will discuss how to display image when file path is stored in the table. In our example the file directory is a constant directory and only the file name is stored in the table.&lt;br /&gt;The person requested this post had following problem&lt;br /&gt;&lt;span style="font-style:italic;"&gt;1) Need to store image in one of the directory and display that using Reports 6i&lt;br /&gt;2) If file does not exists in the directory, the report should complete normal and do not display any image&lt;br /&gt;3) Psuedo code&lt;br /&gt;  If file exists then&lt;br /&gt;     display image&lt;br /&gt;  else&lt;br /&gt;     display blank (no image)&lt;br /&gt;  end if;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most of the steps discussed in earlier post are same with few changes as follows&lt;br /&gt;Create a new formula column say CF_URL and write following code in the format trigger&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;function CF_URLFormula return Char is&lt;br /&gt; v_handle  utl_file.file_type;&lt;br /&gt; v_file_dir VARCHAR2(60) := '/u002/app/applmgr/temp/';&lt;br /&gt;begin&lt;br /&gt;-- The UTL_FILE is used to check if the file exists in the directory.&lt;br /&gt;-- If it is unable to open the file then an exception will thrown.&lt;br /&gt;-- We will catch the exception and return null as the final URL.&lt;br /&gt;-- Without this exception for any invalid path, the report will error out &lt;br /&gt;-- and not work as expected.&lt;br /&gt; v_handle := utl_file.fopen(v_file_dir, :photo_name, 'R');&lt;br /&gt; utl_file.fclose(v_handle);&lt;br /&gt; RETURN v_file_dir||:photo_name;&lt;br /&gt;exception&lt;br /&gt; when others then&lt;br /&gt; srw.message(100,SQLERRM);&lt;br /&gt; return null;&lt;br /&gt;end;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Another change is in the layout. Screenshot below&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SoRIgSJh-iI/AAAAAAAAC0U/9Ojnmtio6Mk/s1600-h/1.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 310px; height: 320px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SoRIgSJh-iI/AAAAAAAAC0U/9Ojnmtio6Mk/s320/1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5369496375197301282" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Related Post:&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2009/08/display-images-in-reports-6i.html"&gt;Display image using Reports 6i&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2009/08/insert-blob-image-file-into-database.html"&gt;Insert BLOB Image file into Oracle Database Table&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-995204799134106868?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/995204799134106868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=995204799134106868&amp;isPopup=true' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/995204799134106868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/995204799134106868'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/print-image-using-reports-6i-using-file.html' title='Print Image using Reports 6i using the file path'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/SoRIgSJh-iI/AAAAAAAAC0U/9Ojnmtio6Mk/s72-c/1.bmp' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8597410230232773863</id><published>2009-08-12T19:24:00.004-04:00</published><updated>2009-08-13T15:30:54.401-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Reports/Forms'/><title type='text'>Display images in Reports 6i</title><content type='html'>On request from one of our reader, Below is the post on how to display and dynamically change image in reports 6i.&lt;br /&gt;Please refer to my post &lt;a href="http://sureshvaishya.blogspot.com/2009/08/insert-blob-image-file-into-database.html"&gt;&lt;span style="font-weight:bold;"&gt;Insert BLOB image file into oracle database table &lt;/span&gt;&lt;/a&gt; where I have discussed the steps on how to insert a record into BLOB table.&lt;br /&gt;We will use same SV_EMP_TABLE as a reference and using Reports 6i create a report that prints ID Card. For simplicity there are no parameters to the report and it will create ID cards for all the employees for which record exists in the table.&lt;br /&gt;In the data model create following SQL Query&lt;br /&gt;&lt;pre&gt;SELECT ID, PHOTO_NAME, PHOTO_RAW ,emp_name&lt;br /&gt;FROM SV_EMP_PHOTO&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_CWRCDagUe5A/SoMp-l-8wSI/AAAAAAAACz0/zQB4l7aYFzM/s1600-h/1.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SoMp-l-8wSI/AAAAAAAACz0/zQB4l7aYFzM/s320/1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5369181336080531746" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The next step is to create a layout for the report. Screenshot below&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_CWRCDagUe5A/SoMs6XRzphI/AAAAAAAAC0E/dx6KiquecaY/s1600-h/3.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 263px;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SoMs6XRzphI/AAAAAAAAC0E/dx6KiquecaY/s320/3.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5369184561948501522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Complete necessary concurrent program setup to run this report from Oracle Apps. Below is the screenshot of the report output.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_CWRCDagUe5A/SoMtVuwpT3I/AAAAAAAAC0M/XXfMZipOYdk/s1600-h/4.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 286px; height: 320px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SoMtVuwpT3I/AAAAAAAAC0M/XXfMZipOYdk/s320/4.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5369185032108330866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Related Post:&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2009/08/insert-blob-image-file-into-database.html"&gt;Insert BLOB Image file into Oracle Database Table&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;P.S. Click on the image to zoom it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8597410230232773863?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8597410230232773863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8597410230232773863&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8597410230232773863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8597410230232773863'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/display-images-in-reports-6i.html' title='Display images in Reports 6i'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/SoMp-l-8wSI/AAAAAAAACz0/zQB4l7aYFzM/s72-c/1.bmp' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4828593095545203417</id><published>2009-08-12T16:37:00.004-04:00</published><updated>2009-08-14T16:53:05.043-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Insert BLOB image file in oracle database table</title><content type='html'>Here we will discuss how to insert BLOB file in the database. For this we will create a table and then a procedure that will be used to insert records in the table.&lt;br /&gt;&lt;br /&gt;Use following script to create an employee table&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;CREATE TABLE SV_EMP_PHOTO&lt;br /&gt;(&lt;br /&gt;  ID          NUMBER(3) NOT NULL,&lt;br /&gt;  PHOTO_NAME  VARCHAR2(40),&lt;br /&gt;  PHOTO_RAW   BLOB,&lt;br /&gt;  EMP_NAME    VARCHAR2(80)&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Create a directory where the photos will be stored. I am creating a directory in UNIX as our database is created in UNIX.&lt;br /&gt;&lt;pre&gt;Create directory SV_PHOTO_DIR as '/u002/app/applmgr/empphoto'&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Script to create a procedure SV_LOAD_IMAGE that will insert records in the table.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;CREATE OR REPLACE PROCEDURE sv_load_image (&lt;br /&gt;   p_id                NUMBER&lt;br /&gt; , p_emp_name     IN   VARCHAR2&lt;br /&gt; , p_photo_name   IN   VARCHAR2&lt;br /&gt;)&lt;br /&gt;IS&lt;br /&gt;   l_source   BFILE;&lt;br /&gt;   l_dest     BLOB;&lt;br /&gt;   l_length   BINARY_INTEGER;&lt;br /&gt;BEGIN&lt;br /&gt;   l_source := BFILENAME ('SV_PHOTO_DIR', p_photo_name);&lt;br /&gt;&lt;br /&gt;   INSERT INTO sv_emp_photo&lt;br /&gt;               (ID&lt;br /&gt;              , photo_name&lt;br /&gt;              , emp_name&lt;br /&gt;              , photo_raw&lt;br /&gt;               )&lt;br /&gt;   VALUES      (p_id&lt;br /&gt;              , p_photo_name&lt;br /&gt;              , p_emp_name&lt;br /&gt;              , EMPTY_BLOB ()&lt;br /&gt;               )&lt;br /&gt;   RETURNING   photo_raw&lt;br /&gt;   INTO        l_dest;&lt;br /&gt;&lt;br /&gt;   -- lock record&lt;br /&gt;   SELECT     photo_raw&lt;br /&gt;   INTO       l_dest&lt;br /&gt;   FROM       sv_emp_photo&lt;br /&gt;   WHERE      ID = p_id AND photo_name = p_photo_name&lt;br /&gt;   FOR UPDATE;&lt;br /&gt;&lt;br /&gt;   -- open the file&lt;br /&gt;   DBMS_LOB.fileopen (l_source, DBMS_LOB.file_readonly);&lt;br /&gt;   -- get length&lt;br /&gt;   l_length := DBMS_LOB.getlength (l_source);&lt;br /&gt;   -- read the file and store in the destination&lt;br /&gt;   DBMS_LOB.loadfromfile (l_dest, l_source, l_length);&lt;br /&gt;&lt;br /&gt;   -- update the blob field with destination&lt;br /&gt;   UPDATE sv_emp_photo&lt;br /&gt;   SET photo_raw = l_dest&lt;br /&gt;   WHERE  ID = p_id AND photo_name = p_photo_name;&lt;br /&gt;&lt;br /&gt;   -- close file&lt;br /&gt;   DBMS_LOB.fileclose (l_source);&lt;br /&gt;END --sv_load_image;&lt;br /&gt;/&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I have copied few .jpg images in /u002/app/applmgr/empphoto in UNIX.&lt;br /&gt;Execute the procedure as follows to create record in database&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;exec sv_load_image(1,'Pavki','one.jpg')&lt;br /&gt;exec sv_load_image(2,'Suresh','two.jpg')&lt;br /&gt;exec sv_load_image(3,'Rachna','three.jpg')&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Following is how data is stored in the database&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_CWRCDagUe5A/SoMoACjinaI/AAAAAAAACzs/IjuixUWpGVo/s1600-h/1.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 202px;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SoMoACjinaI/AAAAAAAACzs/IjuixUWpGVo/s320/1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5369179161906814370" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4828593095545203417?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4828593095545203417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4828593095545203417&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4828593095545203417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4828593095545203417'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/insert-blob-image-file-into-database.html' title='Insert BLOB image file in oracle database table'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/SoMoACjinaI/AAAAAAAACzs/IjuixUWpGVo/s72-c/1.bmp' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2062440674182732513</id><published>2009-08-11T15:48:00.002-04:00</published><updated>2009-08-11T16:05:48.137-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>NVL2 Function in Oracle</title><content type='html'>In Oracle, the NVL2 function extends the functionality found in the &lt;span style="font-weight:bold;"&gt;NVL &lt;/span&gt;function. It can be used to substitute a value when a null value is encountered as well as when a non-null value is encountered.&lt;br /&gt;&lt;br /&gt;The syntax for the NVL2 function is:&lt;br /&gt;&lt;pre&gt;    NVL2( &lt;span style="font-style:italic;"&gt;string1&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;value_if_NOT_null&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;value_if_null&lt;/span&gt; )&lt;br /&gt;&lt;span style="font-style:italic;"&gt;string1 &lt;/span&gt;is the string to test for a null value.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;value_if_NOT_null&lt;/span&gt; is the value returned if string1 is not null.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;value_if_null&lt;/span&gt; is the value returned if string1 is null.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2062440674182732513?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2062440674182732513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2062440674182732513&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2062440674182732513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2062440674182732513'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/nvl2-function-in-oracle.html' title='NVL2 Function in Oracle'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4142813617388315360</id><published>2009-08-03T15:06:00.007-04:00</published><updated>2009-08-03T15:25:14.440-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Reports/Forms'/><title type='text'>Oracle Report 6i closes with Error when trying to compile some reports</title><content type='html'>Sometimes when we try to compile a standard (complicated) oracle reports using Reports 6i, the report builder closes with following error message&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience.&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/Snc5IYpTr8I/AAAAAAAACy8/OUH8LSOBpn4/s1600-h/a.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 199px;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/Snc5IYpTr8I/AAAAAAAACy8/OUH8LSOBpn4/s320/a.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5365820297252679618" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;One of the fix is to check the version of oracle report and apply a &lt;a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocID=232313.1&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocType=WHITE%20PAPER&amp;bmDocDsrc=KB&amp;bmDocTitle=Information%20on%20Previous%20Versions%20of%20%20Developer%20%3Cb%3E6i%3C/b%3E%20Patchsets))"&gt;patch&lt;/a&gt; and get Reports/Forms to the latest version.&lt;br /&gt;&lt;br /&gt;Download &lt;a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocID=232313.1&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocType=WHITE%20PAPER&amp;bmDocDsrc=KB&amp;bmDocTitle=Information%20on%20Previous%20Versions%20of%20%20Developer%20%3Cb%3E6i%3C/b%3E%20Patchsets))"&gt;patch&lt;/a&gt; from metalink&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4142813617388315360?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4142813617388315360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4142813617388315360&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4142813617388315360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4142813617388315360'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/oracle-report-6i-closes-with-error-when.html' title='Oracle Report 6i closes with Error when trying to compile some reports'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_CWRCDagUe5A/Snc5IYpTr8I/AAAAAAAACy8/OUH8LSOBpn4/s72-c/a.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6881042886306862572</id><published>2009-08-02T16:42:00.002-04:00</published><updated>2009-08-03T09:17:47.349-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Set use of VI Commands at the UNIX prompt</title><content type='html'>VI commands can be used at the UNIX prompt to retrieve history commands or modify already typed command using VI editor keys. This can be done by executing following command &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;set -o vi&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;One of the option is to enter and save this command in .profile file, so that everytime we login in UNIX this command is executed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6881042886306862572?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6881042886306862572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6881042886306862572&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6881042886306862572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6881042886306862572'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/08/set-use-of-vi-commands-at-unix-prompt.html' title='Set use of VI Commands at the UNIX prompt'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2886011862998793981</id><published>2009-07-30T10:14:00.002-04:00</published><updated>2009-07-30T10:17:41.684-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Inventory'/><title type='text'>Enable Created By Field in the Find Move Order Screen</title><content type='html'>To implement the solution, execute the following steps to enable the INV_INVTOMAI_CREATOR function:&lt;br /&gt;&lt;br /&gt;A. Define the INV_INVTOMAI_CREATOR function if it does &lt;span style="font-weight:bold;"&gt;not&lt;/span&gt; already exist:&lt;br /&gt;&lt;br /&gt;   1. Navigate: System Administrator &gt; Application &gt; Function&lt;br /&gt;   2. Enter Function Name: INV_INVTOMAI_CREATOR&lt;br /&gt;   3. Enter User Function Name: 'Move Orders Creator'&lt;br /&gt;   4. Under the Properties tab, enter Type: Subfunction&lt;br /&gt;   5. Enter Maintenance Mode support: None&lt;br /&gt;   6. Enter Context Dependence: Responsibility&lt;br /&gt;   7. Save&lt;br /&gt;&lt;br /&gt;B. Assign the function to the Menu you are using:&lt;br /&gt;&lt;br /&gt;   1. Navigate System Administrator &gt; Application &gt; Menu&lt;br /&gt;   2. Query for menu 'INV_MOVE_ORDER'&lt;br /&gt;   3. Add a new line to the menu:&lt;br /&gt;      Prompt: 'Move Order Creator'&lt;br /&gt;      Function: select 'Move Orders Creator' from the LOV&lt;br /&gt;      Description: 'Move Orders Creator'&lt;br /&gt;   4. Save&lt;br /&gt;&lt;br /&gt;The Created By field in the Move Order find form should now be enabled and modifiable. You may need to sign out and back in for the change to take affect.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(bmDocID=280131.1&amp;viewingMode=1143&amp;from=BOOKMARK&amp;bmDocType=PROBLEM&amp;bmDocDsrc=KB&amp;bmDocTitle=Unable%20To%20Search%20For%20%3Cb%3EMove%3C/b%3E%20%3Cb%3EOrders%3C/b%3E%20Created%20By%20Other%20%3Cb%3EUser%3C/b%3E%20On%20Find%20%3Cb%3EMove%3C/b%3E%20&amp;lt;...))"&gt;Metalink Note: 280131.1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2886011862998793981?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2886011862998793981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2886011862998793981&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2886011862998793981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2886011862998793981'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/07/enable-created-by-field-in-find-move.html' title='Enable Created By Field in the Find Move Order Screen'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6471455081472306104</id><published>2009-07-24T09:54:00.007-04:00</published><updated>2009-07-24T10:08:25.681-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Retrieve IP Address and Host Name usingPL/SQL</title><content type='html'>&lt;span style="font-style:italic;"&gt;On request from one of our reader.&lt;/span&gt;&lt;br /&gt;Using the UTL_INADDR package, a PL/SQL subprogram can determine the host name of the local system or the IP address of a given host name.&lt;br /&gt;&lt;br /&gt;E.g. Retrieve the local host name and IP address.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SET serveroutput on&lt;br /&gt;BEGIN&lt;br /&gt;  DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_NAME);  -- get local host name&lt;br /&gt;  DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_ADDRESS);  -- get local IP addr&lt;br /&gt;  DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_ADDRESS('www.oracle.com'));&lt;br /&gt;  DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_NAME('141.146.9.91')); &lt;br /&gt;END;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/u_inaddr.htm#ARPLS071"&gt;www.oracle.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6471455081472306104?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6471455081472306104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6471455081472306104&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6471455081472306104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6471455081472306104'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/07/retrieve-ip-address-and-host-name.html' title='Retrieve IP Address and Host Name usingPL/SQL'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2492176889087252956</id><published>2009-07-14T13:34:00.011-04:00</published><updated>2009-07-14T13:53:20.248-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Personalization'/><title type='text'>Changing the color of an Item in Forms using Forms Personalization</title><content type='html'>On request here are the steps to change the Font colors of an item using Forms Personalization.&lt;br /&gt;I am using Item Screen for an example and displaying Item number in Red Color.&lt;br /&gt;This is how form looks before customization. Note that Item number is displayed in its default color.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SlzDyuCMhRI/AAAAAAAACyM/zKkXBVKDu2k/s1600-h/1.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 201px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SlzDyuCMhRI/AAAAAAAACyM/zKkXBVKDu2k/s320/1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5358372932782163218" /&gt;&lt;/a&gt;&lt;br /&gt;Now lets change the color. Select Help-&gt;Diagnostics-&gt;Custom Code-&gt;Personalize to open the forms personalization screen.&lt;br /&gt;At this point of time there is no condition specified and the Item number is displayed in red in all the cases. So the trigger is written in WHEN-NEW_FORMS-INSTANCE&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SlzESJaFZOI/AAAAAAAACyU/vjQX1eQTO8E/s1600-h/2.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 192px;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SlzESJaFZOI/AAAAAAAACyU/vjQX1eQTO8E/s320/2.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5358373472706061538" /&gt;&lt;/a&gt;&lt;br /&gt;Click on Actions tab and enter as shown in the screen shot&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SlzEVAGi3SI/AAAAAAAACyc/xHTFkaLjCI4/s1600-h/3.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 190px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SlzEVAGi3SI/AAAAAAAACyc/xHTFkaLjCI4/s320/3.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5358373521747795234" /&gt;&lt;/a&gt;&lt;br /&gt;Save your changes and re-open and query for an item&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/SlzEXlt2XZI/AAAAAAAACyk/DdzaQmaCTCI/s1600-h/4.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 201px;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/SlzEXlt2XZI/AAAAAAAACyk/DdzaQmaCTCI/s320/4.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5358373566204501394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note the change in the font color of Item Number.&lt;br /&gt;&lt;br /&gt;The Foreground color used in above example is &lt;span style="font-weight:bold;"&gt;r255g0b0&lt;/span&gt;, which can be explained as follows&lt;br /&gt;  &lt;blockquote&gt;&lt;span style="font-style:italic;"&gt; Any Color is made using combination of Red(r), Green(g) and Blue(b) color with a value ranging from 0 to 255. To create a red color give the value of &lt;span style="font-weight:bold;"&gt;r&lt;/span&gt; to maximum 255 and leave &lt;span style="font-weight:bold;"&gt;g&lt;/span&gt; and &lt;span style="font-weight:bold;"&gt;b&lt;/span&gt; to zero.&lt;br /&gt;Similarly green color can be defined as r0g255b0&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;P.S. Click on the image to zoom it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2492176889087252956?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2492176889087252956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2492176889087252956&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2492176889087252956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2492176889087252956'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/07/changing-color-of-item-in-forms-using.html' title='Changing the color of an Item in Forms using Forms Personalization'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/SlzDyuCMhRI/AAAAAAAACyM/zKkXBVKDu2k/s72-c/1.bmp' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-925107814112127163</id><published>2009-07-02T11:06:00.004-04:00</published><updated>2009-07-02T11:10:12.563-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='profile'/><title type='text'>Set Profile Option Value using PL/SQL</title><content type='html'>On request here is how to set the profile option value using PL/SQL&lt;br /&gt;&lt;br /&gt;Function FND_PROFILE.SAVE can be used to set the value of any profile option at any level i.e. Site, Application, Responsibility, User etc.&lt;br /&gt;&lt;br /&gt;Below is a sample code of how to use this function&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;DECLARE&lt;br /&gt;   a   BOOLEAN;&lt;br /&gt;BEGIN&lt;br /&gt;   a := fnd_profile.SAVE ('CONC_REPORT_ACCESS_LEVEL'&lt;br /&gt;                        , 'R'&lt;br /&gt;                        , 'USER'&lt;br /&gt;                        , '22746'&lt;br /&gt;                        , NULL&lt;br /&gt;                        , NULL&lt;br /&gt;                         );&lt;br /&gt;&lt;br /&gt;   IF a&lt;br /&gt;   THEN&lt;br /&gt;      DBMS_OUTPUT.put_line ('Success');&lt;br /&gt;      COMMIT;&lt;br /&gt;   ELSE&lt;br /&gt;      DBMS_OUTPUT.put_line ('Error');&lt;br /&gt;   END IF;&lt;br /&gt;END;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-925107814112127163?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/925107814112127163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=925107814112127163&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/925107814112127163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/925107814112127163'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/07/set-profile-option-value-using-plsql.html' title='Set Profile Option Value using PL/SQL'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7352031795150588463</id><published>2009-07-02T10:53:00.007-04:00</published><updated>2009-07-06T13:18:37.830-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='profile'/><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><title type='text'>Profile Option to View Output of Request submitted by other User</title><content type='html'>Set the value of profile &lt;span style="font-weight:bold;"&gt;Concurrent:Report Access Level&lt;/span&gt; to &lt;span style="font-style:italic;"&gt;Responsibility&lt;/span&gt;.&lt;br /&gt;The output submitted by other users can now be viewed from the responsibility through which the request was submitted.&lt;br /&gt;The other option available is &lt;span style="font-style:italic;"&gt;User&lt;/span&gt;,which restricts the output only to the user who submitted the request.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7352031795150588463?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7352031795150588463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7352031795150588463&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7352031795150588463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7352031795150588463'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/07/profile-option-to-view-output-of.html' title='Profile Option to View Output of Request submitted by other User'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-549521489348997786</id><published>2009-06-01T19:44:00.001-04:00</published><updated>2009-05-24T22:22:48.797-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Loader'/><title type='text'>Load multiple user datafiles into multiple tables using SQL*LOADER</title><content type='html'>On request from one of the reader, below are the steps to load multiple tables using multiple datafiles.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem Description&lt;/span&gt;&lt;br /&gt;------------------- &lt;br /&gt;You have multiple datafiles to be loaded using SQL*Loader. Each of the data &lt;br /&gt;files contains records that must be loaded into one of several tables.  The &lt;br /&gt;following is an example that uses the INFILE clause for each datafile and a &lt;br /&gt;WHEN clause for each table to do this. &lt;br /&gt;&lt;br /&gt;Records in a datafile that are to be loaded into multiple table can be loaded &lt;br /&gt;based on a check for a value that distinguishes each record. This check can be &lt;br /&gt;on an entire column or on a specific position within the data file. &lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Solution Description&lt;/span&gt;&lt;br /&gt;--------------------&lt;br /&gt;Example:  &lt;br /&gt;Datafiles are generated each day that contain multiple employees and the &lt;br /&gt;projects those employees worked on that day.  Projects can be worked on from &lt;br /&gt;many locations, and an employee can work on many projects each day.  Each week &lt;br /&gt;all the daily files are gathered and loaded into project tables  based on &lt;br /&gt;location.  &lt;br /&gt;-----------------------Table Create Statements---------------  &lt;br /&gt;  CREATE TABLE DENVER_PRJ &lt;br /&gt;   ( PROJNO CHAR(3), &lt;br /&gt;     EMPNO  NUMBER(5), &lt;br /&gt;     PROJHRS NUMBER(2) ); &lt;br /&gt; &lt;br /&gt;  CREATE TABLE ORLANDO_PRJ &lt;br /&gt;   ( PROJNO CHAR(3), &lt;br /&gt;     EMPNO  NUMBER(5), &lt;br /&gt;     PROJHRS NUMBER(2) ); &lt;br /&gt; &lt;br /&gt;  CREATE TABLE MISC_PRJ  &lt;br /&gt;   ( PROJNO CHAR(3), &lt;br /&gt;     EMPNO  NUMBER(5), &lt;br /&gt;     PROJHRS NUMBER(2) ); &lt;br /&gt;&lt;br /&gt;-------------------Control File - MFILES.CTL------------------ &lt;br /&gt;  LOAD DATA &lt;br /&gt;  INFILE '/u01/projs/denver.dat' &lt;br /&gt;  INFILE '/u01/projs/orlando.dat' &lt;br /&gt;  APPEND &lt;br /&gt; &lt;br /&gt;  INTO TABLE DENVER_PRJ &lt;br /&gt;  WHEN PROJNO = '101' &lt;br /&gt;  ( PROJNO POSITION(1:3) CHAR, &lt;br /&gt;    EMPNO  POSITION(4:8) INTEGER EXTERNAL, &lt;br /&gt;    PROJHRS POSITION(9:10) INTEGER EXTERNAL ) &lt;br /&gt; &lt;br /&gt;  INTO TABLE ORLANDO_PRJ &lt;br /&gt;  WHEN PROJNO = '202' &lt;br /&gt;  ( PROJNO POSITION(1:3) CHAR, &lt;br /&gt;    EMPNO  POSITION(4:8) INTEGER EXTERNAL, &lt;br /&gt;    PROJHRS POSITION(9:10) INTEGER EXTERNAL ) &lt;br /&gt; &lt;br /&gt;  INTO TABLE MISC_PRJ &lt;br /&gt;  WHEN PROJNO != '101' AND PROJNO != '202' &lt;br /&gt;  ( PROJNO POSITION(1:3) CHAR, &lt;br /&gt;    EMPNO  POSITION(4:8) INTEGER EXTERNAL, &lt;br /&gt;    PROJHRS POSITION(9:10) INTEGER EXTERNAL ) &lt;br /&gt;--------------------Datafiles: DENVER.DAT--------------------- &lt;br /&gt;1011234515 &lt;br /&gt;1015432140 &lt;br /&gt;1012345620 &lt;br /&gt;3032345610 &lt;br /&gt;--------------------Datafiles: ORLANDO.DAT-------------------- &lt;br /&gt;2021234515 &lt;br /&gt;2022345610 &lt;br /&gt;4041234510 &lt;br /&gt;-------------------------------------------------------------- &lt;br /&gt;SQL*Loader will read all the input files together. It will parse each record &lt;br /&gt;and then based on the condition(s) in a WHEN  clause will evaluate whether the &lt;br /&gt;record can be loaded into that table.  Care should be taken as to how WHEN &lt;br /&gt;conditions are constructed because each record is evaluated against every WHEN &lt;br /&gt;clause and loaded into all tables that match the condition. &lt;br /&gt;&lt;br /&gt;Reference: Metalink Note: 1023792.6&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-549521489348997786?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/549521489348997786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=549521489348997786&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/549521489348997786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/549521489348997786'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/05/load-multiple-user-datafiles-into.html' title='Load multiple user datafiles into multiple tables using SQL*LOADER'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3185145698624470830</id><published>2009-05-15T23:21:00.001-04:00</published><updated>2009-05-15T23:21:00.158-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Discoverer'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Discoverer Query to Display Document Name, Folder, Business Unit etc.</title><content type='html'>Following query can be used to display Document Name, Document Key, Folder Name, Folder Key, Documents Sheets, Business Unit, Document Created By in discoverer.&lt;br /&gt;Please note that the query is in crude format and not tested, any suggestion to improve this is appreciated.&lt;br /&gt;&lt;pre&gt; SELECT DISTINCT b.doc_developer_key Document_developer_key&lt;br /&gt;              , b.doc_name document_name&lt;br /&gt;              , a.qs_doc_details worksheet_name&lt;br /&gt;              , c.obj_name folder_name&lt;br /&gt;              , c.obj_developer_key folder_developer_key&lt;br /&gt;              , d.ba_name Business_unit&lt;br /&gt;              , fu.user_name created_by&lt;br /&gt; FROM           eul4_us.eul4_qpp_stats a&lt;br /&gt;              , eul4_us.eul4_documents b&lt;br /&gt;              , eul4_us.eul4_objs c&lt;br /&gt;              , eul4_us.eul4_bas d&lt;br /&gt;              , eul4_us.eul4_eul_users e&lt;br /&gt;              , eul4_us.eul4_ba_obj_links f&lt;br /&gt;              , fnd_user fu&lt;br /&gt; WHERE          a.qs_doc_name = b.doc_name&lt;br /&gt; AND            a.qs_doc_owner = e.eu_username&lt;br /&gt; AND            b.doc_eu_id = e.eu_id&lt;br /&gt; AND            c.obj_id = SUBSTR (a.qs_object_use_key, 1, 6)&lt;br /&gt; AND            c.obj_id = f.bol_obj_id&lt;br /&gt; AND            d.ba_id = f.bol_ba_id&lt;br /&gt; AND            TO_CHAR (fu.user_id) = SUBSTR (b.doc_updated_by, 2)&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3185145698624470830?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3185145698624470830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3185145698624470830&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3185145698624470830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3185145698624470830'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/05/discoverer-query-to-display-document.html' title='Discoverer Query to Display Document Name, Folder, Business Unit etc.'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2603550263568435138</id><published>2009-05-08T10:10:00.006-04:00</published><updated>2009-05-08T10:17:29.917-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Reports/Forms'/><category scheme='http://www.blogger.com/atom/ns#' term='XML Publisher'/><title type='text'>Using 3 of 9 Barcodes in XML Publisher</title><content type='html'>I am using Code 39(3 of 9) Barcode font for my report. Every thing seems to be fine and barcode seems to be displayed correctly, but not recognized by the barcode reader/gun?&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;For code 39 barcode fonts asterisk(*) is used as a start and end delimeter. So any text which is displayed as barcode should have * at the start and end.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;E.g. 12345 should be displayed as *12345*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2603550263568435138?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2603550263568435138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2603550263568435138&amp;isPopup=true' title='25 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2603550263568435138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2603550263568435138'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/05/using-3-of-9-barcodes-in-xml-publisher.html' title='Using 3 of 9 Barcodes in XML Publisher'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>25</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6713646006287332052</id><published>2009-05-07T22:15:00.004-04:00</published><updated>2009-05-08T10:08:44.254-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Discoverer'/><title type='text'>How to query/find discoverer reports in Oracle using APPS Schema</title><content type='html'>The table to store discoverer is stored in the EUL Schema. For e.g. if the name of EUL is EUL4_US then a schema with that name will be created in oracle database. Run following query to know the name of table&lt;br /&gt;&lt;pre&gt; SELECT owner,table_name&lt;br /&gt; FROM   all_tables&lt;br /&gt; WHERE  owner = 'EUL4_US' AND table_name LIKE '%DOCUMENT%'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The above query in this case will list table_name &lt;span style="font-weight:bold;"&gt;EUL4_DOCUMENTS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All the discoverer report names are stored in this table, so &lt;pre&gt;SELECT * FROM EUL4_US.EUL4_DOCUMENTS&lt;/pre&gt; should display name, owner etc of discoverer reports&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6713646006287332052?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6713646006287332052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6713646006287332052&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6713646006287332052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6713646006287332052'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/05/how-to-queryfind-discoverer-reports-in.html' title='How to query/find discoverer reports in Oracle using APPS Schema'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8916031496626773626</id><published>2009-05-03T23:28:00.007-04:00</published><updated>2009-05-03T23:53:18.939-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Preserve Timestamp, mode, owner while using copy command in Unix</title><content type='html'>In Unix, Sometimes when we need to take a backup of the file we generally add timestamp along with the file and create a backup, however the new file created has the creation date as system date.&lt;br /&gt;This can be avoided using preserve option in unix.&lt;br /&gt;For e.g. I will copy ARXSGPO.rdf from $AR_TOP/reports/US directory. The file signature looks like&lt;br /&gt;&lt;pre&gt;-rw-r--r--  1 applmgr oracle 647168 Apr 21 13:31 ARXSGPO.rdf&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now the following files are created using preserve and no preserve option&lt;br /&gt;&lt;pre&gt; cp ARXSGPO.rdf ARXSGPO_np.rdf   # without preserve option&lt;br /&gt; cp &lt;span style="font-weight:bold;"&gt;-p&lt;/span&gt; ARXSGPO.rdf ARXSGPO_p.rdf # with preserve option&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is how the signature of file looks like&lt;br /&gt;&lt;pre&gt; -rw-r--r--  1 applmgr oracle 647168 Apr 21 13:31 ARXSGPO.rdf&lt;br /&gt; -rw-r--r--  1 applmgr oracle 647168 Apr 21 13:31 ARXSGPO_p.rdf&lt;br /&gt; -rw-r--r--  1 applmgr oracle 647168 May  3 23:43 ARXSGPO_np.rdf&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It can be noted that ARXSGPO_np.rdf has timestamp as May 3, whereas file ARXSGPO_p.rdf created using preserve mode has timestamp as Apr 21. So using preserve option we can save the original information of the file from where the file is copied.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8916031496626773626?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8916031496626773626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8916031496626773626&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8916031496626773626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8916031496626773626'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/05/preserve-timestamp-owner-etc-while.html' title='Preserve Timestamp, mode, owner while using copy command in Unix'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6913804889170405355</id><published>2009-04-15T19:58:00.005-04:00</published><updated>2010-05-12T17:40:35.327-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APIs'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Interface'/><title type='text'>Sales Order Import using API</title><content type='html'>Please note that this is just the sample code and should be used only for reference.&lt;br /&gt;The code below creates a sales order in entered status with one line record. Also the price adjustment is done for the line.&lt;br /&gt;&lt;pre&gt;DECLARE&lt;br /&gt;l_api_version_number           NUMBER  := 1;&lt;br /&gt;l_return_status                VARCHAR2 (2000);&lt;br /&gt;l_msg_count                    NUMBER;&lt;br /&gt;l_msg_data                     VARCHAR2 (2000);&lt;br /&gt;/*****************PARAMETERS****************************************************/&lt;br /&gt;l_debug_level                  NUMBER  := 1;    -- OM DEBUG LEVEL (MAX 5)&lt;br /&gt;l_org                          NUMBER  := 5283;         -- OPERATING UNIT&lt;br /&gt;l_no_orders                    NUMBER  := 1;              -- NO OF ORDERS&lt;br /&gt;l_user                         NUMBER  := 28573;          -- USER&lt;br /&gt;l_resp                         NUMBER  := 53073;        -- RESPONSIBLILTY&lt;br /&gt;l_appl                         NUMBER  := 660;        -- ORDER MANAGEMENT&lt;br /&gt;/*****************INPUT VARIABLES FOR PROCESS_ORDER API*************************/&lt;br /&gt;l_header_rec                   oe_order_pub.header_rec_type;&lt;br /&gt;l_line_tbl                     oe_order_pub.line_tbl_type;&lt;br /&gt;l_action_request_tbl           oe_order_pub.request_tbl_type;&lt;br /&gt;l_line_adj_tbl                 oe_order_pub.line_adj_tbl_type;&lt;br /&gt;/*****************OUT VARIABLES FOR PROCESS_ORDER API***************************/&lt;br /&gt;l_header_rec_out               oe_order_pub.header_rec_type;&lt;br /&gt;l_header_val_rec_out           oe_order_pub.header_val_rec_type;&lt;br /&gt;l_header_adj_tbl_out           oe_order_pub.header_adj_tbl_type;&lt;br /&gt;l_header_adj_val_tbl_out       oe_order_pub.header_adj_val_tbl_type;&lt;br /&gt;l_header_price_att_tbl_out     oe_order_pub.header_price_att_tbl_type;&lt;br /&gt;l_header_adj_att_tbl_out       oe_order_pub.header_adj_att_tbl_type;&lt;br /&gt;l_header_adj_assoc_tbl_out     oe_order_pub.header_adj_assoc_tbl_type;&lt;br /&gt;l_header_scredit_tbl_out       oe_order_pub.header_scredit_tbl_type;&lt;br /&gt;l_header_scredit_val_tbl_out   oe_order_pub.header_scredit_val_tbl_type;&lt;br /&gt;l_line_tbl_out                 oe_order_pub.line_tbl_type;&lt;br /&gt;l_line_val_tbl_out             oe_order_pub.line_val_tbl_type;&lt;br /&gt;l_line_adj_tbl_out             oe_order_pub.line_adj_tbl_type;&lt;br /&gt;l_line_adj_val_tbl_out         oe_order_pub.line_adj_val_tbl_type;&lt;br /&gt;l_line_price_att_tbl_out       oe_order_pub.line_price_att_tbl_type;&lt;br /&gt;l_line_adj_att_tbl_out         oe_order_pub.line_adj_att_tbl_type;&lt;br /&gt;l_line_adj_assoc_tbl_out       oe_order_pub.line_adj_assoc_tbl_type;&lt;br /&gt;l_line_scredit_tbl_out         oe_order_pub.line_scredit_tbl_type;&lt;br /&gt;l_line_scredit_val_tbl_out     oe_order_pub.line_scredit_val_tbl_type;&lt;br /&gt;l_lot_serial_tbl_out           oe_order_pub.lot_serial_tbl_type;&lt;br /&gt;l_lot_serial_val_tbl_out       oe_order_pub.lot_serial_val_tbl_type;&lt;br /&gt;l_action_request_tbl_out       oe_order_pub.request_tbl_type;&lt;br /&gt;l_msg_index                    NUMBER;&lt;br /&gt;l_data                         VARCHAR2 (2000);&lt;br /&gt;l_loop_count                   NUMBER;&lt;br /&gt;l_debug_file                   VARCHAR2 (200);&lt;br /&gt;b_return_status                VARCHAR2 (200);&lt;br /&gt;b_msg_count                    NUMBER;&lt;br /&gt;b_msg_data                     VARCHAR2 (2000);&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_APPLICATION_INFO.set_client_info (l_org);&lt;br /&gt;MO_GLOBAL.SET_POLICY_CONTEXT('S',l_org);&lt;br /&gt;mo_global.init('ONT');&lt;br /&gt;&lt;br /&gt;/*****************INITIALIZE DEBUG INFO*************************************/&lt;br /&gt;IF (l_debug_level &gt; 0)&lt;br /&gt;THEN&lt;br /&gt;l_debug_file := oe_debug_pub.set_debug_mode ('FILE');&lt;br /&gt;oe_debug_pub.initialize;&lt;br /&gt;oe_debug_pub.setdebuglevel (l_debug_level);&lt;br /&gt;oe_msg_pub.initialize;&lt;br /&gt;END IF;&lt;br /&gt;&lt;br /&gt;/*****************INITIALIZE ENVIRONMENT*************************************/&lt;br /&gt;fnd_global.apps_initialize (l_user, l_resp, l_appl);-- pass in user_id, responsibility_id, and application_id&lt;br /&gt;/*****************INITIALIZE HEADER RECORD******************************/&lt;br /&gt;l_header_rec := oe_order_pub.g_miss_header_rec;&lt;br /&gt;/*****************POPULATE REQUIRED ATTRIBUTES **********************************/&lt;br /&gt;l_header_rec.operation := oe_globals.g_opr_create;&lt;br /&gt;l_header_rec.order_type_id := 2159;                                                                          -- domestic return&lt;br /&gt;l_header_rec.sold_to_org_id := 659018;&lt;br /&gt;l_header_rec.ship_to_org_id := 635775;&lt;br /&gt;l_header_rec.invoice_to_org_id := 635776;&lt;br /&gt;l_header_rec.order_source_id := 9;&lt;br /&gt;l_header_rec.booked_flag := 'N';&lt;br /&gt;l_header_rec.price_list_id := 39825;&lt;br /&gt;l_header_rec.pricing_date := SYSDATE;&lt;br /&gt;l_header_rec.transactional_curr_code := 'USD';&lt;br /&gt;l_header_rec.flow_status_code := 'ENTERED';&lt;br /&gt;l_header_rec.cust_po_number := '1211314AFA';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*****************INITIALIZE ACTION REQUEST RECORD*************************************/&lt;br /&gt;l_action_request_tbl (1) := oe_order_pub.g_miss_request_rec;&lt;br /&gt;/*****************INITIALIZE LINE RECORD********************************/&lt;br /&gt;l_line_tbl (1) := oe_order_pub.g_miss_line_rec;&lt;br /&gt;l_line_tbl (1).operation := oe_globals.g_opr_create;&lt;br /&gt;l_line_tbl (1).inventory_item_id := 826543;&lt;br /&gt;l_line_tbl (1).ordered_quantity := 1;&lt;br /&gt;--l_line_tbl(1).unit_selling_price := 2000; -- The price is done using adjustments&lt;br /&gt;--l_line_tbl(1).unit_list_price := 2000;&lt;br /&gt;l_line_tbl (1).calculate_price_flag := 'Y';&lt;br /&gt;l_line_tbl (1).return_reason_code := 'B2';&lt;br /&gt;--l_line_tbl(1).line_number := 1;&lt;br /&gt;l_line_adj_tbl (1) := oe_order_pub.g_miss_line_adj_rec;&lt;br /&gt;l_line_adj_tbl (1).operation := oe_globals.g_opr_create;&lt;br /&gt;l_line_adj_tbl (1).list_header_id := 148129;&lt;br /&gt;l_line_adj_tbl (1).list_line_id := 651550;&lt;br /&gt;l_line_adj_tbl (1).change_reason_code := 'MANUAL';&lt;br /&gt;l_line_adj_tbl (1).change_reason_text := 'Manually applied adjustments';&lt;br /&gt;l_line_adj_tbl (1).operand := 2000;&lt;br /&gt;l_line_adj_tbl (1).pricing_phase_id := 2;&lt;br /&gt;l_line_adj_tbl (1).updated_flag := 'Y';&lt;br /&gt;l_line_adj_tbl (1).applied_flag := 'Y';&lt;br /&gt;l_line_adj_tbl (1).line_index := 1;&lt;br /&gt;&lt;br /&gt;FOR i IN 1 .. l_no_orders   &lt;br /&gt;LOOP                                        &lt;br /&gt;/*****************CALLTO PROCESS ORDER API*********************************/&lt;br /&gt;oe_order_pub.process_order (&lt;br /&gt;p_api_version_number          =&gt; l_api_version_number&lt;br /&gt;, p_header_rec                  =&gt; l_header_rec&lt;br /&gt;, p_line_tbl                    =&gt; l_line_tbl&lt;br /&gt;, p_action_request_tbl          =&gt; l_action_request_tbl&lt;br /&gt;, p_line_adj_tbl                =&gt; l_line_adj_tbl&lt;br /&gt;-- OUT variables&lt;br /&gt;, x_header_rec                  =&gt; l_header_rec_out&lt;br /&gt;, x_header_val_rec              =&gt; l_header_val_rec_out&lt;br /&gt;, x_header_adj_tbl              =&gt; l_header_adj_tbl_out&lt;br /&gt;, x_header_adj_val_tbl          =&gt; l_header_adj_val_tbl_out&lt;br /&gt;, x_header_price_att_tbl        =&gt; l_header_price_att_tbl_out&lt;br /&gt;, x_header_adj_att_tbl          =&gt; l_header_adj_att_tbl_out&lt;br /&gt;, x_header_adj_assoc_tbl        =&gt; l_header_adj_assoc_tbl_out&lt;br /&gt;, x_header_scredit_tbl          =&gt; l_header_scredit_tbl_out&lt;br /&gt;, x_header_scredit_val_tbl      =&gt; l_header_scredit_val_tbl_out&lt;br /&gt;, x_line_tbl                    =&gt; l_line_tbl_out&lt;br /&gt;, x_line_val_tbl                =&gt; l_line_val_tbl_out&lt;br /&gt;, x_line_adj_tbl                =&gt; l_line_adj_tbl_out&lt;br /&gt;, x_line_adj_val_tbl            =&gt; l_line_adj_val_tbl_out&lt;br /&gt;, x_line_price_att_tbl          =&gt; l_line_price_att_tbl_out&lt;br /&gt;, x_line_adj_att_tbl            =&gt; l_line_adj_att_tbl_out&lt;br /&gt;, x_line_adj_assoc_tbl          =&gt; l_line_adj_assoc_tbl_out&lt;br /&gt;, x_line_scredit_tbl            =&gt; l_line_scredit_tbl_out&lt;br /&gt;, x_line_scredit_val_tbl        =&gt; l_line_scredit_val_tbl_out&lt;br /&gt;, x_lot_serial_tbl              =&gt; l_lot_serial_tbl_out&lt;br /&gt;, x_lot_serial_val_tbl          =&gt; l_lot_serial_val_tbl_out&lt;br /&gt;, x_action_request_tbl          =&gt; l_action_request_tbl_out&lt;br /&gt;, x_return_status               =&gt; l_return_status&lt;br /&gt;, x_msg_count                   =&gt; l_msg_count&lt;br /&gt;, x_msg_data                    =&gt; l_msg_data&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;/*****************CHECK RETURN STATUS***********************************/&lt;br /&gt;IF l_return_status = fnd_api.g_ret_sts_success&lt;br /&gt;THEN&lt;br /&gt;IF (l_debug_level &gt; 0)&lt;br /&gt;THEN&lt;br /&gt;DBMS_OUTPUT.put_line ('success');&lt;br /&gt;END IF;&lt;br /&gt;&lt;br /&gt;COMMIT;&lt;br /&gt;ELSE&lt;br /&gt;IF (l_debug_level &gt; 0)&lt;br /&gt;THEN&lt;br /&gt;DBMS_OUTPUT.put_line ('failure');&lt;br /&gt;END IF;&lt;br /&gt;&lt;br /&gt;ROLLBACK;&lt;br /&gt;END IF;&lt;br /&gt;END LOOP; -- END LOOP&lt;br /&gt;/*****************DISPLAY RETURN STATUS FLAGS******************************/&lt;br /&gt;IF (l_debug_level &gt; 0)&lt;br /&gt;THEN&lt;br /&gt;DBMS_OUTPUT.put_line ('process ORDER ret status IS: ' &lt;br /&gt;|| l_return_status);&lt;br /&gt;DBMS_OUTPUT.put_line ('process ORDER msg data IS: ' &lt;br /&gt;|| l_msg_data);&lt;br /&gt;DBMS_OUTPUT.put_line ('process ORDER msg COUNT IS: ' &lt;br /&gt;|| l_msg_count);&lt;br /&gt;DBMS_OUTPUT.put_line ('header.order_number IS: ' &lt;br /&gt;|| TO_CHAR (l_header_rec_out.order_number));&lt;br /&gt;DBMS_OUTPUT.put_line ('adjustment.return_status IS: ' &lt;br /&gt;|| l_line_adj_tbl_out (1).return_status);&lt;br /&gt;DBMS_OUTPUT.put_line ('header.header_id IS: ' &lt;br /&gt;|| l_header_rec_out.header_id);&lt;br /&gt;DBMS_OUTPUT.put_line ('line.unit_selling_price IS: ' &lt;br /&gt;|| l_line_tbl_out (1).unit_selling_price);&lt;br /&gt;END IF;&lt;br /&gt;&lt;br /&gt;/*****************DISPLAY ERROR MSGS*************************************/&lt;br /&gt;IF (l_debug_level &gt; 0)&lt;br /&gt;THEN&lt;br /&gt;FOR i IN 1 .. l_msg_count&lt;br /&gt;LOOP&lt;br /&gt;oe_msg_pub.get (p_msg_index =&gt; i, p_encoded =&gt; fnd_api.g_false, p_data =&gt; l_data, p_msg_index_out =&gt; l_msg_index);&lt;br /&gt;DBMS_OUTPUT.put_line ('message is: ' || l_data);&lt;br /&gt;DBMS_OUTPUT.put_line ('message index is: ' || l_msg_index);&lt;br /&gt;END LOOP;&lt;br /&gt;END IF;&lt;br /&gt;&lt;br /&gt;IF (l_debug_level &gt; 0)&lt;br /&gt;THEN&lt;br /&gt;DBMS_OUTPUT.put_line ('Debug = ' || oe_debug_pub.g_debug);&lt;br /&gt;DBMS_OUTPUT.put_line ('Debug Level = ' || TO_CHAR (oe_debug_pub.g_debug_level));&lt;br /&gt;DBMS_OUTPUT.put_line ('Debug File = ' || oe_debug_pub.g_dir || '/' || oe_debug_pub.g_file);&lt;br /&gt;DBMS_OUTPUT.put_line ('****************************************************');&lt;br /&gt;oe_debug_pub.debug_off;&lt;br /&gt;END IF;&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6913804889170405355?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6913804889170405355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6913804889170405355&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6913804889170405355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6913804889170405355'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/04/order-import-using-api.html' title='Sales Order Import using API'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1573715934868918106</id><published>2009-04-05T21:58:00.003-04:00</published><updated>2009-04-05T22:16:41.055-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Alerts'/><title type='text'>Introduction to Oracle Alerts</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Introduction&lt;/span&gt;:&lt;br /&gt;Oracle Alerts is something that can be used to Notify/Alert to one or multiple persons about an activity or change that occurs in the system. The alerts can also be used to call a procedure, run some sql script etc.&lt;br /&gt;There are 2 types of alert&lt;br /&gt;1) Periodic Alert&lt;br /&gt;2) Event Alert&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Periodic Alerts&lt;/span&gt;:&lt;br /&gt;These alerts are trigger periodically, hourly, daily, weekly, monthly etc based upon how it is setup to be triggered. When alert runs and the condition(SQL Query etc.) in the alerts fetches record, then the events specified in the alert are triggered.&lt;br /&gt;Ex. 1) Daily alert to send notification on the sales order on which credit check hold is applied for a day&lt;br /&gt;    2) Hourly alert to send notification on all the concurrent request that completed with error&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Event Alerts&lt;/span&gt;: &lt;br /&gt;These Alerts are fired/triggered based on some change in data in the database. This is very similar to the triggers written on the table. Unlikely, event alerts can only fire on After Insert or After Update.&lt;br /&gt;Ex. 1) An alert that sends notification when new item is created.&lt;br /&gt;&lt;br /&gt;In next post we will discuss steps to create Periodic and Event alert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1573715934868918106?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1573715934868918106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1573715934868918106&amp;isPopup=true' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1573715934868918106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1573715934868918106'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/04/introduction-to-oracle-alerts.html' title='Introduction to Oracle Alerts'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2726471658347287615</id><published>2009-03-18T20:11:00.001-04:00</published><updated>2009-05-18T20:40:51.980-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APIs'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Accounts Receivables'/><category scheme='http://www.blogger.com/atom/ns#' term='Interface'/><title type='text'>Customer Import using API's</title><content type='html'>Following API's are used for creating customers&lt;br /&gt;1) The first step is to create Party. &lt;span style="font-weight:bold;"&gt;hz_party_v2pub.create_organization&lt;/span&gt; is used to create a party.&lt;br /&gt;2) Once party is created then the customer accounts should be created. &lt;span style="font-weight:bold;"&gt;hz_cust_account_v2pub.create_cust_account&lt;/span&gt; API is used to create Customer Accounts. The p_organization_rec should have party information. The orig_system_reference for p_cust_account_Rec should be same as parties orig_system_reference.&lt;br /&gt;3) Now that party and accounts are created, customer account sites and its uses should be created. But before that location and party_sites should be created and attached to party.&lt;br /&gt;4) &lt;span style="font-weight:bold;"&gt;hz_location_v2pub.create_location&lt;/span&gt; API is used to create location. This is a simple API that takes address table type as input and returns location_id as a OUT parameter.&lt;br /&gt;5) API &lt;span style="font-weight:bold;"&gt;hz_party_site_v2pub.create_party_site&lt;/span&gt; is used to create party_site. The party_id created in step 1 and location_id created in step 4 is passed in the party_site_rec parameter. This will return party_site_id as a OUT parameter.&lt;br /&gt;6) Now that we have created the party_sites, its time to create customer site using API &lt;span style="font-weight:bold;"&gt;hz_cust_account_site_v2pub.create_cust_acct_site&lt;/span&gt;. The cust_account_id created in step 2 and party_site_id created in step 5 is inputted in the cust_acct_site_rec record type. This returns cust_acct_site_id as a OUT parameter.&lt;br /&gt;7) The site use(SHIP_TO, BILL_TO etc.) can be created using API &lt;span style="font-weight:bold;"&gt;hz_cust_account_site_v2pub.create_cust_site_use&lt;/span&gt;. The cust_acct_site_id created in step 6&lt;br /&gt;8) For BILL_TO the customer profiles can be created using API &lt;span style="font-weight:bold;"&gt;hz_customer_profile_v2pub.create_customer_profile&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2726471658347287615?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2726471658347287615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2726471658347287615&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2726471658347287615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2726471658347287615'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/03/customer-import-using-apis.html' title='Customer Import using API&apos;s'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3699859649770893363</id><published>2009-03-10T14:31:00.002-04:00</published><updated>2009-11-18T10:42:09.085-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Value Set'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Concurrent Program Name with Parameter, Value set</title><content type='html'>On request here is the query to list concurrent program name with its parameter, values set and default value/type&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;  SELECT fcpl.user_concurrent_program_name&lt;br /&gt;      , fcp.concurrent_program_name&lt;br /&gt;      , par.column_seq_num      &lt;br /&gt;      , par.end_user_column_name&lt;br /&gt;      , par.form_left_prompt prompt&lt;br /&gt;      , par.enabled_flag&lt;br /&gt;      , par.required_flag&lt;br /&gt;      , par.display_flag&lt;br /&gt;      , par.flex_value_set_id&lt;br /&gt;      , ffvs.flex_value_set_name&lt;br /&gt;      , flv.meaning default_type&lt;br /&gt;      , par.DEFAULT_VALUE&lt;br /&gt; FROM   fnd_concurrent_programs fcp&lt;br /&gt;      , fnd_concurrent_programs_tl fcpl&lt;br /&gt;      , fnd_descr_flex_col_usage_vl par&lt;br /&gt;      , fnd_flex_value_sets ffvs&lt;br /&gt;      , fnd_lookup_values flv&lt;br /&gt; WHERE  fcp.concurrent_program_id = fcpl.concurrent_program_id&lt;br /&gt; AND    fcpl.user_concurrent_program_name = :conc_prg_name&lt;br /&gt; AND    fcpl.LANGUAGE = 'US'&lt;br /&gt; AND    par.descriptive_flexfield_name = '$SRS$.' || fcp.concurrent_program_name&lt;br /&gt; AND    ffvs.flex_value_set_id = par.flex_value_set_id&lt;br /&gt; AND    flv.lookup_type(+) = 'FLEX_DEFAULT_TYPE'&lt;br /&gt; AND    flv.lookup_code(+) = par.default_type&lt;br /&gt; AND    flv.LANGUAGE(+) = USERENV ('LANG')&lt;br /&gt; ORDER BY par.column_seq_num&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3699859649770893363?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3699859649770893363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3699859649770893363&amp;isPopup=true' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3699859649770893363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3699859649770893363'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/03/concurrent-program-name-with-parameter.html' title='Concurrent Program Name with Parameter, Value set'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8240456885384686297</id><published>2009-03-06T20:09:00.002-05:00</published><updated>2009-03-06T20:12:34.591-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Accounts Receivables'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Query to get Customer Name, Number and Address</title><content type='html'>Below query can be handy to get customer related information.&lt;br /&gt;The query will list Party Name, Number, Customer Number and there Bill To and Ship Addresses.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SELECT hp.party_name&lt;br /&gt;     , hp.party_number&lt;br /&gt;     , hca.account_number&lt;br /&gt;     , hca.cust_account_id&lt;br /&gt;     , hp.party_id&lt;br /&gt;     , hps.party_site_id&lt;br /&gt;     , hps.location_id&lt;br /&gt;     , hl.address1&lt;br /&gt;     , hl.address2&lt;br /&gt;     , hl.address3&lt;br /&gt;     , hl.city&lt;br /&gt;     , hl.state&lt;br /&gt;     , hl.country&lt;br /&gt;     , hl.postal_code&lt;br /&gt;     , hcsu.site_use_code&lt;br /&gt;     , hcsu.site_use_id&lt;br /&gt;     , hcsa.bill_to_flag&lt;br /&gt;FROM   hz_parties hp&lt;br /&gt;     , hz_party_sites hps&lt;br /&gt;     , hz_locations hl&lt;br /&gt;     , hz_cust_accounts_all hca&lt;br /&gt;     , hz_cust_acct_sites_all hcsa&lt;br /&gt;     , hz_cust_site_uses_all hcsu&lt;br /&gt;WHERE  hp.party_id = hps.party_id&lt;br /&gt;AND    hps.location_id = hl.location_id&lt;br /&gt;AND    hp.party_id = hca.party_id&lt;br /&gt;AND    hcsa.party_site_id = hps.party_site_id&lt;br /&gt;AND    hcsu.cust_acct_site_id = hcsa.cust_acct_site_id&lt;br /&gt;AND    hca.cust_account_id = hcsa.cust_account_id&lt;br /&gt;AND    hca.account_number = :customer_number&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;P.S. The query is not completely tested. Please let me know if you find any problem&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8240456885384686297?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8240456885384686297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8240456885384686297&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8240456885384686297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8240456885384686297'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/03/query-to-get-customer-name-number-and.html' title='Query to get Customer Name, Number and Address'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1355330988328714325</id><published>2009-02-20T09:47:00.002-05:00</published><updated>2009-02-20T09:48:22.717-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Query to List all the responsibilities attached to a User</title><content type='html'>Based on a request from one of the reader here is the query which he was looking for.&lt;br /&gt;&lt;br /&gt;He needed query that can list all the responsibilities attached to a user.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;select fu.user_name, fr.responsibility_name, furg.START_DATE, furg.END_DATE&lt;br /&gt;from fnd_user_resp_groups_direct furg, fnd_user fu, fnd_responsibility_tl fr&lt;br /&gt;where fu.user_user_name = :user_name&lt;br /&gt;and furg.user_id = fu.user_id&lt;br /&gt;and furg.responsibility_id = fr.responsibility_id&lt;br /&gt;and fr.language = userenv('LANG')&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1355330988328714325?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1355330988328714325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1355330988328714325&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1355330988328714325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1355330988328714325'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/02/query-to-list-all-responsibilities.html' title='Query to List all the responsibilities attached to a User'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5855692923069416370</id><published>2009-02-17T11:13:00.007-05:00</published><updated>2009-02-17T11:25:36.092-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Discoverer'/><title type='text'>Unable to Retrieve All Rows Message in Discoverer</title><content type='html'>Problem: Trying to export report data into excel or when clicking on Tools--&gt; Retrieve all Rows, &lt;strong&gt;Not all Rows have been Retrieved. Data may be inaccurate.&lt;/strong&gt; error message is displayed.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_CWRCDagUe5A/SZrkPqIO5KI/AAAAAAAACng/CKQhdImaWGo/s1600-h/1.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 146px;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SZrkPqIO5KI/AAAAAAAACng/CKQhdImaWGo/s320/1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5303802468840170658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Resolution: By Default in discoverer only 10000 records are set to be retrieved. This needs to be changed to a higher number in order to avoid this problem.&lt;br /&gt;Click on Tools--&gt;Options. Select Query Governer Tab and change the value in &lt;strong&gt;Limit retrieved query to&lt;/strong&gt; 99999 to allow maximum number of records to be fetched.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_CWRCDagUe5A/SZrk8Zgkt8I/AAAAAAAACnw/InZCp9EZF7g/s1600-h/2.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 259px;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SZrk8Zgkt8I/AAAAAAAACnw/InZCp9EZF7g/s320/2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5303803237472974786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Keywords: Discoverer 10g&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5855692923069416370?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5855692923069416370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5855692923069416370&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5855692923069416370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5855692923069416370'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/02/unable-to-retrieve-all-rows-message-in.html' title='Unable to Retrieve All Rows Message in Discoverer'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/SZrkPqIO5KI/AAAAAAAACng/CKQhdImaWGo/s72-c/1.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4139413427864317751</id><published>2009-02-10T17:28:00.000-05:00</published><updated>2009-02-15T20:38:47.682-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Reports/Forms'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Printing Barcode on a zebra Printer using ZPL</title><content type='html'>Here we will discuss on how to automatically print Barcodes on a zebra printer from Oracle concurrent program.&lt;br /&gt;Below are the 3 approaches that we tried and was successful with the third approach.&lt;br /&gt;1) &lt;span style="font-weight:bold;"&gt;Print Labels on a Zebra printer using BI Publisher&lt;/span&gt;&lt;br /&gt;The first approach we tried was to print barcodes using BI(formerly XML) Publisher. The report generates a PDF output and should print directly on a Zebra printer using PASTA driver. For some reason the report was not printing directly on a printer. The PDF opened in window and printed seperately/manually using Windows driver was working fine but not meeting our requirement of automatic printing. Hence we had to try second approach.&lt;br /&gt;2) &lt;span style="font-weight:bold;"&gt;Print Labels using Zebra Enterprise Connector Solution&lt;/span&gt;&lt;br /&gt;The Zebra Enterprise Connector Solution is designed to streamline the printing&lt;br /&gt;process for companies using ERP systems such as Oracle BI Publisher. The Zebra&lt;br /&gt;Enterprise Connector Solution helps to lower middleware costs, overhead, and&lt;br /&gt;pre-printer licensing fees. It can be used with an unlimited number of&lt;br /&gt;Zebra ZPL-II printers without additional per-printer licensing fees. We didnt do much research on this as were looking for an approach with minimal cost. More details on this is available at the website of &lt;a href="http://www.zebra.com"&gt;Zebra&lt;/a&gt;&lt;br /&gt;3) &lt;span style="font-weight:bold;"&gt;Print Lables on Zebra printers using Zebra Programming Language(ZPL)&lt;/span&gt;&lt;br /&gt;The second and successful approach was to print labels using ZPL. A text output with all the zebra codes was created and which would ultimately print Barcode images on a printer. A normal regular lp command for printing text is used to print over Zebra Printers.&lt;br /&gt;Below is an example of how to print Barcodes&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;^XA&lt;br /&gt;^FO40,35^AR,10,10^FDItem :^FS&lt;br /&gt;^FO40,115^AR,10,10^FDItem Description:^FS&lt;br /&gt;^FO40,165^AR,10,10^FDQuantity :^FS&lt;br /&gt;^FO40,245^AR,10,10^FDDiscrete Job# :^FS&lt;br /&gt;^FO40,295^AR,10,10^FDSupply Sub :^FS&lt;br /&gt;^FO40,375^AR,10,10^FDLocator :^FS&lt;br /&gt;^FO40,455^AR,10,10^FDDestination Sub :^FS&lt;br /&gt;^FO40,505^AR,10,10^FDLocator :^FS&lt;br /&gt;^FO40,555^AR,10,10^FDOrder # :^FS&lt;br /&gt;^FO40,635^AR,10,10^FDLine # :^FS&lt;br /&gt;^FO40,715^AR,10,10^FDOrder Type :^FS&lt;br /&gt;^FO40,765^AR,10,10^FDDepartment :^FS^FO305,765^AR,10,10^FDResource Group :^FS&lt;br /&gt;^FO40,845^AR,10,10^FDWork Center :^FS^FO305,845^AR,10,10^FDItem Sequence :^FS&lt;br /&gt;^FO40,925^AR,10,10^FDAsm Item # :^FS^FO305,925^AR,10,10^FDAsm Item Desc :^FS&lt;br /&gt;&lt;br /&gt;^FO265,35^BY3^B3N,N,50,Y,Y^FD199395B^FS&lt;br /&gt;^FO265,115^AR,10,10^FDFILTER, LUBE OIL.^FS&lt;br /&gt;^FO265,165^BY3^B3N,N,55,Y,N^FD2^FS&lt;br /&gt;^FO265,245^AR,10,10^FD613467^FS&lt;br /&gt;^FO265,295^BY3^B3N,N,50,Y,N^FDASM^FS&lt;br /&gt;^FO265,375^BY3^B3N,N,50,Y,N^FDASM.REW..^FS&lt;br /&gt;^FO265,555^BY3^B3N,N,50,Y,N^FD1264076^FS&lt;br /&gt;^FO265,635^BY3^B3N,N,55,Y,N^FD1^FS&lt;br /&gt;^FO265,715^AR,10,10^FDMove Order^FS&lt;br /&gt;^FO50,795^AR,10,10^FD6400^FS&lt;br /&gt;^FO375,795^AR,10,10^FD0047^FS&lt;br /&gt;^FO70,875^AR,10,10^FDASMVH12.4.5.A^FS&lt;br /&gt;^FO335,875^AR,10,10^FD3^FS&lt;br /&gt;^FO70,955^AR,10,10^FDL7044GSI-1021598^FS&lt;br /&gt;^FO335,955^AR,10,10^FDP2212J13 L7044 GSI W/ESM &amp; AFR^FS&lt;br /&gt;^XZ&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;More details on how to write codes using ZPL can be found in the website of &lt;a href="www.zebra.com"&gt;zebra&lt;/a&gt;&lt;br /&gt;The output of the above code is shown below.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/SXSgy445HEI/AAAAAAAACSw/3Iwpq3Q7-tI/s1600-h/img-1191040-0001.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 241px; height: 320px;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/SXSgy445HEI/AAAAAAAACSw/3Iwpq3Q7-tI/s320/img-1191040-0001.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5293032258192088130" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4139413427864317751?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4139413427864317751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4139413427864317751&amp;isPopup=true' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4139413427864317751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4139413427864317751'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/01/printing-barcode-on-zebra-printer-using.html' title='Printing Barcode on a zebra Printer using ZPL'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_CWRCDagUe5A/SXSgy445HEI/AAAAAAAACSw/3Iwpq3Q7-tI/s72-c/img-1191040-0001.jpg' height='72' width='72'/><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1640376764179731647</id><published>2009-02-02T12:36:00.001-05:00</published><updated>2009-02-20T10:03:34.256-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Set the Low and High Date range parameter in the concurrent program</title><content type='html'>On request to one of the reader...&lt;br /&gt;Below is the scenario, &lt;br /&gt;The concurrent program has 2 date parameter e.g. Start Date and End date. The requirement is that start date should always be less than end date. &lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;1) In the concurrent program definition parameters, select Range as Low for Start Date. See Screenshot below&lt;br /&gt;2) In the concurrent program definition parameters, select Range as high for End Date. See Screenshot below. Note that the value set being used for Start date and End date should be same.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/SYCajdxPUiI/AAAAAAAACT0/JP8plTScXx8/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 173px;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/SYCajdxPUiI/AAAAAAAACT0/JP8plTScXx8/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5296403095864955426" /&gt;&lt;/a&gt;&lt;br /&gt;3) Test program entering incorrect value for the parameter.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SYCajDml9BI/AAAAAAAACTs/lODWFaO51N0/s1600-h/3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 185px;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SYCajDml9BI/AAAAAAAACTs/lODWFaO51N0/s320/3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5296403088840979474" /&gt;&lt;/a&gt;&lt;br /&gt;4) Test again by entering correct value.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/SYCai84phOI/AAAAAAAACTk/bU25papN8eQ/s1600-h/4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 150px;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/SYCai84phOI/AAAAAAAACTk/bU25papN8eQ/s320/4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5296403087037662434" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1640376764179731647?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1640376764179731647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1640376764179731647&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1640376764179731647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1640376764179731647'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/02/set-low-and-high-date-range-parameter.html' title='Set the Low and High Date range parameter in the concurrent program'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_CWRCDagUe5A/SYCajdxPUiI/AAAAAAAACT0/JP8plTScXx8/s72-c/2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4716942125647738207</id><published>2009-01-14T17:52:00.006-05:00</published><updated>2009-01-21T15:27:39.392-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Display Negative Number in angle brackets</title><content type='html'>We often wonder and write all the codes to display negative numbers in brackets. But this can be easily achieved using a TO_CHAR function with the correct format.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;TO_CHAR(number, '9999PR')&lt;/strong&gt; - &lt;br /&gt;Returns negative value in angle brackets.&lt;br /&gt;Returns positive value with a leading and trailing blank.&lt;br /&gt;&lt;em&gt;Restriction&lt;/em&gt;: The PR format element can appear only in the last position of a number format model.&lt;br /&gt;&lt;br /&gt;Below is an example to achieve this&lt;br /&gt;&lt;pre&gt;select to_char(-133133,'99999999999PR') from dual&lt;/pre&gt;&lt;br /&gt;In above example the number is displayed in brackets without comma seperator.&lt;br /&gt;&lt;br /&gt;Following query can be used to display negative numbers in angular bracket with comma seperator.&lt;br /&gt;&lt;pre&gt;select to_char(-133133,'999G999G990D99PR') from dual&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Keywords: angle, angular, negative, brackets&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4716942125647738207?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4716942125647738207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4716942125647738207&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4716942125647738207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4716942125647738207'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/01/display-negative-number-in-angle.html' title='Display Negative Number in angle brackets'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8062562528862521626</id><published>2009-01-14T10:33:00.004-05:00</published><updated>2009-01-14T10:46:44.131-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Reports/Forms'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-24323: Value not Allowed error in Oracle Reports</title><content type='html'>Sometimes while working in Oracle Reports whenever we are trying to modify any query in the data model&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ORA-24323: Value not allowed&lt;/span&gt; error is raised.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SW4Iz5yA-9I/AAAAAAAACSk/-SSW6zZhxe0/s1600-h/a.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 100px;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SW4Iz5yA-9I/AAAAAAAACSk/-SSW6zZhxe0/s320/a.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5291176299983862738" /&gt;&lt;/a&gt;&lt;br /&gt;This happens when we are connected to database and for some reason the connection is dropped/disconnected. When we click on file menu, we feel like the connection still exists, but in reality this is not true. To overcome this error, completely close report builder and reopen it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8062562528862521626?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8062562528862521626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8062562528862521626&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8062562528862521626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8062562528862521626'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2009/01/ora-24323-value-not-allowed-error-in.html' title='ORA-24323: Value not Allowed error in Oracle Reports'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/SW4Iz5yA-9I/AAAAAAAACSk/-SSW6zZhxe0/s72-c/a.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1136784432113995234</id><published>2008-12-31T19:58:00.001-05:00</published><updated>2008-12-31T19:59:42.905-05:00</updated><title type='text'>Happy New Year 2009</title><content type='html'>Wish you all a very happy New Year 2009. May all the wishes and dreams come true.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1136784432113995234?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1136784432113995234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1136784432113995234&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1136784432113995234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1136784432113995234'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/12/happy-new-year-2009.html' title='Happy New Year 2009'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3276763401262577780</id><published>2008-12-24T11:36:00.008-05:00</published><updated>2008-12-25T11:05:25.929-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Enhancing 11i/12 Homepage Menu via Firefox and Greasemonkey</title><content type='html'>Source: &lt;a href="http://garethroberts.blogspot.com/2008/11/enhancing-oracle-ebusiness-suite-11i.html"&gt;Gareth Robert Blog&lt;/a&gt;&lt;br /&gt;Here is something I found very interesting and useful and thought of sharing it with others.&lt;br /&gt;&lt;br /&gt;In oracle E-Business suite the Oracle homepage menus is not in an organized manner and hence many times we have to make use of favourite option and for easy access save frequently used ones there.&lt;br /&gt;&lt;br /&gt;By Default the home page is displayed as&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/SVJrn3qy4NI/AAAAAAAACQ8/2A8JTGcppZg/s1600-h/12-24-2008+10-53-29+AM.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 168px;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SVJrn3qy4NI/AAAAAAAACQ8/2A8JTGcppZg/s320/12-24-2008+10-53-29+AM.jpg" alt="" id="BLOGGER_PHOTO_ID_5283403645561528530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After the enhancement the menu will be displayed as&lt;br /&gt;&lt;object width="400" height="300" class="BLOG_video_class" id="BLOG_video-c72dc0a267c82539" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v3.nonxt5.googlevideo.com/videoplayback?id%3Dc72dc0a267c82539%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331547449%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D2C435179E2BBC3963E690AD646BAD354EE5849B3.81E340CF3D4B7EFFB48728E92F5DFAD34E9681B6%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dc72dc0a267c82539%26offsetms%3D5000%26itag%3Dw160%26sigh%3D8LMYzYqfuh2_GHPLi55Z8AICfeU&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="400" height="300" bgcolor="#FFFFFF"flashvars="flvurl=http://v3.nonxt5.googlevideo.com/videoplayback?id%3Dc72dc0a267c82539%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331547449%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D2C435179E2BBC3963E690AD646BAD354EE5849B3.81E340CF3D4B7EFFB48728E92F5DFAD34E9681B6%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dc72dc0a267c82539%26offsetms%3D5000%26itag%3Dw160%26sigh%3D8LMYzYqfuh2_GHPLi55Z8AICfeU&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Now lets discuss how this can be achieved.&lt;br /&gt;Following things should be installed&lt;br /&gt;1) &lt;a href="http://www.mozilla.com/en-US/firefox/"&gt;Firefox&lt;/a&gt;&lt;br /&gt;2) &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/748"&gt;GreaseMonkey (Firefox Addon)&lt;/a&gt;&lt;br /&gt;3) &lt;a href="http://userscripts.org/scripts/show/36822"&gt;Install the Script&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once the Add-On is installed a Monkey icon will be displayed in status bar on the right side of firefox. Right click on that and click on &lt;span style="font-weight:bold;"&gt;Manage User Scripts&lt;/span&gt; and add the applications URL.&lt;br /&gt;&lt;br /&gt;Many thanks to the Author for sharing this with us.&lt;br /&gt;&lt;br /&gt;Wish you all a Merry Christmas and Happy new year&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3276763401262577780?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=c72dc0a267c82539&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3276763401262577780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3276763401262577780&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3276763401262577780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3276763401262577780'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/12/enhancing-11i12-homepage-menu-via.html' title='Enhancing 11i/12 Homepage Menu via Firefox and Greasemonkey'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_CWRCDagUe5A/SVJrn3qy4NI/AAAAAAAACQ8/2A8JTGcppZg/s72-c/12-24-2008+10-53-29+AM.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1023476752189759293</id><published>2008-12-08T10:25:00.002-05:00</published><updated>2009-07-23T14:36:10.148-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Personalization'/><title type='text'>List of Tables for Forms Personalization</title><content type='html'>Below is the list of tables that are populated when any Forms Personalization is done&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;FND_FORM_CUSTOM_RULES&lt;br /&gt;FND_FORM_CUSTOM_SCOPES&lt;br /&gt;FND_FORM_CUSTOM_ACTIONS&lt;br /&gt;FND_FORM_CUSTOM_PARAMS&lt;br /&gt;FND_FORM_CUSTOM_PROP_VALUES&lt;br /&gt;FND_FORM_CUSTOM_PROP_LIST&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Click &lt;a href="http://sureshvaishya.blogspot.com/2008/06/how-to-use-fndload-to-move-objects.html"&gt;here&lt;/a&gt; For FNDLOAD on forms personalization&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1023476752189759293?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1023476752189759293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1023476752189759293&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1023476752189759293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1023476752189759293'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/12/list-of-tables-for-forms.html' title='List of Tables for Forms Personalization'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1353820237067194094</id><published>2008-11-22T20:27:00.002-05:00</published><updated>2008-12-04T13:03:20.931-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Convert Date into Week Rage</title><content type='html'>Below is an example of how to display dates into week Range in Oracle&lt;br /&gt;For E.g. 22-Nov-08 is in the date range 17-Nov-08 to 23-Nov-08&lt;br /&gt;&lt;br /&gt;Firstly lets see how to get week of the year. Following query can be used to get this&lt;br /&gt;&lt;pre&gt; SELECT to_char(sysdate,'WW') FROM Dual; &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now lets get the week range&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SELECT    TO_CHAR (TRUNC (SYSDATE, 'IYYY') + ((TO_CHAR (SYSDATE, 'WW') - 1) * 7), 'DD-MON-RR')&lt;br /&gt;       || ' to '&lt;br /&gt;       || TO_CHAR (TRUNC (SYSDATE, 'IYYY') + ((TO_CHAR (SYSDATE, 'WW')) * 7)-1, 'DD-MON-RR')&lt;br /&gt;FROM   Dual;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The output of above query for date &lt;span style="font-weight:bold;"&gt;29-Nov-2008&lt;/span&gt; is &lt;span style="font-weight:bold;"&gt;24-NOV-08 to 30-NOV-08&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1353820237067194094?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1353820237067194094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1353820237067194094&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1353820237067194094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1353820237067194094'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/11/convert-date-into-week-rage.html' title='Convert Date into Week Rage'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5887850805535816212</id><published>2008-11-12T09:57:00.000-05:00</published><updated>2008-11-12T10:04:35.034-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APIs'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Inventory'/><title type='text'>API to Create Sales Order(SO) Reservations</title><content type='html'>Below is the code that can be used to create SO reservations&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;DECLARE&lt;br /&gt;   p_rsv                     inv_reservation_global.mtl_reservation_rec_type;&lt;br /&gt;   p_dummy_sn                inv_reservation_global.serial_number_tbl_type;&lt;br /&gt;   x_msg_count               NUMBER;&lt;br /&gt;   x_msg_data                VARCHAR2(240);&lt;br /&gt;   x_rsv_id                  NUMBER;&lt;br /&gt;   x_dummy_sn                inv_reservation_global.serial_number_tbl_type;&lt;br /&gt;   x_status                  VARCHAR2(1);&lt;br /&gt;   x_qty                     NUMBER;&lt;br /&gt;BEGIN&lt;br /&gt;--   fnd_global.APPS_Initialize(28270,53073,660);&lt;br /&gt;   dbms_application_info.set_client_info(5283);&lt;br /&gt;   --p_user_id, p_resp_id,  p_resp_appl_id&lt;br /&gt;   --p_rsv.reservation_id            := NULL; -- cannot know&lt;br /&gt;   p_rsv.requirement_date            := Sysdate+2;&lt;br /&gt;   p_rsv.organization_id             := 5343; --mtl_parameters.organization id&lt;br /&gt;   p_rsv.inventory_item_id           := 949729;--mtl_system_items.Inventory_item_id;&lt;br /&gt;   p_rsv.demand_source_type_id       := inv_reservation_global.g_source_type_oe; -- which is 2&lt;br /&gt;   p_rsv.demand_source_name          := NULL;&lt;br /&gt;   p_rsv.demand_source_header_id     := 1334166 ; --mtl_sales_orders.sales_order_id&lt;br /&gt;   p_rsv.demand_source_line_id       := 4912468 ; -- oe_order_lines.line_id&lt;br /&gt;   p_rsv.primary_uom_code            := 'EA';&lt;br /&gt;   p_rsv.primary_uom_id              := NULL;&lt;br /&gt;   p_rsv.reservation_uom_code        := 'EA';&lt;br /&gt;   p_rsv.reservation_uom_id          := NULL;&lt;br /&gt;   p_rsv.reservation_quantity        := 10;&lt;br /&gt;   p_rsv.primary_reservation_quantity := 10;&lt;br /&gt;   p_rsv.supply_source_type_id       := inv_reservation_global.g_source_type_inv;&lt;br /&gt;   &lt;br /&gt;   inv_reservation_pub.create_reservation&lt;br /&gt;   (&lt;br /&gt;        p_api_version_number       =&gt;       1.0&lt;br /&gt;      , x_return_status            =&gt;       x_status&lt;br /&gt;      , x_msg_count                =&gt;       x_msg_count&lt;br /&gt;      , x_msg_data                 =&gt;       x_msg_data&lt;br /&gt;      , p_rsv_rec                  =&gt;       p_rsv&lt;br /&gt;      , p_serial_number            =&gt;       p_dummy_sn&lt;br /&gt;      , x_serial_number            =&gt;       x_dummy_sn&lt;br /&gt;      , x_quantity_reserved        =&gt;       x_qty&lt;br /&gt;      , x_reservation_id           =&gt;       x_rsv_id&lt;br /&gt;   );&lt;br /&gt;   dbms_output.put_line('Return status    = '||x_status);&lt;br /&gt;   dbms_output.put_line('msg count        = '||to_char(x_msg_count));&lt;br /&gt;   dbms_output.put_line('msg data         = '||x_msg_data);&lt;br /&gt;   dbms_output.put_line('Quantity reserved = '||to_char(x_qty));&lt;br /&gt;   dbms_output.put_line('Reservation id   = '||to_char(x_rsv_id));&lt;br /&gt;   IF x_msg_count &gt;=1 THEN&lt;br /&gt;     FOR I IN 1..x_msg_count&lt;br /&gt;     LOOP&lt;br /&gt;       dbms_output.put_line(I||'. '||SUBSTR(FND_MSG_PUB.Get(p_encoded =&gt; FND_API.G_FALSE ),1, 255));&lt;br /&gt;       fnd_file.put_line(fnd_file.log,I||'. '||SUBSTR(FND_MSG_PUB.Get(p_encoded =&gt; FND_API.G_FALSE ),1, 255));&lt;br /&gt;     END LOOP;&lt;br /&gt;     &lt;br /&gt;   END IF;&lt;br /&gt;COMMIT;&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Similary we have update_reservations, relieve_reservations, delete_reservations API to respectively update, relieve or delete reservations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5887850805535816212?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5887850805535816212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5887850805535816212&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5887850805535816212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5887850805535816212'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/11/api-to-create-sales-orderso.html' title='API to Create Sales Order(SO) Reservations'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3657866898577134936</id><published>2008-10-13T11:27:00.002-04:00</published><updated>2008-10-14T09:39:48.558-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Store SQLPLUS output to a variable in Unix Shell Script</title><content type='html'>In response to one of the question asked, here is the solution of how to call sqlplus and store the output in a variable.&lt;br /&gt;In the script below I am connecting to sqlplus through unix and querying fnd_lookup_values table and storing the output of query in a unix variable. This variable can then be later referred in the code using $.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#Suresh Vaishya:The script connects to sqlplus and stores output of a query into a unix variable.&lt;br /&gt;#The output of query is seperated by '~' to identify different record values.&lt;br /&gt;&lt;br /&gt;login='apps/apps'&lt;br /&gt;code=`&lt;br /&gt;sqlplus -s $login &lt;&lt;EOF&lt;br /&gt;set heading off&lt;br /&gt;set feedback off&lt;br /&gt;SELECT lookup_code||'~' FROM fnd_lookup_values WHERE lookup_type ='AGREEMENT LINES' and enabled_flag = 'Y' and Nvl(end_Date_ac&lt;br /&gt;tive,sysdate+1) &gt; sysdate and language='US';&lt;br /&gt;exit&lt;br /&gt;EOF`&lt;br /&gt;echo 'Output of SQL Query is '&lt;br /&gt;echo $code&lt;br /&gt;echo 'End of Script'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The script output is &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Output of SQL Query is&lt;br /&gt;BLANKET~ ITEM~ MAIN~ NOTES~ PRICE~ QUOTATION~&lt;br /&gt;End of Script&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Related Post&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/03/calling-sqlplus-from-unix-shell-script.html"&gt;Calling SQLPLUS from unix&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3657866898577134936?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3657866898577134936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3657866898577134936&amp;isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3657866898577134936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3657866898577134936'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/10/store-sqlplus-output-to-variable-in.html' title='Store SQLPLUS output to a variable in Unix Shell Script'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-708850281627828254</id><published>2008-10-06T10:41:00.002-04:00</published><updated>2008-10-06T11:02:58.973-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APIs'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Inventory'/><title type='text'>API to create Item Category</title><content type='html'>The item categories can be created using item import when Items are created.&lt;br /&gt;They can also be created using APIs discussed below&lt;br /&gt;Following are the steps to Check and/or Create Item Categories&lt;br /&gt;1) Create Category Segment combinations&lt;br /&gt;2) If the enforce list is checked for category then insert category combinations in the enforce list&lt;br /&gt;3) Create/Update/Delete Category Assignments on Item&lt;br /&gt;&lt;br /&gt;In Detail&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Create Category Segment combinations&lt;/span&gt;&lt;br /&gt;Following APIs can be used to create/update/delete category combinations.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.CREATE_CATEGORY(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2,&lt;br /&gt;  P_CATEGORY_REC  IN    INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE,&lt;br /&gt;  X_CATEGORY_ID  OUT    NUMBER&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.UPDATE_CATEGORY(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2,&lt;br /&gt;  P_CATEGORY_REC  IN    INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.DELETE_CATEGORY(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2,&lt;br /&gt;  P_CATEGORY_ID  IN    NUMBER&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Use following API for &lt;span style="font-weight:bold;"&gt;assigning a category to a category set&lt;/span&gt;. A category will be available in the list of valid categoies for a category set only if it is assigned to the category set. This is a required step if for categories enforce list is checked on.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.CREATE_VALID_CATEGORY(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_CATEGORY_SET_ID  IN    NUMBER,&lt;br /&gt;  P_CATEGORY_ID  IN    NUMBER,&lt;br /&gt;  P_PARENT_CATEGORY_ID  IN    NUMBER,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Following APIs can be used to create/update/delete &lt;span style="font-weight:bold;"&gt;Item category assignments&lt;/span&gt;.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.CREATE_CATEGORY_ASSIGNMENT(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2,&lt;br /&gt;  P_CATEGORY_ID  IN    NUMBER,&lt;br /&gt;  P_CATEGORY_SET_ID  IN    NUMBER,&lt;br /&gt;  P_INVENTORY_ITEM_ID  IN    NUMBER,&lt;br /&gt;  P_ORGANIZATION_ID  IN    NUMBER&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.UPDATE_CATEGORY_DESCRIPTION(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2,&lt;br /&gt;  P_CATEGORY_ID  IN    NUMBER,&lt;br /&gt;  P_DESCRIPTION  IN    VARCHAR2&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;INV_ITEM_CATEGORY_PUB.DELETE_CATEGORY_ASSIGNMENT(&lt;br /&gt;  P_API_VERSION  IN    NUMBER,&lt;br /&gt;  P_INIT_MSG_LIST  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  P_COMMIT  IN    VARCHAR2 := FND_API.G_FALSE,&lt;br /&gt;  X_RETURN_STATUS  OUT    VARCHAR2,&lt;br /&gt;  X_ERRORCODE  OUT    NUMBER,&lt;br /&gt;  X_MSG_COUNT  OUT    NUMBER,&lt;br /&gt;  X_MSG_DATA  OUT    VARCHAR2,&lt;br /&gt;  P_CATEGORY_ID  IN    NUMBER,&lt;br /&gt;  P_CATEGORY_SET_ID  IN    NUMBER,&lt;br /&gt;  P_INVENTORY_ITEM_ID  IN    NUMBER,&lt;br /&gt;  P_ORGANIZATION_ID  IN    NUMBER&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-708850281627828254?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/708850281627828254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=708850281627828254&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/708850281627828254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/708850281627828254'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/10/api-to-create-item-category.html' title='API to create Item Category'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6300475596845806355</id><published>2008-10-02T10:09:00.004-04:00</published><updated>2008-10-02T11:22:41.367-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Inventory'/><category scheme='http://www.blogger.com/atom/ns#' term='Interface'/><title type='text'>Item Import (Item Conversion)</title><content type='html'>The Item import Interface(IOI) reads data from following tables for importing items and item details.  The MTL_SYSTEMS_ITEM_INTERFACE table is used for new item numbers &lt;br /&gt;and all item attributes.  This is the main item interface table, and can be &lt;br /&gt;the only table used to import items.  MTL_ITEM_REVISIONS_INTERFACE is used if Item revisions history is also loaded with items. Item categories can be imported using MTL_ITEM_CATEGORIES_INTERFACE.&lt;br /&gt;The import error can be tracked using MTL_INTERFACE_ERRORS table. The transaction_id and request_id populated by the import program can be used to link interface table and error table.&lt;br /&gt;&lt;br /&gt;Required columns in &lt;span style="font-weight:bold;"&gt;MTL_SYSTEM_ITEMS_INTERFACE&lt;/span&gt;&lt;br /&gt;PROCESS_FLAG        = 1 (The column is used to identify status of record)&lt;br /&gt;TRANSACTION_TYPE    = 'CREATE' or 'UPDATE' &lt;br /&gt;SET_PROCESS_ID      = any numeric value (This is not a required column but for performance it is advised to use this column and then run import program for the value entered here)&lt;br /&gt;ORGANIZATION_ID/ORGANIZATION_CODE = Master/Child Org. &lt;br /&gt;DESCRIPTION        = 'Description of the item'&lt;br /&gt;ITEM_NUMBER and/or SEGMENT(n) = If using item_number then each segment value should be entered concatenated by segment seperator. If Item revisions history is also being loaded then Item_number should be populated.&lt;br /&gt;LIST_PRICE_PER_UNIT = If material cost is to be populated for an item along with item import .&lt;br /&gt;&lt;br /&gt;Required columns in &lt;span style="font-weight:bold;"&gt;MTL_ITEM_REVISIONS_INTERFACE&lt;/span&gt; table. The table is only used if Item revision is to be loaded in the same run with IOI. If this table is not used then items are created with the default revision setup for an organization.&lt;br /&gt;PROCESS_FLAG = 1&lt;br /&gt;TRANSACTION_TYPE = 'CREATE'&lt;br /&gt;SET_PROCESS_ID = any numeric value(Should be same for the item in MTL_SYSTEM_ITEMS_INTERFACE table)&lt;br /&gt;ORGANIZATION_ID/ORGANIZATION_CODE = Master/Child Org.&lt;br /&gt;REVISION &lt;br /&gt;EFFECTIVITY_DATE&lt;br /&gt;IMPLEMENTATION_DATE&lt;br /&gt;ITEM_NUMBER = Same as item_number in mtl_system_items_interface table.&lt;br /&gt;Each row in the mtl_item_revisions_interface table must have the REVISION and &lt;br /&gt;EFFECTIVITY_DATE in alphabetical (ASCII sort) and chronological order.&lt;br /&gt;&lt;br /&gt;Required columns for &lt;span style="font-weight:bold;"&gt;MTL_ITEM_CATEGORIES_INTERFACE&lt;/span&gt; table.&lt;br /&gt;TRANSACTION_TYPE = 'CREATE'&lt;br /&gt;SET_PROCESS_ID = any numeric value(Should be same for the item in MTL_SYSTEM_ITEMS_INTERFACE table)&lt;br /&gt;ORGANIZATION_ID/ORGANIZATION_CODE = Master/Child Org&lt;br /&gt;ITEM_NUMBER/INVENTORY_ITEM_ID or both&lt;br /&gt;CATEGORY_SET_NAME or CATEGORY_SET_NAME or both&lt;br /&gt;CATEGORY_ID or CATEGORY_NAME or both&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For performance purpose, it is advised to batch set of records using set_process_id column and then run import program for that set_process_id. The item import(IOI) program can be run in parallel if seperate set_process_ids are passed while submitting. The IOI automatically separates Master records from Child, and &lt;br /&gt;processes Master records first.  However, as one IOI process is not aware of &lt;br /&gt;other IOI processes running in parallel, do not split a given item's separate &lt;br /&gt;Organization records into two different SET_PROCESS_IDs that are being run in &lt;br /&gt;parallel.&lt;br /&gt;&lt;br /&gt;Item import program can be run in 2 modes INSERT &amp; UPDATE.&lt;br /&gt; The method to update Item attribute columns to NULL is to use the following values:&lt;br /&gt;· for Numeric fields: insert -999999&lt;br /&gt;· for Character fields: insert '!'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6300475596845806355?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6300475596845806355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6300475596845806355&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6300475596845806355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6300475596845806355'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/10/item-import-item-conversion.html' title='Item Import (Item Conversion)'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5436399787533344116</id><published>2008-09-23T10:52:00.005-04:00</published><updated>2009-04-15T17:09:13.769-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='FNDLOAD'/><title type='text'>FNDLOAD using Shell Script</title><content type='html'>Whenever we use FNDLOAD at times it becomes difficult to remember the .lct name.&lt;br /&gt;Here I have tried to create a shell script which can be used to DOWNLOAD or UPLOAD concurrent program definitions using FNDLOAD. The shell script prompts for necessary parameter needed to perform specific action.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Shell Script Code&lt;/span&gt;&lt;br /&gt;-----------------&lt;br /&gt;Download concurrent program definition using FNDLOAD. Create a shell script FNDCPDOWN using following code.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt; echo "Enter APPS Password: "&lt;br /&gt; stty -echo             #Turns echo off&lt;br /&gt; read appspwd&lt;br /&gt; stty echo              #Turns echo on&lt;br /&gt; &lt;br /&gt; echo "Enter .ldt Name: "&lt;br /&gt; read ldtname&lt;br /&gt; &lt;br /&gt; echo "Enter Application Short Name: "&lt;br /&gt; read applname&lt;br /&gt; &lt;br /&gt; echo "Enter Concurrent Program Short Name: "&lt;br /&gt; read cpname&lt;br /&gt; &lt;br /&gt; FNDLOAD apps/$appspwd O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct $ldtname PROGRAM APPLICATION_SHORT_NAME="$applname"&lt;br /&gt; CONCURRENT_PROGRAM_NAME="$cpname"&lt;br /&gt; &lt;br /&gt; echo "LDT File $ldtname created"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Upload Concurrent Program using FNDLOAD. Create a shell script FNDCPUP using following code.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt; echo "Enter APPS Password"&lt;br /&gt; stty -echo                  #Turns echo off&lt;br /&gt; read appspwd&lt;br /&gt; stty echo                   #Turns echo on&lt;br /&gt; echo 'Enter .ldt file name to upload'&lt;br /&gt; read ldt_name&lt;br /&gt; &lt;br /&gt; FNDLOAD apps/$appspwd O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct $ldt_name&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Test the above created shell script. &lt;br /&gt;For downloading the script will prompt for APPS password, .ldt file name, application name and Concurrent program short name.&lt;br /&gt;For uploading the script will prompt for APPS password and .ldt file name.&lt;br /&gt;&lt;br /&gt;Related Post&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/06/fndload-to-create-concurrent-programs.html"&gt;Create Concurrent Programs using FNDLOAD&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5436399787533344116?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5436399787533344116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5436399787533344116&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5436399787533344116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5436399787533344116'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/09/fndload-using-shell-script.html' title='FNDLOAD using Shell Script'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7888278322787501649</id><published>2008-09-23T09:06:00.000-04:00</published><updated>2008-09-23T20:41:37.293-04:00</updated><title type='text'>Over 10,000 visits in less than 7 months</title><content type='html'>Hurrrrrray .. There has been over 10,000 hits from around the world in less than 7 months. Thanks for your regular visit and comments.&lt;br /&gt;Keep visiting. Please feel free to share with me any information/content/topic and I can post that with your name in this blog.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/SNkGnkDQ4XI/AAAAAAAABK8/BHw342doXT4/s1600-h/img.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SNkGnkDQ4XI/AAAAAAAABK8/BHw342doXT4/s320/img.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5249234117439054194" /&gt;&lt;/a&gt;&lt;br /&gt;Thanks again.&lt;br /&gt;Suresh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7888278322787501649?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7888278322787501649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7888278322787501649&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7888278322787501649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7888278322787501649'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/09/over-10000-visits-in-less-than-7-months.html' title='Over 10,000 visits in less than 7 months'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_CWRCDagUe5A/SNkGnkDQ4XI/AAAAAAAABK8/BHw342doXT4/s72-c/img.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-543707904957749875</id><published>2008-09-03T10:24:00.001-04:00</published><updated>2008-09-03T16:04:51.413-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><title type='text'>Call Concurrent Program from responsibility Menu</title><content type='html'>The concurrent programs can be called in one of the following 2 ways&lt;br /&gt;1) From standard concurrent request by attaching the concurrent program to a request group. The request group name can be found from the responsibility. Query for the request group and attach concurrent program to that request group. Now the program will be available from that responsibility.&lt;br /&gt;2) The other option is to call request directly from the Menu.&lt;br /&gt;&lt;br /&gt;To assign a concurrent program to a menu follow the steps. I have taken &lt;span style="font-weight:bold;"&gt;Import Bills and Routings&lt;/span&gt; and &lt;span style="font-weight:bold;"&gt;import items&lt;/span&gt; program as an example.&lt;br /&gt;   a) Create a new function of form type and name it as your concurrent program&lt;br /&gt;Bills of Material:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SL7pn2KkoAI/AAAAAAAABJU/Nt1w5rFyv-Y/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SL7pn2KkoAI/AAAAAAAABJU/Nt1w5rFyv-Y/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5241883887069863938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Import Items:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/SL7qCNcB50I/AAAAAAAABJs/maqYlt4ayWI/s1600-h/4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SL7qCNcB50I/AAAAAAAABJs/maqYlt4ayWI/s320/4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5241884339993700162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   b) In the parameter field enter the request group name(if all programs assigned to the request is to be available) or enter concurrent program name(if only one concurrent program should be available).&lt;br /&gt;Bills of Material:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SL7p_j9mWOI/AAAAAAAABJk/qqp32bpZpr0/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SL7p_j9mWOI/AAAAAAAABJk/qqp32bpZpr0/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5241884294500473058" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Import Items:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SL7p1RjK_4I/AAAAAAAABJc/iZfXEyf7oEU/s1600-h/3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SL7p1RjK_4I/AAAAAAAABJc/iZfXEyf7oEU/s320/3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5241884117759098754" /&gt;&lt;/a&gt;&lt;br /&gt;   c) Assign this function to a responsibility menu from which you want to run this concurrent program.&lt;br /&gt;&lt;br /&gt;Now go to that responsibility and click on the function. It will directly launch the concurrent program&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-543707904957749875?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/543707904957749875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=543707904957749875&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/543707904957749875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/543707904957749875'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/08/call-concurrent-program-from-menu.html' title='Call Concurrent Program from responsibility Menu'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/SL7pn2KkoAI/AAAAAAAABJU/Nt1w5rFyv-Y/s72-c/1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8926030633685268434</id><published>2008-09-01T23:15:00.002-04:00</published><updated>2008-09-03T16:07:43.167-04:00</updated><title type='text'>Completed 50 Posts</title><content type='html'>Just noticed that I have posted 50 articles in the blog. Thanks for visiting and appreciating it by your responses/comments. That does gives a lot of encouragement and boost in posting more topic, so keep peeking the site as there is lot more to come.&lt;br /&gt;&lt;br /&gt;Any ideas or suggestions are more than welcome. If you have any article that needs to be shared, please feel free to share with me and I can post them in the blog with your name/photo.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Suresh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8926030633685268434?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8926030633685268434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8926030633685268434&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8926030633685268434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8926030633685268434'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/09/completed-50-posts.html' title='Completed 50 Posts'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1077315180754960291</id><published>2008-08-13T17:21:00.001-04:00</published><updated>2008-08-16T09:14:40.577-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Increase Session Timeout Time</title><content type='html'>The session when kept inactive for certain period gets inactive and hence we need to relogin again. &lt;br /&gt;It sometimes become frustating when working on a test instance and makes us login again and again. This can be avoided by setting a profile option.&lt;br /&gt;&lt;br /&gt;Profile "ICX_SESSION_TIMEOUT" can be used to increase the session timeout time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1077315180754960291?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1077315180754960291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1077315180754960291&amp;isPopup=true' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1077315180754960291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1077315180754960291'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/08/increase-session-timeout-time.html' title='Increase Session Timeout Time'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1095652563257342658</id><published>2008-07-11T17:31:00.002-04:00</published><updated>2008-07-11T17:34:36.136-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Query to get Concurrent program name and its parameter</title><content type='html'>Below query can be used to get concurrent program name and its parameter&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SELECT fcpl.user_concurrent_program_name&lt;br /&gt;     , fcp.concurrent_program_name&lt;br /&gt;     , par.end_user_column_name&lt;br /&gt;     , par.form_left_prompt prompt&lt;br /&gt;     , par.enabled_flag&lt;br /&gt;     , par.required_flag&lt;br /&gt;     , par.display_flag&lt;br /&gt;FROM   fnd_concurrent_programs fcp&lt;br /&gt;     , fnd_concurrent_programs_tl fcpl&lt;br /&gt;     , fnd_descr_flex_col_usage_vl par&lt;br /&gt;WHERE  fcp.concurrent_program_id = fcpl.concurrent_program_id&lt;br /&gt;AND    fcpl.user_concurrent_program_name = &amp;conc_prg_name&lt;br /&gt;AND    fcpl.LANGUAGE = 'US'&lt;br /&gt;AND    par.descriptive_flexfield_name = '$SRS$.' || fcp.concurrent_program_name&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1095652563257342658?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1095652563257342658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1095652563257342658&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1095652563257342658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1095652563257342658'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/07/query-to-get-concurrent-program-name.html' title='Query to get Concurrent program name and its parameter'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2100713949202955786</id><published>2008-06-30T16:21:00.018-04:00</published><updated>2009-10-09T11:34:16.786-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='FNDLOAD'/><title type='text'>FNDLOAD in a nutshell</title><content type='html'>In the following links I have discussed on how to migrate&lt;br /&gt;1) &lt;a href="http://sureshvaishya.blogspot.com/2008/06/fndload-to-create-concurrent-programs.html"&gt;Concurrent Programs&lt;/a&gt;&lt;br /&gt;2) &lt;a href="http://sureshvaishya.blogspot.com/2008/06/fndload-to-create-value-sets.html"&gt;Value sets&lt;/a&gt;&lt;br /&gt; from one instance to another using FNDLOAD.&lt;br /&gt;&lt;br /&gt;Now I will try to cover several other objects that can be migrated using FNDLOAD.&lt;br /&gt;The syntax for moving any objects using FNDLOAD is almost the same except few changes. Following is the list of .lct files that are used for different objects&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1) Concurrent Program --&gt; afcpprog.lct&lt;br /&gt;2) Value Sets         --&gt; afffload.lct&lt;br /&gt;3) Menus              --&gt; afsload.lct&lt;/span&gt;&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4) Lookups            --&gt; aflvmlu.lct&lt;/span&gt;&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME='XXXX' LOOKUP_TYPE='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5) Flexfield          --&gt; afffload.lct&lt;/span&gt;&lt;br /&gt;Descriptive Flexfield&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt DESC_FLEX APPLICATION_SHORT_NAME='XXXX' DESCRIPTIVE_FLEXFIELD_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt&lt;br /&gt;Key Flexfield&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt KEY_FLEX APPLICATION_SHORT_NAME='XXXX' DESCRIPTIVE_FLEXFIELD_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6) Profile Options    --&gt; afscprof.lct&lt;/span&gt;&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt PROFILE PROFILE_NAME='XXXX' APPLICATION_SHORT_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;7) Responsibility     --&gt; afscursp.lct&lt;/span&gt;&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_RESPONSIBILITY RESP_KEY='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8) Request Groups     --&gt; afcpreqg.lct&lt;/span&gt;&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME='XXXX' APPLICATION_SHORT_NAME='XXXX' REQUEST_GROUP_UNIT UNIT_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;9) Menus              --&gt; afsload.lct&lt;/span&gt;&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10) Forms Personalization --&gt; affrmcus.lct&lt;/span&gt;&lt;br /&gt;Download&lt;br /&gt;FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt FND_FORM_CUSTOM_RULES FUNCTION_NAME='XXXX'&lt;br /&gt;Upload&lt;br /&gt;FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2100713949202955786?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2100713949202955786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2100713949202955786&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2100713949202955786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2100713949202955786'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/06/how-to-use-fndload-to-move-objects.html' title='FNDLOAD in a nutshell'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1936702469116099759</id><published>2008-06-27T18:52:00.004-04:00</published><updated>2009-07-23T14:33:55.589-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Value Set'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><category scheme='http://www.blogger.com/atom/ns#' term='FNDLOAD'/><title type='text'>FNDLOAD to create value sets</title><content type='html'>Download a Value Set:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct VALUE_SET_XXXX.ldt VALUE_SET FLEX_VALUE_SET_NAME='XXXX'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Download Value Set Values: &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct VALUE_SET_XXXX.ldt VALUE_SET_VALUE FLEX_VALUE_SET_NAME='XXXX'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Upload a Value Set: &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;FNDLOAD apps/APPS_PWD 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct VALUE_SET_XXXX.ldt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Related Post: &lt;a href="http://sureshvaishya.blogspot.com/2008/06/fndload-to-create-concurrent-programs.html"&gt;Create Concurrent Program using FNDLOAD&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1936702469116099759?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1936702469116099759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1936702469116099759&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1936702469116099759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1936702469116099759'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/06/fndload-to-create-value-sets.html' title='FNDLOAD to create value sets'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3572454849804029589</id><published>2008-06-23T18:40:00.006-04:00</published><updated>2009-07-23T14:34:18.065-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><category scheme='http://www.blogger.com/atom/ns#' term='FNDLOAD'/><title type='text'>FNDLOAD to create concurrent programs</title><content type='html'>The FNDLOAD can be used to create several oracle objects like Menu, Concurrent program, request sets, DFF, Responsibility, Messages, forms personaliztion etc. from one instance to another.&lt;br /&gt;Here I will discuss how to create concurrent program using FNDLOADS&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Download the program definition&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;FNDLOAD apps/APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct FNDLOAD_CONC_PRG_NAME.ldt PROGRAM APPLICATION_SHORT_NAME='XXXX' CONCURRENT_PROGRAM_NAME='CONC_PRG_NAME'&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;FNDLOAD_CONC_PRG_NAME.ldt is the file where concurrent program information is extracted. This file will be used to create same definition in any other instance.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Upload the Program definition&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;FNDLOAD apps/APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct FNDLOAD_CONC_PRG_NAME.ldt&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Note: Any value set that needs to be created along with concurrent program is downloaded and created automatically by FNDLOAD.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3572454849804029589?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3572454849804029589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3572454849804029589&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3572454849804029589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3572454849804029589'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/06/fndload-to-create-concurrent-programs.html' title='FNDLOAD to create concurrent programs'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2432985137301573730</id><published>2008-06-10T15:18:00.009-04:00</published><updated>2008-06-27T10:21:58.853-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Value Set'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Date List of Value(LOV) for Concurrent Request Parameter</title><content type='html'>We are aware that it is not possible to display calendar window for concurrent request parameter. Here I am discussing on an alternative to create Date List of values.&lt;br /&gt;This is addition to my earlier post &lt;a href="http://sureshvaishya.blogspot.com/2008/02/calender-in-concurrent-request.html"&gt;Calender in Concurrent program. &lt;/a&gt;&lt;br /&gt;Create a table value set as shown in the screenshot below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SE7U8hfSD_I/AAAAAAAAA5k/YSwPkUSY-98/s1600-h/1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SE7U8hfSD_I/AAAAAAAAA5k/YSwPkUSY-98/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5210335955161059314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;click on Edit Information and Enter following in the table name field&lt;br /&gt;&lt;pre&gt;(SELECT (TO_DATE (SYSDATE - 1 + LEVEL, 'DD-MON-RRRR')) date_range&lt;br /&gt;           , (TO_CHAR (SYSDATE - 1 + LEVEL, 'Month, DD RRRR')) date_word &lt;br /&gt;      FROM DUAL CONNECT BY LEVEL &lt;= 1000)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SE7U4o-hFfI/AAAAAAAAA5c/2VRPYH2D448/s1600-h/2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SE7U4o-hFfI/AAAAAAAAA5c/2VRPYH2D448/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5210335888451638770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is how concurrent program looks when a value is attached to it.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/SE7U0T0QlWI/AAAAAAAAA5U/Wlj65yIKiBE/s1600-h/3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SE7U0T0QlWI/AAAAAAAAA5U/Wlj65yIKiBE/s320/3.jpg" alt="" id="BLOGGER_PHOTO_ID_5210335814051992930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Related Post: &lt;a href="http://sureshvaishya.blogspot.com/2008/02/calender-in-concurrent-request.html"&gt;Calender in Concurrent program. &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2432985137301573730?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2432985137301573730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2432985137301573730&amp;isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2432985137301573730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2432985137301573730'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/06/date-list-of-valuelov-for-concurrent.html' title='Date List of Value(LOV) for Concurrent Request Parameter'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/SE7U8hfSD_I/AAAAAAAAA5k/YSwPkUSY-98/s72-c/1.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1581642654481690519</id><published>2008-06-09T16:13:00.006-04:00</published><updated>2008-06-27T10:22:30.151-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Value Set'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Basics of Value Sets in Oracle Applications</title><content type='html'>Explained below is the basics of Value Set.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What is a value set and where is it used?&lt;/span&gt;&lt;br /&gt;Value set is primarily the List of Values(LOV) to restrict and mantain consistencies in entering or selecting the values. It is also the place holders to allow user enter a value. Oracle Application Object Library uses value sets as important components of key flexfields, descriptive flexfields, and Concurrent Request Submission.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What are the Format Types the value set have?&lt;/span&gt;&lt;br /&gt;    * Character&lt;br /&gt;    * Number&lt;br /&gt;    * Time&lt;br /&gt;    * Standard Date, Standard Date Time&lt;br /&gt;    * Date, Date Time&lt;br /&gt;Note that Date and Date Time value set formats are obsolete and are provided for backward compatibility only. For new value sets, use the the format types Standard Date and Standard Date Time.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What are the validation types?&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;None: &lt;/blockquote&gt; &lt;br /&gt;    * There is no validation done for this type of value set, hence allows user to enter any value. &lt;br /&gt;&lt;blockquote&gt;Independent: &lt;/blockquote&gt; &lt;br /&gt;    * It provides a list of pre-defined values. The predefined values are entered seperately.&lt;br /&gt;&lt;blockquote&gt;Dependent: &lt;/blockquote&gt; &lt;br /&gt;    * Same like Independent Value Set, except the List of Values shown to you will                            depends on which the Independent value you have selected in the Prior Segment.&lt;br /&gt;    * Must define your independent value set before you define the dependent value set that depends on it.&lt;br /&gt;    * Must create at least one dependent value for each independent value.&lt;br /&gt;&lt;blockquote&gt;Table: &lt;/blockquote&gt;&lt;br /&gt;    * The list of value is created based on database tables&lt;br /&gt;    * Allows to write simple queries, joins, order by etc&lt;br /&gt;    * The value, meaning and ID can be used to display a value, description to the value but return ID to the calling program or screen. &lt;br /&gt;    * Additional columns can also be displayed. The syntax is column "column title(size)",.... e.g. order_type "SO Order Type(40)"&lt;br /&gt;    * Can also create dependent values to filter LOV data based on parameter value selected earlier. This can be done using :$FLEX:.value_set_name in the where clause.&lt;br /&gt;&lt;blockquote&gt;Special &amp; Pair: &lt;/blockquote&gt; Pair validation value set allows to select a range of concatenated Flex field segments as parameters to the report. The special value set is used to perform special validation. This is used to enter the entire key flexfield segment in the single parameter of the report/calling entity.&lt;br /&gt;&lt;blockquote&gt;Translatable Independent &amp; Translatable Dependent: &lt;/blockquote&gt; &lt;br /&gt;    * This is similar to Independent and Dependent value set except that translated values can be displayed to the user. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;APIs to create value set&lt;/span&gt;&lt;br /&gt;The FND_FLEX_VAL_API package can be used to create different types of value sets.&lt;br /&gt;    * VALUESET_EXISTS - To check if value set exists&lt;br /&gt;    * DELETE_VALUESET - To delete value set. The value set can only be deleted if it is not being referenced by any program or entity.&lt;br /&gt;    * CREATE_VALUESET_NONE&lt;br /&gt;    * CREATE_VALUESET_INDEPENDENT&lt;br /&gt;    * CREATE_VALUESET_DEPENDENT&lt;br /&gt;    * CREATE_VALUESET_TABLE&lt;br /&gt;    * CREATE_VALUESET_SPECIAL&lt;br /&gt;    * CREATE_VALUESET_PAIR&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What are the oracle tables that store value set information?&lt;/span&gt;&lt;br /&gt;    * FND_FLEX_VALUE_SETS&lt;br /&gt;    * FND_ID_FLEX_SEGMENTS&lt;br /&gt;    * FND_FLEX_VALUE&lt;br /&gt;    * FND_FLEX_VALIDATION_EVENTS&lt;br /&gt;    * FND_FLEX_VALUE_RULE_LINES&lt;br /&gt;    * FND_FLEX_VALUE_RULE&lt;br /&gt;    * FND_FLEX_VALUE_RULE_USAGE&lt;br /&gt;    * FND_FLEX_VALIDATION_TABLES&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1581642654481690519?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1581642654481690519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1581642654481690519&amp;isPopup=true' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1581642654481690519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1581642654481690519'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/06/value-sets-in-oracle.html' title='Basics of Value Sets in Oracle Applications'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1447770315191672605</id><published>2008-06-06T16:01:00.004-04:00</published><updated>2008-06-27T10:21:13.982-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Value Set'/><title type='text'>Display Distinct Value in Value Set</title><content type='html'>Now there are 3 ways to create distinct values value set&lt;br /&gt;1) Write distinct statement in the field where table name is entered, but this has a limitation to the number of characters that can be entered. so if query is long then you cannot make use of this feature&lt;br /&gt;2) Create a view based on your query and use that view in the value set&lt;br /&gt;3) Write your query in such a way that it gives you a distinct value. You can make use of ROWID to meet the requirement.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;  ex. SELECT ooh.order_number&lt;br /&gt;      FROM   oe_order_lines_all ool, oe_order_headers_all ooh&lt;br /&gt;      WHERE  ool.header_id = ooh.header_id&lt;br /&gt;      AND    ool.ROWID = (SELECT MAX(ROWID)&lt;br /&gt;                          FROM   oe_order_lines_all oo11&lt;br /&gt;                          WHERE  oo11.header_id = ooh.header_id)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note that the above query is just an example and needs to be changed as per your need. In the above query I purposely joined lines and header to display duplicate order_numbers and then supressed it by using MAX(ROWID).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1447770315191672605?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1447770315191672605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1447770315191672605&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1447770315191672605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1447770315191672605'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/06/display-distinct-value-in-value-set.html' title='Display Distinct Value in Value Set'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7343721125760147658</id><published>2008-05-29T09:27:00.014-04:00</published><updated>2008-06-11T16:57:08.324-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Enable/Disable Concurrent program parameter based on Other Parameter</title><content type='html'>Based on a request, here is the details on how parameter can be enabled/disabled based another parameter value.&lt;br /&gt;Below is the requirement&lt;br /&gt;There are 2 valuesets parameter. If for parameter 1 user selects &lt;span style="font-weight:bold;"&gt;Yes &lt;/span&gt;then the other paramter should be enabled whereas if &lt;span style="font-weight:bold;"&gt;No &lt;/span&gt;is selected then the parameter should remain disabled. This can be achieved by using a hidden parameter as explained below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step1&lt;/span&gt;: Need 3 value sets for 3 parameter.&lt;br /&gt; &lt;t&gt; Value set1 = BOM_SRS_YES_NO (Oracle Defined)&lt;br /&gt; &lt;t&gt; Value Set2 = AMS_SRS_CHAR1 (Oracle Defined)&lt;br /&gt; &lt;t&gt; Value Set3 = SV_DEPENDENT_VS (User Defined)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SD61YEhAU9I/AAAAAAAAA4A/GEUzHXSY6ys/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SD61YEhAU9I/AAAAAAAAA4A/GEUzHXSY6ys/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205797644420535250" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_CWRCDagUe5A/SD61bUhAU-I/AAAAAAAAA4I/69CUePgbJvg/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_CWRCDagUe5A/SD61bUhAU-I/AAAAAAAAA4I/69CUePgbJvg/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205797700255110114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step2&lt;/span&gt;: Create Concurrent program as displayed in the screenshot below&lt;br /&gt;Parameter1: Main Parameter&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SD61nEhAU_I/AAAAAAAAA4Q/aVeaechXXWc/s1600-h/3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SD61nEhAU_I/AAAAAAAAA4Q/aVeaechXXWc/s320/3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205797902118573042" /&gt;&lt;/a&gt;&lt;br /&gt;Parameter2: Hidden PArameter&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/SD61qEhAVAI/AAAAAAAAA4Y/1WvQ4YVy1QI/s1600-h/4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/SD61qEhAVAI/AAAAAAAAA4Y/1WvQ4YVy1QI/s320/4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205797953658180610" /&gt;&lt;/a&gt;&lt;br /&gt;Parameter3: Dependent Parameter&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SD61s0hAVBI/AAAAAAAAA4g/oVsG3Q-2bt8/s1600-h/5.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SD61s0hAVBI/AAAAAAAAA4g/oVsG3Q-2bt8/s320/5.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205798000902820882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step3&lt;/span&gt;: Assign concurrent program to a request group and test your program.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/SD618khAVDI/AAAAAAAAA4w/XDhwuuMv5FA/s1600-h/7.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/SD618khAVDI/AAAAAAAAA4w/XDhwuuMv5FA/s320/7.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205798271485760562" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SD6150hAVCI/AAAAAAAAA4o/QahgaE8EMXg/s1600-h/6.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SD6150hAVCI/AAAAAAAAA4o/QahgaE8EMXg/s320/6.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5205798224241120290" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7343721125760147658?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7343721125760147658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7343721125760147658&amp;isPopup=true' title='26 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7343721125760147658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7343721125760147658'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/disable-concurrent-program-parameter.html' title='Enable/Disable Concurrent program parameter based on Other Parameter'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/SD61YEhAU9I/AAAAAAAAA4A/GEUzHXSY6ys/s72-c/1.jpg' height='72' width='72'/><thr:total>26</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3644445737085930704</id><published>2008-05-21T11:22:00.009-04:00</published><updated>2008-05-21T11:57:34.592-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>The PL/SQL Wrap Utility - Hide source code in Oracle</title><content type='html'>A company has a code(Package, Procedure, Function etc) with all the proprietary information and logic in it. If this information is leaked out in the market then the competitors can take advantage of it and this can affect the business. One of the way to deal with this is to hide the code from others.&lt;br /&gt;This can be achieved using oracle's WRAP utility. The advantage of WRAP utility is that this converts the source code into some language that is not understood but the code can still be compiled like any other source code.&lt;br /&gt;Using Wrap is very simple. In the bin directory of Oracle Home, the wrap utility is installed. The file name could be WRAP.exe or WRAP80.exe depending on the oracle version installed.&lt;br /&gt;Syntax&lt;br /&gt;&lt;pre&gt; C:\orant\BIN&gt;wrap.exe iname=[inputfilename] oname=[outputfilename] &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;&lt;pre&gt; C:\orant\BIN&gt;wrap.exe iname=wrap_test.sql oname=wrap_test.plb &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;An example of using WRAP&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Create a sample procedure wrap_test using following code&lt;br /&gt;&lt;br /&gt;CREATE OR REPLACE PROCEDURE wrap_test&lt;br /&gt;IS&lt;br /&gt;BEGIN&lt;br /&gt; dbms_output.put_line('Wrap test complete');&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;then call the wrap utility using following&lt;br /&gt;wrap.exe iname=wrap_test.sql oname=wrap_test.plb&lt;br /&gt;&lt;br /&gt;Content of new file wrap_test.plb&lt;br /&gt;CREATE OR REPLACE PROCEDURE wrap_test wrapped &lt;br /&gt;a000000&lt;br /&gt;b2&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;abcd&lt;br /&gt;7&lt;br /&gt;4f 8d&lt;br /&gt;LPjE3qKQyH/yQRCK4+efvSyST50wg5nnm7+fMr2ywFznKMB04yhSssvum3SLwMAy/tKGBvVS&lt;br /&gt;m7JK/iiyveeysx0GMCyuJOqygaVR2+EC8XcG0wJd5GisbnfxwzIu9tHqJB/2OabWTW+0&lt;br /&gt;&lt;br /&gt;/&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It is very clear from this that the new code is not readable and so is completely hidden from others. &lt;br /&gt;Drop your procedure(if already created) and recreate using the the new file wrap_test.plb which can be compiled as any other package. Important point here is that the source code will be hidden and cannot be read.&lt;br /&gt;Another important point to remember is that &lt;span style="font-weight:bold;"&gt;once wrapped, a code cannot be unwrapped&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Thanks please let me know your feedback.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3644445737085930704?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3644445737085930704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3644445737085930704&amp;isPopup=true' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3644445737085930704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3644445737085930704'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/plsql-wrap-utility-hide-your-code-from.html' title='The PL/SQL Wrap Utility - Hide source code in Oracle'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2852044606863378701</id><published>2008-05-20T17:42:00.006-04:00</published><updated>2008-05-20T17:51:23.438-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Order Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Query to get Customer Related information for a Sales Order</title><content type='html'>Here is another handy query to get Customer related information for a sales order.&lt;br /&gt;The query will list SHIP TO and BILL TO Address for a customer.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;SELECT ooh.order_number&lt;br /&gt;     , hp_bill.party_name&lt;br /&gt;     , hl_ship.address1 ||Decode(hl_ship.address2,NULL,'',chr(10))&lt;br /&gt;      ||hl_ship.address2||Decode(hl_ship.address3,NULL,'',chr(10))&lt;br /&gt;      ||hl_ship.address3||Decode(hl_ship.address4,NULL,'',chr(10))&lt;br /&gt;      ||hl_ship.address4||Decode(hl_ship.city,NULL,'',chr(10))&lt;br /&gt;      ||hl_ship.city    ||Decode(hl_ship.state,NULL,'',',')&lt;br /&gt;      ||hl_ship.state   ||Decode(hl_ship.postal_code,'',',')&lt;br /&gt;      ||hl_ship.postal_code ship_to_address&lt;br /&gt;     , hl_bill.address1 ||Decode(hl_bill.address2,NULL,'',chr(10))&lt;br /&gt;      ||hl_bill.address2||Decode(hl_bill.address3,NULL,'',chr(10))&lt;br /&gt;      ||hl_bill.address3||Decode(hl_bill.address4,NULL,'',chr(10))&lt;br /&gt;      ||hl_bill.address4||Decode(hl_bill.city,NULL,'',chr(10))&lt;br /&gt;      ||hl_bill.city    ||Decode(hl_bill.state,NULL,'',',')&lt;br /&gt;      ||hl_bill.state   ||Decode(hl_bill.postal_code,'',',')&lt;br /&gt;      ||hl_bill.postal_code bill_to_address&lt;br /&gt;     , ooh.transactional_curr_code currency_code&lt;br /&gt;     , mp.organization_code&lt;br /&gt;     , ooh.fob_point_code&lt;br /&gt;     , ooh.freight_terms_code&lt;br /&gt;     , ooh.cust_po_number&lt;br /&gt;FROM   oe_order_headers_all ooh&lt;br /&gt;     , hz_cust_site_uses_all hcs_ship&lt;br /&gt;     , hz_cust_acct_sites_all hca_ship&lt;br /&gt;     , hz_party_sites hps_ship&lt;br /&gt;     , hz_parties hp_ship&lt;br /&gt;     , hz_locations hl_ship&lt;br /&gt;     , hz_cust_site_uses_all hcs_bill&lt;br /&gt;     , hz_cust_acct_sites_all hca_bill&lt;br /&gt;     , hz_party_sites hps_bill&lt;br /&gt;     , hz_parties hp_bill&lt;br /&gt;     , hz_locations hl_bill&lt;br /&gt;     , mtl_parameters mp&lt;br /&gt;WHERE  1 = 1&lt;br /&gt;AND    header_id = :p_header_id&lt;br /&gt;AND    ooh.ship_to_org_id = hcs_ship.site_use_id&lt;br /&gt;AND    hcs_ship.cust_acct_site_id = hca_ship.cust_acct_site_id&lt;br /&gt;AND    hca_ship.party_site_id = hps_ship.party_site_id&lt;br /&gt;AND    hps_ship.party_id = hp_ship.party_id&lt;br /&gt;AND    hps_ship.location_id = hl_ship.location_id&lt;br /&gt;AND    ooh.invoice_to_org_id = hcs_bill.site_use_id&lt;br /&gt;AND    hcs_bill.cust_acct_site_id = hca_bill.cust_acct_site_id&lt;br /&gt;AND    hca_bill.party_site_id = hps_bill.party_site_id&lt;br /&gt;AND    hps_bill.party_id = hp_bill.party_id&lt;br /&gt;AND    hps_bill.location_id = hl_bill.location_id&lt;br /&gt;AND    mp.organization_id(+) = ooh.ship_from_org_id&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Please do let me know if this queries are helping and I will post more of such queries. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; The query is not tested completely. If any problem found with the above query please let me know and I will try to fix them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2852044606863378701?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2852044606863378701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2852044606863378701&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2852044606863378701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2852044606863378701'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/query-to-get-bill-to-and-ship-to.html' title='Query to get Customer Related information for a Sales Order'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8022485282808122311</id><published>2008-05-12T10:28:00.003-04:00</published><updated>2008-05-12T10:44:48.738-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Discoverer'/><title type='text'>Create List of Values (LOV) in Discoverer</title><content type='html'>The Item classes in Discoverer are treated as List of Values (LOVs). A List of value can be created and referenced by several fields of the folder.&lt;br /&gt;Following are the steps to create LOV in discoverer. In the example below I am creating LOV on US States.&lt;br /&gt;1) Connect to Discoverer using Admin and select the business area where folder/LOV needs to be created.&lt;br /&gt;2) Create a custom folder for US States using following query&lt;br /&gt;&lt;pre&gt;select * from ar_lookups&lt;br /&gt;where lookup_type like 'STATE'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;3) Select the field for which Item class is to be created and right click on that to select New Item Class. Click next on the wizard and finally click finish button to complete creation of Item class. In our example, the LOV is created on the lookup code field.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SChXi-OCWgI/AAAAAAAAA3Q/_c40ABjJQVc/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SChXi-OCWgI/AAAAAAAAA3Q/_c40ABjJQVc/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5199502028128279042" /&gt;&lt;/a&gt;&lt;br /&gt;4) Now if any parameter is created based on Lookup Code column then the List of value will be attached to it.&lt;br /&gt;5) This LOV can also be referenced by another column. For example there is another folder which has column Bill to State. Select that column and right click to go to the properties. Click on Item Class and select the Item class created in step 3.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CWRCDagUe5A/SChX0uOCWhI/AAAAAAAAA3Y/hTMjgGGs4Eo/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_CWRCDagUe5A/SChX0uOCWhI/AAAAAAAAA3Y/hTMjgGGs4Eo/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5199502333070957074" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8022485282808122311?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8022485282808122311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8022485282808122311&amp;isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8022485282808122311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8022485282808122311'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/create-list-of-values-lov-in-discoverer.html' title='Create List of Values (LOV) in Discoverer'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/SChXi-OCWgI/AAAAAAAAA3Q/_c40ABjJQVc/s72-c/1.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2810788855485969629</id><published>2008-05-05T18:14:00.006-04:00</published><updated>2008-05-06T10:28:33.638-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Splitting String using Oracle SQL 9i</title><content type='html'>Run following query to split values seperated by comma(,)&lt;br /&gt;&lt;pre&gt; SELECT TRIM( SUBSTR ( txt&lt;br /&gt;                     , INSTR (txt, ',', 1, level ) + 1&lt;br /&gt;                     , INSTR (txt, ',', 1, level+1) - INSTR (txt, ',', 1, level) -1 &lt;br /&gt;                     ) &lt;br /&gt;            )&lt;br /&gt;         AS token&lt;br /&gt;   FROM ( SELECT ','||:in_string||',' AS txt  FROM dual )&lt;br /&gt; CONNECT BY level &lt;= LENGTH(txt)-LENGTH(REPLACE(txt,',',''))-1&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;-------&lt;br /&gt;If value of in_string is entered as 1234,2,3,45,6,7,7,88,9,346&lt;br /&gt;&lt;br /&gt;Output is &lt;br /&gt;TOKEN&lt;br /&gt;-----&lt;br /&gt;1234&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;45&lt;br /&gt;6&lt;br /&gt;7&lt;br /&gt;7&lt;br /&gt;88&lt;br /&gt;9&lt;br /&gt;346&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://tkyte.blogspot.com/2006/06/varying-in-lists.html"&gt;Tom Kyte's Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2810788855485969629?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2810788855485969629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2810788855485969629&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2810788855485969629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2810788855485969629'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/splitting-string-using-oracle-sql.html' title='Splitting String using Oracle SQL 9i'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7184524855834033723</id><published>2008-05-05T14:29:00.008-04:00</published><updated>2008-05-05T17:12:12.493-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>FAQ: Common Tracing Techniques for Oracle Apps</title><content type='html'>1) How to enable trace in the Oracle Application screens / forms?&lt;br /&gt;  Below is the navigation to enable trace for forms&lt;br /&gt;Help Menu --&gt; Diagnostics --&gt; Trace(Select appropriate trace as needed)&lt;br /&gt;&lt;br /&gt;Most commonly if debugging an error, you may select trace with binds.&lt;br /&gt;When debugging a performance issue, you may consider using trace with binds and waits. &lt;br /&gt;&lt;br /&gt;Remember to disable trace as this will keep generating the file.&lt;br /&gt;&lt;br /&gt;2) How to enable trace for a concurrent program?&lt;br /&gt;  Refer to post &lt;a href="http://sureshvaishya.blogspot.com/2008/04/create-trace-file-for-concurrent.html"&gt;Create Trace File for Concurrent Program&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) How to enable trace for a concurrent program INCLUDING bind variables and waits?&lt;br /&gt;  The above method can be used to generate a trace file, but this does not includes bind variables and wait times.&lt;br /&gt;Download and review the script, bde_system_event_10046.sql, from &lt;a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=179848.1&amp;blackframe=1"&gt;Metalink Note 179848.1.&lt;/a&gt;&lt;br /&gt;The above script is used to turn on the trace with binds and wait(Level 12).&lt;br /&gt;Run Script and press enter when prompted.&lt;br /&gt;Return to application and submit your concurrent program.&lt;br /&gt;The moment status changes to running, switch to SQL*PLUS and press enter again to turn tracing off.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Important:&lt;/span&gt; Note that the tracing is set at global level and any program that runs during time when trace is kept on will be traced. Hence it is very important to immediately turn trace off after your programs status changes to running.&lt;br /&gt;&lt;br /&gt;4) How to enable trace for all actions that occur for a user?&lt;br /&gt;  Use profile option &lt;span style="font-weight:bold;"&gt;Initialization SQL Statement - Custom&lt;/span&gt;&lt;br /&gt;  Set the value at user level &lt;br /&gt;&lt;pre&gt;BEGIN FND_CTL.FND_SESS_CTL('','', '', 'TRUE','','ALTER SESSION SET TRACEFILE_IDENTIFIER='||''''||'4269824.999' ||''''||' EVENTS ='||''''||' 10046 TRACE NAME CONTEXT FOREVER, LEVEL 12 '||''''); END;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="https://metalink.oracle.com/metalink/plsql/f?p=130:14:11560541274788262570::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,296559.1,1,1,1,helvetica"&gt;Metalink Note 296559.1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Related Post: &lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/04/sql-trace-and-tkprof.html"&gt;SQL Trace and TKPROF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/05/various-options-with-tkprof.html"&gt;Various options with TKPROF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/04/create-trace-file-for-concurrent.html"&gt;Create Trace File for Concurrent Program&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7184524855834033723?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7184524855834033723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7184524855834033723&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7184524855834033723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7184524855834033723'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/faq-common-tracing-techniques-within.html' title='FAQ: Common Tracing Techniques for Oracle Apps'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2261369258738228029</id><published>2008-05-02T14:28:00.005-04:00</published><updated>2008-05-05T17:18:34.353-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Various options with TKPROF</title><content type='html'>The post is in continuation to &lt;a href="http://sureshvaishya.blogspot.com/2008/04/sql-trace-and-tkprof.html"&gt;SQL Trace and TKPROF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Syntax of TKPROF&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;tkprof [&lt;span style="font-style:italic;"&gt;filename1&lt;/span&gt;] [&lt;span style="font-style:italic;"&gt;filename2&lt;/span&gt;] [WAITS] [SORT] [PRINT]&lt;br /&gt;There are few more but these are more commonly used.&lt;/pre&gt;&lt;br /&gt;Argument Description&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;filename1&lt;/span&gt;&lt;/span&gt;   : The trace file name&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;filename2&lt;/span&gt;&lt;/span&gt;   : Filename to which TKPROF writes formatted output&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;WAITS&lt;/span&gt;&lt;/span&gt;       : Flag to record summary for any wait events found in the trace file. Values are YES or NO&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;SORTS&lt;/span&gt;&lt;/span&gt;       : Sorts traced SQL statements in descending order of specified sort option before listing them into the output file&lt;br /&gt;&lt;blockquote&gt;PRSCNT  Number of times parsed.&lt;br /&gt;PRSCPU  CPU time spent parsing.&lt;br /&gt;PRSELA  Elapsed time spent parsing.&lt;br /&gt;PRSDSK  Number of physical reads from disk during parse.&lt;br /&gt;PRSQRY  Number of consistent mode block reads during parse.&lt;br /&gt;PRSCU  Number of current mode block reads during parse.&lt;br /&gt;PRSMIS  Number of library cache misses during parse.&lt;br /&gt;EXECNT  Number of executes.&lt;br /&gt;EXECPU  CPU time spent executing.&lt;br /&gt;EXEELA  Elapsed time spent executing.&lt;br /&gt;EXEDSK  Number of physical reads from disk during execute.&lt;br /&gt;EXEDSK  Number of physical reads from disk during execute.&lt;br /&gt;EXEQRY Number of consistent mode block reads during execute.&lt;br /&gt;EXECU  Number of current mode block reads during execute.&lt;br /&gt;EXEROW  Number of rows processed during execute.&lt;br /&gt;EXEMIS  Number of library cache misses during execute.&lt;br /&gt;FCHCNT  Number of fetches.&lt;br /&gt;FCHCPU  CPU time spent fetching.&lt;br /&gt;FCHELA  Elapsed time spent fetching.&lt;br /&gt;FCHDSK  Number of physical reads from disk during fetch.&lt;br /&gt;FCHQRY  Number of consistent mode block reads during fetch.&lt;br /&gt;FCHCU  Number of current mode block reads during fetch.&lt;br /&gt;FCHROW  Number of rows fetched. &lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;PRINT&lt;/span&gt;&lt;/span&gt;       : Number of SQL statements to be displayed&lt;br /&gt;&lt;br /&gt;Example 1&lt;br /&gt;If you are processing a large trace file using a combination of SORT parameters and the PRINT parameter, then you can produce a TKPROF output file containing only the highest resource-intensive statements. For example, the following statement prints the 10 statements in the trace file that have generated the most physical I/O:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;tkprof abcd53269.trc abcd53269.txt SORT = (PRSDSK, EXEDSK, FCHDSK) PRINT = 10&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Example 2&lt;br /&gt;Print the SQL Query taking maximum CPU Usage&lt;br /&gt;&lt;pre&gt;tkprof abcd53269.trc abcd53269.txt SORT = (EXECPU,FCHCPU) PRINT = 1&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2261369258738228029?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2261369258738228029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2261369258738228029&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2261369258738228029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2261369258738228029'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/05/various-options-with-tkprof.html' title='Various options with TKPROF'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8721226936190420055</id><published>2008-04-30T14:10:00.007-04:00</published><updated>2008-04-30T14:27:25.629-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>SQL Trace and TKPROF</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Understanding SQL Trace&lt;/span&gt;&lt;br /&gt;Times when program is performing poorly, creating and examining a trace file is one of the best way to find what is causing the problem for poor performance.&lt;br /&gt;Following is the list of some of the SQL Trace statictics that are generated in the trace file.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style:italic;"&gt;    Parse, execute, and fetch counts&lt;br /&gt;    CPU and elapsed times&lt;br /&gt;    Physical reads and logical reads&lt;br /&gt;    Number of rows processed&lt;br /&gt;    Commits and Rollback&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;There are several ways by which you can turn on/off SQL Trace&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Turn on&lt;br /&gt;DBMS_SESSION.SET_SQL_TRACE(TRUE);&lt;br /&gt;ALTER SESSION SET SQL_TRACE = TRUE;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Turn off&lt;br /&gt;DBMS_SESSION.SET_SQL_TRACE(FALSE);&lt;br /&gt;ALTER SESSION SET SQL_TRACE = FALSE;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://sureshvaishya.blogspot.com/2008/04/create-trace-file-for-concurrent.html"&gt;Click here&lt;/a&gt; to set SQL Trace on a concurrent program.&lt;br /&gt;The trace file is created in the udump directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Understanding TKPROF&lt;/span&gt;&lt;br /&gt;The TKPROF program can be used to format the contents of the trace file and convert it into a readable output file.&lt;br /&gt;TKPROF can also be used to generate Explain Plan for the queries.&lt;br /&gt;I will create a seperate post to discuss various options available with TKPROF.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8721226936190420055?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8721226936190420055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8721226936190420055&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8721226936190420055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8721226936190420055'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/04/sql-trace-and-tkprof.html' title='SQL Trace and TKPROF'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-8841044564206470064</id><published>2008-04-21T11:59:00.008-04:00</published><updated>2008-10-03T13:28:37.375-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Create Trace File for Concurrent Program</title><content type='html'>If your program is taking time to complete, then the best way to know what is causing the problem is by creating a trace file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Navigation:&lt;/span&gt;&lt;br /&gt;System Administrator(R) --&gt; Concurrent --&gt; Program --&gt; Define&lt;br /&gt;&lt;br /&gt;Query for the concurrent program and check enable trace button.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/SAy7IFSpooI/AAAAAAAAA3I/jQAhDtcc8lo/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/SAy7IFSpooI/AAAAAAAAA3I/jQAhDtcc8lo/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5191730217985090178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now when the concurrent program is executed the trace file is created in the udump directory. The path of udump directory can be found by executing following query.&lt;br /&gt;&lt;pre&gt;select * from v$parameter&lt;br /&gt;where name like '%user_dump_dest%'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The trace file can be converted to a readable format by running a tkprof command over the trace file.&lt;br /&gt;Syntax:&lt;br /&gt;&lt;pre&gt;tkprof [trace_file_name] [new_file_name]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt; &lt;a href="http://sureshvaishya.blogspot.com/2008/05/various-options-with-tkprof.html"&gt;Click for more info on TKPROF&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-8841044564206470064?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/8841044564206470064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=8841044564206470064&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8841044564206470064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/8841044564206470064'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/04/create-trace-file-for-concurrent.html' title='Create Trace File for Concurrent Program'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/SAy7IFSpooI/AAAAAAAAA3I/jQAhDtcc8lo/s72-c/1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1220044310788327943</id><published>2008-04-18T14:37:00.002-04:00</published><updated>2008-04-18T14:40:19.971-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle Table Rename Syntax</title><content type='html'>There is a direct command to rename table.&lt;br /&gt;The syntax is as follows&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;alter table&lt;br /&gt;   table_name&lt;br /&gt;rename to&lt;br /&gt;   new_table_name;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note: &lt;/span&gt;When the table is renamed the referenced object like PL/SQL, applications etc are not updated. Hence this may make those invalid. However the indexes, constraints etc are updated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1220044310788327943?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1220044310788327943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1220044310788327943&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1220044310788327943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1220044310788327943'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/04/oracle-table-rename-syntax.html' title='Oracle Table Rename Syntax'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6678114144770150297</id><published>2008-04-08T17:00:00.000-04:00</published><updated>2008-04-08T17:19:14.122-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Discoverer'/><title type='text'>Dependent Value Parameter in Discoverer</title><content type='html'>In Discover 4i there was no way to filter the list of second parameter based on the value selected in first parameter.&lt;br /&gt;Discoverer Version 10g has overcome this problem and allows to filter the List of Values based on another parameter. This is very similar to dependent value set that we create in Oracle Apps.&lt;br /&gt;In the paramter screen(shown in the screen shot below) Select Option "&lt;span style="font-weight:bold;"&gt;Filter the List of Values based on the selection conditions&lt;/span&gt;, then select the parameter based on which the value need to be filtered. Click OK and you are all set to filter the list based on another parameter.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/R_vguT5F3DI/AAAAAAAAA2o/uehERzg9IJI/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/R_vguT5F3DI/AAAAAAAAA2o/uehERzg9IJI/s400/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5186986482065595442" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6678114144770150297?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6678114144770150297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6678114144770150297&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6678114144770150297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6678114144770150297'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/04/dependent-value-parameter-in-discoverer.html' title='Dependent Value Parameter in Discoverer'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/R_vguT5F3DI/AAAAAAAAA2o/uehERzg9IJI/s72-c/1.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-4269193101333682734</id><published>2008-04-07T08:40:00.002-04:00</published><updated>2008-04-07T15:28:43.377-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Discoverer'/><title type='text'>Not Required Parameter in Discoverer</title><content type='html'>The old version of Discover4i forced to enter values for all the paramters. If the value needs to be passed as NULL, then user had to enter either NULL or '' as the parameter value.&lt;br /&gt;&lt;br /&gt;Discover 10g has got rid of this problem. The parameter can now be made a non-required parameter by checking "&lt;span style="font-weight:bold;"&gt;Require User to Enter a Value&lt;/span&gt;" checkbox as shown in the screenshot below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/R_p1pz5F3BI/AAAAAAAAA2Y/Ult49uTJPO8/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/R_p1pz5F3BI/AAAAAAAAA2Y/Ult49uTJPO8/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5186587282035301394" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-4269193101333682734?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/4269193101333682734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=4269193101333682734&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4269193101333682734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/4269193101333682734'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/04/not-required-parameter-in-discoverer.html' title='Not Required Parameter in Discoverer'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_CWRCDagUe5A/R_p1pz5F3BI/AAAAAAAAA2Y/Ult49uTJPO8/s72-c/1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1595454660427451949</id><published>2008-04-04T11:37:00.001-04:00</published><updated>2008-04-04T08:39:58.572-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><title type='text'>Password Policy and profile options</title><content type='html'>On apps there are a lot of profile options that are useful in making apps passwords difficult to guess, the profiles are&lt;br /&gt;&lt;br /&gt;1-Signon password failure limit&lt;br /&gt;2-Signon Password Length&lt;br /&gt;3-Signon Password No Reuse&lt;br /&gt;4-Signon Password Hard to Guess&lt;br /&gt;&lt;br /&gt;For the first one it means how many time can I try to access the system using wrong password. It is recommended to change this value to 3. The default value is null.&lt;br /&gt;&lt;br /&gt;The second one to allow minimum password length. The default value is 5, it is recommended to make it 6 or 7.&lt;br /&gt;&lt;br /&gt;The 3rd profile is for not allowing using same password again for specified number of days.&lt;br /&gt;&lt;br /&gt;The default value for 4th profile option is No. Following are the password rules if the value is set to Yes&lt;br /&gt;1) The password contains at least one letter and at least one number.&lt;br /&gt;2) The password does not contain the username.&lt;br /&gt;3) The password does not contain consecutively repeating characters.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="https://metalink.oracle.com/metalink/plsql/f?p=130:14:2515868021806676062::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,362663.1,1,1,1,helvetica"&gt;Metalink Note 362663.1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1595454660427451949?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1595454660427451949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1595454660427451949&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1595454660427451949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1595454660427451949'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/password-policy-and-profile-options.html' title='Password Policy and profile options'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3150909416221999024</id><published>2008-04-01T19:13:00.013-04:00</published><updated>2008-04-01T08:54:36.246-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Basic VI Editor Commands</title><content type='html'>&lt;p class=MsoNormal&gt;&lt;b style='mso-bidi-font-weight:normal'&gt;Cursor Movements&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt; mso-yfti-tbllook:480;mso-padding-alt:0in 5.4pt 0in 5.4pt;mso-border-insideh: .5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'&gt; &lt;tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;h, j, k, l&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:  solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move left, Down, Up, Right&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:1'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;0&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move to First Character of the Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:2'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;$&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move to end of Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:3'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;w&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move to next word&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:4'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;CTRL + D&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move Page Down&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:5'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;CTRL + U&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move Page Up&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:6'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;G&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move to the End of File&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:7'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;1G or :1&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move to the Top of File&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:8'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;&lt;span class=SpellE&gt;nG&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Move to Line number n. (replace n is any integer value)&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:9;mso-yfti-lastrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;CTRL + G&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Display current Line Number&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b style='mso-bidi-font-weight:normal'&gt;Find a Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt; mso-yfti-tbllook:480;mso-padding-alt:0in 5.4pt 0in 5.4pt;mso-border-insideh: .5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'&gt; &lt;tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;/text&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:  solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Find a text in Forward Direction&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:1'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;?text&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Find a text in Reverse Direction&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:2;mso-yfti-lastrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;n&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Repeat the previous Search&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class=MsoNormal&gt;Note: text needs to be replaced by the string that needs tobe searched.&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b style='mso-bidi-font-weight:normal'&gt;Editing, Inserting orDeleting a Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt; mso-yfti-tbllook:480;mso-padding-alt:0in 5.4pt 0in 5.4pt;mso-border-insideh: .5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'&gt; &lt;tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;a&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:  solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Append after Cursor&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:1'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;A&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Append to the end of Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:2'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;&lt;span class=SpellE&gt;i&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Insert before cursor&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:3'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;I&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Insert from the Beginning of the line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:4'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;o&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Insert a new Line in the edit mode&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:5'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;&lt;span class=SpellE&gt;cw&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Change word&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:6'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;cc&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Change whole line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:7'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;C&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Change text to end of line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:8'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;&lt;span class=SpellE&gt;dd&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Delete Current Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:9'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;5dd&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Delete current line and next 4&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:10'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;D&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Delete from Current Position to the end of line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:11'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;u&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Undo last change&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:12;mso-yfti-lastrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;U&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Restore Current Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b style='mso-bidi-font-weight:normal'&gt;Copy(yanking) and Paste&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt; mso-yfti-tbllook:480;mso-padding-alt:0in 5.4pt 0in 5.4pt;mso-border-insideh: .5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'&gt; &lt;tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;&lt;span class=SpellE&gt;yy&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:  solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Yank a copy of Current Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:1;mso-yfti-lastrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;p&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Insert previously yanked Line&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;b style='mso-bidi-font-weight:normal'&gt;Saving and Exiting&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt; mso-yfti-tbllook:480;mso-padding-alt:0in 5.4pt 0in 5.4pt;mso-border-insideh: .5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'&gt; &lt;tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;ZZ or :&lt;span class=SpellE&gt;wq&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:  solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Save and exit file&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:1'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;&lt;span class=GramE&gt;:q&lt;/span&gt;!&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Exit without Saving&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt; &lt;tr style='mso-yfti-irow:2;mso-yfti-lastrow:yes'&gt;  &lt;td width=369 valign=top style='width:221.4pt;border:solid windowtext 1.0pt;  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;  padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;:w filename1&lt;/p&gt;  &lt;/td&gt;  &lt;td width=369 valign=top style='width:221.4pt;border-top:none;border-left:  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'&gt;  &lt;p class=MsoNormal&gt;Save edited file as &lt;b style='mso-bidi-font-weight:normal'&gt;filename1&lt;/b&gt;.  Similar to Save as.&lt;/p&gt;  &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3150909416221999024?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3150909416221999024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3150909416221999024&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3150909416221999024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3150909416221999024'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/basic-vi-editor-commands.html' title='Basic VI Editor Commands'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1199883686101601033</id><published>2008-03-29T14:54:00.002-04:00</published><updated>2008-03-29T04:23:10.001-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Calling SqlPlus From Unix Shell Script</title><content type='html'>In this post we will discuss how we can call sqlplus from within a unix shell script. &lt;a href="http://sureshvaishya.blogspot.com/2008/03/read-concurrent-parameters-in-unix.html"&gt;Here&lt;/a&gt; is a post on how to read concurrent program parameters from shell script and this is a continuation to that.&lt;br /&gt;The syntax to call a SQLPLUS from shell script is&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sqlplus -s $login &lt;&lt;-EOF&lt;br /&gt;set feedback off&lt;br /&gt;set serveroutput on&lt;br /&gt;declare&lt;br /&gt;--  variable declarations&lt;br /&gt;....&lt;br /&gt;....&lt;br /&gt;begin&lt;br /&gt;--sql statements..&lt;br /&gt;....&lt;br /&gt;....&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;exit&lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;In the syntax above, &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$login&lt;/span&gt; is the unix variable which stores username/password.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EOF&lt;/span&gt; is the identifier to indicate start and end of sql statements.&lt;br /&gt;UNIX variables can be referred inside sqlplus by using &lt;span style="font-weight:bold;"&gt;$&lt;/span&gt; sign. Any dbms_output.put_line statements are printed in the log file if script is run through concurrent program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1199883686101601033?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1199883686101601033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1199883686101601033&amp;isPopup=true' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1199883686101601033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1199883686101601033'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/calling-sqlplus-from-unix-shell-script.html' title='Calling SqlPlus From Unix Shell Script'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-5133762106084074553</id><published>2008-03-27T23:26:00.008-04:00</published><updated>2008-03-28T09:47:29.461-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forms Personalization'/><title type='text'>Hide a Button in the form using Forms Personlization</title><content type='html'>In one of the forum, there was a requirement to allow bookings only by certain user.&lt;br /&gt;This can be achieved using forms personalization for users on 11.5.10 or higher.&lt;br /&gt;Open the sales Order Form and click on Help-&gt;Diagnostics-&gt;Custom Code-&gt;Personalize to open the forms personlization screen.&lt;br /&gt;(Click on the image to zoom it)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsgD5F2-I/AAAAAAAAA1Q/PXY8-Q27f-g/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsgD5F2-I/AAAAAAAAA1Q/PXY8-Q27f-g/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5182636569252977634" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsmD5F2_I/AAAAAAAAA1Y/hJb6ltrH7po/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsmD5F2_I/AAAAAAAAA1Y/hJb6ltrH7po/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5182636672332192754" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsrD5F3AI/AAAAAAAAA1g/Z4eO4SsEPMk/s1600-h/3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsrD5F3AI/AAAAAAAAA1g/Z4eO4SsEPMk/s320/3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5182636758231538690" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;P.S.&lt;/span&gt;&lt;br /&gt;In the example above I have hardcoded user name which is not the advisable way.&lt;br /&gt;The better approach could be to create a custom profile and assign a value to the custom profile at user level. Based on the value entered the button can be enabled or disabled.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note&lt;/span&gt;: The same result can also be achieved by using custom.pll&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-5133762106084074553?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/5133762106084074553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=5133762106084074553&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5133762106084074553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/5133762106084074553'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/hide-button-in-form-using-forms.html' title='Hide a Button in the form using Forms Personlization'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/R-xsgD5F2-I/AAAAAAAAA1Q/PXY8-Q27f-g/s72-c/1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-6322814348282436560</id><published>2008-03-25T12:58:00.004-04:00</published><updated>2008-03-25T21:16:27.894-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><title type='text'>Custom Title Bar</title><content type='html'>Profile option "Site Name" can be used to display custom message in the title bar.&lt;br /&gt;Often used in DEV/Test instance to track when the instance was refreshed/cloned. &lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/R-kzkz5F29I/AAAAAAAAA1I/dQwvrkVHasQ/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/R-kzkz5F29I/AAAAAAAAA1I/dQwvrkVHasQ/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5181729553764441042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-6322814348282436560?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/6322814348282436560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=6322814348282436560&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6322814348282436560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/6322814348282436560'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/custom-title-bar.html' title='Custom Title Bar'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/R-kzkz5F29I/AAAAAAAAA1I/dQwvrkVHasQ/s72-c/1.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-3927428564814420865</id><published>2008-03-25T09:17:00.005-04:00</published><updated>2008-05-13T11:27:00.426-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Read Concurrent Parameters in UNIX shell script</title><content type='html'>Found this question in one of the forum and thought of creating a blog for same.&lt;br /&gt;Often when concurrent program is created on a shell script there is a need to extract parameters passed from concurrent program in the shell script. &lt;br /&gt;In Shell Script, $1 is the variable that stores following information&lt;br /&gt;   - Concurrent Program Short Name&lt;br /&gt;   - Request ID&lt;br /&gt;   - Login Information(APPS username and password)&lt;br /&gt;   - User Id&lt;br /&gt;   - User Name&lt;br /&gt;   - Printer Name&lt;br /&gt;   - Save output Flag&lt;br /&gt;   - Print number of Copies&lt;br /&gt;   - List of concurrent program parameters&lt;br /&gt;&lt;br /&gt;Following code can be used to extract different values&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;requestid=`(echo $1 | cut -f2 -d' ' | cut -f2 -d= | tr -d '"' )`   #request_id&lt;br /&gt;login_usr_pwd=`(echo $1 | cut -f3 -d' ' | cut -f2 -d= | tr -d '"' )` #database username/password&lt;br /&gt;conc_user_id=`(echo $1 | cut -f4 -d' ' | cut -f2 -d= | tr -d '"' | cut -c1-8)` #userid&lt;br /&gt;conc_user_name=`(echo $1 | cut -f5 -d' ' | cut -f2 -d= | tr -d '"' | cut -c1-8)` #username&lt;br /&gt;prog_param1=`(echo $1 | cut -f9 -d' ' | tr -d '"' )`  #parameter 1 &lt;br /&gt;prog_param2=`(echo $1 | cut -f10 -d' ' | tr -d '"' )`  #parameter 2 &lt;br /&gt;prog_param3=`(echo $1 | cut -f11 -d' ' | tr -d '"' )`  #parameter 3 &lt;br /&gt;prog_param4=`(echo $1 | cut -f12 -d' ' | tr -d '"' )`  #parameter 4 &lt;br /&gt;prog_param5=`(echo $1 | cut -f13 -d' ' | tr -d '"' )`           #parameter 5 &lt;br /&gt;prog_param6=`(echo $1 | cut -f14 -d' ' | tr -d '"' )`           #parameter 6&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When connecting to SQLPLUS in shell script, it is always advisable to extract database username and password from parameter($login in our example above) and not hard-code the value in program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-3927428564814420865?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/3927428564814420865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=3927428564814420865&amp;isPopup=true' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3927428564814420865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/3927428564814420865'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/read-concurrent-parameters-in-unix.html' title='Read Concurrent Parameters in UNIX shell script'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-1500429803345185735</id><published>2008-03-17T20:33:00.002-04:00</published><updated>2008-03-17T20:36:33.429-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>Replace Keyboard with Mouse - Type using Mouse</title><content type='html'>Here is something interesting for you.&lt;br /&gt;Replace Keyboard with Mouse and type letters using mouse.&lt;br /&gt;Steps:&lt;br /&gt;Click &lt;span style="font-weight:bold;"&gt;Start&lt;/span&gt; --&gt; Select &lt;span style="font-weight:bold;"&gt;Run&lt;/span&gt; --&gt; Type &lt;span style="font-weight:bold;"&gt;OSK&lt;/span&gt; --&gt; Press &lt;span style="font-weight:bold;"&gt;OK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A Keyboard will Popup on the screen that can be used for typing. Isn't that interesting and useful sometimes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-1500429803345185735?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/1500429803345185735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=1500429803345185735&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1500429803345185735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/1500429803345185735'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/replace-keyboard-with-mouse-type-using.html' title='Replace Keyboard with Mouse - Type using Mouse'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-7495080117166419463</id><published>2008-03-16T16:01:00.005-04:00</published><updated>2008-03-16T16:14:39.654-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>External Table in Oracle</title><content type='html'>From Version 9i Oracle has come with a new feature facilitating us to query directly from the FLAT File. This is know as external tables.&lt;br /&gt;Here are the simple steps for creating external table&lt;br /&gt;1) Create Directory&lt;br /&gt;&lt;pre&gt;create or replace directory sv_ext_dir as '/home/svaishya/external_table'&lt;/pre&gt;&lt;br /&gt;2) Grant access to Directory&lt;br /&gt;&lt;pre&gt;grant read, write on directory sv_ext_dir to apps&lt;/pre&gt;&lt;br /&gt;   The user must have a read and write permission the directory('/home/svaishya/external_table' in this case).&lt;br /&gt;3) Create External Table&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;CREATE TABLE sv_external_Table&lt;br /&gt;(col1 VARCHAR2(50)&lt;br /&gt;,col2 VARCHAR2(50)&lt;br /&gt;)&lt;br /&gt;ORGANIZATION EXTERNAL&lt;br /&gt;( TYPE oracle_loader&lt;br /&gt;DEFAULT DIRECTORY sv_ext_dir&lt;br /&gt;ACCESS PARAMETERS&lt;br /&gt;( FIELDS TERMINATED BY '|' )&lt;br /&gt;LOCATION ('abc.txt')&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;blockquote&gt;abc.txt is the name of the file that will be located in the path mentioned in the directory sv_ext_dir&lt;/blockquote&gt;&lt;br /&gt;4) Place the file in the Directory Path&lt;br /&gt;&lt;blockquote&gt;abc.txt (used in above create table command) is copied the directory.&lt;/blockquote&gt;&lt;br /&gt;5) Thats it, query table to extract data.&lt;br /&gt;&lt;pre&gt;SELECT * FROM sv_external_table&lt;/pre&gt;&lt;br /&gt;Everytime the file is updated with new data the data in the table will be automatically refreshed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-7495080117166419463?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/7495080117166419463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=7495080117166419463&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7495080117166419463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/7495080117166419463'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/external-table-in-oracle.html' title='External Table in Oracle'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2431881608884779473</id><published>2008-03-16T15:39:00.011-04:00</published><updated>2008-05-23T09:39:13.038-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Different Types of Table in Oracle Apps</title><content type='html'>In oracle applications there are tables that ends with similar suffixes. Here I am trying to list the meaning of those, please provide your suggestion and help me if I have missed anything.&lt;br /&gt;&lt;br /&gt;&lt;table border=1&gt; &lt;tr&gt;&lt;td width=49&gt;_B&amp;nbsp;&lt;/td&gt;&lt;td width=426&gt;The Main base tables&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt;_ALL&lt;/td&gt;&lt;td width=426&gt;Contains multi org data. There will be similar table without _ALL. Before querying this data the environment variable needs to be set. Dbms_application_info.set_client_info('org_id'), or apps_initialize can be used to set the environment variable.common column.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt;_V&lt;/td&gt;&lt;td width=426&gt;View created on base table. Mostly forms are created based on this views&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt; _TL &lt;/td&gt;&lt;td width=426&gt;Tables that support multi language.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt; _VL&lt;/td&gt; &lt;td width=426&gt;View created on multi language tables. The view generally uses the base table and _tl table&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt;_F &lt;/td&gt;&lt;td width=426&gt;This indicates that these are the date tracking tables. These tables are generally seen for HRMS and contain 2 common columns effective_start_date and effective_end_date&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt;_S &lt;/td&gt;&lt;td width=426&gt;sequence related tables&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=49&gt;_DFV  /_KFV &lt;/td&gt;&lt;td width=426&gt;The DFF/KFF table created on the base table. This is the best way to get the concatenated value of DFF/KFF.&lt;br&gt;Also using this table the values can be queried based on the DFF/KFF name and not attributes column.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2431881608884779473?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2431881608884779473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2431881608884779473&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2431881608884779473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2431881608884779473'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/different-types-of-tables-in-ora-apps.html' title='Different Types of Table in Oracle Apps'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-952652482927544572</id><published>2008-03-15T09:39:00.004-04:00</published><updated>2008-03-15T09:46:54.169-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>See Parameters for the Submitted Request</title><content type='html'>A concurrent program is submitted which has many parameters. After the program is submitted I need to map the values with the parameter.&lt;br /&gt;Click "Find Request" -&gt; "View Details...", click on "Parameters" field, the parameters form will popup.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CWRCDagUe5A/R9vS2U5JIuI/AAAAAAAAA0M/UfJfvVdTbSw/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_CWRCDagUe5A/R9vS2U5JIuI/AAAAAAAAA0M/UfJfvVdTbSw/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5177964027355669218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_CWRCDagUe5A/R9vS8k5JIvI/AAAAAAAAA0U/JhRL3zfqU14/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_CWRCDagUe5A/R9vS8k5JIvI/AAAAAAAAA0U/JhRL3zfqU14/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5177964134729851634" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sometimes you may feel that the forms have gone crazy and the parameters form does not pop up.This is because you are not in the correct responsibility that enable you to launch that request. The parameters form popup only from the responsibility where reports are registered.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-952652482927544572?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/952652482927544572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=952652482927544572&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/952652482927544572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/952652482927544572'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/see-parameters-for-submitted-request.html' title='See Parameters for the Submitted Request'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CWRCDagUe5A/R9vS2U5JIuI/AAAAAAAAA0M/UfJfvVdTbSw/s72-c/2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4715885911366291269.post-2931883684907022349</id><published>2008-03-15T09:10:00.003-04:00</published><updated>2008-03-15T09:14:36.953-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='System Administrator'/><title type='text'>View Report Output Submitted by others</title><content type='html'>Many times it happens that we need to see output submitted by others. Through system administrator &lt;span style="font-weight:bold;"&gt;View all concurrent program&lt;/span&gt; option we can search for the request but the problem is that the view output button is grayed off. How do we enable this button and see the output.&lt;br /&gt;The answer is simple as profile does a magic here.&lt;br /&gt; &lt;br /&gt;Change the Profile Option value for &lt;span style="font-weight:bold;"&gt;Concurrent:Report Access Level&lt;/span&gt;. Default value for the profile is "User", which means View Output is only accessible by the particular user that submitted the request. Set it to "Responsibility", now the View Output button is enabled from responsiblity where the report is registered.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4715885911366291269-2931883684907022349?l=sureshvaishya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sureshvaishya.blogspot.com/feeds/2931883684907022349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4715885911366291269&amp;postID=2931883684907022349&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2931883684907022349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4715885911366291269/posts/default/2931883684907022349'/><link rel='alternate' type='text/html' href='http://sureshvaishya.blogspot.com/2008/03/view-report-output-submitted-by-others.html' title='View Report Output Submitted by others'/><author><name>Suresh Vaishya</name><uri>http://www.blogger.com/profile/04830206267375957769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CWRCDagUe5A/Sxax6wNt6dI/AAAAAAAAC4Y/8WOx3rnV3B8/S220/l_980130.jpg'/></author><thr:total>0</thr:total></entry></feed>
