Friday 8 February 2013

How to find the correct Jdeveloper version & Installation for OAF


We need to download correct version JDeveloper to develop OAF forms. This article explains how to find correct version of the JDeveloper for installation.

Follow the steps:
1. Open your Oracle Applications homepage
2. At the bottom left you can see "About this Page". Click on it.
3. Click on "Technology Components" tab
4. Check OA Framework version.


Based on the following information pickup the right Patch from oracle support and download. (Installation steps fallows after below table)
Release 11i
OA Framework 5.10 patch
JDeveloper 9i Patch
ATG.PF.H (patch 3438354 or Oracle Applications 11.5.10)
Patch 4045639 9IJDEVELOPER WITH OA EXTENSION ARU FOR FWK.H
ATG PF CU1 (patch 4017300)
Patch 4141787 9IJDEVELOPER WITH OA EXTENSION ARU FOR CU1
ATG PF CU2 (patch 4125550)
Patch 4573517 Oracle9i JDeveloper with OA Extension for 11.5.10 CU2
11i.ATG_PF.H RUP3 (patch 4334965)
Patch 4725670 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP3
11i.ATG_PF.H RUP4 (patch 4676589)
Patch 5455514 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP4
11i.ATG_PF.H RUP5 (patch 5473858)
Patch 6012619 9IJDeveloper With OA Extension ARU FOR 11i10 RUP5
11i.ATG_PF.H.RUP6 (patch 5903765)
Patch 6739235 9IJDeveloper With OA Extension ARU FOR 11i10 RUP6
11i.ATG_PF.H.delta.7 (patch 6241631)
Patch 8751878 9I JDEVELOPER WITH OA EXTENSION ARU FOR 11I RUP7


Release 12.0
ATG Release 12 Version
JDeveloper 10g Patch
12.0.0
Patch 5856648 10g Jdev with OA Extension
12.0.1  (patch 5907545)
Patch 5856648 10g Jdev with OA Extension
12.0.2  (patch 5484000 or 5917344)
Patch 6491398 10g Jdev with OA Extension ARU for R12 RUP2 (replaces 6197418)
12.0.3  (patch 6141000 or 6077669)
Patch 6509325 10g Jdev with OA Extension ARU for R12 RUP3
12.0.4 (patch 6435000 or 6272680)
Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4
12.0.5 (No new ATG code released)
No new JDev patch required
12.0.6  (patch 6728000 or patch 7237006)
Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP6
Release 12.1
 ATG Release 12.1 Version
JDeveloper 10g Patch
12.1 (Controlled Release - only included for completeness)
Patch 7315332 10G Jdev with OA Extension ARU for R12.1 (Controlled Release)
12.1.1 (rapidInstall or patch 7303030)
Patch 8431482 10G Jdeveloper with OA Extension ARU for R12.1.1
12.1.2 (patch 7303033 or patch 7651091)
Patch 9172975 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.2
12.1.3 (patch 9239090 or patch 8919491)
Patch 9879989 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.3
12.1.3.1 (patch 11894708)
Patch 9879989 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.3

Installation/Deploying Steps:
1. Unzip the downloaded Patch (Say in 
D:\).
2. Rename the folder (Say 
OAF)
3. You can see 3 folders under it(
D:\OAF). They are jdevbin, jdevdoc, jdevhome
4. Place the dbc file in 
D:\OAF\jdevhome\jdev\dbc_files\secure
    Location of dbc file in 11i
         
$FND_TOP/secure OR $FND_SECURE
    Location of dbc file in R12
         
$INST_TOP/appl/fnd/12.0.0/secure
5. Set the Environment Variables
    Right click on My Computer > Click on Properties > Click on Advanced System Settings > Click on Environment Variables > Click on New > Give the following 
    Variable Name: JDEV_USER_HOME
    Variable Value:  D:\OAF\jdevhome\jdev
    Finally click on OK
6. Create a shortcut on your Desktop. Goto 
D:\OAF\jdevbin\jdev\bin
    Right click on 
jdevW > Send to > Desktop (Shortcut) [For Windows]
7. Double click on the Desktop Shortcut to open JDeveloper

Thursday 7 February 2013

Interface error tables in Oracle Apps


Following are the interface error tables used in oracle apps:

This table stores the processing messages which will be generated during Order Entry concurrent program execution or UI process. This is a multi-lingual table.

SELECT OPT.*
  FROM OE_PROCESSING_MSGS OPM, OE_PROCESSING_MSGS_TL OPT
 WHERE     OPM.TRANSACTION_ID = OPT.TRANSACTION_ID
       AND OPT.LANGUAGE = 'US'
       AND ORIGINAL_SYS_DOCUMENT_REF = LV_DOC_REF


PO_INTERFACE_ERRORS contains error message information generated by the open interface programs in Oracle Purchasing. For every interface transaction row with errors, this table contains a row for each column that has an error.

SELECT *
  FROM PO_INTERFACE_ERRORS
 WHERE INTERFACE_LINE_ID = LN_INT_TRX_ID -- interface transaction id


MTL_TRANSACTIONS_INTERFACE allows calling applications to post material transactions (movements, issues, receipts etc. to Oracle Inventory transaction module.

The Transaction Manager picks up the rows to process based on the LOCK_FLAG, TRANSACTION_MODE, PROCESS_FLAG. Only records with TRANSACTION_MODE of '3', LOCK_FLAG of '2', and PROCESS_FLAG of '1' will be picked up by the Transaction Manager and assigned to a Transaction Worker. If a record fails to process completely, then PROCESS_FLAG will be set to '3' and ERROR_CODE and ERROR_EXPLANATION will be populated with the cause for the error.

SELECT ERROR_CODE,
            ERROR_EXPLANATION
  FROM MTL_TRANSACTIONS_INTERFACE
 WHERE TRANSACTION_REFERENCE = LN_TRX_REF


Interface data that failed in AutoInvoice validation are populated with the error details

SELECT *
  FROM RA_INTERFACE_ERRORS_ALL
 WHERE INTERFACE_LINE_ID = LN_INTF_ID


The HZ_PARTY_INTERFACE_ERRORS table contains the error messages that are generated while mapping data from the HZ_PARTY_INTERFACE table into other HZ tables.

SELECT *
  FROM HZ_PARTY_INTERFACE_ERRORS
 WHERE PARTY_INTERFACE_ID = LN_PARTY_INTEFACE_ID


MTL_INTERFACE_ERRORS stores errors that occur during the item interface process reporting where the errors occurred along with the error messages.

SELECT *
  FROM MTL_INTERFACE_ERRORS
 WHERE TRANSACTION_ID = LN_TRX_ID --Row identifier for row in MTL_SYSTEM_ITEMS_INTERFACE

  
WIP_INTERFACE_ERRORS stores the text of errors or warnings issued when loading information through the WIP Scheduling and Open Job and Schedule interfaces. It also stores information about the load requests that generate the errors. When the WIP Mass Load program loads records from the WIP Scheduling Interface, you can print a report showing these errors.

SELECT *
  FROM WIP_INTERFACE_ERRORS
 WHERE INTERFACE_ID = LN_INTF_ID


AP_INTERFACE_REJECTIONS stores information about invoice data from the AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE tables which could not be processed by Payables Open Interface Import.

SELECT * FROM AP_INTERFACE_REJECTIONS