<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6176826033645485068</atom:id><lastBuildDate>Thu, 19 Dec 2024 03:26:23 +0000</lastBuildDate><category>Interview Questions</category><category>Agile</category><category>SysAdmin</category><category>Upgrading</category><category>AOL</category><category>Apps FND</category><category>Audit</category><category>EBS</category><category>FNDCPASS</category><category>File System</category><category>Installation R12</category><category>RMAN</category><category>SQL - SELECT Database</category><category>AD Relink</category><category>Adcmctl.sh</category><category>Adfrmctl.sh</category><category>Adstrtal</category><category>Applications Context</category><category>Apps AD</category><category>Apps Architecture</category><category>Apps DBA Issues</category><category>Apps DBA Queries</category><category>Apps Utilities(AU)</category><category>AutoConfig Operation</category><category>AutoConfig Scripts/Dir</category><category>Autoconfig.sh</category><category>COMMIT vs ROLLBACK</category><category>Cloning</category><category>Cloning Options</category><category>Cloning Tools</category><category>Control Files/Logging/Archiving/Recovery</category><category>DB Directory</category><category>DB Security</category><category>DB Tools</category><category>Data Guard</category><category>Datafiles/Tablespaces/Objects</category><category>EBS Architecture</category><category>EBS Tech Layer</category><category>Environment Settings</category><category>FAQ-Oracle Apps AP</category><category>FAQ-Oracle Apps AR Functional</category><category>FAQ-Oracle Apps PO</category><category>General Questions</category><category>INST_TOP</category><category>Language Files</category><category>License Manager</category><category>Main Topics</category><category>Management Tasks</category><category>Memory Structures</category><category>More on Oracle Apps AR</category><category>Must know concepts of GL/AP/AR</category><category>NFS Protocol</category><category>NLS</category><category>Ora XML Pub(XDO)</category><category>Oracle AK</category><category>Oracle Alert (ALR)</category><category>Oracle Apps AR Overview</category><category>Oracle Database Architecture</category><category>Oracle Finance Functional</category><category>Oracle Interview Questions</category><category>Oracle Interview Questions 1</category><category>Oracle Interview Questions 10</category><category>Oracle Interview Questions 2</category><category>Oracle Interview Questions 3</category><category>Oracle Interview Questions 4</category><category>Oracle Interview Questions 5</category><category>Oracle Interview Questions 6</category><category>Oracle Interview Questions 7</category><category>Oracle Interview Questions 8</category><category>Oracle Interview Questions 9</category><category>Oracle Maintenance</category><category>Oracle Managed Files</category><category>Oracle Workflow(WF)</category><category>Partitioning</category><category>Processes</category><category>Product Directories</category><category>Remote Shell</category><category>Rollback and Undo</category><category>SQL - ALTER TABLE SQL - ALTER TABLE Command</category><category>SQL - AND/OR Clauses</category><category>SQL - Alias Syntax</category><category>SQL - Arithmetic Operators</category><category>SQL - CREATE Database</category><category>SQL - CREATE Table</category><category>SQL - Clone Tables</category><category>SQL - Comparison Operators</category><category>SQL - DELETE Query</category><category>SQL - DROP or DELETE Database</category><category>SQL - DROP or DELETE Table</category><category>SQL - Data Types</category><category>SQL - Date Functions</category><category>SQL - Distinct Keyword</category><category>SQL - Expressions</category><category>SQL - Group By</category><category>SQL - Handling Duplicates</category><category>SQL - Having Clause</category><category>SQL - INSERT Query</category><category>SQL - Indexes</category><category>SQL - Injection</category><category>SQL - LIKE Clause</category><category>SQL - Logical Operators</category><category>SQL - NULL Values</category><category>SQL - ORDER BY Clause</category><category>SQL - Operators</category><category>SQL - Overview</category><category>SQL - RDBMS Concepts</category><category>SQL - RDBMS Databases</category><category>SQL - SELECT Query</category><category>SQL - SORTING Results</category><category>SQL - Sub Queries</category><category>SQL - TOP Clause</category><category>SQL - TRUNCATE TABLE Command</category><category>SQL - Temporary Tables</category><category>SQL - Transactions</category><category>SQL - UNIONS CLAUSE</category><category>SQL - UPDATE Query</category><category>SQL - Using Joins</category><category>SQL - Using Sequences</category><category>SQL - Using Views</category><category>SQL - WHERE Clause</category><category>SQL - Wildcard Operators</category><category>SQL -Syntax</category><category>SQL Constraints</category><category>Schemas</category><category>Sharing App Tier</category><category>Space Management</category><category>Temporary Sort Space</category><category>Unix  Quick Guide</category><category>Unix - Basic Utilities</category><category>Unix - Communication Utilities</category><category>Unix - Directory Management</category><category>Unix - Environment</category><category>Unix - File Management</category><category>Unix - File Permission</category><category>Unix - Getting Started</category><category>Unix - Pipes and Filters</category><category>Unix - Process Management</category><category>Unix - Shell Basic Operators</category><category>Unix - Shell Variables</category><category>Unix - Special Variables</category><category>Unix - Useful Commands</category><category>Unix - Using Shell Arrays</category><category>Unix - What is Shells?</category><category>Unix - vi Editor</category><category>Unix- Linux Commands</category><category>appl Directory</category><category>comn Directory</category><category>custom/data schema</category><title>Simple Easy Learning</title><description></description><link>http://way2apps.blogspot.com/</link><managingEditor>noreply@blogger.com (naguakkina)</managingEditor><generator>Blogger</generator><openSearch:totalResults>197</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-5438833780362615535</guid><pubDate>Thu, 22 Dec 2011 06:35:00 +0000</pubDate><atom:updated>2011-12-21T22:35:52.783-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Must know concepts of GL/AP/AR</category><title>Basic Concepts in Oracle Financials - Important Tables</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h4 class=&quot;western&quot;&gt;&lt;span style=&quot;color: red; font-size: 85%;&quot;&gt;Oracle  General Ledger&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Gl_code_combinations&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Setup &amp;gt; Accounts &amp;gt; Combinations&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the valid account combinations.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;The value in your chart of  account segments are stored in the columns segment1 to segment30  depending on your application configuration.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;For example,  say your chart of accounts is&lt;br /&gt;
Company – Cost Centre – Account&lt;br /&gt;
then  segment1 = company, segment 2 = cost centre and segment3 = account.&lt;br /&gt;
However,  this sequencing of segments is not guaranteed therefore, its best to  check your configuration.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Another important column is the account_type  which signifies your account is an Asset, Liability, Revenue, Expense or  Owners Equity account.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Gl_je_batches&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Journals &amp;gt; Enter&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the journal entry batches. Journal entries are batched in General  Ledger.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you  have more than one set of book, you’ll also need to link to  gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Default_period_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Posted_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Posting_run_id&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Gl_je_headers&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Journals &amp;gt; Enter&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the journal entry headers. There is always two journal lines for  each journal header.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Je_category&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Period_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you  have more than one set of book, you’ll also need to link to  gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Posted_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Je_source&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Gl_je_lines&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Journals &amp;gt; Enter&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the journal entry lines. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;The entered_dr and entered_cr  stores the amount in the entered currency whereas the accounted_dr and  accounted_cr stores the amount in the functional currency.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Other columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you have more than one set  of book, you’ll also need to link to gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Period_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Description&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Reference_1..reference10  (these columns links back to your Subledgers)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;text-indent: 0.25in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;For example, for Purchasing transactions&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Reference_1 = ‘PO’&lt;br /&gt;
Reference_2 =  po_headers_all.po_header_id&lt;br /&gt;
Reference_3 =  po_distributions_all.po_distribution_id&lt;br /&gt;
Reference_4 =  po_headers_all.segment? (this is the purchase order number)&lt;/span&gt;&lt;/div&gt;&lt;h4 class=&quot;western&quot;&gt;&lt;span style=&quot;color: red; font-size: 85%;&quot;&gt;Oracle  Payables&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ap_invoices_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoices &amp;gt; Entry &amp;gt; Invoices&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores all the invoices you enter. For an invoice to be approved, the  total invoice amount must be stored in ap_invoice_distributions_all and  ap_payment_schedules_all.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoice_num&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoice_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_paid&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoice_currency_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoice_type_lookup_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payment_status_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ap_invoice_distributions_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoices &amp;gt; Entry &amp;gt; Invoices&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the accounting information for the invoice you have entered.  There is one row for each invoice disribution, that is this table  corresponds to the Distributions window.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_type_lookup_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Dist_code_combination_id (credit entry)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Accts_pay_code_combination_id  (debit_entry)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Base_amount (in functional currency)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ap_checks_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payments &amp;gt; Entry &amp;gt; Payments&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores payments to suppliers.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount (in functional  currency)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Check_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Bank_account_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Check_number&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payment_method_lookup_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payment_type_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ap_invoice_payments_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payments &amp;gt; Entry &amp;gt; Payments&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores invoice payments to suppliers. This table is updated when you  confirm an automatic payment batch, enter a manual payment or process a  Quick Payment. Void payments are represented as a negative of the  original payment line.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Accounting_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Period_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payment_num&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ap_payment_distributions_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Payments &amp;gt; Entry &amp;gt; Payments&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores accounting information for payments. There is at least one CASH  payment distribution for each invoice payment. Additional rows may  include DISCOUNT, GAIN and LOSS distributions where appropriate.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_type_lookup_code (CASH/DISCOUNT/GAIN/LOSS)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Base_amount&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h4 class=&quot;western&quot;&gt;&lt;span style=&quot;color: red; font-size: 85%;&quot;&gt;Oracle  Purchasing&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Po_vendors&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Supply Base &amp;gt; Suppliers&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table stores supplier  information. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Segment1 (supplier number)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Vendor_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Terms_id&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Vendor_type&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Ship_to_location (link to  hr_locations for location information)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Bill_to_location (link to  hr_locations for location information)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Po_vendor_sites_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Supply Base &amp;gt; Suppliers&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores supplier sites information.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Pay_site_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Purchasing_site_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Address_line1 to  address_line3&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;City&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;State&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Area_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Zip&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Po_headers_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Purchase Orders &amp;gt; Purchase Orders&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the seven types of purchasing documents such as Purchase Order  and Blanket Agreement.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Segment1 is the document number (i.e. purchase  order number)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Agent_id (link to  per_people_f for the buyer)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Type_lookup_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Po_lines_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Purchase Orders &amp;gt; Purchase Orders&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores purchasing document lines. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_num&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Item_description&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Unit_price&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Unit_meas_lookup_code (unit of measure)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Item_id (link to  mtl_system_items for the item number)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Category_id (link to  mtl_categories for the category name)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Po_line_locations_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Purchase Orders &amp;gt; Purchase Orders&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores purchase order shipment schedules and blanket agreement price  breaks. A purchase order is closed when QUANTITY is equal to  QUANTITY_RECEIVED.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_accepted&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_received&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_cancelled&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Need_by_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Ship_to_organization_id (link  to org_organization_definitions for the organization code)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Po_distributions_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Purchase Orders &amp;gt; Purchase Orders&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the accounting information on a purchase order shipment. This  table is used for Standard and Planned Purchase Orders and Planned and  Blanket Purchase Order Release.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_ordered&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_billed&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_billed&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_delivered&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_cancelled&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Destination_organization_id  (link to org_organization_definitions for the organization code)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Destination_subinventory &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Rcv_shipment_headers&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receiving &amp;gt; Receipts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the receiving information. The three receipt sources are  Supplier, Inventory and Internal Order. There is one receipt header per  receipt source.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receipt_num&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Shipment_num&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receipt_source_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Shipped_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Ship_to_org_id&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Rcv_shipment_lines&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receiving &amp;gt; Receipts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores information about items that have been shipped and/or received  from a receipt source.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_num&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_shipped&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Unit_of_measure&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Item_id (link to  mtl_system_items for item number)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;To_organization_id (link to  org_organization_definitions for organization code)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;To_subinventory&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Shipment_line_status_code  (EXPECTED, FULLY RECEIVED, PARTIALLY RECEIVED)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_received&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_shipped&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h4 class=&quot;western&quot;&gt;&lt;span style=&quot;color: red; font-size: 85%;&quot;&gt;Oracle  Inventory&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Org_organization_definitions&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Setup &amp;gt; Organizations &amp;gt; Parameters&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This view  contains basic information on all inventory organisations.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Organization_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Organization_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you  have more than one set of book, you’ll also need to link to  gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Inventory_enabled_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Mtl_secondary_inventories&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Setup &amp;gt; Organizations &amp;gt; Subinventories&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores all subinventory information for an inventory organisation.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.08in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Secondary_inventory_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.08in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Description&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Mtl_material_transactions&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transactions &amp;gt; Material Transactions  (Inquiry)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table stores all inventory transactions  including cost updates.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transaction_quantity&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transaction_type_id&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transaction_source_type_id&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transaction_source_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Mtl_transaction_accounts&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transactions &amp;gt; Material Distributions  (Inquiry)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table stores the inventory accounting  information. There are two rows in this table for each transaction in  mtl_material_transactions.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transaction_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Gl_batch_id&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Accounting_line_type&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Base_transaction_value&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Mtl_system_items&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Items &amp;gt; Master Items or Items &amp;gt;  Organization Items&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table stores the item definition. An item  must exist in an inventory organisation.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Your item number is stored in  the columns segment1 to segment20 depending on your application  configuration. If you have configured your items to have to segments  then you may be using segment1 and segment2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Segment1 to segment20&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Description&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invetory_item_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Purchasing_item_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Inventory_asset_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Stock_enabled_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoiceable_item_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Shippable_item_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;So_transaction_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Mtl_transactions_enabled_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Primary_unit_of_measure&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Mtl_onhand_quantities&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;On-hand, Availability &amp;gt; On-hand Quantities&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores quantity on hand in a location for each item.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Date_received&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transaction_quantity&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Subinventory_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Cst_item_costs&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Costs &amp;gt; Item Costs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the item cost information. Note that there can be multiple costs  per item and the actual cost is where the cost type is Frozen.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Cost_type_id (link to cst_cost_types)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Item_cost&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h4 class=&quot;western&quot;&gt;&lt;span style=&quot;color: red; font-size: 85%;&quot;&gt;Oracle  Receivables&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ra_customers&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customers &amp;gt; Standard&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table stores customer  information.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customer_name&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customer_number&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customer_prospect_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customer_type&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Orig_system_reference (for  imported customers from an external source)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ra_addresses_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customers &amp;gt; Standard&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores customer address information and your remit-to addresses.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Orig_system_reference (for imported customer  addresses from an external source)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Address1 to address4&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;City&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;State&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Postal_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ra_site_uses_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Customers &amp;gt; Standard&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the customer’s site and site purpose. You must have one row for  each address. A customer must have one bill to address for Receivables. A  customer must have one ship to address and one bill to address for  Order Entry.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Site_use_code (BILL_TO,  SHIP_TO, STMTS, DUN/LEGAL)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Primary_flag&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Location&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ra_customer_trx_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transactions &amp;gt; Transactions&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores invoice, debit memo, chargeback, commitment and credit memo  header information.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Cust_trx_type_id (link to  ra_cust_trx_types_all)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you have more than one set  of book, you’ll also need to link to gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Terms_id (link to ra_terms)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Trx_number (invoice number)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Trx_date (invoice date)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ra_customer_trx_lines_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transactions &amp;gt; Transactions&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the invoice, debit memo, chargeback, commitment and credit memo  line information.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_number&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Description&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_ordered&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_credited&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Quantity_invoiced&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Unit_standard_price&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Unit_selling_price&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_type&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Extended_amount&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Revenue_amount&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ra_cust_trx_line_gl_dist_all&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transactions &amp;gt; Transactions&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the accounting information for revenue, unearned revenue,  unbilled receivables, receivables, charges, freight and tax for each  invoice or credit memo line.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_gl_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Gl_posted_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Account_class  (CHARGES/FREIGHT/TAX/REC/REV/UNBILL/UNEARN)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Acctd_amount (functional  currency)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ar_cash_receipts&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receipts &amp;gt; Receipts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores the payment information.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you have more than one set of book, you’ll  also need to link to gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status (APP, UNAPP, UNID,  NSF, STOP, REV)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Type (CASH, MISC)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receipt_number&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Currency_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Pay_from_customer&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receipt_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ar_receivable_applications&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Receipts &amp;gt; Receipts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table  stores accounting entries for cash and credit memo applications.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns  of interest includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_applied&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Line_applied&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Tax_applied&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Application_type&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Display&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Gl_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Set_of_books_id (when you  have more than one set of book, you’ll also need to link to  gl_sets_of_books)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;Ar_payment_schedules&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-top: 0.04in;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Transactions &amp;gt; Transactions and Receipts &amp;gt;  Receipts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;This table stores all transactions except  adjustments and miscellaneous cash receipts. This table is updated when a  transaction occurs against an invoice, debit memo, chargeback, credit  memo, on-account credit, or receipt.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Some columns of interest  includes :&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_due_original&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Class (DEP, DM, PMT, GUAR, CM, CB, INV)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Due_date&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_due_remaining&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Invoice_currency_code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_applied&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Anmount_credited&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;western&quot; lang=&quot;en-AU&quot; style=&quot;margin-bottom: 0.03in; margin-top: 0.03in;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;Amount_adjusted&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/basic-concepts-in-oracle-financials.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-6409055233655583624</guid><pubDate>Thu, 22 Dec 2011 06:34:00 +0000</pubDate><atom:updated>2011-12-21T22:34:24.761-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">FAQ-Oracle Apps AR Functional</category><title>Interview Questions on Oracle AR (Account Receivables)</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Questions in Accounts Receivables&lt;br /&gt;
&lt;br /&gt;
1. How do you create a  Chargeback Invoice ?&lt;br /&gt;
A. Using Receipts window&lt;br /&gt;
&lt;br /&gt;
2. How do you  adjust the amount of advance already received against an Invoice ?&lt;br /&gt;
A.  Create an Invoice for Deposit and receive an amount against this  deposit Invoice. Then Create the regular invoice and in the column of  Commitments enter the number of Deposit Invoice. The Regular Invoice  gets matched with the Deposit Invoice for the amount of Regular invoice  or deposit invoice which ever is lower&lt;br /&gt;
&lt;br /&gt;
3. How do you write off  small amounts while accounting the receipt against an invoice?&lt;br /&gt;
A.  Using Receipts window. You have the button for write offs.&lt;br /&gt;
&lt;br /&gt;
4. How  do you Account for bank charges deducted from amount received against  an invoice?&lt;br /&gt;
A. Using Quick cash window also you can enter receipts.  Here you have the option of accounting the bank charges deducted on  receipt. However, this has to be enabled by putting the Value in profile  option AR: Create Bank Charges = YES.&lt;br /&gt;
&lt;br /&gt;
5. How do you create a  credit note against an invoice ?&lt;br /&gt;
A. You have separate window to  create such credit note. Navigation Transactions =&amp;gt; Credit  Transactions.&lt;br /&gt;
&lt;br /&gt;
6. How do you adjust a regular Invoice with a  Credit Note ? Enter the amount 0 in receipt window and in invoice  matching window select the invoice as well as the credit note. This will  knock off the invoice against the credit note.&lt;br /&gt;
&lt;br /&gt;
7. What are  different types of Receipt Reversals ? What is the difference between  them ? What are the accounting entries ?&lt;br /&gt;
A. Standard Reversal and  Debit Note Reversal. Standard Reversal reopens the invoice matched in  that receipt. You can match a new receipt against this invoice.&lt;br /&gt;
Debit  Note Reversal does not reopens the earlier matched invoice but it  creates a new debit note which can be matched with another receipt.&lt;br /&gt;
&lt;br /&gt;
8.  When are the following accounts are used&lt;br /&gt;
Unbilled Receivable&lt;br /&gt;
Unearned  Revenue&lt;br /&gt;
A. When you use Invoicing Rule, the receivables are  accounted on different dates as defined in the rule. Till such time  receivables are accounted, the amount is debited to Unbilled  Receivables.&lt;br /&gt;
If you use Accounting Rule, the revenue is accounted on  different dates. Till such time revenue is accounted, the amount is  credited to Unearned Revenue..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. What is the difference  between Unidentified Receipt, Unapplied Receipts and On Account Receipts  ? What are the Accounting Entries for each of this ?&lt;br /&gt;
A. Unidentified  Receipts: The Customer is yet to be identified and so receipt is not  matched.&lt;br /&gt;
Unapplied Receipts: The Customer is identified and entered  but the amount is not matched with any of his invoice.&lt;br /&gt;
On Account  Receipts: The Customer is entered and instead of matching the amount to  any of his invoice it is matched with the On Account option. This option  is available as first item in the pick list of invoices.&lt;br /&gt;
&lt;br /&gt;
10.  What is the difference between earned discounts and Unearned discounts ?  How do you account the Unearned discount? What are the accounting  entries involved ?&lt;br /&gt;
A. The cash discounts are mentioned in the payment  terms. Considering the due date and the receipt date the discount is  automatically calculated while entering the receipt. If however you want  to increase the amount of invoice you can manually increase it. The  amount automatically calculated as per terms is the Earned Discount. The  manually added amount is the Unearned Discount. This however, depends  upon the option given in System Options in Setup.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. What  are the Key Flexfields in AR.&lt;br /&gt;
&lt;br /&gt;
A. Sales Tax Location Flexfield&lt;br /&gt;
Territory  Flexfield&lt;br /&gt;
&lt;br /&gt;
AR Setup Related&lt;br /&gt;
&lt;br /&gt;
12. What is difference between  transaction type and transaction source ?&lt;br /&gt;
&lt;br /&gt;
A. Transaction type  can either be Invoice, Credit Note, Debit Note, Deposit. Etc. This also  decides whether to account in GL, Whether to consider in receivables,  the accounts to be debited, credited, the tax calculation options, and  some other options which are defauled.&lt;br /&gt;
Transaction Source decides  whether the source of entry is manual or automatic. It also mentions  whether transaction and batch numbering is manual or automatic.&lt;br /&gt;
If  automatic the last entered number is to be mentioned to start the  automatic numbering. IF the source is automatic, that means the  transactions are to be uploaded through interface either from OE or  legacy system. Then some other options are to be set.&lt;br /&gt;
&lt;br /&gt;
13. What is  AutoAccounting ?&lt;br /&gt;
&lt;br /&gt;
A. This is the account generator in Accounts  receivables. This decides accounts for&lt;br /&gt;
Receivables&lt;br /&gt;
Revenue&lt;br /&gt;
AutoInvoice  Clearing&lt;br /&gt;
Freight&lt;br /&gt;
Tax&lt;br /&gt;
Unbilled Receivable&lt;br /&gt;
Unearned Revenue&lt;br /&gt;
&lt;br /&gt;
From  where the accounts are defaulted ?&lt;br /&gt;
Sales reps&lt;br /&gt;
Transaction Lines&lt;br /&gt;
Transaction  Types&lt;br /&gt;
Taxes&lt;br /&gt;
Or you can have Constant values&lt;br /&gt;
&lt;br /&gt;
14. What is  AutoCashRule Set ?&lt;br /&gt;
This decides the sequence of the invoice matching  rules for unmatched receipts entered though quich cash or  AutoLockBox(interface). The rules are already defined in the system.  Like “Match Payment with Invoice”, “Apply to the Oldest Invoice First”,  “Clear the Account”, etc.&lt;br /&gt;
&lt;br /&gt;
15. Where do you attach the Set Of  Books ? Can you attach more than one set of books ? if you have more  then one set of books then how Receivables is configured ?&lt;br /&gt;
You attach  the set of books in System Options in Setup. Only one set of books can  be attached. If you have more then one set of books then AR is to be set  in multi org environment. By specifying the “MO Operating Unit” and the  “GL Set of Books Name”.&lt;br /&gt;
&lt;br /&gt;
16. How do you define document numbering  for receipts ? can you have different sequences for each Payment  Method.&lt;br /&gt;
In system administration. You can have different sequences  for different payment methods.&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/interview-questions-on-oracle-ar.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-5689561900157838941</guid><pubDate>Thu, 22 Dec 2011 06:32:00 +0000</pubDate><atom:updated>2011-12-21T22:33:31.052-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle Finance Functional</category><title>Interview Questions on Oracle SCM,AOL,Forms</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;strong style=&quot;font-family: arial;&quot;&gt;1.  What is order cycle?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order  cycles describe the processing or routing, through which orders  progress. Order cycles contain cycle actions such as Enter, Pick Release  or Ship Confirm. Each cycle action has at least one result. For  example, results for the action ‘Enter’ include ‘Booked’, ‘Partial’ and  ‘Entered’. You can customize your order cycle by defining prerequisites  for each action so that Oracle Order Entry performs these actions in the  sequence you define. For example, the prerequisite for the action Pick  Release could be the action Legal Review and the result Pass. You would  not be able to pick release the order until it meets this prerequisite.  You can define as many order cycles as you want so you can handle  different processing requirements for different types of orders or for  orders from different sales channels. For example, you may have one  order cycle that requires legal approval that you use for international  orders and one without legal approval for domestic orders.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you make any changes to cycle actions in  an order cycle you can determine when those changes take effect by  setting the profile option OE: Cycle Action Changes Affect Existing  Orders&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Tables used are  SO_CYCLES, SO_CYCLE_ACTIONS, SO_ACTION_PRE_REQS, SO_ACTIONS, SO_RESULTS,  SO_ACTION_RESULTS.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;2.  List the various actions of a typical order cycle?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order cycles contain cycle actions such as  ‘Enter’, ‘Pick Release’ or ‘Ship Confirm’, ‘Backorder Release’,  ‘Receivable Interface’, ‘Inventory Interface’, ‘Complete Line’,  ‘Complete order’.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enetered  -&amp;gt; Book -&amp;gt; Demand/ATP (Available to Promise) -&amp;gt; Pick Release  -&amp;gt; Shipping -&amp;gt; Inventory Interface -&amp;gt; Receivable Interface  -&amp;gt; Close order&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;3.  What is the relation between an order type and an order cycle?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Cycle can differ depending on the  type of an order For example you may have one order cycle that requires  legal approval that you use for international orders and one without  legal approval for domestic orders&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order cycle is attached to the order type.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;4. What does Inventory Interface do?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Inventory Interface Program populates the  interface tables with transactions submitted through Confirm shipment  forms. It updates order lines with shipped quantities and updates  inventory.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;5. What are  ATO and PTO?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ATO -  Assemble to Order - A configuration you make in response to customer  order which includes optional items.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PTO - Pick to Order - A configure to order  environment where the option and included items in a model appear on  pick slips and order pickers gather the options when they ship the  order. Alternative to manufacturing the parent item on a work order and  then shipping it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;6.  What is RMA?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RMA is  permission for a customer to return items. OE allows you to authorize  the return of your sales orders as well as sales made by other dealers  as long as the item are part of your item master and price list. Receipt  of goods previously sold to customer, credit to a customer or replace  with identical item.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;7.  What is Hold?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A  feature that prevents an order or order line from processing through the  order cycle. You can place hold on any order or order line.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;8. What are various types of holds?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Credit check hold, Legal Review hold, Sales  Review Hold, Customer request Hold. (so_holds.type_code)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Few of logitechs hold types:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CREDIT This hold is automatically placed on  an order invoiced to a customer who fails credit check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GSA This hold is automatically placed on an  order which is in violation of GSA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CONFIGURATOR This hold is automatically placed on a Sales Order  Line that fails Configurator Validation&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management Product on Short Supply&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management Product on Quality Stop  Shipment&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management  Awaiting clarification on Order Detail&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management Incomplete Ship To&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Credit Management Customer/Order on Credit  Hold&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management EDI  order with incorrect pricing - hold until pricing issue resolved&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management EDI order with incorrect  QTY (Case Pack) - hold until QTY issue resolved&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management Customer Requested Hold&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Credit Management Manual Credit Hold on  Backorder&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management  EDI order waiting for information&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Document Services Pre Release Hold to applied to Prevent Pick  Release&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Document Services  Pre Release Hold to applied to Prevent Backorder Release&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management RMA Order Waiting For  Information&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Credit  Management Overdue Payment Hold by Credit Managment&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Management Product on Short Supply&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;9. What is a hold Parameter?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A criterion you use to place a hold on an  order or order line. Valid hold parameters are customer, customer site,  order, and item. (so_order_holds_view_hold.hold_level)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Logitech HOLD_LEVEL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;-------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Customer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Item&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Site Use&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;10. What are various types of discounts?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Discount is a reduction of list price for  an item. Fixed price discounts - Final price is contractually fixed  regardless of fluctuations in list price. For example: item A has a list  price of 100, a fixed price discount specifies a selling price of 90,  results in a selling price of 90 even if the list price changes to 110.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Price adjustments - The difference between  list price of an item and its selling price. Price difference can have  positive or negative impact on price list. Price adjustments which lower  the list price are called as price adjustment discounts. It can be for  order or order line.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Earned  discounts -&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;11. What  is scheduling of orders?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order scheduling includes assigning demand or reservations,  warehouses, shipment dates, lots and sub-inventories to order line, it  can be don’t on booked or un-booked orders.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;12. How do you calculate value of an order  (from tables)?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;select&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;sum((sol.ordered_quantity -  nvl(sol.cancelled_quantity,0)) * sol.selling_price)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;from so_headers_all sh, so_lines_all sol&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;where sh.order_number = &amp;amp;order_number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;and sol.header_id = sh.header_id&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;13. What is underlying table for discounts?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_DISCOUNTS, SO_DISCOUNT_CUSTOMERS,  SO_DISCOUNT_LINES, SO_PRICE_ADJUSTMENTS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;14. What is auto-accounting?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;An Receivable feature that lets you  determine how the Accounting Flex-field for your revenue, receivable,  freight, tax, unbilled receivables, and unearned revenue account types  are created.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;15. What  is Auto-invoicing?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A  program that imports invoices, credit memos, and on account credits from  other system into oracle receivables.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;16. What does the table  ra_cust_trx_line_gl_dist store?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Stores the accounting records for revenue,  unearned revenue, and unbilled receivables for each invoice or credit  memo line. This table must have one row for each accounting  distribution.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;17. What  are the underlying tables in various transactions in receivables?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX,  RA_CUST_TRX_LINE_SALESREPS, RA_CUSTOMER_TRX_LINE_GL_DIST,  RA_CUSTOMER_TRX_LINES, AR_PAYMENT_SCHEDULES AR_PAYMENT_SCHEDULES,  AR_CASH_RECEIPTS, AR_MISC_CASH_DISTRIBUTIONS, AR_CASH_RECEIPT_HISTORY,  AR_RECEIVABLE_APPLICATION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;18. What are interface tables used during autoinvoicing  interface?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_INTERFACE_LINES,  RA_INTERFACE_SALESCREDITS, RA_INTERFACE_DISTRIBUTIONS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;19. If invoice, credit memos and debit  memos all get stored in the same table then, how do you come to know  which transaction is it?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX table stores cust_trx_type_id, which identifies  the user defined transaction type. Which in turn is stored in  RA_CUST_TRX_TYPES. The field TYPE defines the type of transaction, which  is linked to LOOKUP_CODE of AR_LOOKUPS table. Basic 6 transaction types  are hard coded in AR_LOOKUPS table and are not user maintainable.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;20. What is a credit memo?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Credit memo is a document, which partially  or fully, reverses an original invoice. You can create credit memos  through the Oracle Receivables Enter Credit Memos form or through  Auto-Invoice.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;21. What  is a debit memo?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Debits  that you assign to your customer for additional charges that you want  to collect. You may want to charge your customers for unearned discounts  taken, additional freight charges, taxes, and finance charges.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;22. What are the underlying tables for  credit memos and debit memos?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX_ALL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;23. What is an accounting Rule?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Accounting rule is a rule that Oracle  receivables Auto-invoice uses to specify revenue recognition schedules  for your transactions. You can define your accounting rule where revenue  is recognized over a fixed or variable period of time. For example, you  can define a fixed duration accounting rule with monthly revenue  recognition for a period of 12 months.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;24. What is the difference between an  accounting rule and an invoicing rule?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Invoicing Rule: Rules the Oracle receivables  uses, to determine when you bill your invoices. You can bill in advance  or in arrears.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;25.  What are the various features of Oracle Receivables?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Multiple System Options&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use optional batching&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Customize to meet your needs:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Accounting Flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Item Flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Territory Flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sales Tax Flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Descriptive Flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Define any chart of accounts using up to 30  segments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Define your own  accounting calendar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Choose  from a variety of payment terms:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Split terms&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Proxima  terms&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Terms by amount or  percent&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Multiple discounts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Choose from tax options:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;By location or product&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Compounding tax&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Tax exemptions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Group multiple, conditional taxes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sales Tax or VAT environment&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;User-definable tax hierarchy&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Customers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Specify customer relationships&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Validate customer addresses&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter addresses in country-specific formats&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter an unlimited number of:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Addresses, foreign or domestic&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Remit-to addresses&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Business purposes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Contact names&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Telephone numbers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create customer credit profiles:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Payment terms&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Automatic receipt information&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Finance charges&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Copy credit profiles&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Define sales territories&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Default pertinent customer site information  to transactions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Query  customers using variable criteria&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Invoicing&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create sign-insensitive transactions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Number invoices and lines automatically&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Recognize revenue over multiple periods  using invoice rules&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create  recurring invoices&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create  consolidated billing invoices based on periods defined by payment&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;terms&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Specify transaction type, including:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Deposit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Guarantee&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Invoice&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Debit memo&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create credit memos, including:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Full and partial credit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Automatic sales credit reversal&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;On-account credit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Handle write-offs automatically or manually&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Set adjustment limits&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View transaction balances&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View accounting entries on-line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Print invoices at any time&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Collections&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Record customer calls&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Print customer statements&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create dunning letters based on days overdue  or dunning levels&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Define  unlimited number of user-defined dunning letter templates&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Produce statements based on user-definable  cycles&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reapply cash&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Perform inquires on-line or on the web&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create flexible agings&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Drill down to detail by aging bucket&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Inquire using external references such as  project and order number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View  correspondence history on-line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create centralized statement sites&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create centralized dunning sites&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Cash Application&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Record payments from third parties&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create chargebacks&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Process receipts automatically:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Lockbox transmission&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Bills of exchange&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Direct debits&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Match receipts to transactions by:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Transaction Number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Order Number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Purchase Order Number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Consolidated Bill number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Custom Number&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use AutoCash rules:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Apply to oldest invoice first&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Exact match on invoice&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Clear past due invoices&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Clear the account&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Clear Past Due Invoices grouped by Payment  Term&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Apply payments  according to user-defined rule sets&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use earned and unearned discounts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Discount on specified line types&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Track bank remittances&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Clear bank statement items automatically or  manually&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use flexible  lockbox formats&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create bank  charges automatically&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reapply  cash&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reverse multiple  receipts in a single step&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Process  Notes Receivable&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Future-dated  checks&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Promissory Note&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Global Accounting&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Record sales and VAT taxes with complete tax  reporting&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Issue letters of  credit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Handle bills of  exchange and automatically eliminate risk&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use optional sequential numbering&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter multiple currencies using  user-defined currency formats&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Process cross-currency receipts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Calculate currency gains and losses&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter cross-currency deposits&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Default tax code from revenue segment of  natural account&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter and  print line amounts that include tax&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Report in multiple currencies&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reporting&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View reports on-line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Report by company&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create accounting reports of agings,  receipts, cash application, and&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;adjustments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use  Report eXchange to customize reports:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Query selected information&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Export to other applications&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create flexible agings, including:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Customizable aging buckets&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Dispute bucket&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Customer and invoice summary&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;By amount and salesperson&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Additional reports:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Transaction registers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Tax reports&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Credit and collections reports&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Key indicators&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Supplier/Customer Netting report&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Foreign Exchange Gain/Loss report&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;26. Does an RMA (order return)  automatically generate credit memos?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Yes, Receivable Interface of RMA will  generate credit memos. If the RMA Interface results Partially Accepted  or Completely Accepted are prerequisites to the Receivables Interface in  the order cycle, only quantities of the item that have been received in  a sub-inventory are credited. Items, which are received for purposes of  inspection, are not eligible to be credited unless they pass inspection  and are received into a sub-inventory. Thus if the prerequisite for the  Receivables Interface includes RMA Interface - Partially Accepted, then  the Receivables Interface creates partial credits corresponding to the  accepted quantity that has not already been credited. If the  prerequisite for the Receivables Interface is only RMA Interface -  Completely Accepted, the Receivables Interface waits until the full  quantity is accepted and then creates a full credit. If the RMA  Interface is not a prerequisite to the Receivables Interface in the  order cycle, the full return quantity entered on the RMA line is  eligible to be credited.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;27. What does form registration do?&lt;br /&gt;
28. Why do you need form  registration?&lt;br /&gt;
29. If I add certain code to a form and don&#39;t register  it what will happen?&lt;br /&gt;
30. If I add a column to a form and don’t  register it what will happen?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;After you paint your form, register your form with Oracle  Application Object Library. In fact, you must register any form you wish  to run under Oracle Application Object Library. By registering your  form, you assign it to a particular application and let Oracle  Application Object Library add form-level triggers your form needs to  support EasyForm and such features as Menus, QuickPick, and help text.  You should register your forms again after you make any changes to their  structures such as adding or deleting fields or zones. You can  reregister your form as many times as you want without harming it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can use the Update Form Information  form to register any changes you make to the blocks and fields of your  form, or to change the name that appears in QuickPicks.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;31. What are the various steps in  developing a report?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;After  getting a valid specification, decide on the oracle tool in which  report could be developed, .if its SQLreport then -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Write SQL statement&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. Build layout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. Put script in CUSTOM_TOP directory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. Register it&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If its Oracle Reports (6i) then -&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Build a data model. data model includes  query, summary columns, formula columns, placeholders, groupings etc&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. Paint the layout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. Write triggers to enforce business rules&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. Create parameters&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. Put script in CUSTOM_TOP directory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6. Register it&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;32. How do you call a user exit?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;From Forms: - ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;From Reports: - srw.user_exit  (&quot;user_exit_name( parameter1,parameter2,...)&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;33. What is anchoring?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Anchors are used to determine the vertical  and horizontal positioning of a child object relative to its parent.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Rules:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. An object may be anchored to only one  other object.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. Matrix  objects, anchors, and the margin cannot be anchored to anything (i.e.,  they may not be the parent or child object for an anchor).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. A repeating frame that is the vertical  or horizontal repeating frame for a matrix cannot be anchored to another  object, but other objects may be anchored to it (i.e., it can be the  parent but not the child object for an anchor).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. Nothing can be anchored to a hidden  object (an object with Hidden checked).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. Moving an anchor also cause the two  objects it anchors together to move.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6. Objects cannot be anchored together in such a way that they  have a circular dependency. For example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Assume that object A and object B are  anchored together and object A is the parent. Object B cannot be the  parent for another anchor between object A and object B. In addition,  object B cannot be the parent for an anchor to object C, if object C is  the parent for an anchor to object A.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Assume that frame A contains field B and  field B is above frame A in the editor. Furthermore, frame A is anchored  to field C, which is not inside of frame A, and field C is the parent.  Field C cannot be the parent for an anchor to field B. Because it is  inside of frame A, field B cannot be anchored to field C, if field C is  the parent.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;7. To copy an  anchor, you must select the anchor and the two objects it anchors  together. If you select the anchor by itself, nothing will be copied to  the paste buffer. If you select the anchor and one of the objects, only  the object is placed in the clipboard.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;8. An anchor cannot be resized.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;9. An anchor must always be on top of the  objects it anchors together (i.e., it must be one or more layers above  the parent and child objects). Oracle Reports prevents you from moving  the anchor to a layer below its parent and child objects.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;10. You cannot use Align, Align Objects, or  Size Objects from the Arrange menu on anchors.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;34. What are format triggers?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Format Triggers are PL/SQL functions  executed before the object is formatted. The trigger can be used to  dynamically change the formatting attributes of the object.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Rules:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Caution: The PL/SQL in a Format Trigger is  executed each time that Oracle Reports attempts to format the layout  object. As a result, format triggers should only contain PL/SQL program  units that set formatting attributes (e.g., color and highlighting). You  should not perform other actions, such as inserting data in a table,  because you cannot predict when or how many times the trigger will fire.  For example, if you have Page Protect checked for an object, the object  might not be formatted on the logical page where the trigger is fired.  In addition, the trigger may be executed more than once.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Comments inserted directly into the  PL/SQL code must use the PL/SQL comment delimiters.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. In a Format Trigger, you can read the  values of Oracle Reports columns and parameters of the correct frequency  (look at the rule below), but you cannot directly set their values. For  example, you can use the value of a parameter called COUNT1 in a  condition (e.g., IF :COUNT1 = 10), but you cannot directly set its value  in an assignment statement (e.g., :COUNT1 = 10). (This restriction also  applies to user exits called from the Format Trigger.)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. Note also that the use of PL/SQL global  variables to indirectly set the values of columns or parameters is not  supported. If you do this, you may get unpredictable results.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. You cannot reference columns or  variables in the Format Trigger of an object that have a different  frequency than the object. For example, if you create a master/detail  report, the parent group&#39;s repeating frame cannot have a Format Trigger  that relies on a value in the child group. For each parent, there may be  multiple children. Therefore, at the parent record level, Oracle  Reports cannot determine which of the child records to use. You also  cannot reference any page-dependent columns (i.e., Reset At of Page) or  columns that rely on page-dependent columns in a Format Trigger. The  reason for this is that it would result in a circular dependency. That  is, the value of a page-dependent column cannot be computed until the  report is formatted, but the report cannot be formatted until the Format  Trigger is executed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. If a  Format Trigger returns false and the object does not format, this can  cause other objects not to print. For example, if a repeating frame does  not format, any objects (fields, boilerplate, frames, or other  repeating frames) it encloses would not format either.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6. For repeating frames, the Format Trigger  is executed for each instance of the repeating frame. To create a Format  Trigger that acts upon all instances of a repeating frame at once,  create a frame around the repeating frame and enter a Format Trigger for  the frame. If the Format Trigger returns FALSE for every instance of a  repeating frame on a logical page, the repeating frame will occupy no  space on the logical page and anchors to other objects will collapse (if  specified).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;7. The PL/SQL  in a Format Trigger must return consistent results for the same object.  For example, say you have a frame whose Format Trigger returns FALSE  when a certain condition is met. If the frame spans two pages, the  Format Trigger actually fires twice (once for each page on which the  frame formats). The condition in your PL/SQL must return the same result  both times the Format Trigger fires. Otherwise, only part of the frame  will be formatted (e.g., the part of the frame on the first page  formats, but the part on the second page does not).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;8. If the Format Trigger on a repeating  frame in a matrix report returns FALSE, an entire row or column of the  matrix will not format. For example, if an instance of the across  dimension repeating frame does not format, the entire column will not  format in the matrix.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;9. If  you want to conditionally change the cell of a matrix, you should put a  frame around the field inside the matrix and use the Format Trigger for  the frame.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;35. What is  a user Exit?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A user  exit is a routine your form calls to perform application processing.  Occasionally, you may need to build your own user exit to perform  application processing that is beyond the scope of SQL or SQL*Forms  commands. Oracle Application Object Library helps you build a user exit  in a third generation language (such as Pro*C) and integrate it into a  standard user exit library.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;36. How can you increase the performance of reports?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Writing straight forward and plain data  fetching Queries.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.  Utilizing a correct combination of indices on tables to fetch data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. In case of Oracle reports (6i) reduce  the number of User exits, format triggers, formula columns, summary  columns etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. In case of  Oracle reports (6i), instead of writing a complex query, break it up  into multiple simple queries and link them up with data-links.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;38. What is Explain Plan?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Explain Plan analyzes the query and breaks  it up in to the steps which oracle follows to fetch the data.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PURPOSE:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;To determine the execution plan Oracle  follows to execute a specified SQL statement. This command inserts a row  describing each step of the execution plan into a specified table. If  you are using cost-based optimization, this command also determines the  cost of executing the statement.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;39. How did you optimize your SQL after  using Explain Plan?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;0.  Eliminate FULL table scans.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1.  Forcing appropriate indices.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. Rearranging the table names in from clause.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. Doing away with functions in where  clause.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. Use EXISTS where  ever possible instead of sub-queries.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;40. What is TKPROF?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;TKPROF is a toll by Oracle to format the  trace file output. By passing different parameters you can control the  contents of the output file.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use the following arguments with TKPROF:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;filename1 specifies the input file, a trace  file containing statistics produced by the SQL trace facility. This file  can be either a trace file produced for a single session or a file  produced by appending together individual trace files from multiple  sessions.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;filename2  specifies the file to which TKPROF writes its formatted output.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXPLAIN determines the execution plan for  each SQL statement in the trace file and writes these execution plans to  the output file. TKPROF determines execution plans by issuing the  EXPLAIN PLAN command after connecting to ORACLE with the user and  password specified in this parameter. The specified user must have  CREATE SESSION system privileges.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;TABLE specifies the schema and name of the  table into which TKPROF temporarily places execution plans before  writing them to the output file. If the specified table already exists,  TKPROF deletes its rows, uses it for the EXPLAIN PLAN command, and then  deletes its rows. If this table does not exist, TKPROF creates it, uses  it, and then drops it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The  specified user must be able to issue INSERT, SELECT, and DELETE  statements against the table. If the table does not already exist, the  user must also be able to issue CREATE TABLE and DROP TABLE statements.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For these privileges to issue statement,  see the ORACLE7 Server SQL Language Reference Manual.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This option allows multiple individuals to  concurrently run TKPROF with the same user in the EXPLAIN value. These  individuals can specify different TABLE values and avoid destructively  interfering with each other&#39;s processing on the temporary plan table.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you use the EXPLAIN parameter without  the TABLE parameter, TKPROF uses the table PROF$PLAN_TABLE in the schema  of the user specified by the EXPLAIN parameter. If you use the TABLE  parameter without the EXPLAIN parameter, TKPROF ignores the TABLE  parameter.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INSERT  creates a SQL script that stores the trace file statistics in the  database. TKPROF creates this script with the name filename3. This  script creates a table and inserts a row of statistics for each traced  SQL statement into the table.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SYS enables and disables the listing of SQL statements issued by  the user SYS, or recursive SQL statements into the output file. The  default value of YES causes TKPROF to list these statements. The value  of NO causes TKPROF to omit them.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note that this parameter does not affect the  optional SQL script. The SQL script always inserts statistics for all  traced SQL statements, including recursive SQL statements.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SORT sorts the traced SQL statements in  descending order of the specified sort option before listing them into  the output file. If more than one option is specified, the output is  sorted in descending order by the sum of the values specified in the  sort options. If you omit this parameter, TKPROF lists statements into  the output file in ascending order of when each was first issued.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The sort options are:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSCNT number of times parsed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSCPU CPU time spent parsing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSELA elapsed time spent parsing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSDSK number of physical reads from disk  during parse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSQRY number  of consistent mode block reads during parse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSCU number of current mode block reads  during parse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRSMIS number  of library cache misses during parse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXECNT number of executes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXECPU CPU time spent executing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXEELA elapsed time spent executing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXEDSK number of physical reads from disk  during execute&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXEQRY number  of consistent mode block reads during execute&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXECU number of current mode block reads  during execute&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXEROW number  of rows processed during execute&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXEMIS number of library cache misses during execute&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHCNT number of fetches&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHCPU CPU time spent fetching&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHELA elapsed time spent fetching&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHDSK number of physical reads from disk  during fetch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHQRY number  of consistent mode block reads during fetch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHCU number of current mode block reads  during fetch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FCHROW number  of rows fetched&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PRINT lists  only the first integer sorted SQL statements into the output file. If  you omit this parameter, TKPROF lists all traced SQL statements. Note  that this parameter does not affect the optional SQL script. The SQL  script always inserts statistics for all traced SQL statements.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Example This example runs TKPROF, accepts a  trace file named KERVMS_RPK2_FG_SQLDBA_007.TRC and writes a formatted  output file named OUTPUTA.PRF:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;TKPROF KERVMS_RPK2_FG_SQLDBA_007.TRC OUTPUTA.PRF&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;EXPLAIN=SCOTT/TIGER  TABLE=SCOTT.TEMP_PLAN_TABLE_A INSERT=STOREA.SQL SYS=NO  SORT=(EXECPU,FCHCPU) PRINT=10&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;41. What is SQL trace?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The SQL trace facility provides performance information on  individual SQL statements. The SQL trace facility generates the  following statistics for each statement:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Parse, execute, and fetch counts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· CPU and elapsed times&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Physical reads and logical reads&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Number of rows processed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Misses on the library cache&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;42. What does so_picking_batches contain?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A user-defined group of pickslips for  orders that you release for picking all at once. You create picking  batches when you release your orders for shipping. For example, a batch  can contain all shipments for a specific warehouse, or all priority  shipments regardless of warehouse.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_picking batches contains picking batch  name and other information depends on the values entered on pick release  screen from the following fields like warehouse, customer,  sub-inventory, order etc. user may enter combination of these values and  create a picking batch. Which in turn will fire an concurrent program  which populates the so_picking_headers, so_picking_lines,  so_picking_line_details tables and prints picking slips for the batch.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;43. How do you call a flex-field from a  report?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;44. What  all reports have you customized in OE?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Printing sales orders in European  languages.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;45. Mention any report customization you  have done?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;46. How  do you register a report?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Create the Executable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. Create concurrent program&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.1 Assign the executable, which you have created.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.2 Create the parameters to be passed to  the report.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.3 Attach value  set to each and every parameter. If value set not there you have to  create one.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.4 List  incompatible program if any.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;47. What is a responsibility?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Use this form to define a responsibility. A  responsibility determines how much of an application&#39;s functionality a  user can use, what reports and concurrent programs the user can run, and  which applications&#39; data those reports and concurrent programs can  access.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;48. How do you  create a responsibility?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Navigate Security Responsibility Define&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. Specify the application in which you want  to create responsibility.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.  Specify the data group by which user will login to database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. Specify the main Menu which user will  see on the screen.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4.  Specify the first screen user would see after the successful login.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. Assign the report security group which  decides which reports user has access to.(Optional)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;49. What tables does demand interface  update?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_DEMAND_INTERFACE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;50. What is canvas?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Canvas-views are the background objects on  which you place the interface items (text items, check boxes, radio  groups, etc.) and boilerplate objects (boxes, lines, images, etc.) that  operators interact with as they run your form. Each canvas-view is  displayed in a window.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;51.  How do you transfer data from legacy system to oracle financials?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Transfer the data into ASCII files from  Legacy system.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Upload the  data from the ASCII files into Interface Tables using SQL*loader.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Import the data, which is existing in the  interface tables to the Oracle&#39;s base tables after necessary  validations.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;53. What  are lexical parameters?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Lexical references are placeholders for text that you embed in a  SELECT statement. You can use lexical references to replace the clauses  appearing after SELECT, FROM, WHERE, GROUP BY, ORDER BY, HAVING,  CONNECT BY, and START WITH.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Rules:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. You  cannot make lexical references in a PL/SQL statement.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. If a column or parameter is used as a  lexical reference in a query, its data type must be Character.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. If you want to use lexical references in  your SELECT clause, you should create a separate lexical for each  column you will substitute. In addition, you should assign an alias to  each lexical reference. This enables you to use the same layout field  and boilerplate label for whatever value you enter for the lexical on  the Runtime Parameter Form. See the example below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. If you use lexical references in your  SELECT clause, you must specify the same number of items at runtime as  were specified in the report&#39;s data model. In addition, each value you  specify for your lexical references at runtime must have the same data  type as its Initial Value. Look at the example below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. An Oracle Reports link should not depend  upon a lexical reference. That is, neither the child column of a link  or its table name should be determined by a lexical reference. To  achieve this functionality, you need to create a link with no columns  specified and then enter the SQL clause (e.g., WHERE) for the link  directly in the query. For example, your parent and child queries might  be written as follows:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Parent  Query: SELECT DEPTNO FROM EMP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Child Query: SELECT &amp;amp;PARM_1 COL_1, &amp;amp;PARM2 COL_2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FROM EMP&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHERE &amp;amp;PARM_1 = :DEPTNO&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note how the WHERE clause makes a bind  reference to DEPTNO, which was selected in the parent query. Also, this  example assumes that you have created a link between the queries in the  Data Model editor with no columns specified.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6. A lexical reference cannot be used to  create additional bind variables after the After Form trigger fires. For  example, suppose you have a query like the following (note that the  WHERE clause is replaced by a lexical reference):&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT ENAME, SAL FROM EMP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&amp;amp;where_clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If the value of the WHERE_CLAUSE parameter  contains a reference to a bind variable, you must specify the value in  the After Form trigger or earlier. You would get an error if you  supplied the following value for the parameter in the Before Report  trigger:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHERE SAL =  :new_bind&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you  supplied this same value in the After Form trigger, the report would  run.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Following are some  examples of lexical references:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT Clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT  &amp;amp;P_ENAME NAME, &amp;amp;P_EMPNO ENO, &amp;amp;P_JOB ROLE FROM EMP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;P_ENAME, P_EMPNO, and P_JOB can be used to  change the columns selected at runtime. For example, you could enter  DEPTNO as the value for P_EMPNO on the Runtime Parameter Form. Note that  in this case, you should use aliases for your columns. Otherwise, if  you change the columns selected at runtime, the column names in the  SELECT list will not match the Oracle Reports columns and the report  will not run.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FROM  Clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT ORDID,  TOTAL FROM &amp;amp;ATABLE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ATABLE  can be used to change the table from which columns are selected at  runtime. For example, you could enter ORD for ATABLE at runtime. If you  dynamically change the table name in this way, you may also want to use  lexical references for the SELECT clause (look at the previous example)  in case the column names differ between tables.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHERE Clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT ORDID, TOTAL FROM ORD WHERE &amp;amp;CUST&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CUST can be used to restrict records  retrieved from ORD. Any form of the WHERE clause can be specified at  run-time.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GROUP BY  Clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT  NVL(COMMPLAN, DFLTCOMM) CPLAN, SUM(TOTAL) TOTAL FROM ORD GROUP BY  &amp;amp;NEWCOMM&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The value  of NEWCOMM can be used to define the GROUP BY clause.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;HAVING Clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT CUSTID, SUM(TOTAL) TOTAL FROM ORD  GROUP BY CUSTID HAVING &amp;amp;MINTOTAL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The value of MINTOTAL could, for example, be  used to select customers with a minimum total of orders.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ORDER BY Clause&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT ORDID, SHIPDATE, ORDERDATE, TOTAL  FROM ORD ORDER BY &amp;amp;SORT&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The value of SORT can be used to select SHIPDATE, ORDERDATE,  ORDID, or any combination as the sort criterion. It could also be used  to add on to the query, for example to add a CONNECT BY and START WITH  clause.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CONNECT BY and  START WITH Clauses&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Parameters  in CONNECT BY and START WITH clauses are used in the same way as they  are in the WHERE and HAVING clauses.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Multiple Clauses&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT &amp;amp;COLSTABLE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;COLSTABLE could be used to change both the  SELECT and FROM clauses at runtime. For example, you could enter DNAME  ENAME, LOC SAL FROM DEPT for COLSTABLE at runtime.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT * FROM EMP &amp;amp;WHEREORD&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHEREORD could be used to change both the  WHERE and ORDER BY clauses at runtime. For example, you could enter  WHERE SAL &amp;gt; 1000 ORDER BY DEPTNO for &amp;amp;WHEREORD at runtime.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PL/SQL and SQL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT &amp;amp;BREAK_COL C1, MAX(SAL) FROM EMP  GROUP BY &amp;amp;BREAK_COL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BREAK_COL  is used to change both the SELECT list and the GROUP BY clause at  runtime. The Initial Value of the parameter &amp;amp;BREAK_COL is JOB. At  runtime, the user of the report can provide a value for a parameter  called GROUP_BY_COLUMN (of Data type Character). In the Validation  Trigger for GROUP_BY_COLUMN, you call the following PL/SQL procedure and  pass it the value of GROUP_BY_COLUMN:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;procedure conv_param (in_var IN char) is&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;if upper(in_var) in (&#39;DEPTNO&#39;,&#39;EMPNO&#39;,&#39;HIREDATE&#39;) then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;:break_col := &#39;to_char(&#39;in_var&#39;)&#39; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;:break_col := in_var;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;end if;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This PL/SQL ensures that, if necessary, a  TO_CHAR is placed around the break column the user chooses. Notice how  in SQL, you make a lexical reference to BREAK_COL. In PL/SQL, you must  make a bind reference to BREAK_COL because lexical references are not  allowed in PL/SQL.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;54.  How do I populate a POPlist with a record group at runtime?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Syntax:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;POPULATE_LIST(list_id, recgrp_id);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;POPULATE_LIST(list_id, recgrp_name);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;POPULATE_LIST(list_name, recgrp_id);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;POPULATE_LIST(list_name, recgrp_name);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Built-in Type&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unrestricted procedure&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Query Mode: yes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Description:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Removes the contents of the current list and  populates the list with the values from a record group. The record  group must be created at runtime and it must have the following two  column (CHAR) structure:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Column  1: Column 2:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The list  label the list value&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Parameters:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;List_id Specifies the unique ID that Oracle  Forms assigns when it creates the list item. Use the FIND_ITEM built-in  to return the ID to an appropriately typed variable. The data type of  the ID is ITEM.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;list_name  The name you gave to the list item when you created it. The data type  of the name is CHAR.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;recgrp_id  Specifies the unique ID that Oracle Forms assigns when it creates the  record group. The data type of the ID is RecordGroup.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;recgrp_name The CHAR name you gave to the  record group when you created it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Usage Notes:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;·  Do not use the POPULATE_LIST built-in if the Other Values property is  defined and there are queried records in the block. Doing so may cause  Oracle Forms to be unable to display records that have already been  fetched.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For example,  assume that a list item contains the values A, B, and C and the Other  Values property is defined. Assume also that these values have been  fetched from the database (a query is open). At this point, if you  populate the list using POPULATE_LIST, an error will occur because  Oracle Forms will attempt to display the previously fetched values (A,  B, and C), but will be unable to because these values were removed from  the list and replaced with new values.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Before populating a list, close any open  queries. Use the ABORT_QUERY built-in to close an open query.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Restrictions:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;POPULATE_LIST returns error FRM-41337:  Cannot populate the list from the record group if:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· The record group does not contain either  the default value element or the other values element and the list does  not meet the criteria specified for deleting these elements with  DELETE_LIST_ELEMENT. Refer to the restrictions on DELETE_LIST_ELEMENT  for more information.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· The  record group contains an other value element but the list does not meet  the criteria specified for adding an other value element with  ADD_LIST_ELEMENT. Refer to the restrictions on ADD_LIST_ELEMENT for more  information.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;/*&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Built-in: POPULATE_LIST&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Example: Retrieves the values from the current list item&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Into record group one, clears the list,  and&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Populates the list  with values from record group&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Two when a button is pressed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Trigger: When-Button-Pressed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BEGIN&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Retrieve_List(list_id,  &#39;RECGRP_ONE&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Clear_List(list_id);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Populate_List(list_id, &#39;RECGRP_TWO&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;END;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;55. How do I call reports from forms?&lt;br /&gt;
56.  What are various parameters of Run_product built-in?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RUN_PRODUCT(product, document, commmode,  execmode, location,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;list,  display);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RUN_PRODUCT(product,  document, commmode, execmode, location,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;name, display);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Parameters:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;product Specifies a numeric constant for the  Oracle product you want to invoke: FORMS specifies a Runform session.  GRAPHICS specifies Oracle Graphics. REPORT specifies Oracle Reports.  BOOK specifies Oracle Book.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Document Specifies the CHAR name of the document or module to be  executed by the called product. Valid values are the name of a form  module, report, Oracle Graphics display, or Oracle Book document. The  application looks for the module or document in the default paths  defined for the called product.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Commmode Specifies the communication mode to be used when  running the called product. Valid numeric constants for this parameter  are SYNCHRONOUS and ASYNCHRONOUS.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SYNCHRONOUS specifies that control returns to Oracle Forms only  after the called product has been exited. The operator cannot work in  the form while the called product is running.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ASYNCHRONOUS specifies that control returns  to the calling application immediately, even if the called application  has not completed its display.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;execmode Specifies the execution mode to be used when running  the called product. Valid numeric constants for this parameter are BATCH  and RUNTIME. When you run Oracle Reports and Oracle Graphics, execmode  can be either BATCH or RUNTIME. When you run Oracle Forms, always set  execmode to RUNTIME.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Location  Specifies the location of the document or module you want the called  product to execute, either the file system or the database. Valid  constants for this property are FILESYSTEM and DB.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;List or name Specifies the parameter list to  be passed to the called product. Valid values for this parameter are  the CHAR name of the parameter list, the ID of the parameter list, or  NULL. To specify a parameter list ID, use a variable of type PARAMLIST.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note: You can pass text parameters to  called products in both SYNCHRONOUS and ASYNCHRONOUS mode. However,  parameter lists that contain parameters of type DATA_PARAMETER (pointers  to record groups) can only be passed to Oracle Reports and Oracle  Graphics in SYNCHRONOUS mode. (SYNCHRONOUS mode is required when  invoking Oracle Graphics to return an Oracle Graphics display that will  be displayed in a form chart item.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note: You can prevent Oracle Graphics from  logging on by passing a parameter list that includes a parameter with  key set to LOGON and value set to NO.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note: You cannot pass a DATA_PARAMETER to a  child query in Oracle Reports. Data passing is supported only for master  queries.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;display  Specifies the CHAR name of the Oracle Forms chart item that will contain  the display (such as a pie chart, bar chart, or graph) generated by  Oracle Graphics. The name of the chart item must be specified in the  format block_name.item_name. (This parameter is only required when you  are using an Oracle Graphics chart item in a form.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Add_Parameter(pl_id,&#39;EMP_QUERY&#39;,DATA_PARAMETER,&#39;EMP_RECS&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;** Run the report synchronously, passing the parameter list&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Run_Product(REPORTS, &#39;empreport&#39;, SYNCHRONOUS, RUNTIME,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FILEYSTEM, pl_id, NULL);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;57. If the first field of a form is  required, and I want to tab out without entering any value, how do I do  that?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For user:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Press Shift + Tab, it allows to navigate  out of the required current field.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For developer:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;VALIDATE(validation_scope);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Built-in Type: unrestricted procedure&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Query Mode: yes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Description:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;VALIDATE forces Oracle Forms to immediately  execute validation processing for the indicated validation scope.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Parameters:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;validation scope Specify one of the  following scopes:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;DEFAULT_SCOPE  Perform normal validation for the default scope, determined by the  runtime platform.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note:  If you change the scope via SET_FORM_PROPERTY(VALIDATION UNIT) and then  call VALIDATE(DEFAULT_SCOPE), you will override the default scope as  defined in the form module. In this case, Oracle Forms will not validate  at the default scope but at the scope defined by SET_FORM_PROPERTY.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FORM_SCOPE Perform normal validation for  the current form.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BLOCK_SCOPE  Perform normal validation for the current block.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RECORD_SCOPE Perform normal validation for  the current record.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ITEM_SCOPE  Perform normal validation for the current item.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;58. What is a complex report you have done?&lt;br /&gt;
&lt;br /&gt;
59.  What are the prerequisites of a Matrix report?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Data Model Requirements You must have a  matrix, nested matrix, or matrix break data model. The data model must  have at least four groups, one of which must be a cross product group.  For more information, see Building Reports Manual.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Note: For data models that require a break  group, you should create the break group before creating the  cross-product group. If the cross-product group already exists, delete  it, create the break group(s), and then recreate the cross-product  group.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Matrices and  Summaries # When creating summaries that will appear within the matrix,  the summary must be owned by the cross product group and must have  Product Order specified. Oracle Reports uses the Product Order to  determine where to place the fields for the summaries in the layout.  (Note that summaries owned by the cross-product group cannot have a  Reset At or Compute at of Page or rely on columns that do.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Default Layout Requirements You must select  the cross product group, and at least two of the groups inside of it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Matrix Report Defaulting&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This section is divided into six sections:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Matrix defaulting without summaries&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Matrix defaulting with summaries&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Nested matrix defaulting without  summaries&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Nested matrix  defaulting with summaries&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;·  Matrix break defaulting without summaries&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Matrix break defaulting with summaries&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Matrix Defaulting without Summaries&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Assume you only have one group tree, you  selected the cross product group, two groups inside of it, and one group  below it. Assume that each group contains one column.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Generated Objects: Your Layout editor will  contain the following objects:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;B_columnname For the label of each selected column in the  Default Layout dialog box. (B_ implies it is a boilerplate object.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;F_columnname For each column that you  selected in the Default Layout dialog box. (F_ implies it is a field.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;R_groupname For each group that you  selected in the Default Layout dialog box. (R_ implies it is a repeating  frame.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;M_groupname_HDR  For each group that you selected in the Default Layout dialog box. (M_  implies it is a frame; HDR implies it is a header frame. M_groupname_HDR  is used to protect field labels from being overwritten by other objects  in the report.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;X_groupname  For each pair of repeating frames that intersect to form the matrix. By  multiplying the number of across dimensions by the number of down  dimensions, you can calculate the number of matrix objects created. In  this case, one dimension going down multiplied by one dimension going  across yields one matrix object.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;60. How do I call a backend stored procedure  from forms?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Just call  the stored procedure in forms by its name and passing required  parameters.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;61. How do  I handle stored Procedure errors from forms?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If error not handled in SP then error will  propagate in forms.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. If u  know the error then display appropriate message in on-error.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. If u don’t know the error, then get  error code and text which oracle gives DBMS_ERROR_CODE, DBMS_ERROR_TEXT  and display the contents.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;62. If I am calling a report from forms &amp;amp; if the report  query is ‘select * from emp’ and dynamically at runtime I want to change  it to ‘select * from dept’ can I do it? How?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Yes, it is possible.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1) The data model should be prepared in the  most generic format possible i.e. using lexical parameters like  &amp;amp;QUERY. For ex. Select maximum number of dummy columns with fixed  column aliases from dual should be the default value for the lexical  parameter “QUERY”.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2) After  accepting the report query from the user through a user parameter (say  RQ).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3) Write a code in  either After parameter form OR Before report triggers to extract table  name (say TN) from RQ. Query up the columns from the data dictionary  (table ‘COL’)for the table name TN.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4) Build the report query using the column names that are  queried up and the table name that is extracted. Don’t forget to add the  fixed column aliases that were used to form the data model. Apply the  to_char function to all those non character fields that are part of the  report query.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5) Pass the  newly built report query to the data model via the lexical parameter  “QUERY”.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6) The following  are the limitations:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) The  number of columns in the report layout is limited by the maximum number  of columns for which the data model is designed and the report lay out  is painted.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;b) The tedious  hard coding part involved in building the new query for the report in  either of the 2 After parameter form OR Before report triggers.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;63. If we have same triggers at multiple  levels i.e. Form, Block and Item then what is the default order of  firing the triggers?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1.  Item&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. Block&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. Form&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;64. What triggers get fired first?  When-new-form-instance or when-new-item-instance?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. When-new-form-instance&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. When-new-item-instance&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;65. What all AOL features have you used?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;66. What all steps have to be done if I  have to add a Quick Pick to a form, register it and run it in Oracle  financials Application?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1) Get the registered form from the top directory and add a  couple of steps in the FND_STARTUP trigger of the form. The steps are as  follows:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) Define an LOV.  E.g.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;#FND FKEY  DEFINE_LISTVAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SQL=&quot;SELECT  LOOKUP_CODE, MEANING \&quot;Unit of Measure \&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO :ORDER_LINE.UNIT_OF_MEASURE,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;:ORDER_LINE.UNIT_OF_MEASURE_MEANING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FROM OE_LOOKUPS WHERE LOOKUP_TYPE =&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&#39;UNIT_OF_MEASURE&#39; AND&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOOKUP_CODE IN (SELECT UNIT_OF_MEASURE FROM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;OE_PRODUCT_PRICES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHERE PRODUCT_ID = :ORDER_LINE.PRODUCT_ID)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;COLUMN=&quot;\&quot; Unit of Measure \&quot;(15)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOVNAME=&quot;UOM_QP&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;b) attach it to the Field as one of the  steps in FND_STARTUP trigger.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;#FND FIELD_INFO&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ZONENAME=&quot;ORDER_LINE&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FIELDNAME=&quot;UNIT_OF_MEASURE&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOVNAME=&quot;UOM_QP&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) Add a new trigger defining a customized LOV.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;XXX_QP (or an unnamed step of your  form-level EasyForm declaration trigger at form level)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;where XXX are three or more characters you  choose&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create user  defined trigger as follows :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Syntax,  Step 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;#FND FKEY  DEFINE_LISTVAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOVNAME=”list_of_values_name&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SQL=&quot;SQL select statement&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[QVALIDATION=&quot;SQL logic for query  validation&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[EVALIDATION=&quot;SQL  logic for entry validation&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;COLUMN=&quot;column1(length), column2(length),...&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[FLDNAME=&quot;:block.reference_field&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[TITLE=&quot;{title text*application  shortname:message name}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[HEADING=&quot;{heading1(length),  heading2(length),...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;*application  shortname:message nameN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[CACHE=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[MATCH=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[LONGLIST=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[SKIP=&quot;{012...}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[AUTOPICK=&quot;{YNFORCE_YESFORCE_NO}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[WINDOW=&quot;xorigin, yorigin, width, height&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Add a FND_LISTVAL trigger specifying your  LOVNAME with the field to which it has to be attached to, at item level  as follows :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;#FND FKEY  LISTVAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FLDNAME=&quot;:first_block.ename&quot;  LOVNAME=&quot;LOV1&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;c) Add  FND_FKEY trigger calling #EXEMACRO EXETRG “user trigger name” this  trigger is called from a form level standard PRE_FIELD trigger. This  FND_FKEY trigger queries and fetches data based on the LOV definition  and lights up the PICK lamp in the message line. This FND_FKEY should be  at item level.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;d) Register  the form. Responsibility “Application Developer” and the navigation path  is \Navigate Application Form Register&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;67. How do I attach a form to my own menu?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;\Navigate Application Menu&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Specify application name, menu name and move  to next zone. For a menu item attach a object, specify TYPE as FORM.  Specify under which application the form is registered into and Save  changes.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;68. Tell any  complex report you have developed?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;69. What all features of reports have you  incorporated in your report?&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;70. Tell any complex form you have developed?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;71. What all features of forms you have  incorporated in your form?&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;72. What all are steps required to pass a flex field as a  parameter to a report?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A  value set of validation type special or pair has to be created, in  which we have to actually invoke the flex field. Then when you specify  report parameters in concurrent program definition, specify the value  set which is to be used for parameter validation. Depending on the value  set you use for validation, flex field popup will appear. Parameters  are passed to the report as a string. APPS in-built user exit will  interpret the string and will return a formatted WHERE CLAUSE in form of  a lexical parameter which we have to attach to the query.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;73. What technical features  (non-functional) have you practically used in Oracle Applications?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Context sensitive help, zoom, quickpick,  quickcode, descriptive flex-field, report sets, menu creation,  responsibility, concurrent program, registering tables, columns, forms,  report, executable&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;74.  What is pick release? Which tables are used in pick release?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Pick Release is an order cycle action to  notify warehouse that orders are ready for picking. Picking is a process  of withdrawing items from inventory to be shipped to the customer.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Tables used are&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PICKING_HEADER,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PICKING_LINES,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PICKING_LINE_DETAILS,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PICKING_BATCHES,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;75. How do you release back ordered items?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Backorder is unfulfilled customer order or  commitment. When you pick release an order there is a field for  backorder if you specify backorder to INCLUDED or ONLY the back order  quantity will be picked for shipment.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This value can be either of following :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Include Releases all backordered order  lines that meet your criteria and then all unreleased order lines that  meet your criteria.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Exclude  Releases all unreleased order lines that meet your criteria (excluding  backorders).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Only  Releases only backordered lines that meet your criteria.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unfulfilled order line details which have  failed to be released at least once by Pick Release or have been  backordered by Ship Confirm.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;76. What is stored in SO_PICKING_BATCHES?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Stores batch information for the orders,  which are due for pick release. It stores item id, warehouse,  sub-inventory, shipment method, shipment priority, ship set no, order  type, etc.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;77. Which  tables stored order holds information?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Tables storing hold information are&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_HOLDS,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_HOLD_AUTHORIZATION,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_HOLD_RELEASES,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_HOLD_SOURCES_ALL,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_ORDER_HOLDS_ALL&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;78. How do you modify descriptive flex  field?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. For changing  segments of descriptive flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;From AOL select&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;\Flex-field  descriptive segments&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You  have to UN-FREEZ flex-field and then change the segments. Once you are  through with modifications, set it back to FREEZ. This will fire a  concurrent request which will in turn change the descriptive flex field  to reflect the changes.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.  For changing value sets attached to flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;\Flex-field descriptive values.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Specify the application, form, zone,  flex-field name and change value sets in the next zone. Save the screen  to reflect the new value set.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;79. How does explain plan inform that a particular index be used  for query execution?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You  can pass hint for the optimizer to use the specified index. Hint is  passed in the SQL as /* hint */ where hint is the index name to be used.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;80. Name the table where demand interface  data is stored?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Please  refer to question No 48&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;81. How to register a form, reports?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Refer to question 46 and 27 to 30 for  answer.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;82. Where will  you keep host source code?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;$APPL_TOP/bin&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;83.  What is flex field?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Flex-field  An Oracle Applications field made up of segments. Each segment has an  assigned name and a set of valid values. Oracle Applications uses  flex-fields to capture information about your organization. There are  two types of flex-fields: key flex-fields and descriptive flex-fields.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;84. What is segment qualifier?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Segment Qualifier&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A segment qualifier identifies a particular  type of value in a single segment of a key flex-field. In the Oracle  Applications, only the Accounting Flex-field uses segment qualifiers.  You can think of a segment qualifier as an &quot;identification tag&quot; for a  value. In the Accounting Flex-field, segment qualifiers can identify the  account type for an account segment value, and determine whether detail  posting or budgeting are allowed for a particular value.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;It is easy to confuse the two types of  qualifiers. You should think of a flex-field qualifier as something the  whole flex-field uses to tag its pieces, and you can think of a segment  qualifier as something the segment uses to tag its values.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;85. What are global segments?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Descriptive flex fields have two different  types of segments, global and context-sensitive, that you can decide to  use in a descriptive flex field structure. A global segment is a segment  that always appears in the descriptive flex field pop-up window,  regardless of context (any other information in your form).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;86. What are context sensitive segments?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Descriptive flex fields have two different  types of segments, global and context-sensitive, that you can decide to  use in a descriptive flex field structure. A context-sensitive segment  is a segment that may or may not appear depending upon what other  information is present in your form.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;87. How to implement flex fields in forms,  name the triggers and user exits?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For inserting data for a Flex-Field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) Trigger KEY_PREFIELD calls POPID user  exit for invoking flex field. This is written at the field level.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;b) Triggers FND_PRE_INSERT and /or  FND_PRE_UPDATE calls VALID user-exit for validating the user entered  flex field. These are written at the block level.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For queried data for a Flex-field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) Trigger FND_PRE_QUERY calls POPID user  exit for invoking flex field window and FND_POST_QUERY calls LOADID user  exit for loading segment descriptions when user Queries.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;88. Why is FND CURRENCY used in reports?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;It is FND FORMAT_CURRENCY user exit for a  report, which displays mixed currency values. Information about the  radix character and thousands separator are determined from the location  of the user. The special display for negative and positive currency  values is specified by two profile options. Hence, a report can appear  differently depending upon the location of the user and the profile  options values set.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;In  Germany the radix character and thousand separator are switched from the  US counterpart. The negative numbers display in parentheses () or angle  brackets &amp;lt;\&amp;gt; depending upon the user&#39;s preference.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;NOTE: It does not convert one currency into  another but just formats the amounts as per location.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;89. What is the difference between quick  pick and quick code?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Overview  of QuickPick and QuickCodes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;QuickPick is a powerful Oracle Application Object Library  feature that makes your users more productive by letting them enter data  in shorthand form and by ensuring that they enter valid data. QuickPick  also makes it easy for you to create foreign key relationships in your  forms. You can design more intuitive forms by displaying descriptive  names and hiding internal identifiers. For example, when entering the  sales representative responsible for a client, your user can enter the  representative&#39;s name, instead of the representative&#39;s employee ID or  some other identifying code.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can also use QuickPick to enforce separate validation rules  for data entry and data query. For example, you can specify that when  entering a currency name, your user can only chose from currency names  that are enabled and currently active. When querying data, you users  sees all enabled and disabled currency names.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you define a QuickPick on a field, your  form displays a PICK lamp to show your user that QuickPick is available.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;QuickCodes let you define general purpose,  static lists of values for form fields. QuickCodes allow you to base  your program logic on codes while displaying user-friendly names in a  QuickPick window. QuickCodes simplify name and language changes by  letting you alter the names your users see, while the codes in your  underlying forms and programs remain unchanged.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;QuickCodes share all the powerful features  of QuickPick, such as AutoSelection and AutoReduction. QuickCodes also  use separate validation criteria for data entry and data query, although  for QuickCodes this validation happens automatically, based on start  and end dates and an enabled flag.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;From your end user&#39;s point of view, a  QuickCodes field looks and acts just like a QuickPick field. However,  due to the static nature of QuickCodes lists of values, Oracle  Application Object Library processes them up to ten times faster than  ordinary QuickPick lists, resulting in improved performance for your  users.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For example,  suppose your form contains several fields that accept the values Yes and  No. Instead of writing triggers that explicitly check for each of these  values (and their partial values like Y or N), you can write QuickCodes  triggers that refer to the QuickCodes type YES_NO. If your end user  enters Yes or No (or their partial values), QuickCodes returns a code to  your form to indicate the value entered.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can also use QuickCodes on fields that  accept longer lists of values, such as U.S. state names. Your end users  can add values to lists you define. Your end users can also specify a  starting date, an ending date, and whether a particular QuickCodes value  is enabled.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;There are  two types of QuickCodes. Some QuickCodes are shared among several  applications, and are always pre-seeded. We recommend you do not create  new QuickCode types for the pre-seeded QuickCodes. You can maintain  these QuickCodes using the Define QuickCodes form.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Special QuickCodes, which are maintained  from the Define Special QuickCodes form, allow you to create new  QuickCode types. In this chapter, we discuss maintaining and developing  Special QuickCodes, usually referred to simply as QuickCodes.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;90. What is auto reduction?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AutoReduction automatically shortens the  list to only those values beginning with the character(s) your users  type.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;91. What are  special triggers created in the form when you register it?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Refer question 27-30.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;92. How will you display a message in the  form that you have modified for testing the form?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;93. How can you see the global parameter  values in the form without coding?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You should have developer menu to do this.  You have a Examine option which lists all form level, system level and  global variables. You can see values of all of them without coding for  it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;94. How to debug  the form?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You should  have developer menu to do this. There is an option to set Debugger On  and Off. It will show you which trigger is getting fired and you can  debug the relevant trigger.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;95. What was the structure of accounting flex field in your  previous project?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Company&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Region&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Cost Center&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Account&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Product&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sub-account&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;96.  What is balancing segment?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Balancing segment An Accounting Flex-field segment that you  define so that Oracle General Ledger automatically balances all journal  entries for each value of this segment. For example, if your company  segment is a balancing segment, Oracle General Ledger ensures that,  within every journal entry, the total debits to company 01 equal the  total credits to company 01.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;97. What is cost center segment?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;It is a segment qualifier. A segment  qualifier identifies a particular type of value in a single segment of a  key flex-field. In the Oracle Applications, only the Accounting  Flex-field uses segment qualifiers. You can think of a segment qualifier  as an &quot;identification tag&quot; for a value. In the Accounting Flex-field,  segment qualifiers can identify the account type for an account segment  value, and determine whether detail posting or budgeting, are allowed  for a particular value.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;98. Can you have two accounting flex fields in AR?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Yes, you can have as many accounting flex  fields as you wish. But, then you have to define one set of books per  accounting flex field.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;99.  What are on-account sales credits?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;On account: Payments where you intentionally  apply all or part of the payment amount to a customer without reference  to an debit item. On-account examples include prepayments and deposits.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;On account credits: Credits that you assign  to your customer&#39;s account that are not related to a specific invoice.  You can create on account credits in the Enter Credit Memos form or  through AutoInvoice.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;100.  What is customer merging?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can merge the business purposes of two different customers  in order to assign all transactions to a new customer, or you can merge  business purposes for the same customer. Oracle Receivables  automatically generates a report after you merge customer information to  allow you to review the details of your merge.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;101. What happens when you complete an  invoice?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You complete  an invoice by entering yes in this field. If you only have partial  information for the invoice you can always go back to enter more  information to complete your invoice.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Oracle Receivables performs several  validation tests before it allows you to set the Complete field to Yes  for an invoice:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_  Invoice contains at least one line or has freight at the header level.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Invoice date is within active date ranges  of parameters&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Each  invoice line amount must equal the sum of it&#39;s distributions&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ GL date must fall within an open or  future-enterable accounting period&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Invoice Amount sign adheres to the value  that you specified for the Creation Sign field of the transaction type  for this invoice&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you  are entering an invoice against a commitment:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Invoice date is equal to or later than the  transaction date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_  Invoice&#39;s GL date is equal to or later than the commitment&#39;s GL date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you have assigned an automatic payment  method to an invoice:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_  Specified a customer bank&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Specified a customer bank branch&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Specified a customer bank account&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you assign an invoicing rule to an  invoice:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Each invoice  line has an accounting rule&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Each invoice line has a rule start date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Invoice and tax lines of an invoice have  account sets&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you do  not assign an invoicing rule to an invoice:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Revenue accounts exist for all of the  invoice and tax lines&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_  Accounts on the Account Assignments are valid Flexfield combinations&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If Tax Calculation is set to Yes:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;_ Each line has a tax line except charges  lines&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;When you complete  an invoice whose transaction type has Open Receivables set to Yes,  Oracle Receivables displays the invoice on your agings. If you change  the transaction type of a completed invoice where Open Receivables is  set to No, Oracle Receivables no longer displays the invoice on your  agings.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you update a  completed invoice by changing values on which AutoAccounting depends,  and AutoAccounting fails, Oracle Receivables displays a warning message  and changes this field back to No.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you update a completed invoice by  changing values on which tax calculation depends, and tax calculation  fails, Oracle Receivables displays a warning message and changes this  field back to No.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Oracle  Receivables also lets you delete incomplete invoices if you enter Yes  in the Allow Delete field of the System Options form.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;102. What all things are stored in  RA_CUSTOMER_TRX?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The  RA_CUSTOMER_TRX table stores invoice, debit memo, commitment and credit  memo header information. Each of these transactions is stored as a  unique record, based on the primary key, customer_trx_id. The  transaction number, transaction date and billing customer are stored in  the trx_number, trx_date and bill_to_customer_id columns, respectively.  Additional information stored in this table includes ship-to customer,  document sequence number, currency code and a transaction complete flag.  The transaction type for the invoice is stored in the RA_CUST_TRX_TYPES  table, but can be referenced via the foreign key cust_trx_type_id.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;103. What are charge backs?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Charge-back is a new debit item that you  assign to your customer when you close an existing, outstanding debit  item.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;104. What is  lock box?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;105. What  is address validation?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For  each address style you can define country specific validation which  controls the information you enter in certain address elements. For  example, you may want to restrict the entry of cities for French  addresses to a predefined list, or you may want to restrict a postal  code to a certain range of numbers. Oracle Applications allow you to  define your own country specific validation. Validation can take the  form of a simple quickpick or a complex parent-child relationship  between address elements.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;106. What is finance charge?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Finance charges are additional charges that  you assign to your customers for past due items. You specify whether you  want to charge your customers finance charges through their customer  profiles. Finance charges can be included on your customer&#39;s statements  and dunning letters.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;107.  How AR and OE related?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Orders are entered through OE module. Once order is Ship  Confirmed i.e. material is delivered to customer, receivable interface  is run. This interface ports data from OE to AR tables. AR enables to  chase customer for payments. Various kinds of reports are produced. Data  remains in AR till Invoice is paid off and then data is passed on to  GL.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;108. What is  credit memo and debit memo?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Ref. Question 20, 21.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;109. What is the link between CM and invoice (column name)?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Invoice and CM both go in ra_customer_trx  table. CM record will have customer_trx_type_id of credit memo (in  training database its set to 1002). This CM record will store the  trx_number of Invoice record in previous_customer_trx_number.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Eg.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Invoice record trx_number = 1000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CM record trx_number = 1020086  previuos_customer_trx_number = 1000&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;110. What is set of books?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Set of books A company or group of  companies within Oracle General Ledger that shares a common Accounting  Flex-field structure, calendar and functional currency.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;111. How to find overdue invoices?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can find out overdue invoices by firing  an aging report. Define aging buckets to list invoices in different  buckets like 30 days overdue, 60 days overdue, 90days overdue etc.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;112. List the key flex fields in AR?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Territory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sales tax location&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;113. Which is the parameter set to validate  key flex field value?&lt;/strong&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Syntax&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;#FND {POPIDLOADIDVALID}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CODE=&quot;flexfield code&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;APPL_SHORT_NAME=&quot;application_short_name&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;VALIDATE=&quot;{FULLPARTIALNONEQUERY}&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SEG=&quot;block.concatenated values field name&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[BLOCK=&quot;block_name&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[FIELD=&quot;field_name&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[DERIVED=&quot;:block.field\nSegment qualifier&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[READ_ONLY=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[DINSERT=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[WINDOW=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[ID=&quot;block.unique ID field&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[REQUIRED=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[DISPLAY=&quot;{ALL flexfield qualifier&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;segment number}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[UPDATE=&quot;{ALL flexfield qualifier&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;segment number}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[INSERT=&quot;{ALL flexfield qualifier&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;segment number}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[DATA_FIELD=&quot;concatenated hidden IDs field&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[DESC=&quot;block.concatenated description field  name&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[TITLE=&quot;window  title&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[VDATE=&quot;date&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[NAVIGATE=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[AUTOPICK=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[NUM=&quot;:structure defining field&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[COPY=&quot;:block.field\n{ALL flexfield  qualifier}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[VRULE=&quot;flexfield  qualifier\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;segment  qualifier\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;{I[nclude]E[xclude]}\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;NAME=Message Dictionary message name\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;validation value1\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;validation value2...&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[VALATT=&quot;:block.field\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;flexfield qualifier\n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;segment qualifier&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[USEDBFLDS=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[COLUMN=&quot;{column1(n) column1 alias(n)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[, column2(n), ...]}]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[WHERE=&quot;where clause&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[SET=&quot;set number&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[ALLOWNULLS=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[QUERY_SECURITY=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[QBE_IN=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[LONGLIST=&quot;{YN}&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;[NO_COMBMSG=&quot;MESG_NAME&quot;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;114. What is dunning letter?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A letter that you send to your customers to  inform them of past due debit items. Oracle Receivables lets you  specify the text and format of each letter. You can choose to include  unapplied and on-account payments.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;115. What is profile?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Profile is a set of optional/mandatory  parameters, which a user can set, which decide the way Oracle  applications work.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;116.  What is concurrent program?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;It is a unique facility that manages many time-consuming,  non-interactive tasks within Oracle Applications for you, so you do not  have to wait for their completion. When you submit a request in Oracle  Applications that does not require your interaction, such as releasing  shipments or running a report, the Concurrent Manager does the work for  you, enabling you to complete multiple tasks simultaneously.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;117. What are the inputs for pick release?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;‘Backorders’ &amp;amp; ‘Prior Reservations  Only’ are mandatory fields, rest of them are optional, which include the  following:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) Order Type&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;b) Order Number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;c) Customer Number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;d) Between ‘Request Dates’ and or ‘Schedule  Dates’.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;e) Ware house&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;f) Sub-inventory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;g) Item&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;h) Shipment priority&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;i)  Freight Carrier&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;118.  After which stage you cannot cancel the order?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The Cancel Orders form enforces some  security rules that are not predefined using the Define Security Rules  form. For example, the Cancel Orders form prevents you from cancelling  order line quantities that have been shipped or invoiced, and from  cancelling return line quantities that have been received or credited.  The Cancel Orders form honors security rules that you define for the  Cancel operation that are stricter than these rules, but if you define  any that conflict with these rules, they will be ignored.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;119. Name important tables from OE/AR?&lt;/strong&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Following are the list of some tables in OE  module:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_CYCLES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_ACTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_CYCLE_ACTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_RESULTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_HEADERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_LINESSO_LINE_DETAILS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PRICE_LISTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PRICE_LIST_LINES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PRICE_ADJUSTMENTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_DISCOUNTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_DISCOUNTS_LINES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_PICKING_BATCHESSO_PICKING_HEADERSSO_PICKING_LINES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_LINE_APROVALS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_ORDER_APROVAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SO_CREDIT_CHECK_RULES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Following are the list of some tables in AR  module:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX_LINES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUST_TRX_LINE_GL_DIST&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX_LINE_SALESREPS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_PAYMENT_SCHEDULES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_CUSTOMER_PROFILES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_CUSTOMER_PROFILE_CLASSES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_CASH_RECEIPTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_MISC_CASH_DISTRIBUTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_CASH_RECEIPT_HISTORY&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_RECEIVABLE_APPLICATIONS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;120. Give complete process cycle for OE/AR?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The process cycle for a general OE is as  follows:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ENTER&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BOOK&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;DEMAND INTERFACE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BACK  ORDER RELEASE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PICK RELEASE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SHIP CONFIRM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INVENTORY INTERFACE &amp;amp; RECEIVABLE  INTERFACECOMPLETE LlNECOMPLETE ORDER&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The process cycle for a general OE is as  follows:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Import Invoice  information from legacy system or from OE module (Receivable Interface)  to Autoinvoice the Orders.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter  Receipt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Apply the Invoices  against the receipt received or deposits held or credit memos or  prepayments.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Complete  invoice.&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;121. Name  interface tables in OE/AR?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Oracle Order Entry inserts information into two of the three  AutoInvoice interface tables (RA_INTERFACE_LINES and  RA_INTERFACE_SALES_CREDITS). RA_INTERFACE_DISTRIBUTIONS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Oracle Receivables and Oracle Government  Receivables uses three tables to temporarily store data you transfer  from other systems. These tables are called RA_INTERFACE_LINES_ALL,  RA_INTERFACE_SALESCREDITS_ALL and RA_INTERFACE_DISTRIBUTIONS_ALL. The  fourth table, RA_INTERFACE_ERRORS_ALL is used only by AutoInvoice to  store information about interface data that failed validation. For a  detailed description of each column in these tables, please refer to the  Table and Column Description section.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;122. What tables are hit when an Invoice is  entered?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX_LINES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUST_TRX_LINE_GL_DIST&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RA_CUSTOMER_TRX_LINE_SALESREPS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR_PAYMENT_SCHEDULES&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;123. Name important tables of various  modules?&lt;/strong&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Following are  some of the important tables in AP module:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_INVOICES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_INVOICE_DISTRIBUTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_HOLDS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_PAYMENT_SCHEDULES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_INVOICE_PREPAYS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_CHECKS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_INVOICE_PAYMENTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AP_PAYMENT_DISTRIBUTIONS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Following are some of the important tables  in GL module:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_JE_BATCHES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_JE_HEADERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_JE_LINES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_CODE_COMBINATIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_BALANCES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_IMPORT_REFERENCES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_BUDGETS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_BUDGET_ENTITIES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_BUDGET_ASSIGNMENTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_BUDGET_VERSIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;GL_INTERFACE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Following are some of the important tables  in INV module:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_SYSTEM_ITEMS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_ITEM_ATTRIBUTES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_ITEM_TEMPLATES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_ITEM_TEMPL_ATTRIBUTES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_UNITS_OF_MEASURE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_ITEM_REVISIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_SERIAL_NUMBERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_LOT_NUMBERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_ITEM_CATALOG_GROUPS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_MATERIAL_TRANSATIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_MATERIAL_TRANSATIONS_TEMP&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_ONHAND_QUANTITIES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MTL_DEMAND_INTERTFACE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;125. What you know about SQL*Loader?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SQL*Loader is a utility used for moving  data from external files into the Oracle database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Its syntax is similar to that of the DB2  Load utility, but comes with more options.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;SQL*loader supports various load formats,  selective filters, and multi-table loads.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;One load data into the Oracle database by  using the sqlldr (sqlload on some platforms)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;utility. Look at the following example:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;sqlldr orauser/passwd control=loader.ctl&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This is the control file, loader.ctl:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;load data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;infile *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;replace&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;into table  departments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( dept position  (02:05) char(4),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;deptname  position (08:27) char(20)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;begindata&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;COSC COMPUTER SCIENCE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ENGL ENGLISH LITERATURE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MATH MATHEMATICS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;POLY POLITICAL SCIENCE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Load variable and fix length data records&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;look at the following control file  examples. In the first we will load delimited data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;(variable length):&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOAD DATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INFILE *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE load_delimited_data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FIELDS TERMINATED BY &quot;,&quot; OPTIONALLY ENCLOSED  BY &#39;&quot;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;TRAILING NULLCOLS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( data1,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;data2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BEGINDATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11111,AAAAAAAAAA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;22222,&quot;A,B,C,D,&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If you need to load positional data (fixed  length), look at the following control file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;example:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOAD DATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INFILE *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE load_positional_data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( data1 POSITION(1:5),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;data2 POSITION(6:15)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BEGINDATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11111AAAAAAAAAA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;22222BBBBBBBBBB&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Modify data as it loads into the database:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;look at the following examples:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOAD DATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INFILE *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE modified_data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( rec_no &quot;my_db_sequence.nextval&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;region CONSTANT &#39;31&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;time_loaded &quot;to_char(SYSDATE, &#39;HH24:MI&#39;)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;data1 POSITION(1:5) &quot;:data1/100&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;data2 POSITION(6:15) &quot;upper(:data2)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BEGINDATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11111AAAAAAAAAA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;22222BBBBBBBBBB&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOAD DATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INFILE &#39;mail_orders.txt&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;BADFILE &#39;bad_orders.txt&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;APPEND&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE mailing_list&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;FIELDS TERMINATED BY b&quot;,&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( addr,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;city,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;state,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;zipcode,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;mailing_addr  &quot;decode(:mailing_addr, null, :addr, :mailing_addr)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;mailing_city &quot;decode(:mailing_city, null,  :city, :mailing_city)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;mailing_state&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Load data into multiple tables at once:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Look at the following control file:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOAD DATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INFILE *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;REPLACE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE  emp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHEN empno != &#39; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( empno POSITION(1:4) INTEGER EXTERNAL,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ename POSITION(6:15) CHAR,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;deptno POSITION(17:18) CHAR,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;mgr POSITION(20:23) INTEGER EXTERNAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE proj&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHEN  projno != &#39; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;( projno  POSITION(25:27) INTEGER EXTERNAL,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;empno POSITION(1:4) INTEGER EXTERNAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Selectively load only the data that you need :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Look at this example, (01) is the first  character, (30:37) are characters 30 to 37:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;LOAD DATA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;APPEND&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;INTO TABLE db_trace_19980517&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;WHEN (01) &amp;lt;&amp;gt; &#39;H&#39; and (01) &amp;lt;&amp;gt; &#39;T&#39; and (30:37) =  &#39;19980517&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;region CONSTANT &#39;31&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;service_key POSITION(01:11) INTEGER  EXTERNAL,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;call_b_no  POSITION(12:29) CHAR&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can not get SQL*Loader to commit at the  end of the load file, but by setting the ROWS= parameter to a large  value, committing can be&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;reduced.  Make sure you have big rollback segments ready when you use a high  value for&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;ROWS=.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;To Improve performance of SQL*Loader :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1.A very simple but easily overlooked hint,  do not have any indexes and/or constraints&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;(primary key) on your load tables during the  load process. This will significantly&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;slowdown load times even with ROWS= set to a  high value.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.Add the  following option in the command line: DIRECT=TRUE. This will effectively&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;bypass most of the RDBMS processing.  However, there are cases when you can&#39;t&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;use direct load. Refer to chapter 8 on  Oracle server Utilities manual.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3.Turn off database logging by specifying the UNRECOVERABLE  option. This option&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;can only  be used with direct data loads.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4.Run multiple load jobs concurrently.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;126. Name some important interface programs&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a) Inventory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;b) Customer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;c) Item&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;d) Receivable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;e) GL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;f) Demand&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;g) Tax&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;127. What are object groups?&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;An object group is a container for a group  of objects. You define an object group when you want to package related  objects so you can copy or reference them in another module.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Object groups provide a way to bundle  objects into higher-level building blocks that can be used in other  parts of an application and in subsequent development projects.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;For example, you might build an appointment  scheduler in a form and then decide to make it available from other  forms in your applications. The scheduler would probably be built from  several types of objects, including a window and canvas-view, blocks,  and items that display dates and appointments, and triggers that contain  the logic for scheduling and other functionality. If you packaged these  objects into an object group, you could then copy them to any number of  other forms in one simple operation.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can create object groups in form and  menu modules. Once you create an object group, you can add and remove  objects to it as desired.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Program units cannot be placed in an object group.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Objects owned by blocks cannot be placed  in an object group. This includes items, item-level triggers,  block-level triggers, and relations. These objects cannot exist  independently of the block in which they were defined. To include these  objects in an object group, you must include the block itself by  dragging the block object into the object group in the Navigator.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· The objects in a group must all be  defined in the same module; you cannot place objects from two different  forms in the same object group.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· An object group cannot contain another object group.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· When an object in an object group is  deleted from a module, it is removed from the object group  automatically.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;·  Deleting an object group from a module does not delete the objects it  contains from the module.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Object groups do not store copies of the objects they contain,  but rather pointers to the objects; defining object groups does not  increase module size significantly.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;128. Difference between packages and  procedure/function&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Packages&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A package is a database object that groups  logically related PL/SQL types, objects, and subprograms. Packages  usually have two parts, a specification and a body, although sometimes  the body is unnecessary. The specification is the interface to your  applications; it declares the types, variables, constants, exceptions,  cursors, and subprograms available for use. The body fully defines  cursors and subprograms and so implements the specification.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unlike subprograms, packages cannot be  called, passed parameters, or nested. Still, the format of a package is  similar to that of a subprogram:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The specification holds public declarations, which are visible  to your application. The body holds implementation details and private  declarations, which are hidden from your application.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You can debug, enhance, or replace a  package body without changing the interface (package specification) to  the package body.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Packages  can be created interactively with SQL*Plus or SQL*DBA using the CREATE  PACKAGE and CREATE PACKAGE BODY commands.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Only the declarations in the package  specification are visible and accessible to applications. Implementation  details in the package body are hidden and inaccessible. So, you can  change the body without having to recompile calling programs.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Package Body&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The package body implements the package  specification. That is, the package body contains the definition of  every cursor and subprogram declared in the package specification. Keep  in mind that subprograms defined in a package body are accessible  outside the package only if their specifications also appear in the  package specification. The package body can also contain private  declarations, which define types and objects necessary for the internal  workings of the package. The scope of these declarations is local to the  package body. Therefore, the declared types and objects are  inaccessible except from within the package body. Unlike a package  specification, the declarative part of a package body can contain  subprogram bodies.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Procedure&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A procedure has two parts: the  specification and the body. The procedure specification begins with the  keyword PROCEDURE and ends&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;with the procedure name or a parameter list. Parameter  declarations are optional. Procedures that take no parameters are  written without parentheses.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The procedure body begins with the keyword IS and ends with the  keyword END followed by an optional procedure name. The procedure body  has three parts: a declarative part, an executable part, and an optional  exception-handling part. The declarative part contains local  declarations, which are placed between the keywords IS and BEGIN. The  keyword DECLARE, which introduces declarations in an anonymous PL/SQL  block, is not used. The executable part contains statements, which are  placed between the keywords BEGIN and EXCEPTION (or END). At least one  statement must appear in the executable part of a procedure. The NULL  statement meets this requirement. The exception-handling part contains  exception handlers, which are placed between the keywords EXCEPTION and  END.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· Function&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A function is a subprogram that computes a  value. Functions and procedures are structured alike, except that  functions have a RETURN clause.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Like a procedure, a function has two parts: the specification  and the body. The function specification begins with the keyword  FUNCTION and ends with the RETURN clause, which specifies the datatype  of the result value. Parameter declarations are optional. Functions that  take no parameters are written without parentheses. The function body  begins with the keyword IS and ends with the keyword END followed by an  optional function name. The function body has three parts: a declarative  part, an executable part, and an optional exception-handling part.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The declarative part contains local  declarations, which are placed between the keywords IS and BEGIN. The  keyword DECLARE is not used. The executable part contains statements,  which are placed between the keywords BEGIN and EXCEPTION (or END). One  or more RETURN statements must appear in the executable part of a  function. The exception- handling part contains exception handlers,  which are placed between the keywords EXCEPTION and END.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;129. Various ways to call a form from  another form and their difference&lt;/strong&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;· NEW_FORM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Built-in  Type: restricted procedure&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Query Mode: no&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Description:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Exits  the current form and enters the indicated form. The calling form is  terminated as the parent form. If the calling form had been called by a  higher form, Oracle Forms keeps the higher call active and treats it as a  call to the new form. Oracle Forms releases memory (such as database  cursors) that the terminated form was using.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Oracle Forms runs the new form with the same  Runform options as the parent form. If the parent form was a called  form, Oracle Forms runs the new form with the same options as the parent  form.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· CALL_FORM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Built-in Type: unrestricted procedure&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Query Mode: yes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Description:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Runs an indicated form while keeping the  parent form active. Oracle Forms runs the called form with the same  Runform preferences as the parent form. When the called form is exited  Oracle Forms processing resumes in the calling form at the point from  which you initiated the call to CALL_FORM.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;· OPEN_FORM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Built-in Type: restricted procedure (cannot  be called in Enter Query mode)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Query Mode: no&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Description:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Opens  the indicated form. Call OPEN_FORM to create multiple-form applications,  that is, applications that open more than one form at the same time.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong style=&quot;font-family: arial;&quot;&gt;130. Can you base a block in a form on a  view?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Yes, You can. If  the view is non-updatable or non-insertable then you can not base a  block on view.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;closed  order : An order and its order lines that have completed all activities  in its process flow and for which the close activity has been completed.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sales channel is always associated with the  customer. We can define the sales person for the customer also. If  sales person not defined at the customer level, we can associate a sales  person with an order also. Account specialist and sales manager are  always associated with bill to site address of the customer.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/interview-questions-on-oracle_21.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-8538755984396768353</guid><pubDate>Thu, 22 Dec 2011 06:32:00 +0000</pubDate><atom:updated>2011-12-21T22:32:06.858-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">FAQ-Oracle Apps PO</category><title>Interview Questions on Oracle Purchasing or Oracle PO</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;ORACLE  PURCHASING - PURCHASE ORDERS FREQUENTLY ASKED QUESTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;CONTENTS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;--------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. In the Price type quickpick in the Purchase Order Lines zone  in enter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Purchase Order  form, there is a value called COST PLUS FEE. What is the&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;COST PLUS FEE price type? How is Purchase  Order treating this&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;price  type?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. What is 2-way,  3-way, 4-way matching? How is this set up?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. How do you reflect discount from a  supplier on a Purchase orders?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4. How do you change the created date on a Purchase Order?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. What is the sorting order for  requisition lines in autocreation of a&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Purchase Order?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6. What does the error &#39;APP-50022: Oracle  Human Resources could not retrieve a&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;value for User Type profile option&#39; mean?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;7. In the Enter Receipts (RCVRCERC) form and  using different responsibilities&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;produces different values in the action required field. The  Purchasing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Responsibility  shows Direct and Standard while the Inventory Responsibility&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;shows just Direct.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Why are the action options for creating  receipts different in Inventory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;compared Purchasing?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;8.  How do you purge Cancelled Requisitions?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;9. On the requisition form in the source  details zone, there is a field&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;labeled supplier item. Where does this information on the  quickpick come&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;from and how  can this information default in?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;10. You are entering a requisition and are unable to find the  header or line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;note fields.  Was this replaced in GUI by attachments?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11. When you select the Notifications form  to review approvals and click on&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;approve button for a Requisition waiting for approval, the  &#39;Reject&#39; box is&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;greyed out.  How does the approver reject a requisition?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;12. What are standard Quotations used for?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;13. When do you see the status of a  Purchase order as Archived?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;14.  Where are standard notes in GUI?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;15. In Oracle Purchasing, where is the automatic numbering for  Purchase Order&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;defined and  maintained?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;16. There is a  field for the organization code. What is this code?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;17. Can the original Purchase Order can be  viewed in any way without resorting&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;to SQL, for a revised Purchase Order?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;QUESTIONS &amp;amp; ANSWERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;-------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1. In the Price type quickpick in the  Purchase Order Lines zone in enter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Purchase Order form, there is a value called COST PLUS FEE. What  is the&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;COST PLUS FEE price  type? How is Purchase Order treating this&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;price type?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The  functionality for COST PLUS FEE price type is not in Oracle Purchasing  at&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;this point of time. PO  does not do anything with this price type.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;It is an enhancement request that is being  looked at for future releases.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2. What is 2-way, 3-way, 4-way matching? How is this set-up?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2-way  matching verifies that Purchase order and invoice information match   within your tolerances as follows:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Quantity billed &amp;lt;= Quantity Ordered Invoice price &amp;lt;=  Purchase order price (&amp;lt;= sign is used because of tolerances) 3-way  matching verifies that the receipt and invoice information match with  the quantity tolerances defined: Quantity billed &amp;lt;= Quantity received  4-way matching verifies that acceptance documents and invoice  information match within the quantity tolerances defined: Quantity  billed &amp;lt;= Quantity accepted. (Acceptance is done at the time of  Inspecting goods). Whether a PO shipment has 2-way, 3-way or 4-way  matching can be setup in the Shipment Details zone of the Enter PO form  (character) Receipt required           Inspection required        Matching Yes                                          Yes                   4-way Yes                                          No                    3-way No                                           No                    2-way In GUI, Shipments block, alternative region, click on  More...this brings up a region with &#39;Invoice matching&#39; column where you  can choose 2-way, 3-way or 4- way match. You can find more detailed  information about matching in the Oracle Payables Reference Manual  (Volume 3) Topical Essay on Integrating your Payables and Purchasing  Information. 3. How do you reflect discount from a supplier on a  Purchase orders? Answer ------ The legal document is the Purchase order  not the quote and therefore the purchase order should reflect agreed  upon price. Secondly if the discount comes after the PO then AP should  handle it when invoicing. If you are using a blanket Purchase order then  you can use price breaks. 4. How do you change the created date on a  Purchase Order? Answer ------ The &#39;Created&#39; date on the Purchase order  is not an updateable field, due to it being a legal document once  approved. 5. What is the sorting order for requisition lines in  autocreation of a Purchase Order? Answer ------ Requisition lines first  meet search criteria determined by &quot;find&quot; screen, and then are grouped  together by item and item category, then by need-by date. After you  choose an action, enter any search criteria to narrow the selection of  requisition lines. Oracle Purchasing chooses requisition lines from the  requisition pool that meet your search criteria. All requisition lines  for the same item and item category are grouped together, but they are  not necessarily in order alphabetically. Within each grouping of item  and item category, requisition lines are ordered by need-by date. 6.  What does the error &#39;APP-50022: Oracle Human Resources could not  retrieve a value for User Type profile option&#39; mean? Answer ------ The  profile HR: User Type needs to be set. Set the profile option &#39;HR: User  Type&#39; at the Responsibility level. 7. In the Enter Receipts (RCVRCERC)  form and using different responsibilities produces different values in  the action required field. The Purchasing Responsibility shows Direct  and Standard while the Inventory Responsibility shows just Direct. Why  are the action options for creating receipts different in Inventory  compared Purchasing? Answer ------ Set the Profile option RCV: Allow  routing override to &#39;YES&#39; at the application level. 8. How do you purge  Cancelled Requisitions? Answer ------ To purge any Purchase orders or  Requisitions: - assign the Payables Purge GUI responsibility to the user  - have the user choose that responsibility - then choose Purge from the  menu - under the Category field do a List of Values and pick Simple  Requisitions for cancelled requisitions The choices are listed. 9. On  the requisition form in the source details zone, there is a field  labeled supplier item. Where does this information on the quickpick come  from and how can this information default in? Answer ------ The  supplier item field on the requisition can be populated by using either  the supplier item catalog or ASL. Take an item from the supplier item  catalog that has an associated supplier item, add it to the order pad  and then add it to the requisition. After doing this go to the source  details zone. The supplier item is defaulted in for that item you choose  from the catalog. Navigation: --&amp;gt; Purchasing --&amp;gt; Supplier Item  catalog&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;10. You are entering  a requisition and are unable to find the header or line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;note fields. Was this replaced in GUI by  attachments?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The attachments have replaced notes. The attachments are better  because at the&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;header level,  the requisition notes were not coming over to the Purchase Order&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;whereas the attachment does come over to  the Purchase Order.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11. When  you select the Notifications form to review approvals and click on&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;approve button for a Requisition waiting  for approval, the &#39;Reject&#39; box is&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;greyed out. How does the approver reject a requisition?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You cannot  reject Requisitions submitted to yourself. You can only reject those&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;from others.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;12. What are standard Quotations used for?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Standard  quote is one that you can tie back to a PO. For example, navigate to&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;RFQ -&amp;gt; Auto create -&amp;gt; enter a PO and  reference it back.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;13. When  do you see the status of a Purchase order as Archived?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You must  approve or print a specific purchase order before you can see it in&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;the history information.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;14. Where are standard notes in GUI?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Go to Setup  --&amp;gt; Attachments --&amp;gt;Create attachment. Go to Purchase Order and&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;attach the attachment to the Purchase  Order. In GUI, notes are replaced by&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;attachments.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;15. In  Oracle Purchasing, where is the automatic numbering for Purchase Order&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;defined and maintained?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The  navigation path for GUI is:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Setup  --&amp;gt; Organizations --&amp;gt; Purchasing Options, Numbering alternate  region&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The navigation path  for Character is:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;\ Navigate  Setup Purchasing Options Purchasing, Numbering options&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;16. There is a field for the organization  code. What is this code?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This code is a short abbreviation for the organization.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;17. Can the original Purchase Order can be  viewed in any way without resorting&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;to SQL, for a revised Purchase Order?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;The original  version of a revised PO cannot be viewed from the PO form or PO&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;summary form. Information on the original  PO can be obtained from the&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;PO_HEADERS_ARCHIVE  and PO_LINES_ARCHIVE tables using the PO_HEADER_ID column as&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;a common reference using SQL only.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/interview-questions-on-oracle.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-6094041526977607143</guid><pubDate>Thu, 22 Dec 2011 06:31:00 +0000</pubDate><atom:updated>2011-12-21T22:31:28.046-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">FAQ-Oracle Apps AP</category><title>Interview Questions on Oracle Payables or Oracle AP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;1.  What are the types of Invoices , what is prepayment &amp;amp; steps to apply  it to an Invoice ?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.  What are the Distribution Type while entering the Invoice?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3. What&#39;s the difference between the  &quot;Payables Open Interface Import&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;    Program and the &quot;Payables Invoice Import&quot; program?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4.What is Debit Memo &amp;amp; Credit Memo in  Payables?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5. What is  Proxima Payment Terms?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6.  What will accrue in Payables?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;7. What is Tolerance?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;8. What is Aging Periods?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;9. What is a Payable Document?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;10. What are the tables associated with  Invoice?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11. Which  interface tables are used for Invoice Import , give the important  columns?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;12. What is 2  way , 3 way and 4 way matching?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;13. How you will transfer payables to general ledger?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;14. You created a set of book , where you  will attach this SOB in AP?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;15. What is use of AP Accounting Periods?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;16. What is Interest Invoice and how it can  be created?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;17. What is a  Hold? Explain the types of Hold&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;18. How many key flexfields are there in Payables?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;19. Explain the set up used for Automatic  or Manual Supplier Numbering.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;20. Can you hold the partial payment if yes then how?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;21. Can you cancel the invoice? If yes,  explain.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/interview-questions-on-oracle-payables.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-3002211465242710907</guid><pubDate>Thu, 22 Dec 2011 06:30:00 +0000</pubDate><atom:updated>2011-12-21T22:30:37.780-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">More on Oracle Apps AR</category><title>Questions in Oracle Accounts Receivables</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Questions  in Accounts Receivables&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1.        How do you create a Chargeback Invoice ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  Using Receipts window&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.       How do you adjust the amount of  advance already received against an Invoice ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  Create an Invoice for Deposit and  receive an amount against this deposit Invoice. Then Create the regular  invoice and in the column of Commitments enter the number of Deposit  Invoice. The Regular Invoice gets matched with the Deposit Invoice for  the amount of Regular invoice or deposit invoice which ever is lower&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3.       How do you write off small amounts  while accounting the receipt against an invoice?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  Using Receipts window. You have the  button for write offs.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4.        How do you Account for bank charges deducted from amount received  against an invoice?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.   Using Quick cash window also you can enter receipts. Here you have the  option of accounting the bank charges deducted on receipt. However, this  has to be enabled by putting the Value in profile option AR: Create  Bank Charges = YES.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5.        How do you create a credit note against an invoice ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A. You have separate window to create such  credit note. Navigation Transactions =&amp;gt; Credit Transactions.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6.       How do you adjust a regular  Invoice with a Credit Note ? Enter the amount 0 in receipt window and in  invoice matching window select the invoice as well as  the credit note.  This will knock off the invoice against the credit note.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;7.       What are different types of  Receipt Reversals ? What is the difference between them ? What are the  accounting entries ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.   Standard Reversal and Debit Note Reversal. Standard Reversal reopens the  invoice matched in that receipt. You can match a new receipt against  this invoice.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Debit Note  Reversal does not reopens the earlier matched invoice but it creates a  new debit note which can be matched with another receipt.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;8.       When are the following accounts  are used&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unbilled Receivable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unearned Revenue&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  When you use Invoicing Rule, the  receivables are accounted on different dates as defined in the rule.  Till such time receivables are accounted, the amount is debited to  Unbilled Receivables.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;       If you use Accounting Rule, the revenue is accounted on different dates.  Till such time revenue is accounted, the amount is credited to Unearned  Revenue..&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;9.        What is the difference between Unidentified Receipt, Unapplied Receipts  and On Account Receipts ? What are the Accounting Entries for each of  this ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A. Unidentified  Receipts: The Customer is yet to be identified and so receipt is not  matched.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;      Unapplied  Receipts: The Customer is identified and entered but the amount is not  matched with any of his invoice.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;      On Account Receipts: The Customer is entered and instead  of matching the amount to any of his invoice it is matched with the On  Account option. This option is available as first item in the pick list  of invoices.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;10.   What  is the difference between earned discounts and Unearned discounts ? How  do you account the Unearned discount? What are the accounting entries  involved ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  The cash  discounts are mentioned in the payment terms. Considering the due date  and the receipt date the discount is automatically calculated while  entering the receipt. If however you want to increase the amount of  invoice you can manually increase it. The amount automatically  calculated as per terms is the Earned Discount. The manually added  amount is the Unearned Discount. This however, depends upon  the option  given in System Options in Setup.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11.   What are the Key Flexfields in AR.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  Sales Tax Location Flexfield&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Territory Flexfield&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AR Setup Related&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;12.   What is difference between transaction  type and transaction source ?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.  Transaction type can either be Invoice, Credit Note, Debit  Note, Deposit. Etc. This also decides whether to account in GL, Whether  to consider in receivables, the accounts to be debited, credited, the  tax calculation options, and some other options which are defauled.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Transaction Source decides whether the  source of entry is manual or automatic. It also mentions whether  transaction and batch numbering is manual or automatic.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;If automatic the last entered number is to  be mentioned to start the automatic numbering. IF the source is  automatic, that means the transactions are to be uploaded through  interface either from OE or legacy system. Then some other options are  to be set.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;13.   What is  AutoAccounting ?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;A.   This is the account generator in Accounts receivables. This decides  accounts for&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Receivables&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Revenue&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;AutoInvoice Clearing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Freight&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Tax&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unbilled Receivable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Unearned Revenue&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;From where the accounts are defaulted ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sales reps&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Transaction Lines&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Transaction Types&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Taxes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Or you can have Constant values&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;14.   What is AutoCashRule Set ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;This decides the sequence of the invoice  matching rules for unmatched receipts entered though quich cash or  AutoLockBox(interface). The rules are already defined in the system.  Like “Match Payment with Invoice”, “Apply to the Oldest Invoice First”,  “Clear the Account”, etc.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;15.   Where do you attach the Set Of Books ? Can you attach more  than one set of books ? if you have more then one set of books then how  Receivables is configured ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;You  attach the set of books in System Options in Setup. Only one set of  books can be attached. If you have more then one set of books then AR is  to be set in multi org environment. By specifying the “MO Operating  Unit” and the “GL Set of Books Name”.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;16.   How do you define document numbering  for receipts ? can you have different sequences for each Payment Method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;In system administration. You can have  different sequences for different payment methods.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;General Questions :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;1.       Tell me something about yourself?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.       What is your functional  experience? Brief about last two companies..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3.       Why did you opt for this field ERP?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Why not software development?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Do you  have interest in software  development?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Have you ever  worked on databases like dbase, foxpro or MSAccess?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;4.       Which implementations you have  worked so far ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Where ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;How much of time ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;What was your role in implementation ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;5.       Have you ever done set up for any  Module or modules? Which modules ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;6.       What is the difference between key flex field and  Descriptive flexfield&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;7.        Have you ever defined descriptive flexfield ? Where and how ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;8.       How many segments are available  for defining descriptivce flexfileds ? What if you have more ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;9.       Have you ever defined document  sequences ? Where and how ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;10.    How good are you in MS Office Tool?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MS Word Drafting…..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;MS Excel macros….&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;11.   Have you ever used VB Macros for  uploading Values into Apps ? Where and how ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;12.   Do you know SQL? On a scale of 1 to 10  how do you rate yourself in SQL.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;13.   Do you have any software development experience?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Live Project or Dummy ? Which one?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Explain the project in terms of tables,  forms and reports, team members and your role? How did you structure  your tables?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;What is  normalization ? What are the types of relationships between tables and  what role they play in structuring the tables ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;14.   Total functional Experience&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;15.   Total IT experience&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;16.   In which modules you are strong skills  ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;(Select for Module  Questionnaires ………)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;(If  technical knowledge claimed then relevant technical questionnaires…….)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/questions-in-oracle-accounts.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-2009412187863294721</guid><pubDate>Thu, 22 Dec 2011 06:29:00 +0000</pubDate><atom:updated>2011-12-21T22:29:35.764-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle Apps AR Overview</category><title>Oracle Account Receivables (AR) - Functional Overview</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Enter  Invoices                                                   &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to enter invoices  and debit memos one at a time, or as a group called a batch.  Oracle  Receivables lets you use batch control totals to ensure that you enter  invoices accurately. When&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;you  enter an invoice, Oracle Receivables uses your AutoAccounting rules to  determine your default general ledger accounts. Oracle Receivables now  lets you assign invoicing and accounting rules to invoices you enter  through this form.  Use Revenue            Recognition Program to  control when your accounting distributions are created.You can also use  this form to review and update information for your invoice.  After your  invoice has posted to your general ledger you can still update most  information.  Oracle Receivables maintains a complete audit trail of all  the posted changes you make to your accounting entries.  Oracle  Receivables does not maintain an audit trail when you change an invoice  that has not been posted.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Batch                                                    (RA_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Source, Name, Batch Date, GL Date, Period,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Status (New,Open,Closed, Out  of Balance), Currency, Comments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Invoice                                                 (RA_CUSTOMER_TRX)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Number, Invoice Date, Complete,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Ship To Customer - Name,  Number, Address, Contact,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Bill To Customer - Name, Number, Address, Contact,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Commitment  (Gaurantee,Deposit), Agreement, Invoice Source,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Invoice Type, Document No,  Transaction Cross Reference To,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Payment Terms, Due Date, GL Date, Salesperson,  Remit To, Currency&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Payment Method (Check,Wire,Direct Deposit),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Customer Bank - Name, Branch,  Account&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Invoice - Default Tax (Standard,Exempt,Require), Print Option, Status,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              PO Number, PO Revision, PO  Date, Invoicing Rule (Advance,Arrears),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Frieght - Amount, Carrier,  Ship Date, Waybill No, FOB Point, Account,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Sales - Sold To, Sold To No,  Territory,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Receivable Account, Special Instructions, Comments&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Default Sales Credits                        (RA_CUST_TRX_LINE_SALESREPS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Sales Rep Name, Number,  Revenue %, Other %&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Invoice Lines                                   (RA_CUSTOMER_TRX_LINES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Line Number, Item Code, Description, Line Trans Flexfield  (AutoInv)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Quantity, UOM, Tax(Std,Exempt,Req), Unit Price, Extended Price&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Addl Line Info - Order  Number, Date, Revision, Line, Sales Order Source,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;                   Invoicing Rule,  Accounting Rule&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Tax - Line Number, Tax Code, Tax Rate, Tax Amount,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Revenue Account Assignment  (Lines)   (RA_CUST_TRX_LINE_GL_DIST)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Percent, Amount, Account Code, GL Date&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Account Assignment (Tax) -  Percent, Amount,  Account Code, GL Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Sales Credits                                   (RA_CUST_TRX_LINE_SALESREPS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Sales Rep Name, Number,  Revenue %, Revenue Amount&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Invoice Installments                               (AR_PAYMENT_SCHEDULES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Line, Due Days, Due Date, Original Amount , Balance Amount,  Status&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Maintain  Invoices                                                &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to update your  invoices, debit memos, and  chargebacks.  You can change the due date,  PO number, salesperson, and remit-to address of a debit item.  You can  also place a debit item in dispute by specifying a dispute amount,  exclude a debit item from finance charges, or update the bill-to  information. Oracle Receivables also lets you enter or update the  exchange rate of your debit item as long as your debit item does not  have any  activity against it.You can also use this form to record  additional information in the form of notes about your debit items. The  profile option for this form that controls whether you can       change  invoice due dates is Invoice Due Date.  If your system  administrator  sets this option to No, you cannot update an invoice  due date in the  Installment zone.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter  Recurring Invoices                                          &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to create  automatically recurring invoices for your  customers.  For example, you  need to bill your customers for   services or products provided  regularly, but you don&#39;t want to create a new invoice every time.   Oracle Receivables provides the recurring invoices with the same  characteristics as the original  invoice, except that all dates such as  the invoice date, GL date,and due dates are determined using the  recurring rule you specify. You can schedule recurring invoices as often  as you like and create recurring invoices from closed invoices.When you  create recurring invoices Oracle Receivables does not  derive the  exchange rates and tax rates from the recurred invoice date. Instead, it  copies the exchange rate and tax rate from your model invoice.   Consequently, if you are creating recurring  invoices in a foreign  currency, or have tax rates which change over time, you may need to  update the exchange and tax rate manually.You can use the Invoice Entry  form to update the rates to the  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;correct rates for your recurred invoice date.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Model&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Source Batch, Source Invoice  Number, Customer, GL Date, Invoice Type,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Invoice Date, Terms, Due Date&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Recurring Schedule&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Rule (Monthly,Daily,Yearly  ...), First Invoice Date, First GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Number of Days, Number of   Times&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Recurring  Invoices&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Invoice Number, Invoice Date, GL Date, Due Date, Amount&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Commitments                                                 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to enter or change your customer commitments.   You can define commitments for any customer, to record deposits or    guarantees of future purchases.  Oracle Receivables also lets you&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;update certain information depending on the  commitment status.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Commitment                                  (RA_CUSTOMER_TRX)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Batch Source, Commitment  Number, Date, Bill To, Address, Contact,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Remit To, Commitment  Type(Deposit, Guarantee), Document No, GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Agreement, Cross Reference To  Transaction, Terms, Primary Salesperson,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Print, Start Date, End Date,  Invoice Text, Currency, Amount, Item,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Debit Account Code, Credit  Account Code&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Commitment Addl Info - Payment Method, Customer Bank Name,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Customer Bank Branch,  Customer Bank Account, Special Instructions,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Purchase Order, Purchase Order  Revision, Purchase Order Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Sales Territory, Line Transaction Flexfield  (Unique Line # for Auto Invoice)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Sales Credits                                    (RA_CUST_TRX_LINE_SALESREPS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Sales Person, Number, Revenue Credit %, Revenue Credit  Amount&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Quick Transaction  Entry                                          &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to enter simple  one-line invoices, debit memos and  on-account credits.  If you want to  review, update, or delete invoices and debit memos use the Enter  Invoices form.  If you want to review, update, or delete on-account  credits use the Enter  Credit memo form.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Batch                                      (RA_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Source, Name, Batch Date, GL Date, Period,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Status (New,Open,Closed, Out  of Balance), Currency, Comments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Invoices                                  (RA_CUSTOMER_TRX)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Invoice Number, Invoice Date, Customer Number, Source Batch, Invoice  Type,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Currency, Item Code, Description, Quantity, UOM, Unit Price, Extended  Amount,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Ship  To Location, Bill To Location, Terms, Freight Amount, Tax Code, Tax  Rate,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Tax  Amount, Sales Person, GL Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Credit Memos                                                 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this  form to enter, update, and review on-account credits or credit memos  against specific invoices, debit memos, or  commitments.  Oracle  Receivables creates the appropriate accounting entries and reverses any  sales credits you assigned to your  salespeople. Oracle Receivables  allows you to apply on-account credits to your  customers open debit  items in the Enter Receipts and Reapply Credits forms.  To speed data  entry, you can define credit memo lines in the Define Memo Lines form.   These credit memo lines  display as QuickPick choices in this form.  You  can also enter  credit memo lines directly in the Credit Memo Lines  zone of this form.  You print your credit memos in the Print Invoices  form.                                                     &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;  You can specify the debit item to credit  in this form, or create an on-account credit by not specifying one.   On-account credits are   credits that you assign to your customer&#39;s  account that are not related to a specific invoice.  You can assign  on-account credits  to debit items in the Reapply Credit form or when  you enter receipts.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Batch                                     (RA_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Source, Name, Batch Date, GL  Date, Period,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Status (New,Open,Closed, Out of Balance), Currency, Comments&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Invoices        (Query)              (RA_CUSTOMER_TRX)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Invoice Number, Invoice Date, Customer Number, Customer Name,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Source Batch, Commitment  Number, Currency&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Credit Memo                          (RA_CUSTOMER_TRX)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Source, Number, Complete,  Credit Memo Date, Credit Memo Type,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Transaction, Reason, Document No, GL Date,  Currency,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Line/Tax: Amount, Percent, Freight,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Credit Method For: Invoices With Rules, Split Term  Invoices,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Salesperson, Customer Reference, Print Option, Print Date, Comments,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Ship To Customer, Number,  Address, Contact,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Bill To Customer, Number, Address, Contact,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Payment Method, Customer Bank  Name, Branch, Account,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Receivable Account Code, Freight Account Code&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Credit Memo Lines                             (RA_CUSTOMER_TRX_LINES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Line Number, Item Code,  Description, Amount, Quantity, Unit Price,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Reference, Credit Reason, Line  Transaction Flexfield&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Revenue Account Assignment (Lines)    (RA_CUST_TRX_LINE_GL_DIST)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Percent, Amount, Account Code, GL Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Sales Credits                                      (RA_CUST_TRX_LINE_SALESREPS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Sales Rep Name, Number,  Revenue %, Revenue Amount&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reapply Credits                                                    &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this  form to apply, reapply, or unapply on-account credits.Oracle Receivables  lets you create on-account credits in the Enter Credit Memos and Quick  Transactions forms and then apply them here.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Correcting your mistake is easy since you  can reapply or unapply applications before or after posting them to your  general ledger. Oracle Receivables gives you the information you need  to update any unresolved on-account credits you may have.You can only  apply items and receipts to commitments or            transactions  against a commitment which bring its balance closer to zero.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Invoice Adjustments                                          &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to make either positive or negative  adjustments to  your invoices, debit memos, chargebacks, on-account  credits, deposits, and guarantees.  Oracle Receivables currently does  not  permit adjustments to credit memos.  Creating adjustments in Oracle  Receivables is easy since you can use predefined adjustment activities.   Oracle Receivables automatically provides the  accounting information  for you.  Define your adjustment activities        in the Define  Receivables Activity form.Oracle Receivables automatically verifies that  your adjustment is  within your adjustment approval limits.  Define  adjustment approval  limits for your users in the Define Adjustment  Limits form.  If the amount of the adjustment that you are entering is  within your assigned adjustment approval limits, then Oracle Receivables        automatically creates the adjustment.  If the amount of the  adjustment that you are entering is outside your adjustment  approval  limit range, then Oracle Receivables creates a pending adjustment with a  status of Waiting Approval in the Approve  Adjustments form.  Pending  adjustments require approval from a user with the appropriate approval  limit before they affect the remaining balance of the transaction.                               If you need to gather more information about  your item, you can place your adjustment on hold by assigning it a  status of More Research.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Invoice     (Query Invoice To Be Adjusted)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Invoice Number, Customer  Number, Customer Name&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Adjustments                                       (AR_ADJUSTMENTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Activity Name (OverCharge, WriteOff),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Adjustment Type  (Charge,Invoice,Line,Freight,Tax), Amount,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - GL Date, Adjustment Date,  Accounting Code, Adj Reason,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Comment, Status (Approved,Pending Approval, Research  Required)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Sales Credit  Adjustment                                           &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            With this form you can change  revenue and non-revenue sales credits for your invoices, credit memos,  and debit memos.  If   AutoAccounting is based on salesperson and you  have not made  changes to the revenue accounts in the Enter Invoices  form, Oracle Receivables automatically updates your revenue accounts  when you  change sales credit information in this form. When you change  the sales credits for a line, Oracle Receivables creates a record that  reverses the original accounting when you save. For example, you have an  invoice for which Salesperson A is assigned to 100% of the sales  revenue.  Now you decide to give  Salesperson B  25% of the sales  revenue.  You must first change the revenue percent of Salesperson A to  75% and then enter a new line for Salesperson B.  Oracle Receivables  creates a record for   Salesperson A that reverses the sales credit for  25%.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Invoice      (Query Invoice To Be Adjusted)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Invoice Number, Source Batch, Customer Name,  Currency, Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  GL Date, Status&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Line Sales Credits                  (RA_CUST_TRX_LINE_SALESREPS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Line Number, Sales Rep Name,  Revenue %, Revenue Amount&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Exchange Rate Adjustments                                    &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this  form to adjust the rate type, rate date, and exchange rate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            for a foreign currency receipt.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Approve Adjustments                                               &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to approve, hold, reject or request more  information about pending adjustments.  Oracle Receivables automatically  enforces the adjustment limits that you define in the Define       Adjustment Limits form as you enter your adjustments.  You can  approve  adjustments that are within your individual approval  limits.  You can  create all other actions even if an adjustment is outside your user  approval limits.  You can also review adjustment histories and record  your comments.  Adjustment records that require approval do not affect  the balance or status of the transaction you are adjusting.  When you  approve adjustments in   this form, Oracle Receivables automatically  updates the balance of the transaction you are adjusting. You can only  approve a transaction that has been selected and approved for automatic  receipt generation, if the user profile option AR: Invoices with  Unconfirmed Receipts is set to Adjustment or Adjustment and Credit.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Review&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Creator, Last Reviewer, Order  By (Status,Amount)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Adjustments                                              (AR_ADJUSTMENTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Action (Approved, Pending Approval, Rejected, Research Required),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Adjustment Number, Invoice  Number, Type, Amount, Status, Activity Name,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Customer, GL Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Submit AutoAdjustment                                              &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to automatically adjust the remaining balances  of all open invoices, debit memos, credit memos, and chargebacks that  meet specific criteria you define.  You can select debit items by        remaining amount, remaining percent, due date, transaction type,  customer name, or customer number.  Additionally, you can specify  your  adjustment type, activity, GL date, and reason for each        AutoAdjustment submission.  If the adjustment amount is within your  adjustment approval limits, Oracle Receivables automatically             approves your adjustment.  If the adjustment amount is outside your  adjustment approval limits, Oracle Receivables creates pending   adjustments with a status of Waiting Approval.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Receipts                                                &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use the Enter Receipts form to enter manual receipts and apply  them to transactions in open accounting periods.  You can also create  chargebacks or adjustments against these transactions in this form.The  Enter Receipts form also lets you apply on-account credits to your  receipts.  If you need to create a new on-account credit while in Enter  Receipts, you can use the Zoom feature to go to the Enter Credit Memos  form, create your on-account credit, and then return  to the Enter  Receipts form.  You can apply on-account credits to specific debit items  in the Reapply Credits form.Your system administrator sets profile  options that affect this form.  If the Allow Actions profile option is  set to No, then you  cannot navigate to the Actions zone to create  adjustments or chargebacks.  The AR: Cash - Default Amount Applied  profile option governs the default application amount when you apply  your receipts in the receipt Applications zone.  Valid choices for this  profile option are Remaining Amount of the Invoice and Unapplied Amount  of  the Receipt.  You can override this profile option at the user level  in the Update Personal Profile Options form.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt Batch                                            (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Source, Name, Deposite Date, Currency, Batch  Date, GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Receipt Class (Manual Receipt, Wire), Payment Method,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Remittance Bank Account,  Status, Comment, Control Count/Amounts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt                                                     (AR_CASH_RECEIPTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Number (Check #,Credit  Card #), Receipt Date, GL Date, Currency,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Amount, Method, Bank Account,  Deposit Date, Apply Date, Invoice Number&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Mass Receipt Application&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Specific Receipt Applications                   (AR_RECEIVABLE_APPLICATIONS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Customer Number, Invoice  Number, Amount, Balance Due&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Action&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Adjustments and Chargebacks&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;QuickCash                                                         &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use the  QuickCash form to quickly enter receipts into Oracle Receivables.  You  can apply your receipts to one or many  transactions, place receipts  on-account, and enter receipts as  either Unidentified or Unapplied.  Oracle Receivables lets you  process all your invoice-related receipts  with this form. You can simply enter the information you have now, and  reconcile any unapplied and unidentified amounts later using either the  Enter Receipts form or the Enter Invoice Adjustments form.  Since  allQuickCash receipts and applications are stored in a temporary area,  you can use the QuickCash form as an additional level of security  until  you submit them through Post Batch.  For example, if you hire temporary  help during peak periods, have them perform their work in this form.   You can review their work prior to updating your customers&#39; balances.   Once you process your QuickCash receipt batches, use the Post QuickCash  form to update your customer balances.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt Batch                                            (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Source, Name, Deposite Date, Currency, Batch  Date, GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Receipt Class (Manual Receipt, Wire), Payment Method,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Remittance Bank Account,  Status, Comment, Control Count/Amounts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipts                                            (AR_INTERIM_CASH_RECEIPTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Number (Check #,Credit  Card #), Receipt Date, Currency, Invoice Number,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Customer Name, Number, Billing  Location, Payment Method, Remittance Bank&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Enter Miscellaneous Transactions                                   &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to enter your non-invoice related transactions  such  as investment income, interest income, and refunds into Oracle  Receivables.  Oracle Receivables simplifies your data entry in thisform  by utilizing the distribution sets and the activities that you defined  during your set up process for miscellaneous transactions. Use the  Miscellaneous Transactions report to review all of these   transactions.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt Batch                                            (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Source, Name, Deposite Date,  Currency, Batch Date, GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Class (Manual Receipt, Wire), Payment  Method,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Remittance Bank Account, Status, Comment, Control Count/Amounts&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipts                                                     (AR_CASH_RECEIPTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Activity (Interest Income,  Invest Income, Misc Cash, Misc Refund, Stock Option),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Distribution Set, Receipt  Number, Receipt Date, GL Date, Currency, Amount,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Tax Code, Payment Method,  Remittance Bank, Deposit Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Reference Type (Receipt,Payment,Remittance),  Reference Number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Accounting Distribution                           (AR_MISC_CASH_DISTRIBUTIONS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Percent, Amount, Accounting Code, Comments, Posted&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reverse Receipts                                                   &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to reverse your receipts.  You can use this  form to reverse both standard invoice-related receipts and non-invoice  related receipts entered in the Enter Miscellaneous Transactions  form.                                                              &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;To reverse a receipt you can either create a  standard reversal or  debit memo reversal.  When you choose to create a  standard  reversal, Oracle Receivables automatically creates reversal  journal entries for your general ledger, and reopens all of the debit  and credit items that you closed with the original receipt.  When you  choose to create a debit memo reversal for your receipt, Oracle  Receivables does not update any of the receipt activity associated with  this original receipt.  Your new debit memo reversal is      actually a  new receivable. If you choose to create a standard reversal for a  receipt you applied in the Enter Receipts form, Oracle Receivables  automatically reverses any adjustments or chargebacks that you     created in the Enter Receipts form as long as you have not posted.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt Reversal            (Query)            (AR_CASH_RECEIPTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt- Receipt Number,  Customer, Batch, Bank, Payment Method&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Reversal - Reversal Date, GL  Date, Debit Memo,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;               Category (Unsufficient Funds,Reverse Payment,Stop Payment), Reason&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reapply Receipts                                                   &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to apply unidentified, unapplied, or  on-account  receipts to invoices, debit memos, chargebacks, or  on-account credits.  You can reapply receipts to both automatic and  manually entered receipts.  You can also reapply receipts that you   previously applied in error, before or after posting these items to          your general ledger.  You can use the Zoom feature to navigate to   the View Transaction History form and review additional details about  your receipt, debit item, or credit item.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt            (Query)                    (AR_CASH_RECEIPTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Number, Method, Date, Amount, Customer,  Batch, Category&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Receipt Applications                      (AR_RECEIVABLE_APPLICATIONS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Action (Delete, Reapply),  Invoice Number, Type, Inv Amount, Balance Due&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Reapply Applications&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Customer Number, Invoice  Number, Amount, GL Date, Apply Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Maintain Lockbox Transmission Data                                 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review and edit your lockbox transmission  information that you have imported into Oracle Receivables from your  bank files.  Oracle Receivables lets you review, delete, edit,and  maintain your lockbox transmission data here before you proceed to the  lockbox validation step.  Oracle Receivables displays the lockbox and  batch records first, followed by the receipts and  overflow records for  each transmission.  Oracle Receivables also lets you edit your lockbox  data here when it fails the validation step.  Once the lockbox program  has successfully validated your transmission data, you can review and  edit it in the QuickCash form.  If you are updating data, be sure to  update only those      fields that have data which corresponds to the  transmission format that you used when you submitted the import process.   You can use  AutoCash Rules with Lockbox to automatically apply  receipts to open debit items if you do not specify debit item  information in your  lockbox transmission format.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Transmission Records                       (AR_PAYMENTS_INTERFACE)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Name, Creation Date, Lock Box Number, Batch Name,  Item Number, Receipt Number,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Overflow Sequence, Record Identifier, Status, Comments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Control Info - Bank  Origination Number, Destination Account, Deposit Date, GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Deposit Time, Currency,  Transmission Record Count, Transmission Amount,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Lockbox Batch Count, Lockbox  Amount, Lockbox Receipt Count,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Batch Receipt Count, Batch Amount,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Info - Overflow  Indicator, Receipt Date, Receipt Number, Payment Method,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Remittance Amount, Customer  Number, Billing Location, Transmit Routing,Account,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Applications - Applied  Amount, Invoice Number, Status,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Attributes - Attribute (1 - 15)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Reconcile Receipts                                                 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to reconcile your bank account and create new  batches of cleared receipts for receipts with a receipt class which  requires clearance.  You perform this step to mark receipts as      cleared.  When you clear a receipts Oracle Receivables credits your cash  account and debits your remittance or factoring account.Oracle  Receivables allows you to query up existing batches of cleared receipts,  create new batches of cleared receipts, and add cleared receipts to  existing batches, in this form.  Oracle Receivables only allows you to  query up receipts for reconciliation which you have remitted to the bank  accounts that you specify in this form, if these receipts have a  receipt class which requires   remittance.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Batch                                                                   (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Batch Name, Batch Date, Bank  Name, Branch, Account, Currency, GL Date,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Selection Criteria -  Remittance Dates Range, Receipt Number Range&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Clear Receipts                                             (AR_CASH_RECEIPT_HISTORY)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Action (Clear, Reverse),  Receipt Number, Receipt Amount, Date Cleared,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Amount Cleared, GL Date,  Status, Remit Date, Maturity Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create Automatic Remittances                                       &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to mark receipts that you want to include in a  remittance batch. You can create unapproved, approved, or approved            and formatted remittance batches.  If the AR: Automatic Remittance  Creation profile is set to Format, then you can create, approve and  format the remittance batch in one step.  If this profile option is set  to Approve, then Oracle Receivables lets you create and approveyour  remittance batches in this form.  If it is set to Create, then you can  only create remittance batches here, and need a user for whom the option  is set to Format to approve and format them in the Approve Automatic  Remittances form. When you save your work, Oracle Receivables  initiates  a single   concurrent process which produces a report giving you  details of  the remittance batches which have been created.  If you  choose to      format your batch then Oracle Receivables  initiates an  additional process which creates the formatted batch information. Oracle  Receivables  will only include receipts with Payment Methods for which  the receipt class requires remittance in the remittance batches that it  creates.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Creation Criteria                                    (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Batch Name, Batch Date,  Remittance Method, Payment Method, GL Date, Currency,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Remittance Bank, Branch,  Account, Action (Create,Approve, Format)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Selection Criteria -  Receipt Dates Range, Receipt Number Range,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Customer Number Range,  Maturity Date Range, Document Number Range&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Approve Automatic Remittances                                     &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review your remittance batches for approval  and  formatting.The actions that you can take depend upon the value   that your system administrator has set for the profile option AR:  Automatic Remittance Creation. Oracle Receivables  will only create  remittance batches from receipts with a payment method whose receipt  class requires  remittance. After you have submitted a remittance batch  for approval or  formatting you can still review it in this form, but  you cannot view receipt level information. If you update a receipt&#39;s  remittance bank account, Oracle Receivables excludes the receipt from  this batch unless you are remitting to the clearing institution for this  new remittance bank.When you save your remittance action, Oracle  Receivables displays  the concurrent request id of the concurrent  process you have submitted to approve the batch of remittances that you  specify. This concurrent process produces a report giving you details of  the batches which have been approved.  If you choose to format your  batch then Oracle Receivables  initiates an additional process which  creates the formatted batch information.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Format Automatic Remittances&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Create Automatic Receipts                                         &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to create unapproved, approved, or approved and  formatted automatic receipts.  Whether you can create approved or   formatted automatic receipts depends on the value that your system&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;administrator has set for the AR: Automatic  Receipt Creation   Authority profile option.        When you save your  record, Oracle Receivables  initiates a single concurrent process which  produces a report giving you details of  the automatic receipt batches  which have been created.  If you choose to format your batch then Oracle  Receivables  initiates an additional process which creates the  formatted batch information. If confirmation is not required for the  receipt class that you assigned to the payment method you entered for  the creation of this automatic receipt batch, then Oracle Receivables  automatically confirms all of the receipts within this batch when you  approve the batch.  If your receipt class requires confirmation then  Oracle Receivables requires that you confirm the automatic receipts in  this batch in the Confirm Automatic Receipts form, once they are  approved. If you have defined customer relationships and you want to  create automatic receipts for the parent customer, then you must assign  this parent customer&#39;s bank accounts to the invoices paid with the  automatic receipt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Creation Criteria                                    (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Batch Name, Batch Date,  Payment Method, GL Date, Currency,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Action (Create,Approve, Format)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Invoice Selection Criteria -  Invoice Dates Range, Invoice Number Range,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Customer Number Range, Due  Date Range, Document Number Range&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Approve Automatic Receipts                                        &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use the Approve Automatic Receipts form to approve,delete and  format your automatic receipts.  The actions that you can take in this  form depend upon the value that your system administrator hasset for the  AR: Automatic Receipt Creation Authority profile option.Query up the  automatic receipts that you want to approve, delete or  format, and then  select the action you want to take.  Oracle       Receivables allows  you to update the rate date, type and rate of  your foreign currency  automatic receipt batches if the status of  the batch is Completed  Creation.When you save your record, Oracle Receivables  initiates a  single concurrent process which produces a report giving you details of  the automatic receipt batches which have been approved.  If you choose  to format your batch then Oracle Receivables  initiates an additional  process which creates the formatted batch information. If confirmation  is not required for the receipt class that you  assigned to the payment  method you entered for the creation of thisautomatic receipt batch, then  Oracle Receivables automatically  confirms all of the receipts within  this batch when you approve the batch.  If your receipt class requires  confirmation then Oracle Receivables requires that you confirm the  automatic receipts in this batch in the Confirm Automatic Receipts form,  once they are&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;approved.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Format Automatic Receipts&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Confirm Automatic Receipts                                         &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;          Use this form to enter customer confirmations of approved   automatic receipts and their applications.  Oracle Receivables updates  your  customer balances when you confirm a receipt.  After you query up   the automatic receipt you want to confirm, you can review and update  the invoices you have selected to apply to the receipt as  well as  remittance bank and customer bank information.  Oracle     Receivables  allows you to update the invoice application amounts   and bank  information.Oracle Receivables only requires that you use this form to  confirm receipts with payment methods that belong to receipt classes  which require confirmation.  You can query receipts for receipt classes   which do not require confirmation, if they are not yet included in a  remittance batch, but you can only update their remittance and factoring  information.  Oracle Receivables does not allow you to delete a batch  of automatic receipts that has a status of Completed Approval if you  have confirmed any of the receipts within this  batch.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Receipt                          (Query)                  (AR_CASH_RECEIPTS)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Number, Document  Number, Receipt Class, Payment Method,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Receipt Date, Receipt Amount,  Currency, Customer Name, Customer Number,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Location                                             &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Confirmation Info - Confirm, GL Date, Confirmation Date,  Factor,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;                  Confirmed Amount,Customer Reference&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Remittance Detail (Old/New) - Maturity Date,  Remittance Bank Name,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;               Remittance Bank Branch, Remittance Bank Account, Customer Bank  Name,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;              Customer  Bank Branch, Customer Bank Account&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Invoice Details&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Balance Due, Approved Amount, Invoice Number,  Invoice Type, Invoice Date&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Post QuickCash                                                     &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this  form to recognize and update your customer&#39;s accounts with receipts  entered in the QuickCash forms or through the Process Lockbox program.   Oracle Receivables displays only those batches  which have not been  posted to update customer accounts.  For batches entered through  Lockbox, you can skip this step by choosing         to post the batch to  customer accounts in the Run LockBox Interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;form.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Available Batches                            (AR_BATCHES)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            -  Options (Select), Source, Name, Batch Date, Status, Request&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Record A Call                                                      &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to record information about your customer  calls.Oracle Receivables provides collectors with essential call details  and makes it easy to record call information and review previous    calls.   Use this form to log call topics, outcomes, and actions.  You  can place amounts in dispute in the Call Actions zone.  Oracle  Receivables also lets you view a summary of your customer calls in the  View Call History form.  Use \ Other Zoom to quickly review other  information in the View Invoice Image, View Transaction            History, and View Call History forms while you talk to your customer.   You can also review additional customer payment or open invoice  information in the View Receipts by Customer and View Customer Account  Detail forms.  If you enter this form through  the Choose Next Screen  option from another form, Oracle Receivables  defaults information into  the Customer, Contact, and Call Topic zones.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Customer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Name, Address, Contact Who  Called&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Call  Topic&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Call  Taken By, Invoice Details&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Call Out Come&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Customer Response, Promise, Follow Up, Call Out Come, Memo Pad&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Call Action&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Action, Amount, Memo Pad,  Notify&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Transaction  History                                          &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to review the  history of a transaction.  The complete history includes receipts,  credit memos, on-account credits, adjustments, and debit items.  With  Choose Next Screen, you can    move easily between inquiry screens  without using the main menu. Oracle Receivables completes your new form  with information about  the transaction or receipt you are reviewing  when you use Choose   Next Screen to review an open debit item,  on-account credit, credit memo information, an image of your debit item,  on-account credit,or credit memo, and customer calls.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Invoice Image                                                &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review detailed information about a  transaction. With Choose Next Screen, you can move easily between  inquiry  screens without using the main menu.  When you choose next  screen, Oracle Receivables fills in your new form with information  regarding the transaction you are reviewing.  You can use this to  navigate to forms where you can review application and adjustment  activity, call history, or quickly find other transactions for the  customer.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Batch  Control Amounts                                       &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to quickly  determine the status of your receipt batches.  Oracle Receivables  displays receipt batch information so you can see where the control  counts and amounts are not equal to your actual counts and amounts.  Use  the View Batch Detail and the View Batch Unapplied Amounts forms to  further review your receipt batches and the receipts they contain.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Batch Unapplied Amounts                                       &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review unidentified and unapplied receipt  counts  and amounts by receipt batch.  You can review receipt batches  based on the search criteria you specify.  Oracle Receivables lets you    quickly access complete information and determine where you need to  continue your work.  You create receipt batches when you use the  QuickCash, Enter Receipts, and Enter Miscellaneous Transactions     forms.  Use the Review Receipts by Batch form to access more detailed  information about any of your receipt batches.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Batch Detail                                                 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review all payments within a receipt batch.   You query the receipt batch you want to review in the Batch zone,  thenyou can use additional criteria to query receipts within that batch.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Receipts by Customer                                          &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review your customers&#39; receipts.  You can  review receipts for a particular customer or all receipts based on the  search criteria you enter in the Receipts zone.  No matter how you  select receipts to review, Oracle Receivables always displays  customer  information as you navigate to each receipt.  Use the ViewCustomer  Account Detail form to review the status of a particular customer&#39;s  account.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View  Transmission History                                         &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to review  information about lockbox transmissions you          submit through the  Submit Lockbox Processing form.  You can review            information  about the transmission record set in the form: use the Maintain Lockbox  Transmission Data form to review individual  records within the  transmission.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View  Customer Account Detail                                      &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to review the  status of a customer&#39;s account.  Oracle Receivables displays details of  all receipts and transactions for  your customer.  Oracle Receivables  also lets you see the current   customer account balances in your  functional currency using the most recent exchange rate.  Oracle  Receivables displays different  information depending on the option you  select in the customer zone.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View Customer Account Summary                                      &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to review your customer accounts.  Oracle  Receivables         lets you choose your customers for review by using a  wide range of search criteria.  Oracle Receivables displays all  customers and  customer account balance information that match your  search  criteria.  Use Choose Next Screen to review additional details  for each customer account including account summary information by      accounting period, credit statistics, aging information, credit profile,  and account details.  Oracle Receivables displays all amounts in your  functional currency.  Use \ Other Zoom to navigate directly to the  Customer Account Detail form where you can view thedetails of all items  for each customer.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;View  Call History                                                 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to review  previous customer call information.  Oracle Receivables gives you  detailed call history information to make collections more efficient.You  can see which customers are not   &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;meeting their commitments on outstanding receivables, and then   decide what actions you need to take.  Oracle Receivables lets you  review the calls here that you entered in the Record A Call form.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Customer Inquiry                                                  &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form when you need to identify a customer and you  only have a minimal amount of information.  Oracle Receivables can  identify customers from a partial customer name, a payment number,         a contact name, an address, a city, a state, a postal code, a   transaction number, or a telephone number.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Run Concurrent Programs&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Run Auto Invoice&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Run Customer Interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Run Tax Rate Interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;- Run Revenue Recognition&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Submit Lockbox Processing                                          &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Use this form to submit your lockbox transmission processes  and  transfer payment information from your bank files into Oracle  Receivables.  Oracle Receivables lets you submit each step of the   lockbox transmission process as a separate request or submit all of the  transmission processes as one request, depending upon your  specific  business needs.  For example, you may choose to import  data into Oracle  Receivables and examine it before validating it  within Oracle  Receivables.  Upon examination and approval, you can submit the  validation step and Oracle Receivables automatically  validates your  data and creates QuickCash payment batches.  Oracle Receivables lets you  view your payment batches in the QuickCash  form before updating your  customers&#39; accounts using Post QuickCash. Oracle Receivables gives you  the flexibility to either examine and control each step, or submit all  of the steps at once.             The &#39;Process Lockboxes&#39; program  transfers payments received by your bank to Oracle Receivables.  Since  this program is entering  Payments into Oracle Receivables, the program  must be smart enough to enter the primary billing location as well.  If  your bank is incapable of transmitting the billing location of your  payments,  then the program should choose the primary billing location  of the identified customer.  Oracle Receivables will give you the option  to determine the fate of your payments  when there is no billing   location available.  This option will be enabled in the &#39;Define  Lockboxes&#39; form. Your options will be to reject the payments when the  billing location does not exist or to ignore the missing billing  location.  If you desire the first option, the Oracle Receivables will  issue an error message indicating that the billing location was not  available.  The &#39;Process Lockboxes&#39; program must  evaluate the status of  the &#39;Bill-To Site&#39;parameter in the &#39;QuickCash&#39; form to determine if the  &#39;Billing Location&#39; is required.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Open/Close Accounting Periods                                     &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this  form to open and close accounting periods in your  receivables calendar.  You define your receivables calendar in the Define Calendar form.   Oracle Receivables references the statuses of these accounting periods  to control transaction entry and  journal entry creation to your general  ledger.  You may not enter an activity in a closed accounting period.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Open Next Accounting Period&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Latest Open Period, Open Next  Period&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Accounting Periods&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             - Period Status (Open,Close,Future), Period Number,  Fiscal Year, &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            - Period Name,Begin Date, End  Date &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Run GL Interface                                                   &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;            Use this form to create journal  entries to post in detail or summary.  Oracle Receivables first  transfers transaction data into the GL_INTERFACE table and generates the  Posting Execution Report. Use the Posting Execution Report to see a  summary of transactions that are imported into the GL_INTERFACE table.   Transactions that  failed validation are printed in the Unposted Items  Report produced from this run.  From here, if you have Oracle General  Ledger installed you can use Journal Import to create journal entries to  post to your general ledger.  If you do not have Oracle General     Ledger installed you can use your feeder system to import data from the  GL_INTERFACE table.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;             Transfer Crireria&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/oracle-account-receivables-ar.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-6598625391060079329</guid><pubDate>Thu, 22 Dec 2011 06:14:00 +0000</pubDate><atom:updated>2011-12-21T22:14:22.619-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Injection</category><title>SQL - Injection</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;If you take user input through a webpage and insert it into a SQL  database there&#39;s a chance that you have left yourself wide open for a  security issue known as SQL Injection.&lt;br /&gt;
This lesson will teach you how to help prevent this from happening  and help you secure your scripts and SQL statements in your server side  scripts such as PERL Script.&lt;br /&gt;
Injection usually occurs when you ask a user for input, like their  name, and instead of a name they give you a SQL statement that you will  unknowingly run on your database.&lt;br /&gt;
Never trust user provided data, process this data only after  validation; as a rule, this is done by pattern matching.&lt;br /&gt;
In the example below, the &lt;b&gt;name&lt;/b&gt; is restricted to alphanumerical  chars plus underscore and to a length between 8 and 20 chars (Modify  these rules as needed).&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;if (preg_match(&quot;/^\w{8,20}$/&quot;, $_GET[&#39;username&#39;], $matches))
{
   $result = mysql_query(&quot;SELECT * FROM CUSTOMERS 
                          WHERE name=$matches[0]&quot;);
}
else 
{
   echo &quot;user name not accepted&quot;;
}&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;To demonstrate the problem, consider this excerpt:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;// supposed input
$name = &quot;Qadir&#39;; DELETE FROM CUSTOMERS;&quot;;
mysql_query(&quot;SELECT * FROM CUSTOMSRS WHERE name=&#39;{$name}&#39;&quot;);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The function call is supposed to retrieve a record from the CUSTOMERS  table where the name column matches the name specified by the user.  Under normal circumstances, $name would only contain alphanumeric  characters and perhaps spaces, such as the string ilia. But here, by  appending an entirely new query to $name, the call to the database turns  into disaster: the injected DELETE query removes all records from  CUSTOMERS.&lt;br /&gt;
Fortunately, if you use MySQL, the mysql_query() function does not  permit query stacking, or executing multiple SQL queries in a single  function call. If you try to stack queries, the call fails.&lt;br /&gt;
However, other PHP database extensions, such as SQLite and  PostgreSQL, happily perform stacked queries, executing all of the  queries provided in one string and creating a serious security problem.&lt;br /&gt;
&lt;h2&gt;Preventing SQL Injection:&lt;/h2&gt;You can handle all escape characters smartly in scripting languages  like PERL and PHP. The MySQL extension for PHP provides the function  mysql_real_escape_string() to escape input characters that are special  to MySQL.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;if (get_magic_quotes_gpc()) 
{
  $name = stripslashes($name);
}
$name = mysql_real_escape_string($name);
mysql_query(&quot;SELECT * FROM CUSTOMERS WHERE name=&#39;{$name}&#39;&quot;);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;The LIKE Quandary:&lt;/h2&gt;To address the LIKE quandary, a custom escaping mechanism must  convert user-supplied % and _ characters to literals. Use addcslashes(),  a function that let&#39;s you specify a character range to escape.&lt;br /&gt;
&lt;pre&gt;$sub = addcslashes(mysql_real_escape_string(&quot;%str&quot;), &quot;%_&quot;);
// $sub == \%str\_
mysql_query(&quot;SELECT * FROM messages 
             WHERE subject LIKE &#39;{$sub}%&#39;&quot;);&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-injection.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-7267128792776421909</guid><pubDate>Thu, 22 Dec 2011 06:13:00 +0000</pubDate><atom:updated>2011-12-21T22:13:53.178-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Handling Duplicates</category><title>SQL - Handling Duplicates</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;There may be a situation when you have multiple duplicate records in a  table. While fetching such records, it makes more sense to fetch only  unique records instead of fetching duplicate records.&lt;br /&gt;
The SQL &lt;b&gt;DISTINCT&lt;/b&gt; keyword, which we already have discussed, is  used in conjunction with SELECT statement to eliminate all the duplicate  records and fetching only unique records.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of DISTINCT keyword to eliminate duplicate records  is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT DISTINCT column1, column2,.....columnN 
FROM table_name
WHERE [condition]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Example:&lt;/h1&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;First let us see how the following SELECT query returns duplicate  salary records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT SALARY FROM CUSTOMERS
     ORDER BY SALARY;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result where salary 2000 is coming twice  which is a duplicate record from the original table.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----------+
| SALARY   |
+----------+
|  1500.00 |
|  2000.00 |
|  2000.00 |
|  4500.00 |
|  6500.00 |
|  8500.00 |
| 10000.00 |
+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now let us use DISTINCT keywork with the above SELECT query and see  the result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT DISTINCT SALARY FROM CUSTOMERS
     ORDER BY SALARY;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result where we do not have any  duplicate entry:&lt;br /&gt;
&lt;pre&gt;+----------+
| SALARY   |
+----------+
|  1500.00 |
|  2000.00 |
|  4500.00 |
|  6500.00 |
|  8500.00 |
| 10000.00 |
+----------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-handling-duplicates.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-8149337044546176170</guid><pubDate>Thu, 22 Dec 2011 06:13:00 +0000</pubDate><atom:updated>2011-12-21T22:13:14.897-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Using Sequences</category><title>SQL - Using Sequences</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A sequence is a set of integers 1, 2, 3, ... that are generated in  order on demand. Sequences are frequently used in databases because many  applications require each row in a table to contain a unique value, and  sequences provide an easy way to generate them.&lt;br /&gt;
This chapter describes how to use sequences in MySQL.&lt;br /&gt;
&lt;h2&gt;Using AUTO_INCREMENT column:&lt;/h2&gt;The simplest way in MySQL to use Sequences is to define a column as  AUTO_INCREMENT and leave rest of the things to MySQL to take care.&lt;br /&gt;
&lt;h2&gt;Example:&lt;/h2&gt;Try out following example. This will create table and after that it  will insert few rows in this table where it is not required to give  record ID because its auto incremented by MySQL.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; CREATE TABLE INSECT
    -&amp;gt; (
    -&amp;gt; id INT UNSIGNED NOT NULL AUTO_INCREMENT,
    -&amp;gt; PRIMARY KEY (id),
    -&amp;gt; name VARCHAR(30) NOT NULL, # type of insect
    -&amp;gt; date DATE NOT NULL, # date collected
    -&amp;gt; origin VARCHAR(30) NOT NULL # where collected
);
Query OK, 0 rows affected (0.02 sec)
mysql&amp;gt; INSERT INTO INSECT (id,name,date,origin) VALUES
    -&amp;gt; (NULL,&#39;housefly&#39;,&#39;2001-09-10&#39;,&#39;kitchen&#39;),
    -&amp;gt; (NULL,&#39;millipede&#39;,&#39;2001-09-10&#39;,&#39;driveway&#39;),
    -&amp;gt; (NULL,&#39;grasshopper&#39;,&#39;2001-09-10&#39;,&#39;front yard&#39;);
Query OK, 3 rows affected (0.02 sec)
Records: 3  Duplicates: 0  Warnings: 0
mysql&amp;gt; SELECT * FROM INSECT ORDER BY id;
+----+-------------+------------+------------+
| id | name        | date       | origin     |
+----+-------------+------------+------------+
|  1 | housefly    | 2001-09-10 | kitchen    |
|  2 | millipede   | 2001-09-10 | driveway   |
|  3 | grasshopper | 2001-09-10 | front yard |
+----+-------------+------------+------------+
3 rows in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Obtain AUTO_INCREMENT Values:&lt;/h2&gt;LAST_INSERT_ID( ) is a SQL function, so you can use it from within  any client that understands how to issue SQL statements. otherwise PERL  and PHH scripts provide exclusive functions to retrieve auto incremented  value of last record.&lt;br /&gt;
&lt;h3&gt;PERL Example:&lt;/h3&gt;Use the mysql_insertid attribute to obtain the AUTO_INCREMENT value  generated by a query. This attribute is accessed through either a  database handle or a statement handle, depending on how you issue the  query. The following example references it through the database handle:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;$dbh-&amp;gt;do (&quot;INSERT INTO INSECT (name,date,origin)
VALUES(&#39;moth&#39;,&#39;2001-09-14&#39;,&#39;windowsill&#39;)&quot;);
my $seq = $dbh-&amp;gt;{mysql_insertid};&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;PHP Example:&lt;/h3&gt;After issuing a query that generates an AUTO_INCREMENT value,  retrieve the value by calling mysql_insert_id( ):&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql_query (&quot;INSERT INTO INSECT (name,date,origin)
VALUES(&#39;moth&#39;,&#39;2001-09-14&#39;,&#39;windowsill&#39;)&quot;, $conn_id);
$seq = mysql_insert_id ($conn_id);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Renumbering an Existing Sequence:&lt;/h2&gt;There may be a case when you have deleted many records from a table  and you want to resequence all the records. This can be done by using a  simple trick but you should be very careful to do so if your table is  having join with other table.&lt;br /&gt;
If you determine that resequencing an AUTO_INCREMENT column is  unavoidable, the way to do it is to drop the column from the table, then  add it again. The following example shows how to renumber the id values  in the insect table using this technique:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; ALTER TABLE INSECT DROP id;
mysql&amp;gt; ALTER TABLE insect
    -&amp;gt; ADD id INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
    -&amp;gt; ADD PRIMARY KEY (id);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Starting a Sequence at a Particular Value:&lt;/h2&gt;By default MySQL will start sequence from 1 but you can specify any  other number as well at the time of table creation. Following is the  example where MySQL will start sequence from 100.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; CREATE TABLE INSECT
    -&amp;gt; (
    -&amp;gt; id INT UNSIGNED NOT NULL AUTO_INCREMENT = 100,
    -&amp;gt; PRIMARY KEY (id),
    -&amp;gt; name VARCHAR(30) NOT NULL, # type of insect
    -&amp;gt; date DATE NOT NULL, # date collected
    -&amp;gt; origin VARCHAR(30) NOT NULL # where collected
);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Alternatively, you can create the table and then set the initial  sequence value with ALTER TABLE.&lt;br /&gt;
&lt;pre&gt;mysql&amp;gt; ALTER TABLE t AUTO_INCREMENT = 100;&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-using-sequences.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-864472822274349477</guid><pubDate>Thu, 22 Dec 2011 06:12:00 +0000</pubDate><atom:updated>2011-12-21T22:12:35.375-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Sub Queries</category><title>SQL - Sub Queries</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A Subquery or Inner query or Nested query is a query within another  SQL query, and embedded within the WHERE clause.&lt;br /&gt;
A subquery is used to return data that will be used in the main query  as a condition to further restrict the data to be retrieved.&lt;br /&gt;
Subqueries can be used with the SELECT, INSERT, UPDATE, and DELETE  statements along with the operators like =, &amp;lt;, &amp;gt;, &amp;gt;=, &amp;lt;=,  IN, BETWEEN etc.&lt;br /&gt;
There are a few rules that subqueries must follow:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Subqueries must be enclosed within parentheses.&lt;/li&gt;
&lt;li&gt;A subquery can have only one column in the SELECT clause, unless  multiple columns are in the main query for the subquery to compare its  selected columns.&lt;/li&gt;
&lt;li&gt;An ORDER BY cannot be used in a subquery, although the main query  can use an ORDER BY. The GROUP BY can be used to perform the same  function as the ORDER BY in a subquery.&lt;/li&gt;
&lt;li&gt;Subqueries that return more than one row can only be used with  multiple value operators, such as the IN operator.&lt;/li&gt;
&lt;li&gt;The SELECT list cannot include any references to values that  evaluate to a BLOB, ARRAY, CLOB, or NCLOB.&lt;/li&gt;
&lt;li&gt;A subquery cannot be immediately enclosed in a set function.&lt;/li&gt;
&lt;li&gt;The BETWEEN operator cannot be used with a subquery; however, the  BETWEEN can be used within the subquery.&lt;/li&gt;
&lt;/ul&gt;&lt;h1&gt;Subqueries with the SELECT Statement:&lt;/h1&gt;Subqueries are most frequently used with the SELECT statement. The  basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column_name [, column_name ]
FROM   table1 [, table2 ]
WHERE  column_name OPERATOR
      (SELECT column_name [, column_name ]
      FROM table1 [, table2 ]
      [WHERE])&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Example:&lt;/h2&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  35 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now let us check following sub-query with SELECT statement:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT * 
     FROM CUSTOMERS 
     WHERE ID IN (SELECT ID 
                  FROM CUSTOMERS 
                  WHERE SALARY &amp;gt; 4500) ;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+---------+----------+
| ID | NAME     | AGE | ADDRESS | SALARY   |
+----+----------+-----+---------+----------+
|  4 | Chaitali |  25 | Mumbai  |  6500.00 |
|  5 | Hardik   |  27 | Bhopal  |  8500.00 |
|  7 | Muffy    |  24 | Indore  | 10000.00 |
+----+----------+-----+---------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Subqueries with the INSERT Statement:&lt;/h1&gt;Subqueries also can be used  with INSERT statements. The INSERT  statement uses the data returned from the subquery to insert into  another table. The selected data in the subquery can be modified with  any of the character, date, or number functions.&lt;br /&gt;
The basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;INSERT INTO table_name [ (column1 [, column2 ]) ]
           SELECT [ *|column1 [, column2 ]
           FROM table1 [, table2 ]
           [ WHERE VALUE OPERATOR ]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Example:&lt;/h2&gt;Consider a table CUSTOMERS_BKP with similar structure as  CUSTOMERS  table. Now to copy complete CUSTOMERS table into CUSTOMERS_BKP,  following is the syntax:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; INSERT INTO CUSTOMERS_BKP
     SELECT * FROM CUSTOMERS 
     WHERE ID IN (SELECT ID 
                  FROM CUSTOMERS) ;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Subqueries with the UPDATE Statement:&lt;/h1&gt;The subquery can be used in conjunction with the UPDATE statement.  Either single or multiple columns in a table can be updated when using a  subquery with the UPDATE statement.&lt;br /&gt;
The basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;UPDATE table
SET column_name = new_value
[ WHERE OPERATOR [ VALUE ]
   (SELECT COLUMN_NAME
   FROM TABLE_NAME)
   [ WHERE) ]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Example:&lt;/h2&gt;Assuming, we have CUSTOMERS_BKP table available which is backup of  CUSTOMERS table.&lt;br /&gt;
Following example updates SALARY by 0.25 times in CUSTOMERS table for  all the customers whose AGE is greater than or equal to 27:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; UPDATE CUSTOMERS
     SET SALARY = SALARY * 0.25
     WHERE AGE IN (SELECT AGE FROM CUSTOMERS_BKP
                   WHERE AGE &amp;gt;= 27 );&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would impact two rows and finally CUSTOMERS table would have  following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  35 | Ahmedabad |   125.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  2125.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Subqueries with the DELETE Statement:&lt;/h1&gt;The subquery can be used in conjunction with the DELETE statement  like with any other statements mentioned above.&lt;br /&gt;
The basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;DELETE FROM TABLE_NAME
[ WHERE OPERATOR [ VALUE ]
   (SELECT COLUMN_NAME
   FROM TABLE_NAME)
   [ WHERE) ]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Example:&lt;/h2&gt;Assuming, we have CUSTOMERS_BKP table available which is backup of  CUSTOMERS table.&lt;br /&gt;
Following example deletes records from CUSTOMERS table for all the  customers whose AGE is greater than or equal to 27:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; DELETE FROM CUSTOMERS
     WHERE AGE IN (SELECT AGE FROM CUSTOMERS_BKP
                   WHERE AGE &amp;gt; 27 );&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would impact two rows and finally CUSTOMERS table would have  following records:&lt;br /&gt;
&lt;pre&gt;+----+----------+-----+---------+----------+
| ID | NAME     | AGE | ADDRESS | SALARY   |
+----+----------+-----+---------+----------+
|  2 | Khilan   |  25 | Delhi   |  1500.00 |
|  3 | kaushik  |  23 | Kota    |  2000.00 |
|  4 | Chaitali |  25 | Mumbai  |  6500.00 |
|  6 | Komal    |  22 | MP      |  4500.00 |
|  7 | Muffy    |  24 | Indore  | 10000.00 |
+----+----------+-----+---------+----------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-sub-queries.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-8369075078430780566</guid><pubDate>Thu, 22 Dec 2011 06:11:00 +0000</pubDate><atom:updated>2011-12-21T22:11:54.590-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Clone Tables</category><title>SQL - Clone Tables</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;There may be a situation when you need an exact copy of a table, and  CREATE TABLE ... SELECT... doesn&#39;t suit your purposes because the copy  must include the same indexes, default values, and so forth.&lt;br /&gt;
If you are using MySQL RDBMS, you can handle this situation by  following steps.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Use SHOW CREATE TABLE command to get a CREATE TABLE statement  that specifies the source table&#39;s structure, indexes and all.&lt;/li&gt;
&lt;li&gt;Modify the statement to change the table name to that of the  clone table and execute the statement. This way you will have exact  clone table.&lt;/li&gt;
&lt;li&gt;Optionally, If you need the table contents copied as well, issue  an INSERT INTO ... SELECT statement, too.&lt;/li&gt;
&lt;/ol&gt;&lt;h2&gt;Example:&lt;/h2&gt;Try out following example to create a clone table for &lt;b&gt;TUTORIALS_TBL&lt;/b&gt;  whose structure is as follows:&lt;br /&gt;
&lt;h3&gt;Step 1: &lt;/h3&gt;Get complete structure about table&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SHOW CREATE TABLE TUTORIALS_TBL \G;
*************************** 1. row ***************************
       Table: TUTORIALS_TBL
Create Table: CREATE TABLE `TUTORIALS_TBL` (
  `tutorial_id` int(11) NOT NULL auto_increment,
  `tutorial_title` varchar(100) NOT NULL default &#39;&#39;,
  `tutorial_author` varchar(40) NOT NULL default &#39;&#39;,
  `submission_date` date default NULL,
  PRIMARY KEY  (`tutorial_id`),
  UNIQUE KEY `AUTHOR_INDEX` (`tutorial_author`)
) TYPE=MyISAM
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;Step 2: &lt;/h3&gt;Rename this table and create another table&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; CREATE TABLE `CLONE_TBL` (
  -&amp;gt; `tutorial_id` int(11) NOT NULL auto_increment,
  -&amp;gt; `tutorial_title` varchar(100) NOT NULL default &#39;&#39;,
  -&amp;gt; `tutorial_author` varchar(40) NOT NULL default &#39;&#39;,
  -&amp;gt; `submission_date` date default NULL,
  -&amp;gt; PRIMARY KEY  (`tutorial_id`),
  -&amp;gt; UNIQUE KEY `AUTHOR_INDEX` (`tutorial_author`)
-&amp;gt; ) TYPE=MyISAM;
Query OK, 0 rows affected (1.80 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;Step 3:&lt;/h3&gt;After executing step 2 you will a clone table in  your database. If you want to copy data from old table then you can do  it by using INSERT INTO... SELECT statement.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; INSERT INTO CLONE_TBL (tutorial_id,
    -&amp;gt;                        tutorial_title,
    -&amp;gt;                        tutorial_author,
    -&amp;gt;                        submission_date)
    -&amp;gt; SELECT tutorial_id,tutorial_title,
    -&amp;gt;        tutorial_author,submission_date,
    -&amp;gt; FROM TUTORIALS_TBL;
Query OK, 3 rows affected (0.07 sec)
Records: 3  Duplicates: 0  Warnings: 0&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Finally you will have exact clone table as you wanted to have.&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-clone-tables.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-5159945790828350979</guid><pubDate>Thu, 22 Dec 2011 06:10:00 +0000</pubDate><atom:updated>2011-12-21T22:10:18.582-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Temporary Tables</category><title>SQL - Temporary Tables</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;There are RDBMS which support temporary tables. Temporary Tables are a  great feature that lets you store and process intermediate results by  using the same selection, update, and join capabilities that you can use  with typical SQL Server tables.&lt;br /&gt;
The temporary tables could be very useful in some cases to keep  temporary data. The most important thing that should be knows for  temporary tables is that they will be deleted when the current client  session terminates.&lt;br /&gt;
Temporary tables are available in MySQL version 3.23 onwards. If you  use an older version of MySQL than 3.23 you can&#39;t use temporary tables,  but you can use heap tables.&lt;br /&gt;
As stated earlier temporary tables will only last as long as the  session is alive. If you run the code in a PHP script, the temporary  table will be destroyed  automatically when the script finishes  executing. If you are connected to the MySQL database server through the  MySQL client program, then the temporary table will exist until you  close the client or manually destroy  the table.&lt;br /&gt;
&lt;h2&gt;Example&lt;/h2&gt;Here is an example showing you usage of temporary table:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; CREATE TEMPORARY TABLE SALESSUMMARY (
    -&amp;gt; product_name VARCHAR(50) NOT NULL
    -&amp;gt; , total_sales DECIMAL(12,2) NOT NULL DEFAULT 0.00
    -&amp;gt; , avg_unit_price DECIMAL(7,2) NOT NULL DEFAULT 0.00
    -&amp;gt; , total_units_sold INT UNSIGNED NOT NULL DEFAULT 0
);
Query OK, 0 rows affected (0.00 sec)

mysql&amp;gt; INSERT INTO SALESSUMMARY
    -&amp;gt; (product_name, total_sales, avg_unit_price, total_units_sold)
    -&amp;gt; VALUES
    -&amp;gt; (&#39;cucumber&#39;, 100.25, 90, 2);

mysql&amp;gt; SELECT * FROM SALESSUMMARY;
+--------------+-------------+----------------+------------------+
| product_name | total_sales | avg_unit_price | total_units_sold |
+--------------+-------------+----------------+------------------+
| cucumber     |      100.25 |          90.00 |                2 |
+--------------+-------------+----------------+------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;When you issue a &lt;b&gt;SHOW TABLES&lt;/b&gt; command then your temporary  table would not be listed out in the list. Now if you will log out of  the MySQL session and then you will issue a SELECT command then you will  find no data available in the database. Even your temporary table would  also not exist.&lt;br /&gt;
&lt;h2&gt;Dropping Temporary Tables:&lt;/h2&gt;By default all the temporary tables are deleted by MySQL when your  database connection gets terminated. Still you want to delete them in  between then you do so by issuing DROP TABLE command.&lt;br /&gt;
Following is the example on dropping a temproary table.&lt;br /&gt;
&lt;pre&gt;mysql&amp;gt; CREATE TEMPORARY TABLE SALESSUMMARY (
    -&amp;gt; product_name VARCHAR(50) NOT NULL
    -&amp;gt; , total_sales DECIMAL(12,2) NOT NULL DEFAULT 0.00
    -&amp;gt; , avg_unit_price DECIMAL(7,2) NOT NULL DEFAULT 0.00
    -&amp;gt; , total_units_sold INT UNSIGNED NOT NULL DEFAULT 0
);
Query OK, 0 rows affected (0.00 sec)

mysql&amp;gt; INSERT INTO SALESSUMMARY
    -&amp;gt; (product_name, total_sales, avg_unit_price, total_units_sold)
    -&amp;gt; VALUES
    -&amp;gt; (&#39;cucumber&#39;, 100.25, 90, 2);

mysql&amp;gt; SELECT * FROM SALESSUMMARY;
+--------------+-------------+----------------+------------------+
| product_name | total_sales | avg_unit_price | total_units_sold |
+--------------+-------------+----------------+------------------+
| cucumber     |      100.25 |          90.00 |                2 |
+--------------+-------------+----------------+------------------+
1 row in set (0.00 sec)
mysql&amp;gt; DROP TABLE SALESSUMMARY;
mysql&amp;gt;  SELECT * FROM SALESSUMMARY;
ERROR 1146: Table &#39;TUTORIALS.SALESSUMMARY&#39; doesn&#39;t exist&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-temporary-tables.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-5489834623562139996</guid><pubDate>Thu, 22 Dec 2011 06:02:00 +0000</pubDate><atom:updated>2011-12-21T22:02:17.071-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Date Functions</category><title>SQL - Date Functions</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Following is the list of all important Date and Time related  functions available through SQL. There are various other functions  supported by your RDBMS. Given list is based on MySQL RDBMS.&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; ADDDATE()&lt;/td&gt; &lt;td&gt;Add dates&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; ADDTIME()&lt;/td&gt; &lt;td&gt;Add time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; CONVERT_TZ()&lt;/td&gt; &lt;td&gt;Convert from one timezone to another&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;CURDATE()&lt;/td&gt; &lt;td&gt;Return the current date&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;CURRENT_DATE(),  CURRENT_DATE&lt;/td&gt; &lt;td&gt;Synonyms for CURDATE()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;CURRENT_TIME(),  CURRENT_TIME&lt;/td&gt; &lt;td&gt;Synonyms for CURTIME()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;CURRENT_TIMESTAMP(),  CURRENT_TIMESTAMP&lt;/td&gt; &lt;td&gt;Synonyms for NOW()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;CURTIME()&lt;/td&gt; &lt;td&gt;Return the current time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DATE_ADD()&lt;/td&gt; &lt;td&gt;Add two dates&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DATE_FORMAT()&lt;/td&gt; &lt;td&gt;Format date as specified&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DATE_SUB()&lt;/td&gt; &lt;td&gt;Subtract two dates&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; DATE()&lt;/td&gt; &lt;td&gt;Extract the date part of a date or datetime expression&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; DATEDIFF()&lt;/td&gt; &lt;td&gt;Subtract two dates&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; DAY()&lt;/td&gt; &lt;td&gt;Synonym for DAYOFMONTH()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; DAYNAME()&lt;/td&gt; &lt;td&gt;Return the name of the weekday&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt;  &lt;td&gt;DAYOFMONTH()&lt;/td&gt; &lt;td&gt;Return the day of the month (1-31)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAYOFWEEK()&lt;/td&gt; &lt;td&gt;Return the weekday index of the argument&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAYOFYEAR()&lt;/td&gt; &lt;td&gt;Return the day of the year (1-366)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;EXTRACT&lt;/td&gt; &lt;td&gt;Extract part of a date&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;FROM_DAYS()&lt;/td&gt; &lt;td&gt;Convert a day number to a date&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;FROM_UNIXTIME()&lt;/td&gt; &lt;td&gt;Format date as a UNIX timestamp&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;HOUR()&lt;/td&gt; &lt;td&gt;Extract the hour&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;  LAST_DAY&lt;/td&gt; &lt;td&gt;Return the last day of the month for the argument&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;LOCALTIME(),  LOCALTIME&lt;/td&gt; &lt;td&gt;Synonym for NOW()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; LOCALTIMESTAMP,  LOCALTIMESTAMP()&lt;/td&gt;  &lt;td&gt;Synonym for NOW()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; MAKEDATE()&lt;/td&gt; &lt;td&gt;Create a date from the year and day of year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; MAKETIME&lt;/td&gt; &lt;td&gt;MAKETIME()&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; MICROSECOND()&lt;/td&gt; &lt;td&gt;Return the microseconds from argument&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MINUTE()&lt;/td&gt; &lt;td&gt;Return the minute from the argument&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MONTH()&lt;/td&gt;  &lt;td&gt;Return the month from the date passed&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; MONTHNAME()&lt;/td&gt; &lt;td&gt;Return the name of the month&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;NOW()&lt;/td&gt; &lt;td&gt;Return the current date and time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;PERIOD_ADD()&lt;/td&gt; &lt;td&gt;Add a period to a year-month&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;PERIOD_DIFF()&lt;/td&gt; &lt;td&gt;Return the number of months between periods&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;QUARTER()&lt;/td&gt; &lt;td&gt;Return the quarter from a date argument&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;SEC_TO_TIME()&lt;/td&gt; &lt;td&gt;Converts seconds to &#39;HH:MM:SS&#39; format&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;SECOND()&lt;/td&gt; &lt;td&gt;Return the second (0-59)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; STR_TO_DATE()&lt;/td&gt;  &lt;td&gt;Convert a string to a date&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;SUBDATE()&lt;/td&gt; &lt;td&gt;When invoked with three arguments a synonym for DATE_SUB()&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; SUBTIME()&lt;/td&gt; &lt;td&gt;Subtract times&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;SYSDATE()&lt;/td&gt; &lt;td&gt;Return the time at which the function executes&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;TIME_FORMAT()&lt;/td&gt; &lt;td&gt;Format as time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;TIME_TO_SEC()&lt;/td&gt; &lt;td&gt;Return the argument converted to seconds&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; TIME()&lt;/td&gt; &lt;td&gt;Extract the time portion of the expression passed&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; TIMEDIFF()&lt;/td&gt; &lt;td&gt;Subtract time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; TIMESTAMP()&lt;/td&gt; &lt;td&gt;With a single argument, this function returns the date or  datetime  expression. With two arguments, the sum of the arguments&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; TIMESTAMPADD()&lt;/td&gt; &lt;td&gt;Add an interval to a datetime expression&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt;  &lt;td&gt; TIMESTAMPDIFF()&lt;/td&gt; &lt;td&gt;Subtract an interval from a datetime expression&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;TO_DAYS()&lt;/td&gt; &lt;td&gt;Return the date argument converted to days&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;UNIX_TIMESTAMP()&lt;/td&gt; &lt;td&gt;Return a UNIX timestamp&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; UTC_DATE()&lt;/td&gt; &lt;td&gt;Return the current UTC date&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; UTC_TIME()&lt;/td&gt; &lt;td&gt;Return the current UTC time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; UTC_TIMESTAMP()&lt;/td&gt; &lt;td&gt;Return the current UTC date and time&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;WEEK()&lt;/td&gt; &lt;td&gt;Return the week number&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;WEEKDAY()&lt;/td&gt; &lt;td&gt;Return the weekday index&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt; WEEKOFYEAR()&lt;/td&gt; &lt;td&gt;Return the calendar week of the date (1-53)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;YEAR()&lt;/td&gt; &lt;td&gt;Return the year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;YEARWEEK()&lt;/td&gt; &lt;td&gt;Return the year and week&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_adddate&quot;&gt;&lt;/a&gt; &lt;h2&gt;ADDDATE(date,INTERVAL expr unit), ADDDATE(expr,days)&lt;/h2&gt;When invoked with the INTERVAL form of the second argument, ADDDATE()  is a synonym for DATE_ADD(). The related function SUBDATE() is a  synonym for DATE_SUB(). For information on the INTERVAL unit argument,  see the discussion for DATE_ADD().&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DATE_ADD(&#39;1998-01-02&#39;, INTERVAL 31 DAY);
+---------------------------------------------------------+
| DATE_ADD(&#39;1998-01-02&#39;, INTERVAL 31 DAY)                 |
+---------------------------------------------------------+
| 1998-02-02                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT ADDDATE(&#39;1998-01-02&#39;, INTERVAL 31 DAY);
+---------------------------------------------------------+
| ADDDATE(&#39;1998-01-02&#39;, INTERVAL 31 DAY)                  |
+---------------------------------------------------------+
| 1998-02-02                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;When invoked with the days form of the second argument, MySQL treats  it as an integer number of days to be added to expr. &lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT ADDDATE(&#39;1998-01-02&#39;, 31);
+---------------------------------------------------------+
| DATE_ADD(&#39;1998-01-02&#39;, INTERVAL 31 DAY)                 |
+---------------------------------------------------------+
| 1998-02-02                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_addtime&quot;&gt;&lt;/a&gt; &lt;h2&gt;ADDTIME(expr1,expr2)&lt;/h2&gt;ADDTIME() adds expr2 to expr1 and returns the result. expr1 is a time  or datetime expression, and expr2 is a time expression.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT ADDTIME(&#39;1997-12-31 23:59:59.999999&#39;,&#39;1 1:1:1.000002&#39;);
+---------------------------------------------------------+
| DATE_ADD(&#39;1997-12-31 23:59:59.999999&#39;,&#39;1 1:1:1.000002&#39;) |
+---------------------------------------------------------+
| 1998-01-02 01:01:01.000001                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_convert-tz&quot;&gt;&lt;/a&gt; &lt;h2&gt;CONVERT_TZ(dt,from_tz,to_tz)&lt;/h2&gt;This converts a datetime value dt from the time zone given by from_tz  to the time zone given by to_tz and returns the resulting value. This  function returns NULL if the arguments are invalid. &lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT CONVERT_TZ(&#39;2004-01-01 12:00:00&#39;,&#39;GMT&#39;,&#39;MET&#39;);
+---------------------------------------------------------+
| CONVERT_TZ(&#39;2004-01-01 12:00:00&#39;,&#39;GMT&#39;,&#39;MET&#39;)           |
+---------------------------------------------------------+
| 2004-01-01 13:00:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT CONVERT_TZ(&#39;2004-01-01 12:00:00&#39;,&#39;+00:00&#39;,&#39;+10:00&#39;);
+---------------------------------------------------------+
| CONVERT_TZ(&#39;2004-01-01 12:00:00&#39;,&#39;+00:00&#39;,&#39;+10:00&#39;)     |
+---------------------------------------------------------+
| 2004-01-01 22:00:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_curdate&quot;&gt;&lt;/a&gt; &lt;h2&gt;CURDATE()&lt;/h2&gt;Returns the current date as a value in &#39;YYYY-MM-DD&#39; or YYYYMMDD  format, depending on whether the function is used in a string or numeric  context.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT CURDATE();
+---------------------------------------------------------+
| CURDATE()                                               |
+---------------------------------------------------------+
| 1997-12-15                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT CURDATE() + 0;
+---------------------------------------------------------+
| CURDATE() + 0                                           |
+---------------------------------------------------------+
| 19971215                                                |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_current-date&quot;&gt;&lt;/a&gt; &lt;h2&gt;CURRENT_DATE and CURRENT_DATE() &lt;/h2&gt;CURRENT_DATE and CURRENT_DATE() are synonyms for CURDATE()&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_curtime&quot;&gt;&lt;/a&gt; &lt;h2&gt;CURTIME()&lt;/h2&gt;Returns the current time as a value in &#39;HH:MM:SS&#39; or HHMMSS format,  depending on whether the function is used in a string or numeric  context. The value is expressed in the current time zone.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT CURTIME();
+---------------------------------------------------------+
| CURTIME()                                               |
+---------------------------------------------------------+
| 23:50:26                                                |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT CURTIME() + 0;
+---------------------------------------------------------+
| CURTIME() + 0                                           |
+---------------------------------------------------------+
| 235026                                                  |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_current-time&quot;&gt;&lt;/a&gt; &lt;h2&gt;CURRENT_TIME and CURRENT_TIME()&lt;/h2&gt;CURRENT_TIME and CURRENT_TIME() are synonyms for CURTIME().&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_current-timestamp&quot;&gt;&lt;/a&gt; &lt;h2&gt;CURRENT_TIMESTAMP and CURRENT_TIMESTAMP()&lt;/h2&gt;CURRENT_TIMESTAMP and CURRENT_TIMESTAMP() are synonyms for NOW().&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_date&quot;&gt;&lt;/a&gt; &lt;h2&gt;DATE(expr)&lt;/h2&gt;Extracts the date part of the date or datetime expression expr.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DATE(&#39;2003-12-31 01:02:03&#39;);
+---------------------------------------------------------+
| DATE(&#39;2003-12-31 01:02:03&#39;)                             |
+---------------------------------------------------------+
|  2003-12-31                                             |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_datediff&quot;&gt;&lt;/a&gt; &lt;h2&gt;DATEDIFF(expr1,expr2)&lt;/h2&gt;DATEDIFF() returns expr1 . expr2 expressed as a value in days from  one date to the other. expr1 and expr2 are date or date-and-time  expressions. Only the date parts of the values are used in the  calculation.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DATEDIFF(&#39;1997-12-31 23:59:59&#39;,&#39;1997-12-30&#39;);
+---------------------------------------------------------+
| DATEDIFF(&#39;1997-12-31 23:59:59&#39;,&#39;1997-12-30&#39;)            |
+---------------------------------------------------------+
| 1                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_date-add&quot;&gt;&lt;/a&gt; &lt;h2&gt;DATE_ADD(date,INTERVAL expr unit), DATE_SUB(date,INTERVAL expr unit)&lt;/h2&gt;These functions perform date arithmetic. date is a DATETIME or DATE  value specifying the starting date. expr is an expression specifying the  interval value to be added or subtracted from the starting date. expr  is a string; it may start with a .-. for negative intervals. unit is a  keyword indicating the units in which the expression should be  interpreted.&lt;br /&gt;
The INTERVAL keyword and the unit specifier are not case sensitive.&lt;br /&gt;
The following table shows the expected form of the expr argument for  each unit value;&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt; &lt;span&gt;unit &lt;strong&gt;Value&lt;/strong&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;strong&gt;Expected&lt;/strong&gt;expr&lt;strong&gt;Format&lt;/strong&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MICROSECOND&lt;/td&gt; &lt;td&gt;MICROSECONDS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;SECOND&lt;/td&gt; &lt;td&gt;SECONDS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MINUTE&lt;/td&gt; &lt;td&gt;MINUTES&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;HOUR&lt;/td&gt; &lt;td&gt;HOURS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAY&lt;/td&gt; &lt;td&gt;DAYS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;WEEK&lt;/td&gt; &lt;td&gt;WEEKS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MONTH&lt;/td&gt; &lt;td&gt;MONTHS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;QUARTER&lt;/td&gt; &lt;td&gt;QUARTERS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;YEAR&lt;/td&gt; &lt;td&gt;YEARS&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;SECOND_MICROSECOND&lt;/td&gt; &lt;td&gt;&#39;SECONDS.MICROSECONDS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MINUTE_MICROSECOND&lt;/td&gt; &lt;td&gt;&#39;MINUTES.MICROSECONDS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;MINUTE_SECOND&lt;/td&gt; &lt;td&gt;&#39;MINUTES:SECONDS&#39;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;HOUR_MICROSECOND&lt;/td&gt; &lt;td&gt;&#39;HOURS.MICROSECONDS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;HOUR_SECOND&lt;/td&gt; &lt;td&gt;&#39;HOURS:MINUTES:SECONDS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;HOUR_MINUTE&lt;/td&gt; &lt;td&gt;&#39;HOURS:MINUTES&#39;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAY_MICROSECOND&lt;/td&gt; &lt;td&gt;&#39;DAYS.MICROSECONDS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAY_SECOND&lt;/td&gt; &lt;td&gt;&#39;DAYS HOURS:MINUTES:SECONDS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAY_MINUTE&lt;/td&gt; &lt;td&gt;&#39;DAYS HOURS:MINUTES&#39;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;DAY_HOUR&lt;/td&gt; &lt;td&gt;&#39;DAYS HOURS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;YEAR_MONTH&lt;/td&gt; &lt;td&gt;&#39;YEARS-MONTHS&#39;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;The values QUARTER and WEEK are available beginning with MySQL 5.0.0.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DATE_ADD(&#39;1997-12-31 23:59:59&#39;, 
    -&amp;gt; INTERVAL &#39;1:1&#39; MINUTE_SECOND);
+---------------------------------------------------------+
| DATE_ADD(&#39;1997-12-31 23:59:59&#39;, INTERVAL...             |
+---------------------------------------------------------+
| 1998-01-01 00:01:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT DATE_ADD(&#39;1999-01-01&#39;, INTERVAL 1 HOUR);
+---------------------------------------------------------+
| DATE_ADD(&#39;1999-01-01&#39;, INTERVAL 1 HOUR)                 |
+---------------------------------------------------------+
| 1999-01-01 01:00:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_date-format&quot;&gt;&lt;/a&gt; &lt;h2&gt;DATE_FORMAT(date,format)&lt;/h2&gt;Formats the date value according to the format string.&lt;br /&gt;
The following specifiers may be used in the format string. The .%.  character is required before format specifier characters.&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt;&lt;strong&gt;Specifier&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%a&lt;/td&gt; &lt;td&gt;Abbreviated weekday name (Sun..Sat)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%b&lt;/td&gt; &lt;td&gt;Abbreviated month name (Jan..Dec)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%c&lt;/td&gt; &lt;td&gt;Month, numeric (0..12)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%D&lt;/td&gt; &lt;td&gt;Day of the month with English suffix (0th, 1st, 2nd, 3rd, .)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%d&lt;/td&gt; &lt;td&gt;Day of the month, numeric (00..31)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%e&lt;/td&gt; &lt;td&gt;Day of the month, numeric (0..31)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%f&lt;/td&gt; &lt;td&gt;Microseconds (000000..999999)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%H&lt;/td&gt; &lt;td&gt;Hour (00..23)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%h&lt;/td&gt; &lt;td&gt;Hour (01..12)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%I&lt;/td&gt; &lt;td&gt;Hour (01..12)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%i&lt;/td&gt; &lt;td&gt;Minutes, numeric (00..59)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%j&lt;/td&gt; &lt;td&gt;Day of year (001..366)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%k&lt;/td&gt; &lt;td&gt;Hour (0..23)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%l&lt;/td&gt; &lt;td&gt;Hour (1..12)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%M&lt;/td&gt; &lt;td&gt;Month name (January..December)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%m&lt;/td&gt; &lt;td&gt;Month, numeric (00..12)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%p&lt;/td&gt; &lt;td&gt; AM or PM &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%r&lt;/td&gt; &lt;td&gt;Time, 12-hour (hh:mm:ss followed by  AM or PM)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%S&lt;/td&gt; &lt;td&gt;Seconds (00..59)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%s&lt;/td&gt; &lt;td&gt;Seconds (00..59)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%T&lt;/td&gt; &lt;td&gt;Time, 24-hour (hh:mm:ss)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%U&lt;/td&gt; &lt;td&gt;Week (00..53), where Sunday is the first day of the week&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%u&lt;/td&gt; &lt;td&gt;Week (00..53), where Monday is the first day of the week&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%V&lt;/td&gt; &lt;td&gt;Week (01..53), where Sunday is the first day of the week; used with  %X  &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%v&lt;/td&gt; &lt;td&gt;Week (01..53), where Monday is the first day of the week; used with  %x &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%W&lt;/td&gt; &lt;td&gt;Weekday name (Sunday..Saturday)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%w&lt;/td&gt; &lt;td&gt;Day of the week (0=Sunday..6=Saturday)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%X&lt;/td&gt; &lt;td&gt;Year for the week where Sunday is the first day of the week,  numeric, four digits; used with %V &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%x&lt;/td&gt; &lt;td&gt;Year for the week, where Monday is the first day of the week,  numeric, four digits; used with %v &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%Y&lt;/td&gt; &lt;td&gt;Year, numeric, four digits&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%y&lt;/td&gt; &lt;td&gt;Year, numeric (two digits)&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%%&lt;/td&gt; &lt;td&gt;A literal .%. character&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;%x&lt;/td&gt; &lt;td&gt;x, for any.x. not listed above&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DATE_FORMAT(&#39;1997-10-04 22:23:00&#39;, &#39;%W %M %Y&#39;);
+---------------------------------------------------------+
| DATE_FORMAT(&#39;1997-10-04 22:23:00&#39;, &#39;%W %M %Y&#39;)          |
+---------------------------------------------------------+
| Saturday October 1997                                   |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT DATE_FORMAT(&#39;1997-10-04 22:23:00&#39;
    -&amp;gt; &#39;%H %k %I %r %T %S %w&#39;);
+---------------------------------------------------------+
| DATE_FORMAT(&#39;1997-10-04 22:23:00.......                 |
+---------------------------------------------------------+
|  22 22 10 10:23:00 PM 22:23:00 00 6                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_date-sub&quot;&gt;&lt;/a&gt; &lt;h2&gt;DATE_SUB(date,INTERVAL expr unit)&lt;/h2&gt;This is similar to DATE_ADD() function.&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_day&quot;&gt;&lt;/a&gt; &lt;h2&gt;DAY(date)&lt;/h2&gt;DAY() is a synonym for DAYOFMONTH().&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_dayname&quot;&gt;&lt;/a&gt; &lt;h2&gt;DAYNAME(date) &lt;/h2&gt;Returns the name of the weekday for date.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DAYNAME(&#39;1998-02-05&#39;);
+---------------------------------------------------------+
| DAYNAME(&#39;1998-02-05&#39;)                                   |
+---------------------------------------------------------+
| Thursday                                                |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_dayofmonth&quot;&gt;&lt;/a&gt; &lt;h2&gt;DAYOFMONTH(date)&lt;/h2&gt;Returns the day of the month for date, in the range 0 to 31.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DAYOFMONTH(&#39;1998-02-03&#39;);
+---------------------------------------------------------+
| DAYOFMONTH(&#39;1998-02-03&#39;)                                |
+---------------------------------------------------------+
| 3                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_dayofweek&quot;&gt;&lt;/a&gt; &lt;h2&gt;DAYOFWEEK(date)&lt;/h2&gt;Returns the weekday index for date (1 = Sunday, 2 = Monday, ., 7 =  Saturday). These index values correspond to the ODBC standard.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DAYOFWEEK(&#39;1998-02-03&#39;);
+---------------------------------------------------------+
|DAYOFWEEK(&#39;1998-02-03&#39;)                                  |
+---------------------------------------------------------+
| 3                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_dayofyear&quot;&gt;&lt;/a&gt;  &lt;h2&gt;DAYOFYEAR(date)&lt;/h2&gt;Returns the day of the year for date, in the range 1 to 366.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DAYOFYEAR(&#39;1998-02-03&#39;);
+---------------------------------------------------------+
| DAYOFYEAR(&#39;1998-02-03&#39;)                                 |
+---------------------------------------------------------+
| 34                                                      |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_extract&quot;&gt;&lt;/a&gt; &lt;h2&gt;EXTRACT(unit FROM date)&lt;/h2&gt;The EXTRACT() function uses the same kinds of unit specifiers as  DATE_ADD() or DATE_SUB(), but extracts parts from the date rather than  performing date arithmetic.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT EXTRACT(YEAR FROM &#39;1999-07-02&#39;);
+---------------------------------------------------------+
| EXTRACT(YEAR FROM &#39;1999-07-02&#39;)                         |
+---------------------------------------------------------+
| 1999                                                    |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT EXTRACT(YEAR_MONTH FROM &#39;1999-07-02 01:02:03&#39;);
+---------------------------------------------------------+
| EXTRACT(YEAR_MONTH FROM &#39;1999-07-02 01:02:03&#39;)          |
+---------------------------------------------------------+
| 199907                                                  |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_from-days&quot;&gt;&lt;/a&gt; &lt;h2&gt;FROM_DAYS(N)&lt;/h2&gt;Given a day number N, returns a DATE value.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT FROM_DAYS(729669);
+---------------------------------------------------------+
| FROM_DAYS(729669)                                       |
+---------------------------------------------------------+
| 1997-10-07                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Use FROM_DAYS() with caution on old dates. It is not intended for use  with values that precede the advent of the Gregorian calendar (1582). &lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_from-unixtime&quot;&gt;&lt;/a&gt; &lt;h2&gt;FROM_UNIXTIME(unix_timestamp)&lt;/h2&gt;&lt;h2&gt;FROM_UNIXTIME(unix_timestamp,format)&lt;/h2&gt;Returns a representation of the unix_timestamp argument as a value in  &#39;YYYY-MM-DD HH:MM:SS&#39; or YYYYMMDDHHMMSS format, depending on whether  the function is used in a string or numeric context. The value is  expressed in the current time zone. unix_timestamp is an internal  timestamp value such as is produced by the UNIX_TIMESTAMP() function.&lt;br /&gt;
If format is given, the result is formatted according to the format  string, which is used the same way as listed in the entry for the  DATE_FORMAT() function.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT FROM_UNIXTIME(875996580);
+---------------------------------------------------------+
| FROM_UNIXTIME(875996580)                                |
+---------------------------------------------------------+
| 1997-10-04 22:23:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_hour&quot;&gt;&lt;/a&gt; &lt;h2&gt;HOUR(time)&lt;/h2&gt;Returns the hour for time. The range of the return value is 0 to 23  for time-of-day values. However, the range of TIME values actually is  much larger, so HOUR can return values greater than 23.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT HOUR(&#39;10:05:03&#39;);
+---------------------------------------------------------+
| HOUR(&#39;10:05:03&#39;)                                        |
+---------------------------------------------------------+
| 10                                                      |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_last-day&quot;&gt;&lt;/a&gt; &lt;h2&gt;LAST_DAY(date)&lt;/h2&gt;Takes a date or datetime value and returns the corresponding value  for the last day of the month. Returns NULL if the argument is invalid.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT LAST_DAY(&#39;2003-02-05&#39;);
+---------------------------------------------------------+
| LAST_DAY(&#39;2003-02-05&#39;)                                  |
+---------------------------------------------------------+
| 2003-02-28                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_localtime&quot;&gt;&lt;/a&gt; &lt;h2&gt;LOCALTIME and LOCALTIME()&lt;/h2&gt;LOCALTIME and LOCALTIME() are synonyms for NOW().&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_localtimestamp&quot;&gt;&lt;/a&gt; &lt;h2&gt;LOCALTIMESTAMP and LOCALTIMESTAMP()&lt;/h2&gt;LOCALTIMESTAMP and LOCALTIMESTAMP() are synonyms for NOW().&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;function_makedate&quot;&gt;&lt;/a&gt; &lt;h2&gt;MAKEDATE(year,dayofyear)&lt;/h2&gt;Returns a date, given year and day-of-year values. dayofyear must be  greater than 0 or the result is NULL.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT MAKEDATE(2001,31), MAKEDATE(2001,32);
+---------------------------------------------------------+
| MAKEDATE(2001,31), MAKEDATE(2001,32)                    |
+---------------------------------------------------------+
| &#39;2001-01-31&#39;, &#39;2001-02-01&#39;                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_maketime&quot;&gt;&lt;/a&gt; &lt;h2&gt;MAKETIME(hour,minute,second)&lt;/h2&gt;Returns a time value calculated from the hour, minute, and second  arguments.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT MAKETIME(12,15,30);
+---------------------------------------------------------+
| MAKETIME(12,15,30)                                      |
+---------------------------------------------------------+
| &#39;12:15:30&#39;                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_microsecond&quot;&gt;&lt;/a&gt; &lt;h2&gt;MICROSECOND(expr)&lt;/h2&gt;Returns the microseconds from the time or datetime expression expr as  a number in the range from 0 to 999999.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT MICROSECOND(&#39;12:00:00.123456&#39;);
+---------------------------------------------------------+
| MICROSECOND(&#39;12:00:00.123456&#39;)                          |
+---------------------------------------------------------+
| 123456                                                  |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_minute&quot;&gt;&lt;/a&gt; &lt;h2&gt;MINUTE(time)&lt;/h2&gt;Returns the minute for time, in the range 0 to 59.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT MINUTE(&#39;98-02-03 10:05:03&#39;);
+---------------------------------------------------------+
| MINUTE(&#39;98-02-03 10:05:03&#39;)                             |
+---------------------------------------------------------+
| 5                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_month&quot;&gt;&lt;/a&gt; &lt;h2&gt;MONTH(date)&lt;/h2&gt;Returns the month for date, in the range 0 to 12.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT MONTH(&#39;1998-02-03&#39;)
+---------------------------------------------------------+
| MONTH(&#39;1998-02-03&#39;)                                     |
+---------------------------------------------------------+
| 2                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_monthname&quot;&gt;&lt;/a&gt; &lt;h2&gt;MONTHNAME(date)&lt;/h2&gt;Returns the full name of the month for date. &lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT MONTHNAME(&#39;1998-02-05&#39;);
+---------------------------------------------------------+
| MONTHNAME(&#39;1998-02-05&#39;)                                 |
+---------------------------------------------------------+
| February                                                |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_now&quot;&gt;&lt;/a&gt;  &lt;h2&gt;NOW()&lt;/h2&gt;Returns the current date and time as a value in &#39;YYYY-MM-DD  HH:MM:SS&#39; or YYYYMMDDHHMMSS format, depending on whether the function is  used in a string or numeric context. The value is expressed in the  current time zone.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT NOW();
+---------------------------------------------------------+
| NOW()                                                   |
+---------------------------------------------------------+
| 1997-12-15 23:50:26                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_period-add&quot;&gt;&lt;/a&gt;  &lt;h2&gt;PERIOD_ADD(P,N)&lt;/h2&gt;Adds N months to period P (in the format YYMM or YYYYMM). Returns a  value in the format YYYYMM. Note that the period argument P is not a  date value.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT PERIOD_ADD(9801,2);
+---------------------------------------------------------+
| PERIOD_ADD(9801,2)                                      |
+---------------------------------------------------------+
| 199803                                                  |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_period-diff&quot;&gt;&lt;/a&gt; &lt;h2&gt;PERIOD_DIFF(P1,P2)&lt;/h2&gt;Returns the number of months between periods P1 and P2. P1 and P2  should be in the format YYMM or YYYYMM. Note that the period arguments  P1 and P2 are not date values.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT PERIOD_DIFF(9802,199703);
+---------------------------------------------------------+
| PERIOD_DIFF(9802,199703)                                |
+---------------------------------------------------------+
| 11                                                      |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_quarter&quot;&gt;&lt;/a&gt; &lt;h2&gt;QUARTER(date)&lt;/h2&gt;Returns the quarter of the year for date, in the range 1 to 4.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT QUARTER(&#39;98-04-01&#39;);
+---------------------------------------------------------+
| QUARTER(&#39;98-04-01&#39;)                                     |
+---------------------------------------------------------+
| 2                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_second&quot;&gt;&lt;/a&gt; &lt;h2&gt;SECOND(time)&lt;/h2&gt;Returns the second for time, in the range 0 to 59.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT SECOND(&#39;10:05:03&#39;);
+---------------------------------------------------------+
| SECOND(&#39;10:05:03&#39;)                                      |
+---------------------------------------------------------+
| 3                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_sec-to-time&quot;&gt;&lt;/a&gt;  &lt;h2&gt;SEC_TO_TIME(seconds)&lt;/h2&gt;Returns the seconds argument, converted to hours, minutes, and  seconds, as a value in &#39;HH:MM:SS&#39; or HHMMSS format, depending on whether  the function is used in a string or numeric context.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT SEC_TO_TIME(2378);
+---------------------------------------------------------+
| SEC_TO_TIME(2378)                                       |
+---------------------------------------------------------+
| 00:39:38                                                |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_str-to-date&quot;&gt;&lt;/a&gt; &lt;h2&gt;STR_TO_DATE(str,format)&lt;/h2&gt;This is the inverse of the DATE_FORMAT() function. It takes a string  str and a format string format. STR_TO_DATE() returns a DATETIME value  if the format string contains both date and time parts, or a DATE or  TIME value if the string contains only date or time parts.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT STR_TO_DATE(&#39;04/31/2004&#39;, &#39;%m/%d/%Y&#39;);
+---------------------------------------------------------+
| STR_TO_DATE(&#39;04/31/2004&#39;, &#39;%m/%d/%Y&#39;)                   |
+---------------------------------------------------------+
| 2004-04-31                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_subdate&quot;&gt;&lt;/a&gt; &lt;h2&gt;SUBDATE(date,INTERVAL expr unit) and SUBDATE(expr,days) &lt;/h2&gt;When invoked with the INTERVAL form of the second argument, SUBDATE()  is a synonym for DATE_SUB(). For information on the INTERVAL unit  argument, see the discussion for DATE_ADD().&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT DATE_SUB(&#39;1998-01-02&#39;, INTERVAL 31 DAY);
+---------------------------------------------------------+
| DATE_SUB(&#39;1998-01-02&#39;, INTERVAL 31 DAY)                 |
+---------------------------------------------------------+
| 1997-12-02                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT SUBDATE(&#39;1998-01-02&#39;, INTERVAL 31 DAY);
+---------------------------------------------------------+
| SUBDATE(&#39;1998-01-02&#39;, INTERVAL 31 DAY)                  |
+---------------------------------------------------------+
| 1997-12-02                                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_subtime&quot;&gt;&lt;/a&gt; &lt;h2&gt;SUBTIME(expr1,expr2)&lt;/h2&gt;SUBTIME() returns expr1 . expr2 expressed as a value in the same  format as expr1. expr1 is a time or datetime expression, and expr2 is a  time.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT SUBTIME(&#39;1997-12-31 23:59:59.999999&#39;,
    -&amp;gt; &#39;1 1:1:1.000002&#39;);
+---------------------------------------------------------+
| SUBTIME(&#39;1997-12-31 23:59:59.999999&#39;...                 |
+---------------------------------------------------------+
| 1997-12-30 22:58:58.999997                              |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_sysdate&quot;&gt;&lt;/a&gt; &lt;h2&gt;SYSDATE()&lt;/h2&gt;Returns the current date and time as a value in &#39;YYYY-MM-DD HH:MM:SS&#39;  or YYYYMMDDHHMMSS format, depending on whether the function is used in a  string or numeric context.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT SYSDATE();
+---------------------------------------------------------+
| SYSDATE()                                               |
+---------------------------------------------------------+
| 2006-04-12 13:47:44                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_time&quot;&gt;&lt;/a&gt; &lt;h2&gt;TIME(expr)&lt;/h2&gt;Extracts the time part of the time or datetime expression expr and  returns it as a string.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIME(&#39;2003-12-31 01:02:03&#39;);
+---------------------------------------------------------+
| TIME(&#39;2003-12-31 01:02:03&#39;)                             |
+---------------------------------------------------------+
| 01:02:03                                                |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_timediff&quot;&gt;&lt;/a&gt; &lt;h2&gt;TIMEDIFF(expr1,expr2)&lt;/h2&gt;TIMEDIFF() returns expr1 . expr2 expressed as a time value. expr1 and  expr2 are time or date-and-time expressions, but both must be of the  same type.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIMEDIFF(&#39;1997-12-31 23:59:59.000001&#39;,
    -&amp;gt; &#39;1997-12-30 01:01:01.000002&#39;);
+---------------------------------------------------------+
| TIMEDIFF(&#39;1997-12-31 23:59:59.000001&#39;.....              |
+---------------------------------------------------------+
|  46:58:57.999999                                        |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_timestamp&quot;&gt;&lt;/a&gt;  &lt;h2&gt;TIMESTAMP(expr), TIMESTAMP(expr1,expr2)&lt;/h2&gt;With a single argument, this function returns the date or datetime  expression expr as a datetime value. With two arguments, it adds the  time expression expr2 to the date or datetime expression expr1 and  returns the result as a datetime value.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIMESTAMP(&#39;2003-12-31&#39;);
+---------------------------------------------------------+
| TIMESTAMP(&#39;2003-12-31&#39;)                                 |
+---------------------------------------------------------+
| 2003-12-31 00:00:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_timestampadd&quot;&gt;&lt;/a&gt; &lt;h2&gt;TIMESTAMPADD(unit,interval,datetime_expr)&lt;/h2&gt;Adds the integer expression interval to the date or datetime  expression datetime_expr. The unit for interval is given by the unit  argument, which should be one of the following values: FRAC_SECOND,  SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, or YEAR.&lt;br /&gt;
The unit value may be specified using one of keywords as shown, or  with a prefix of SQL_TSI_. For example, DAY and SQL_TSI_DAY both are  legal.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIMESTAMPADD(MINUTE,1,&#39;2003-01-02&#39;);
+---------------------------------------------------------+
| TIMESTAMPADD(MINUTE,1,&#39;2003-01-02&#39;)                     |
+---------------------------------------------------------+
| 2003-01-02 00:01:00                                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a class=&quot;indexterm&quot; href=&quot;&quot; name=&quot;id3221361&quot;&gt;&lt;/a&gt; &lt;a href=&quot;&quot; name=&quot;function_timestampdiff&quot;&gt;&lt;/a&gt; &lt;h2&gt;TIMESTAMPDIFF(unit,datetime_expr1,datetime_expr2)&lt;/h2&gt;Returns the integer difference between the date or datetime  expressions datetime_expr1 and datetime_expr2. The unit for the result  is given by the unit argument. The legal values for unit are the same as  those listed in the description of the TIMESTAMPADD() function.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIMESTAMPDIFF(MONTH,&#39;2003-02-01&#39;,&#39;2003-05-01&#39;);
+---------------------------------------------------------+
| TIMESTAMPDIFF(MONTH,&#39;2003-02-01&#39;,&#39;2003-05-01&#39;)          |
+---------------------------------------------------------+
| 3                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_time-format&quot;&gt;&lt;/a&gt;  &lt;h2&gt;TIME_FORMAT(time,format)&lt;/h2&gt;This is used like the DATE_FORMAT() function, but the format string  may contain format specifiers only for hours, minutes, and seconds.&lt;br /&gt;
If the time value contains an hour part that is greater than 23, the  %H and %k hour format specifiers produce a value larger than the usual  range of 0..23. The other hour format specifiers produce the hour value  modulo 12.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIME_FORMAT(&#39;100:00:00&#39;, &#39;%H %k %h %I %l&#39;);
+---------------------------------------------------------+
| TIME_FORMAT(&#39;100:00:00&#39;, &#39;%H %k %h %I %l&#39;)              |
+---------------------------------------------------------+
| 100 100 04 04 4                                         |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_time-to-sec&quot;&gt;&lt;/a&gt; &lt;h2&gt;TIME_TO_SEC(time)&lt;/h2&gt;Returns the time argument, converted to seconds.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TIME_TO_SEC(&#39;22:23:00&#39;);
+---------------------------------------------------------+
| TIME_TO_SEC(&#39;22:23:00&#39;)                                 |
+---------------------------------------------------------+
| 80580                                                   |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_to-days&quot;&gt;&lt;/a&gt; &lt;h2&gt;TO_DAYS(date)&lt;/h2&gt;Given a date date, returns a day number (the number of days since  year 0).&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT TO_DAYS(950501);
+---------------------------------------------------------+
| TO_DAYS(950501)                                         |
+---------------------------------------------------------+
| 728779                                                  |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_unix-timestamp&quot;&gt;&lt;/a&gt;  &lt;h2&gt;UNIX_TIMESTAMP(), UNIX_TIMESTAMP(date)&lt;/h2&gt;If called with no argument, returns a Unix timestamp (seconds since  &#39;1970-01-01 00:00:00&#39; UTC) as an unsigned integer. If UNIX_TIMESTAMP()  is called with a date argument, it returns the value of the argument as  seconds since &#39;1970-01-01 00:00:00&#39; UTC. date may be a DATE string, a  DATETIME string, a TIMESTAMP, or a number in the format YYMMDD or  YYYYMMDD.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT UNIX_TIMESTAMP();
+---------------------------------------------------------+
| UNIX_TIMESTAMP()                                        |
+---------------------------------------------------------+
| 882226357                                               |
+---------------------------------------------------------+
1 row in set (0.00 sec)

mysql&amp;gt; SELECT UNIX_TIMESTAMP(&#39;1997-10-04 22:23:00&#39;);
+---------------------------------------------------------+
| UNIX_TIMESTAMP(&#39;1997-10-04 22:23:00&#39;)                   |
+---------------------------------------------------------+
| 875996580                                               |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_utc-date&quot;&gt;&lt;/a&gt; &lt;h2&gt;UTC_DATE, UTC_DATE()&lt;/h2&gt;Returns the current UTC date as a value in &#39;YYYY-MM-DD&#39; or YYYYMMDD  format, depending on whether the function is used in a string or numeric  context.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT UTC_DATE(), UTC_DATE() + 0;
+---------------------------------------------------------+
| UTC_DATE(), UTC_DATE() + 0                              |
+---------------------------------------------------------+
| 2003-08-14, 20030814                                    |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_utc-time&quot;&gt;&lt;/a&gt; &lt;h2&gt;UTC_TIME, UTC_TIME()&lt;/h2&gt;Returns the current UTC time as a value in &#39;HH:MM:SS&#39; or HHMMSS  format, depending on whether the function is used in a string or numeric  context.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT UTC_TIME(), UTC_TIME() + 0;
+---------------------------------------------------------+
| UTC_TIME(), UTC_TIME() + 0                              |
+---------------------------------------------------------+
| 18:07:53, 180753                                        |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_utc-timestamp&quot;&gt;&lt;/a&gt;  &lt;h2&gt;UTC_TIMESTAMP, UTC_TIMESTAMP()&lt;/h2&gt;Returns the current UTC date and time as a value in &#39;YYYY-MM-DD  HH:MM:SS&#39; or YYYYMMDDHHMMSS format, depending on whether the function is  used in a string or numeric context.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0;
+---------------------------------------------------------+
| UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0                    |
+---------------------------------------------------------+
| 2003-08-14 18:08:04, 20030814180804                     |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_week&quot;&gt;&lt;/a&gt; &lt;h2&gt;WEEK(date[,mode]) &lt;/h2&gt;This function returns the week number for date. The two-argument form  of WEEK() allows you to specify whether the week starts on Sunday or  Monday and whether the return value should be in the range from 0 to 53  or from 1 to 53. If the mode argument is omitted, the value of the  default_week_format system variable is used&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt;&lt;strong&gt;Mode&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;strong&gt;First Day of week&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;strong&gt;Range&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;strong&gt;Week 1 is the first week .&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;0&lt;/td&gt; &lt;td&gt;Sunday&lt;/td&gt; &lt;td&gt;0-53&lt;/td&gt; &lt;td&gt;with a Sunday in this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;Monday&lt;/td&gt; &lt;td&gt;0-53&lt;/td&gt; &lt;td&gt;with more than 3 days this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;2&lt;/td&gt; &lt;td&gt;Sunday&lt;/td&gt; &lt;td&gt;1-53&lt;/td&gt; &lt;td&gt;with a Sunday in this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;3&lt;/td&gt; &lt;td&gt;Monday&lt;/td&gt; &lt;td&gt;1-53&lt;/td&gt; &lt;td&gt;with more than 3 days this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;4&lt;/td&gt; &lt;td&gt;Sunday&lt;/td&gt; &lt;td&gt;0-53&lt;/td&gt; &lt;td&gt;with more than 3 days this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;5&lt;/td&gt; &lt;td&gt;Monday&lt;/td&gt; &lt;td&gt;0-53&lt;/td&gt; &lt;td&gt;with a Monday in this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;6&lt;/td&gt; &lt;td&gt;Sunday&lt;/td&gt; &lt;td&gt;1-53&lt;/td&gt; &lt;td&gt;with more than 3 days this year&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;7&lt;/td&gt; &lt;td&gt;Monday&lt;/td&gt; &lt;td&gt;1-53&lt;/td&gt; &lt;td&gt;with a Monday in this year&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT WEEK(&#39;1998-02-20&#39;);
+---------------------------------------------------------+
| WEEK(&#39;1998-02-20&#39;)                                      |
+---------------------------------------------------------+
| 7                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_weekday&quot;&gt;&lt;/a&gt; &lt;h2&gt;WEEKDAY(date)&lt;/h2&gt;Returns the weekday index for date (0 = Monday, 1 = Tuesday, . 6 =  Sunday).&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT WEEKDAY(&#39;1998-02-03 22:23:00&#39;);
+---------------------------------------------------------+
| WEEKDAY(&#39;1998-02-03 22:23:00&#39;)                          |
+---------------------------------------------------------+
| 1                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_weekofyear&quot;&gt;&lt;/a&gt;  &lt;h2&gt;WEEKOFYEAR(date)&lt;/h2&gt;Returns the calendar week of the date as a number in the range from 1  to 53. WEEKOFYEAR() is a compatibility function that is equivalent to  WEEK(date,3).&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT WEEKOFYEAR(&#39;1998-02-20&#39;);
+---------------------------------------------------------+
| WEEKOFYEAR(&#39;1998-02-20&#39;)                                |
+---------------------------------------------------------+
| 8                                                       |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_year&quot;&gt;&lt;/a&gt; &lt;h2&gt;YEAR(date)&lt;/h2&gt;Returns the year for date, in the range 1000 to 9999, or 0 for the  .zero. date.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT YEAR(&#39;98-02-03&#39;);
+---------------------------------------------------------+
| YEAR(&#39;98-02-03&#39;)                                        |
+---------------------------------------------------------+
| 1998                                                    |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;a href=&quot;&quot; name=&quot;function_yearweek&quot;&gt;&lt;/a&gt; &lt;h2&gt;YEARWEEK(date), YEARWEEK(date,mode)&lt;/h2&gt;Returns year and week for a date. The mode argument works exactly  like the mode argument to WEEK(). The year in the result may be  different from the year in the date argument for the first and the last  week of the year.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;mysql&amp;gt; SELECT YEARWEEK(&#39;1987-01-01&#39;);
+---------------------------------------------------------+
| YEAR(&#39;98-02-03&#39;)YEARWEEK(&#39;1987-01-01&#39;)                  |
+---------------------------------------------------------+
| 198653                                                  |
+---------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Note that the week number is different from what the WEEK() function  would return (0) for optional arguments 0 or 1, as WEEK() then returns  the week in the context of the given year.&lt;br /&gt;
For more information check &lt;a href=&quot;http://dev.mysql.com/doc/en/Date_and_time_functions.html&quot; target=&quot;_blank&quot;&gt;MySQL  Official Website - Date and Time Functions&lt;/a&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-date-functions.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-1438439559101295626</guid><pubDate>Thu, 22 Dec 2011 05:58:00 +0000</pubDate><atom:updated>2011-12-21T21:58:51.648-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Wildcard Operators</category><title>SQL - Wildcard Operators</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;We already have discussed SQL &lt;b&gt;LIKE&lt;/b&gt; operator which is used to  compare a value to similar values using wildcard operators.&lt;br /&gt;
SQL supports following two wildcard operators in conjunction with the  LIKE operator:&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th width=&quot;30%&quot;&gt;Wildcards&lt;/th&gt;&lt;th width=&quot;70%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;The percent sign (%)&lt;/td&gt;&lt;td&gt;Matches one or more characters.  Note that MS Access uses the asterisk (*) wildcard character instead of  the percent sign (%) wildcard character.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;The underscore (_)&lt;/td&gt;&lt;td&gt;Matches one character. Note that MS  Access uses a question mark (?) instead of the underscore (_) to match  any one character.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The percent sign represents zero, one, or multiple characters. The  underscore represents a single number or character. The symbols can be  used in combinations.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of  %  and _ is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT FROM table_name
WHERE column LIKE &#39;XXXX%&#39;

or 

SELECT FROM table_name
WHERE column LIKE &#39;%XXXX%&#39;

or

SELECT FROM table_name
WHERE column LIKE &#39;XXXX_&#39;

or

SELECT FROM table_name
WHERE column LIKE &#39;_XXXX&#39;

or

SELECT FROM table_name
WHERE column LIKE &#39;_XXXX_&#39;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;You can combine N number of conditions using AND or OR operators.  Here XXXX could be any numberic or string value.&lt;br /&gt;
&lt;h1&gt;Example:&lt;/h1&gt;Here are number of examples showing WHERE part having different LIKE  clause with &#39;%&#39; and &#39;_&#39; operators:&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th width=&quot;30%&quot;&gt;Statement&lt;/th&gt;&lt;th width=&quot;70%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;200%&#39;&lt;/td&gt;&lt;td&gt;Finds any values that start  with 200&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;%200%&#39;&lt;/td&gt;&lt;td&gt;Finds any values that have 200  in any position&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;_00%&#39;&lt;/td&gt;&lt;td&gt;Finds any values that have 00  in the second and third positions&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;2_%_%&#39;&lt;/td&gt;&lt;td&gt;Finds any values that start  with 2 and are at least 3 characters in length&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;%2&#39;&lt;/td&gt;&lt;td&gt;Finds any values that end with 2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;_2%3&#39;&lt;/td&gt;&lt;td&gt;Finds any values that have a 2  in the second position and end with a 3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;WHERE SALARY LIKE &#39;2___3&#39;&lt;/td&gt;&lt;td&gt;Finds any values in a  five-digit number that start with 2 and end with 3&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Let us take a real example, consider CUSTOMERS table is having  following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is an example which would display all the records from  CUSTOMERS table where SALARY starts with 200:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT * FROM CUSTOMERS
WHERE SALARY LIKE &#39;200%&#39;;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-wildcard-operators.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-206267002975974669</guid><pubDate>Thu, 22 Dec 2011 05:58:00 +0000</pubDate><atom:updated>2011-12-21T21:58:07.360-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Transactions</category><title>SQL - Transactions</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A transaction is a unit of work that is performed against a database.  Transactions are units or sequences of work accomplished in a logical  order, whether in a manual fashion by a user or automatically by some  sort of a database program.&lt;br /&gt;
A transaction is the propagation of one or more changes to the  database. For example, if you are creating a record or updating a record  or deleting a record from the table then you are performing transaction  on the table. It is important to control transactions to ensure data  integrity and to handle database errors.&lt;br /&gt;
Practically you will club many SQL queries into a group  and you will  execute all of them together as a part of a transaction.&lt;br /&gt;
&lt;h2&gt;Properties of Transactions:&lt;/h2&gt;Transactions have the following four standard properties, usually  referred to by the acronym ACID:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Atomicity:&lt;/b&gt; ensures that all operations within the work  unit are completed successfully; otherwise, the transaction is aborted  at the point of failure, and previous operations are rolled back to  their former state.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Consistency:&lt;/b&gt; ensures that the database properly changes  states upon a successfully committed transaction.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Isolation:&lt;/b&gt; enables transactions to operate independently  of and transparent to each other.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Durability:&lt;/b&gt; ensures that the result or effect of a  committed transaction persists in case of a system failure.&lt;/li&gt;
&lt;/ul&gt;&lt;h1&gt;Transaction Control:&lt;/h1&gt;There are following commands used to control transactions:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;COMMIT:&lt;/b&gt;  to save the changes.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;ROLLBACK:&lt;/b&gt; to rollback the changes.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SAVEPOINT:&lt;/b&gt; creates points within groups of transactions in  which to ROLLBACK&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SET TRANSACTION:&lt;/b&gt; Places a name on a transaction.&lt;/li&gt;
&lt;/ol&gt;Transactional control commands are only used with the DML commands  INSERT, UPDATE, and DELETE only. They can not be used while creating  tables or dropping them because these operations are automatically  commited in the database.&lt;br /&gt;
&lt;h1&gt;The COMMIT Command:&lt;/h1&gt;The COMMIT command is the transactional command used to save changes  invoked by a transaction to the database.&lt;br /&gt;
The COMMIT command saves all transactions to the database since the  last COMMIT or ROLLBACK command.&lt;br /&gt;
The syntax for COMMIT command is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;COMMIT;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Example:&lt;/h2&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the example which would delete records from the table  having age = 25, and then COMMIT the changes in the database.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; DELETE FROM CUSTOMERS
     WHERE AGE = 25;
SQL&amp;gt; COMMIT;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;As a result, two rows from the table would be deleted and SELECT  statement would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;The ROLLBACK Command:&lt;/h1&gt;The ROLLBACK command is the transactional command used to undo  transactions that have not already been saved to the database.&lt;br /&gt;
The ROLLBACK command can only be used to undo transactions since the  last COMMIT or ROLLBACK command was issued.&lt;br /&gt;
The syntax for ROLLBACK command is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ROLLBACK;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Example:&lt;/h2&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the example which would delete records from the table  having age = 25, and then ROLLBACK the changes in the database.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; DELETE FROM CUSTOMERS
     WHERE AGE = 25;
SQL&amp;gt; ROLLBACK;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;As a result, delete operation would not impact the table and SELECT  statement would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;The SAVEPOINT Command:&lt;/h1&gt;A SAVEPOINT is a point in a transaction when you can roll the  transaction back to a certain point without rolling back the entire  transaction.&lt;br /&gt;
The syntax for SAVEPOINT command is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SAVEPOINT SAVEPOINT_NAME;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This command serves only in the creation of a SAVEPOINT among  transactional statements. The ROLLBACK command is used to undo a group  of transactions.&lt;br /&gt;
The syntax for rolling back to a SAVEPOINT is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ROLLBACK TO SAVEPOINT_NAME;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is an example where you plan to delete the three different  records from the CUSTOMERS table. You want to create a SAVEPOINT before  each delete, so that you can ROLLBACK to any SAVEPOINT at any time to  return the appropriate data to its original state:&lt;br /&gt;
&lt;h2&gt;Example:&lt;/h2&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now here is the series of operations:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SAVEPOINT SP1;
Savepoint created.
SQL&amp;gt; DELETE FROM CUSTOMERS WHERE ID=1;
1 row deleted.
SQL&amp;gt; SAVEPOINT SP2;
Savepoint created.
SQL&amp;gt; DELETE FROM CUSTOMERS WHERE ID=2;
1 row deleted.
SQL&amp;gt; SAVEPOINT SP3;
Savepoint created.
SQL&amp;gt; DELETE FROM CUSTOMERS WHERE ID=3;
1 row deleted.&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now that the three deletions have taken place, say you have changed  your mind and decided to ROLLBACK to the SAVEPOINT that you identified  as SP2. Because SP2 was created after the first deletion, the last two  deletions are undone:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; ROLLBACK TO SP2;
Rollback complete.&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Notice that only the first deletion took place since you rolled back  to SP2:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT * FROM CUSTOMERS;
+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+
6 rows selected.&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;The RELEASE SAVEPOINT Command:&lt;/h1&gt;The RELEASE SAVEPOINT command is used to remove a SAVEPOINT that you  have created. &lt;br /&gt;
The syntax for  RELEASE SAVEPOINT is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;RELEASE SAVEPOINT SAVEPOINT_NAME;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Once a SAVEPOINT has been released, you can no longer use the  ROLLBACK command to undo transactions performed since the SAVEPOINT.&lt;br /&gt;
&lt;h1&gt;The SET TRANSACTION Command:&lt;/h1&gt;The SET TRANSACTION command can be used to initiate a database  transaction. This command is used to specify characteristics for the  transaction that follows.&lt;br /&gt;
For example, you can specify a transaction to be read only, or read  write.&lt;br /&gt;
The syntax for  SET TRANSACTION is as follows:&lt;br /&gt;
&lt;pre&gt;SET TRANSACTION [ READ WRITE | READ ONLY ];&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-transactions.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-2793486978978227476</guid><pubDate>Thu, 22 Dec 2011 05:49:00 +0000</pubDate><atom:updated>2011-12-21T21:49:37.429-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Having Clause</category><title>SQL - Having Clause</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The HAVING clause enables you to specify conditions that filter which  group results appear in the final results.&lt;br /&gt;
The WHERE clause places conditions on the selected columns, whereas  the HAVING clause places conditions on groups created by the GROUP BY  clause.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The following is the position of the HAVING clause in a query:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT
FROM
WHERE
GROUP BY
HAVING
ORDER BY&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The HAVING clause must follow the GROUP BY clause in a query and must  also precede the ORDER BY clause if used. The following is the syntax  of the SELECT statement, including the HAVING clause:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column1, column2
FROM table1, table2
WHERE [ conditions ]
GROUP BY column1, column2
HAVING [ conditions ]
ORDER BY column1, column2&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Example:&lt;/h1&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the example which would display record for which similar  age count would be more than or equal to 2:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL &amp;gt; SELECT *
FROM CUSTOMERS
GROUP BY age
HAVING COUNT(age) &amp;gt;= 2;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;pre&gt;+----+--------+-----+---------+---------+
| ID | NAME   | AGE | ADDRESS | SALARY  |
+----+--------+-----+---------+---------+
|  2 | Khilan |  25 | Delhi   | 1500.00 |
+----+--------+-----+---------+---------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-having-clause.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-4932813202405783488</guid><pubDate>Thu, 22 Dec 2011 05:48:00 +0000</pubDate><atom:updated>2011-12-21T21:48:53.754-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Using Views</category><title>SQL - Using Views</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A view is nothing more than a SQL statement that is stored in the  database with an associated name. A view is actually a composition of a  table in the form of a predefined SQL query.&lt;br /&gt;
A view can contain all rows of a table or select rows from a table. A  view can be created from one or many tables which depends on the  written SQL query to create a view.&lt;br /&gt;
Views which are kind of virtual tables, allow users to do the  following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Structure data in a way that users or classes of users find  natural or intuitive.&lt;/li&gt;
&lt;li&gt;Restrict access to the data such that a user can see and  (sometimes) modify exactly what they need and no more.&lt;/li&gt;
&lt;li&gt;Summarize data from various tables which can be used to generate  reports.&lt;/li&gt;
&lt;/ul&gt;&lt;h1&gt;Creating Views:&lt;/h1&gt;Database views are created using the &lt;b&gt;CREATE VIEW&lt;/b&gt; statement.  Views can be created from a single table, multiple tables, or another  view.&lt;br /&gt;
To create a view, a user must have the appropriate system privilege  according to the specific implementation.&lt;br /&gt;
The basic CREATE VIEW syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;CREATE VIEW view_name AS
SELECT column1, column2.....
FROM table_name
WHERE [condition];&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;You can include multiple tables in your SELECT statement in very  similar way as you use them in normal SQL SELECT query.&lt;br /&gt;
&lt;h2&gt;Example:&lt;/h2&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now, following is the example to create a view from CUSTOMERS table.  This view would be used to have customer name and age from CUSTOMERS  table:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL &amp;gt; CREATE VIEW CUSTOMERS_VIEW AS
SELECT name, age
FROM  CUSTOMERS;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now you can query CUSTOMERS_VIEW in similar way as you query an  actual table. Following is the example:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL &amp;gt; SELECT * FROM CUSTOMERS_VIEW;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----------+-----+
| name     | age |
+----------+-----+
| Ramesh   |  32 |
| Khilan   |  25 |
| kaushik  |  23 |
| Chaitali |  25 |
| Hardik   |  27 |
| Komal    |  22 |
| Muffy    |  24 |
+----------+-----+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;The WITH CHECK OPTION:&lt;/h1&gt;The WITH CHECK OPTION is a CREATE VIEW statement option. The purpose  of the WITH CHECK OPTION is to ensure that all UPDATE and INSERTs  satisfy the condition(s) in the view definition.&lt;br /&gt;
If they do not satisfy the condition(s), the UPDATE or INSERT returns  an error.&lt;br /&gt;
The following is an example of creating same  view CUSTOMERS_VIEW  with the WITH CHECK OPTION:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;CREATE VIEW CUSTOMERS_VIEW AS
SELECT name, age
FROM  CUSTOMERS
WHERE age IS NOT NULL
WITH CHECK OPTION;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The WITH CHECK OPTION in this case should deny the entry of any NULL  values in the view&#39;s AGE column, because the view is defined by data  that does not have a NULL value in the AGE column.&lt;br /&gt;
&lt;h1&gt;Updating a View:&lt;/h1&gt;A view can be updated under certain conditions:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;The SELECT clause may not contain the keyword DISTINCT.&lt;/li&gt;
&lt;li&gt;The SELECT clause may not contain summary functions.&lt;/li&gt;
&lt;li&gt;The SELECT clause may not contain set functions.&lt;/li&gt;
&lt;li&gt;The SELECT clause may not contain set operators.&lt;/li&gt;
&lt;li&gt;The SELECT clause may not contain an ORDER BY clause.&lt;/li&gt;
&lt;li&gt;The FROM clause may not contain multiple tables.&lt;/li&gt;
&lt;li&gt;The WHERE clause may not contain subqueries.&lt;/li&gt;
&lt;li&gt;The query may not contain GROUP BY or HAVING.&lt;/li&gt;
&lt;li&gt;Calculated columns may not be updated.&lt;/li&gt;
&lt;li&gt;All NOT NULL columns from the base table must be included in the  view in order for the INSERT query to function.&lt;/li&gt;
&lt;/ul&gt;So if a view satisties all the above mentioned rules then you can  update a view. Following is an example to update the age of Ramesh:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL &amp;gt; UPDATE CUSTOMERS_VIEW
      SET AGE = 35
      WHERE name=&#39;Ramesh&#39;;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would ultimately update the base table CUSTOMERS and same would  reflect in the view itself. Now try to query base table, and SELECT  statement would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  35 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Inserting Rows into a View:&lt;/h1&gt;Rows of data can be inserted into a view. The same rules that apply  to the UPDATE command also apply to the INSERT command.&lt;br /&gt;
Here we can not insert rows in CUSTOMERS_VIEW because we have not  included all the NOT NULL columns in this view, otherwise you can insert  rows in a view in similar way as you insert them in a table.&lt;br /&gt;
&lt;h1&gt;Deleting Rows into a View:&lt;/h1&gt;Rows of data can be deleted from a view. The same rules that apply to  the UPDATE and INSERT commands apply to the DELETE command.&lt;br /&gt;
Following is an example to delete a record having AGE= 22.&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL &amp;gt; DELETE FROM CUSTOMERS_VIEW
      WHERE age = 22;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would ultimately delete a row from the base table CUSTOMERS and  same would reflect in the view itself. Now try to query base table, and  SELECT statement would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  35 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Dropping Views:&lt;/h1&gt;Obviously, where you have a view, you need a way to drop the view if  it is no longer needed. The syntax is very simple as given below:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;DROP VIEW view_name;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is an example to drop CUSTOMERS_VIEW from CUSTOMERS table:&lt;br /&gt;
&lt;pre&gt;DROP VIEW CUSTOMERS_VIEW;&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-using-views.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-5449546500440236012</guid><pubDate>Thu, 22 Dec 2011 05:48:00 +0000</pubDate><atom:updated>2011-12-21T21:48:20.876-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - TRUNCATE TABLE Command</category><title>SQL - TRUNCATE TABLE Command</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The SQL &lt;b&gt;TRUNCATE TABLE&lt;/b&gt; command is used to delete complete data  from an existing table.&lt;br /&gt;
You can also use DROP TABLE command to delete complete table but it  would remove complete table structure form the database and you would  need to re-create this table once again if you wish you store some data.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;TRUNCATE TABLE&lt;/b&gt; is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;TRUNCATE TABLE  table_name;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Example:&lt;/h1&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the example to turncate:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL &amp;gt; TRUNCATE TABLE CUSTOMERS;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now CUSTOMERS table is truncated and following would be output from  SELECT statement:&lt;br /&gt;
&lt;pre&gt;SQL&amp;gt; SELECT * FROM CUSTOMERS;
Empty set (0.00 sec)
&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-truncate-table-command.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-3662966815750847274</guid><pubDate>Thu, 22 Dec 2011 05:47:00 +0000</pubDate><atom:updated>2011-12-21T21:47:40.876-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - ALTER TABLE SQL - ALTER TABLE Command</category><title>SQL - ALTER TABLE Command</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The SQL &lt;b&gt;ALTER TABLE&lt;/b&gt; command is used to add, delete, or modify  columns in an existing table.&lt;br /&gt;
You would also use ALTER TABLE command to add and drop various  constraints on a an existing table.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;ALTER TABLE&lt;/b&gt; to add a new column in an  existing table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name ADD column_name datatype;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to &lt;b&gt;DROP COLUMN&lt;/b&gt; in an existing  table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name DROP COLUMN column_name;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to change the &lt;b&gt;DATA TYPE&lt;/b&gt; of a  column in a table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name ALTER COLUMN column_name datatype;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to add a &lt;b&gt;NOT NULL&lt;/b&gt; constraint  to a column in a table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name MODIFY column_name datatype NOT NULL;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to &lt;b&gt;ADD UNIQUE CONSTRAINT&lt;/b&gt; to a  table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
ADD CONSTRAINT MyUniqueConstraint UNIQUE(column1, column2...);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to &lt;b&gt;ADD CHECK CONSTRAINT&lt;/b&gt; to a  table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
ADD CONSTRAINT MyUniqueConstraint CHECK (CONDITION);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to &lt;b&gt;ADD PRIMARY KEY&lt;/b&gt; constraint  to a table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
ADD CONSTRAINT MyPrimaryKey PRIMARY KEY (column1, column2...);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to &lt;b&gt;DROP CONSTRAINT&lt;/b&gt; from a  table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
DROP CONSTRAINT MyUniqueConstraint;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;If you&#39;re using MySQL, the code is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
DROP INDEX MyUniqueConstraint;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of ALTER TABLE to &lt;b&gt;DROP PRIMARY KEY&lt;/b&gt; constraint  from a table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
DROP CONSTRAINT MyPrimaryKey;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;If you&#39;re using MySQL, the code is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE table_name 
DROP PRIMARY KEY;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Example:&lt;/h1&gt;Consider CUSTOMERS table is having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the example to ADD a new column in an existing table:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE CUSTOMERS ADD SEX char(1);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now CUSTOMERS table is changed and following would be output from  SELECT statement:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+---------+-----+-----------+----------+------+
| ID | NAME    | AGE | ADDRESS   | SALARY   | SEX  |
+----+---------+-----+-----------+----------+------+
|  1 | Ramesh  |  32 | Ahmedabad |  2000.00 | NULL |
|  2 | Ramesh  |  25 | Delhi     |  1500.00 | NULL |
|  3 | kaushik |  23 | Kota      |  2000.00 | NULL |
|  4 | kaushik |  25 | Mumbai    |  6500.00 | NULL |
|  5 | Hardik  |  27 | Bhopal    |  8500.00 | NULL |
|  6 | Komal   |  22 | MP        |  4500.00 | NULL |
|  7 | Muffy   |  24 | Indore    | 10000.00 | NULL |
+----+---------+-----+-----------+----------+------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the example to DROP  sex column from existing table:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;ALTER TABLE CUSTOMERS DROP SEX;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now CUSTOMERS table is changed and following would be output from  SELECT statement:&lt;br /&gt;
&lt;pre&gt;+----+---------+-----+-----------+----------+
| ID | NAME    | AGE | ADDRESS   | SALARY   |
+----+---------+-----+-----------+----------+
|  1 | Ramesh  |  32 | Ahmedabad |  2000.00 |
|  2 | Ramesh  |  25 | Delhi     |  1500.00 |
|  3 | kaushik |  23 | Kota      |  2000.00 |
|  4 | kaushik |  25 | Mumbai    |  6500.00 |
|  5 | Hardik  |  27 | Bhopal    |  8500.00 |
|  6 | Komal   |  22 | MP        |  4500.00 |
|  7 | Muffy   |  24 | Indore    | 10000.00 |
+----+---------+-----+-----------+----------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-alter-table-command.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-7386818547972967108</guid><pubDate>Thu, 22 Dec 2011 05:46:00 +0000</pubDate><atom:updated>2011-12-21T21:46:56.780-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Indexes</category><title>SQL - Indexes</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Indexes are special lookup tables that the database search engine can  use to speed up data retrieval. Simply put, an index is a pointer to  data in a table. An index in a database is very similar to an index in  the back of a book.&lt;br /&gt;
For example, if you want to reference all pages in a book that  discuss a certain topic, you first refer to the index, which lists all  topics alphabetically, and are then referred to one or more specific  page numbers.&lt;br /&gt;
An index helps speed up SELECT queries and WHERE clauses, but it  slows down data input, with UPDATE and INSERT statements. Indexes can be  created or dropped with no effect on the data.&lt;br /&gt;
Creating an index involves the CREATE INDEX statement, which allows  you to name the index, to specify the table and which column or columns  to index, and to indicate whether the index is in ascending or  descending order.&lt;br /&gt;
Indexes can also be unique, similar to the UNIQUE constraint, in that  the index prevents duplicate entries in the column or combination of  columns on which there&#39;s an index.&lt;br /&gt;
&lt;h1&gt;The CREATE INDEX Command:&lt;/h1&gt;The basic syntax of &lt;b&gt;CREATE INDEX&lt;/b&gt; is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;CREATE INDEX index_name ON table_name;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Single-Column Indexes:&lt;/h2&gt;A single-column index is one that is created based on only one table  column. The basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;CREATE INDEX index_name
ON table_name (column_name);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Unique Indexes:&lt;/h2&gt;Unique indexes are used not only for performance, but also for data  integrity. A unique index does not allow any duplicate values to be  inserted into the table. The basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;CREATE INDEX index_name
on table_name (column_name);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;Composite Indexes:&lt;/h2&gt;A composite index is an index on two or more columns of a table. The  basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;CREATE INDEX index_name
on table_name (column1, column2);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Whether to create a single-column index or a composite index, take  into consideration the column(s) that you may use very frequently in a  query&#39;s WHERE clause as filter conditions.&lt;br /&gt;
Should there be only one column used, a single-column index should be  the choice. Should there be two or more columns that are frequently  used in the WHERE clause as filters, the composite index would be the  best choice.&lt;br /&gt;
&lt;h2&gt;Implicit Indexes:&lt;/h2&gt;Implicit indexes are indexes that are automatically created by the  database server when an object is created. Indexes are automatically  created for primary key constraints and unique constraints.&lt;br /&gt;
&lt;h1&gt;The DROP INDEX Command:&lt;/h1&gt;An index can be dropped using SQL &lt;b&gt;DROP&lt;/b&gt; command. Care should be  taken when dropping an index because performance may be slowed or  improved.&lt;br /&gt;
The basic syntax is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;DROP INDEX index_name;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;You can check &lt;a href=&quot;http://way2apps.blogspot.com/2011/12/sql-index-constraint.html&quot; target=&quot;_blank&quot;&gt;INDEX Constraint&lt;/a&gt;  chapter to see actual examples on Indexes.&lt;br /&gt;
&lt;h1&gt;When should indexes be avoided?&lt;/h1&gt;Although indexes are intended to enhance a database&#39;s performance,  there are times when they  should be avoided. The following guidelines  indicate when the use of an index should be reconsidered:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Indexes should not be used on small tables.&lt;/li&gt;
&lt;li&gt;Tables that have frequent, large batch update  or insert  operations.&lt;/li&gt;
&lt;li&gt;Indexes should not be used on columns that contain a high number  of NULL values.&lt;/li&gt;
&lt;li&gt;Columns that are frequently manipulated should not be indexed.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-indexes.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-8258543617124153147</guid><pubDate>Thu, 22 Dec 2011 05:44:00 +0000</pubDate><atom:updated>2011-12-21T21:44:38.227-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - Alias Syntax</category><title>SQL - Alias Syntax</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;You can rename a table or a column temporarily by giving another name  known as alias.&lt;br /&gt;
The use of table aliases means to rename a table in a particular SQL  statement. The renaming is a temporary change and the actual table name  does not change in the database.&lt;br /&gt;
The column aliases are used to rename a table&#39;s columns for the  purpose of a particular SQL query.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;table&lt;/b&gt; alias is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column1, column2....
FROM table_name AS alias_name
WHERE [condition];&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The basic syntax of &lt;b&gt;column&lt;/b&gt; alias is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column_name AS alias_name
FROM table_name
WHERE [condition];&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;Example:&lt;/h1&gt;Consider following two tables, (a) CUSTOMERS table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;(b) Another table is ORDERS as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+-----+---------------------+-------------+--------+
|OID  | DATE                | CUSTOMER_ID | AMOUNT |
+-----+---------------------+-------------+--------+
| 102 | 2009-10-08 00:00:00 |           3 |   3000 |
| 100 | 2009-10-08 00:00:00 |           3 |   1500 |
| 101 | 2009-11-20 00:00:00 |           2 |   1560 |
| 103 | 2008-05-20 00:00:00 |           4 |   2060 |
+-----+---------------------+-------------+--------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now following is the usage of &lt;b&gt;table alias&lt;/b&gt;:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT C.ID, C.NAME, C.AGE, O.AMOUNT 
        FROM CUSTOMERS AS C, ORDERS AS O
        WHERE  C.ID = O.CUSTOMER_ID;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+---------+-----+--------+
| ID | NAME    | AGE | AMOUNT |
+----+---------+-----+--------+
|  3 | kaushik |  23 |   3000 |
|  3 | kaushik |  23 |   1500 |
|  2 | Ramesh  |  25 |   1560 |
|  4 | kaushik |  25 |   2060 |
+----+---------+-----+--------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Following is the usage of &lt;b&gt;column alias&lt;/b&gt;:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT  ID AS CUSTOMER_ID, NAME AS CUSTOMER_NAME
     FROM CUSTOMERS
     WHERE SALARY IS NOT NULL;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+-------------+---------------+
| CUSTOMER_ID | CUSTOMER_NAME |
+-------------+---------------+
|           1 | Ramesh        |
|           2 | Ramesh        |
|           3 | kaushik       |
|           4 | kaushik       |
|           5 | Hardik        |
|           6 | Komal         |
|           7 | Muffy         |
+-------------+---------------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-alias-syntax.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-1972207125162493028</guid><pubDate>Thu, 22 Dec 2011 05:44:00 +0000</pubDate><atom:updated>2011-12-21T21:44:03.655-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - NULL Values</category><title>SQL - NULL Values</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The SQL &lt;b&gt;NULL&lt;/b&gt; is the term used to represent a missing value. A  NULL value in a table is a value in a field that appears to be blank.&lt;br /&gt;
A field with a NULL value is a field with no value. It is very  important to understand that a NULL value is different than a zero value  or a field that contains spaces.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;NULL&lt;/b&gt; while creating a table:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; CREATE TABLE CUSTOMERS(
   ID   INT              NOT NULL,
   NAME VARCHAR (20)     NOT NULL,
   AGE  INT              NOT NULL,
   ADDRESS  CHAR (25) ,
   SALARY   DECIMAL (18, 2),       
   PRIMARY KEY (ID)
);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Here &lt;b&gt;NOT NULL&lt;/b&gt; signifies that  column should always accept an  explicit value of the given data type. There are two column where we did  not use NOT NULL which means these column could be NULL. &lt;br /&gt;
A field with a NULL value is one that has been left blank during  record creation.&lt;br /&gt;
&lt;h1&gt;Example:&lt;/h1&gt;The NULL value can cause problems when selecting data, however,  because when comparing an unknown value to any other value, the result  is always unknown and not included in the final results.&lt;br /&gt;
You must use the &lt;b&gt;IS NULL&lt;/b&gt; or &lt;b&gt;IS NOT NULL&lt;/b&gt; operators in  order to check for a NULL value.&lt;br /&gt;
Consider following table, CUSTOMERS having following records:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |          |
|  7 | Muffy    |  24 | Indore    |          |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now following is the usage of &lt;b&gt;IS NOT NULL&lt;/b&gt; operator:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT  ID, NAME, AGE, ADDRESS, SALARY
     FROM CUSTOMERS
     WHERE SALARY IS NOT NULL;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now following is the usage of &lt;b&gt;IS NULL&lt;/b&gt; operator:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT  ID, NAME, AGE, ADDRESS, SALARY
     FROM CUSTOMERS
     WHERE SALARY IS NULL;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  6 | Komal    |  22 | MP        |          |
|  7 | Muffy    |  24 | Indore    |          |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-null-values.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-4697470806416716012</guid><pubDate>Thu, 22 Dec 2011 05:43:00 +0000</pubDate><atom:updated>2011-12-21T21:43:22.451-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL - UNIONS CLAUSE</category><title>SQL - UNIONS CLAUSE</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The SQL &lt;b&gt;UNION&lt;/b&gt; clause/operator is used to combine the results  of two or more SELECT statements without returning any duplicate rows.&lt;br /&gt;
To use UNION, each SELECT must have the same number of columns  selected, the same number of column expressions, the same data type, and  have them in the same order but they do not have to be the same length.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;UNION&lt;/b&gt; is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column1 [, column2 ]
FROM table1 [, table2 ]
[WHERE condition]

UNION

SELECT column1 [, column2 ]
FROM table1 [, table2 ]
[WHERE condition]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Here given condition could be any given expression based on your  requirement.&lt;br /&gt;
&lt;h1&gt;Example:&lt;/h1&gt;Consider following two tables, (a) CUSTOMERS table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;(b) Another table is ORDERS as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+-----+---------------------+-------------+--------+
|OID  | DATE                | CUSTOMER_ID | AMOUNT |
+-----+---------------------+-------------+--------+
| 102 | 2009-10-08 00:00:00 |           3 |   3000 |
| 100 | 2009-10-08 00:00:00 |           3 |   1500 |
| 101 | 2009-11-20 00:00:00 |           2 |   1560 |
| 103 | 2008-05-20 00:00:00 |           4 |   2060 |
+-----+---------------------+-------------+--------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now let us join these two tables in our SELECT statement as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT  ID, NAME, AMOUNT, DATE
     FROM CUSTOMERS
     LEFT JOIN ORDERS
     ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID
UNION
     SELECT  ID, NAME, AMOUNT, DATE
     FROM CUSTOMERS
     RIGHT JOIN ORDERS
     ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+------+---------+--------+---------------------+
| ID   | NAME    | AMOUNT | DATE                |
+------+---------+--------+---------------------+
|    3 | kaushik |   3000 | 2009-10-08 00:00:00 |
|    3 | kaushik |   1500 | 2009-10-08 00:00:00 |
|    2 | Ramesh  |   1560 | 2009-11-20 00:00:00 |
|    4 | kaushik |   2060 | 2008-05-20 00:00:00 |
|    1 | Ramesh  |   NULL | NULL                |
|    5 | Hardik  |   NULL | NULL                |
|    6 | Komal   |   NULL | NULL                |
|    7 | Muffy   |   NULL | NULL                |
+------+---------+--------+---------------------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;The UNION ALL Clause:&lt;/h1&gt;The UNION ALL operator is used to combine the results of two SELECT  statements including duplicate rows.&lt;br /&gt;
The same rules that apply to UNION apply to the UNION ALL operator.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;UNION ALL&lt;/b&gt; is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column1 [, column2 ]
FROM table1 [, table2 ]
[WHERE condition]

UNION ALL

SELECT column1 [, column2 ]
FROM table1 [, table2 ]
[WHERE condition]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Here given condition could be any given expression based on your  requirement.&lt;br /&gt;
&lt;h1&gt;Example:&lt;/h1&gt;Consider following two tables, (a) CUSTOMERS table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;(b) Another table is ORDERS as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+-----+---------------------+-------------+--------+
|OID  | DATE                | CUSTOMER_ID | AMOUNT |
+-----+---------------------+-------------+--------+
| 102 | 2009-10-08 00:00:00 |           3 |   3000 |
| 100 | 2009-10-08 00:00:00 |           3 |   1500 |
| 101 | 2009-11-20 00:00:00 |           2 |   1560 |
| 103 | 2008-05-20 00:00:00 |           4 |   2060 |
+-----+---------------------+-------------+--------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now let us join these two tables in our SELECT statement as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT  ID, NAME, AMOUNT, DATE
     FROM CUSTOMERS
     LEFT JOIN ORDERS
     ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID
UNION
     SELECT  ID, NAME, AMOUNT, DATE
     FROM CUSTOMERS
     RIGHT JOIN ORDERS
     ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+------+---------+--------+---------------------+
| ID   | NAME    | AMOUNT | DATE                |
+------+---------+--------+---------------------+
|    3 | kaushik |   3000 | 2009-10-08 00:00:00 |
|    3 | kaushik |   1500 | 2009-10-08 00:00:00 |
|    2 | Ramesh  |   1560 | 2009-11-20 00:00:00 |
|    4 | kaushik |   2060 | 2008-05-20 00:00:00 |
|    1 | Ramesh  |   NULL | NULL                |
|    2 | Ramesh  |   1560 | 2009-11-20 00:00:00 |
|    3 | kaushik |   3000 | 2009-10-08 00:00:00 |
|    3 | kaushik |   1500 | 2009-10-08 00:00:00 |
|    4 | kaushik |   2060 | 2008-05-20 00:00:00 |
|    5 | Hardik  |   NULL | NULL                |
|    6 | Komal   |   NULL | NULL                |
|    7 | Muffy   |   NULL | NULL                |
+------+---------+--------+---------------------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;There are two other clauses (i.e operators ) which are very similar  to UNION clause:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;SQL &lt;a href=&quot;http://way2apps.blogspot.com/2011/12/sql-intersect-clause.html&quot; target=&quot;_blank&quot;&gt;INTERSECT  Clause&lt;/a&gt;: is used to combine two SELECT statements, but returns rows  only from the first SELECT statement that are identical to a row in the  second SELECT statement.&lt;/li&gt;
&lt;li&gt;SQL &lt;a href=&quot;http://way2apps.blogspot.com/2011/12/sql-except-clause.html&quot; target=&quot;_blank&quot;&gt;EXCEPT  Clause&lt;/a&gt; : combines two SELECT statements and returns rows from the  first SELECT statement that are not returned by the second SELECT  statement.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-unions-clause.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6176826033645485068.post-3800947426284549948</guid><pubDate>Thu, 22 Dec 2011 05:43:00 +0000</pubDate><atom:updated>2011-12-21T21:43:05.673-08:00</atom:updated><title>SQL - EXCEPT Clause</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The SQL &lt;b&gt;EXCEPT&lt;/b&gt; clause/operator is used to combine two SELECT  statements and returns rows from the first SELECT statement that are not returned by the second SELECT statement. This means EXCEPT  returns only rows which are not available in second SELECT statement.&lt;br /&gt;
Just as with the UNION operator, the same rules apply when using the  EXCEPT operator.&lt;br /&gt;
&lt;h1&gt;Syntax:&lt;/h1&gt;The basic syntax of &lt;b&gt;INTERSECT&lt;/b&gt; is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SELECT column1 [, column2 ]
FROM table1 [, table2 ]
[WHERE condition]

EXCEPT

SELECT column1 [, column2 ]
FROM table1 [, table2 ]
[WHERE condition]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Here given condition could be any given expression based on your  requirement.&lt;br /&gt;
&lt;h1&gt;Example:&lt;/h1&gt;Consider following two tables, (a) CUSTOMERS table is as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+----+----------+-----+-----------+----------+
| ID | NAME     | AGE | ADDRESS   | SALARY   |
+----+----------+-----+-----------+----------+
|  1 | Ramesh   |  32 | Ahmedabad |  2000.00 |
|  2 | Khilan   |  25 | Delhi     |  1500.00 |
|  3 | kaushik  |  23 | Kota      |  2000.00 |
|  4 | Chaitali |  25 | Mumbai    |  6500.00 |
|  5 | Hardik   |  27 | Bhopal    |  8500.00 |
|  6 | Komal    |  22 | MP        |  4500.00 |
|  7 | Muffy    |  24 | Indore    | 10000.00 |
+----+----------+-----+-----------+----------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;(b) Another table is ORDERS as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;+-----+---------------------+-------------+--------+
|OID  | DATE                | CUSTOMER_ID | AMOUNT |
+-----+---------------------+-------------+--------+
| 102 | 2009-10-08 00:00:00 |           3 |   3000 |
| 100 | 2009-10-08 00:00:00 |           3 |   1500 |
| 101 | 2009-11-20 00:00:00 |           2 |   1560 |
| 103 | 2008-05-20 00:00:00 |           4 |   2060 |
+-----+---------------------+-------------+--------+&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;Now let us join these two tables in our SELECT statement as follows:&lt;br /&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;SQL&amp;gt; SELECT  ID, NAME, AMOUNT, DATE
     FROM CUSTOMERS
     LEFT JOIN ORDERS
     ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID
EXCEPT
     SELECT  ID, NAME, AMOUNT, DATE
     FROM CUSTOMERS
     RIGHT JOIN ORDERS
     ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;This would produce following result:&lt;br /&gt;
&lt;pre&gt;+----+---------+--------+---------------------+
| ID | NAME    | AMOUNT | DATE                |
+----+---------+--------+---------------------+
|  1 | Ramesh  |   NULL | NULL                |
|  5 | Hardik  |   NULL | NULL                |
|  6 | Komal   |   NULL | NULL                |
|  7 | Muffy   |   NULL | NULL                |
+----+---------+--------+---------------------+&lt;/pre&gt;&lt;/div&gt;</description><link>http://way2apps.blogspot.com/2011/12/sql-except-clause.html</link><author>noreply@blogger.com (naguakkina)</author><thr:total>0</thr:total></item></channel></rss>