Wednesday, 1 February 2023

PURCHASING - Setup Buyer in Oracle APPS R12

1)  Login to Purchasing Super User Responsibility

Navigation : Setup -> Personnel -> Buyers



2) Search for user name to be added as Buyer and save changes 





Enable Diagnostics Menu in Oracle Apps R12 FORMs

 Steps to enable Diagnostics menu in Oracle APPS Form

Step1: Set FND: Diagnostics profile option Yes


Step2: Set "Hide Diagnostics menu entry" profile option value to No


Logout of the application and login again




Friday, 22 April 2022

SQL Developer Connect Error - ORA-00604: SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified

When using SQL Developer we will sometime get following error if our computer default language is settings don't go well with Oracle SQL Developer.


While connecting to database from the SQL Developer fails with the following error:

ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified

How to fix this?

Find sqldeveloper.conf file: under SQLDeveloper Home / Bin directory. 

Edit config file to add below options and save. 

AddVMOption -Duser.language=en

AddVMOption -Duser.country=US

Restart SQL Developer and try connection again.

Thursday, 20 August 2020

Oracle EBS R12 FNDLOAD Commands Example

 FNDLOAD Commands:


1) Concurrent Program Download:

FNDLOAD apps/<<AppsPassword>> O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct <<XX_LDT_FILE_NAME>>.ldt PROGRAM APPLICATION_SHORT_NAME="<<XXCUSTAPP>>" CONCURRENT_PROGRAM_NAME="<<CONC_PROG_SHORT_NAME>>"


2) Concurrent Program Upload:

FNDLOAD apps/<<apps password>> 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct <<XX_LDT_FILE_NAME>>.ldt -WARNING=YES UPLOAD_MODE=REPLACE -CUSTOM_MODE=FORCE 


3) Request SET Download

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct <<XX_LDT_FILE_NAME>>.ldt REQ_SET REQUEST_SET_NAME='<<REQSET_INTERNAL_NAME>>'


3) Request Set Links Download:

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct <<XX_LDT_FILE_NAME>>.ldt REQ_SET_LINKS REQUEST_SET_NAME='<<REQSET_INTERNAL_NAME>>'


4) Alert Download:

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $ALR_TOP/patch/115/import/alr.lct <<XX_LDT_FILE_NAME>>.ldt ALR_ALERTS APPLICATION_SHORT_NAME="<<XXCUSTAPP>>" ALERT_NAME="<<Alert Display Name>>"


5) Message Download

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct <<XX_LDT_FILE_NAME>>.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME="<<XXCUSTAPP>>" MESSAGE_NAME="<<MESSAGE_NAME>>"


6) Concurrent Program Assignment to Request Group Download

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct <<XX_LDT_FILE_NAME>>.ldt REQUEST_GROUP REQUEST_GROUP_NAME="<<REQUEST_GROUP_NAME>>" APPLICATION_SHORT_NAME="<<REQ_GROUP_APPLICATION>>" UNIT_NAME="<<CONC_PROG_SHORT_NAME>>" 


7) Concurrent Program Assignment to Request Group Upload

FNDLOAD apps/<<AppsPassword>> 0 Y UPLOAD $FND_TOP/patch/115/import/afcpreqg.lct <<XX_LDT_FILE_NAME>>.ldt


8) Value Set Download

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct <<XX_LDT_FILE_NAME>>.ldt VALUE_SET FLEX_VALUE_SET_NAME="<<VALUE_SET_NAME>>"


9) Value Set Upload

FNDLOAD apps/<<apps_password>> 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct <<XX_LDT_FILE_NAME>>.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE 


10) DFF Download

FNDLOAD apps/<<AppsPassword>> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct <<XX_LDT_FILE_NAME>>.ldt DESC_FLEX APPLICATION_SHORT_NAME=<<APPLICATION_SHORT_NAME>> DESCRIPTIVE_FLEXFIELD_NAME='<<DFF_NAME_INTERNAL>>' 


11) DFF Upload

FNDLOAD apps/<<AppsPassword>> 0 Y UPLOAD $FND_TOP/patch/115/import/ afffload.lct  <<XX_LDT_FILE_NAME>>.ldt -WARNING=YES UPLOAD_MODE=REPLACE -CUSTOM_MODE=FORCE


12) System Profile Download
-- ---------

FNDLOAD apps/<<AppsPassword>>O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct XX_CUSTOM_PRF.ldt PROFILE PROFILE_NAME="XX_PROFILE_NAME" APPLICATION_SHORT_NAME="XXCUST"

13) System Profile Upload

FNDLOAD apps/<<AppsPassword>>0 Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct XX_CUSTOM_PRF.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

14) Form Download

FNDLOAD apps/<<AppsPassword>> O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct <file_name.ldt> FORM APPLICATION_SHORT_NAME=”CUST” FORM_NAME=”CUSTFRMNAME”

15) Form Upload
FNDLOAD apps/<apps_pass>0 Y UPLOAD $FND_TOP/patch/115/import/afsload.lct <file_name.ldt>

16) Function Download
FNDLOAD apps/<apps_pass>O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct <file_name.ldt>  FUNCTION FUNC_APP_SHORT_NAME=”CUST” FUNCTION_NAME=”CUSTFUNNAME”

17) Function Upload
FNDLOAD apps/<apps_pass>O Y UPLOAD $FND_TOP:patch/115/import/afsload.lct <file_name.ldt>

18) Menu Download
FNDLOAD apps/<apps_pass>O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct <file_name.ldt>   MENU MENU_NAME=”CUSTMENUNAME”

19) Menu Upload 
FNDLOAD apps/<apps_pass>0 Y UPLOAD $FND_TOP/115/import/afsload.lct <file_name.ldt>

Tuesday, 7 February 2017

Steps to generate concurrent program trace file

Steps to generate trace file for concurrent job and  locate it on server:
1. Login applications user with System Administrator responsibility
2. Go to -> System Administrator -> Concurrent : Program -> Define and Press F11
3. Enter the Concurrent Program Name (Eg. Journal Import) -> Press Ctrl + F11
4. Enable the check box "Enable Trace" above "Copy To" button. Click on Save and close the window.
5. Select Requests -> Run->Submit the concurrent request for which you enabled trace
6. The trace file will be created in the Database Server under the location of "udump"
sql>select value from v$parameter where name like '%user_dump_dest%';

Wednesday, 2 September 2015

Setup steps for Drop Shipments in Oracle EBS


 

Oracle Order Entry and Oracle Purchasing integrate to provide drop shipments. Drop shipments are orders for items that your supplier ships directly to the customer either because you don't stock or currently have the items in inventory, or because it's more cost-effective for the supplier to ship the item to the customer directly



SETUP

A) Associate drop shipments with a receiving location.
B) Drop shipments support a Destination Type of Expense or Inventory only.
C) We can handle returns of drop shipments using standard Order Entry/Shipping or Purchasing functionality. There are different ways you may want to handle returns depending on whether the customer returned the item to you or directly to the supplier.
We have to consider the following setup:

1- Inventory Setup 

Inventory Setup : (Define and Maintain The Item)
The drop ship inventory organization, item and subinventory must be setup prior to creating any drop ship orders. All drop ship subinventory must have the Reservable box checked.
Below are list of the required item attributes for a drop ship item. All of these attributes MUST be enabled unless otherwise specified.
Inventory Attributes: Inventory Item , Stockable, Transactable, Reservable
Purchasing Attributes: Purchased, Purchaseable
Costing Attributes: Costing Enabled – this should only be checked for items that are cost enabled, Inventory Asset Value – this should only be checked for asset items (non-expense items)
Receiving Attributes: Receipt Routing set to Direct – this is not required, but preferred since it makes receiving process one step versus two or three
Order Management Attributes: Customer Ordered, Customer Orders Enabled, OE Transactable
As a Troubleshooting tips on creating a drop ship item and subinventory:
  •  Make sure the subinventory is Reservable.If the subinventory is not Reservable, the sales order issue transaction will not be created in MTL_TRANSACTIONS_INTERFACE.
  •  Make sure the item has the above mentioned item attributes in the drop ship organization. If the above item attributes are not set, problems will arise in various places during the drop ship transaction process.

2- OM Setup

  • Make sure the sales order line Source Type is External. If the source type is not External, workflow will not distinguish the line as being a drop shipment and will not insert any data into the purchasing module’s requisitions interface. 
  • For customer, enter internal ship to location.
  • Customer must have a valid ship-to and bill-to locations. 
  •  Make sure that either the schedule ship date or request date is populated.If both of these are null, the requisition will not be imported into the purchasing module’s requisitions interface. 
  •  Make sure there are no holds against the line. If there is a hold, the hold must be removed and then the order can be progressed or the line must be manually purchased release.
    Verify in HR, that the employee has an active status and has not been terminated.
For more details metalink
Note 99888.1: Drop Shipments – Setup
Note:99886.1 : Drop Shipments – FAQ
Note:99889.1 : Drop Shipments - Troubleshooting

3- PO Setup

  • Make sure the Import Source parameter list of values contains ORDER ENTRY.
    If ORDER ENTRY appears in the Import Source parameter list of values, then it means that the Workflow Background Processor successfully inserted a requisition into PO_REQUISITIONS_INTERFACE_ALL. If ORDER ENTRY is not visible in the Import Source parameter list of values, then no rows were inserted into the table. Review the setup under Order Management. 
  • User should be setup as a valid PO Buyer.
  •  Make sure the Group By parameter is actually set the user wants the requisitions grouped.


Click to add to Favorites


Wednesday, 19 November 2014

Query : Find Request Group name for Concurrent program name

Very useful query to retreive the Request Group and other information for Concurrent program from its name :
 
SELECT cpt.user_concurrent_program_name     "Concurrent Program Name",
       DECODE(rgu.request_unit_type,
              'P', 'Program',
              'S', 'Set',
              rgu.request_unit_type)        "Unit Type",
       cp.concurrent_program_name           "Concurrent Program Short Name",
       rg.application_id                    "Application ID",
       rg.request_group_name                "Request Group Name",
       fat.application_name                 "Application Name",
       fa.application_short_name            "Application Short Name",
       fa.basepath                          "Basepath"
         FROM fnd_request_groups          rg,
       fnd_request_group_units     rgu,
       fnd_concurrent_programs     cp,
       fnd_concurrent_programs_tl  cpt,
       fnd_application             fa,
       fnd_application_tl          fat
 WHERE rg.request_group_id       =  rgu.request_group_id
   AND rgu.request_unit_id       =  cp.concurrent_program_id
   AND cp.concurrent_program_id  =  cpt.concurrent_program_id
   AND rg.application_id         =  fat.application_id
   AND fa.application_id         =  fat.application_id
   AND cpt.language              =  USERENV('LANG')
   AND fat.language              =  USERENV('LANG')
   AND cpt.user_concurrent_program_name like 'Your CP Name';

PURCHASING - Setup Buyer in Oracle APPS R12

1)  Login to Purchasing Super User Responsibility Navigation : Setup -> Personnel -> Buyers 2) Search for user name to be added as Buy...