Oracle FNDLOAD Scripts
Oracle FNDLOAD Scripts
1. Lookups
-- -------------
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct XX_CUSTOM_LKP.ldt
FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="XXCUST" LOOKUP_TYPE="XX_LOOKUP_TYPE"
2. Concurrent Program
-- -----------------------------
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XX_CUSTOM_CP.ldt PROGRAM
APPLICATION_SHORT_NAME="XXCUST"
CONCURRENT_PROGRAM_NAME="XX_CONCURRENT_PROGRAM"
3. Profile
-- ---------
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct XX_CUSTOM_PRF.ldt PROFILE
PROFILE_NAME="XX_PROFILE_NAME" APPLICATION_SHORT_NAME="XXCUST"
6. D2K FORMS
-- ------------------
$FND_TOP/bin/FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct
XX_CUSTOM_FRM.ldt FORM FORM_NAME="FORM_NAME"
7. Form Function
-- ---------------------
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XX_CUSTOM_FUNC.ldt
FUNCTION FUNCTION_NAME="FORM_FUNCTION_NAME"
8. Alerts
-- ---------
FNDLOAD apps/apps 0 Y DOWNLOAD $ALR_TOP/patch/115/import/alr.lct XX_CUSTOM_ALR.ldt ALR_ALERTS
APPLICATION_SHORT_NAME=XXCUST ALERT_NAME="XX - Alert Name"
9. Value Set
-- --------------
$FND_TOP/bin/FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct
XX_CUSTOM_VS.ldt VALUE_SET FLEX_VALUE_SET_NAME="XX Value Set Name"
$FND_TOP/bin/FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afffload.lct XX_CUSTOM_VS.ldt -
WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE
1. After uploading using FNDLOAD, user will be promoted to change their password
again during their next signon attempt.
2. All the responsibilities will be extracted by FNDLOAD alongwith User Definition in
FND_USER
3. In the Target Environment, make sure that you have done FNDLOAD for new
responsibilities prior to running FNDLOAD on users.
FNDLOAD Command To upload Ldt file for a request group for a Concurrent Program
FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt
FNDLOAD Command To upload Ldt file for a request group for a Request Set
FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt
FNDLOAD Command To upload Ldt file for a DFF for a particular attribute column
FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afffload.lct file_name.ldt
FNDLOAD <username>/<password> O Y
DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt>
XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=<application short
name>DATA_SOURCE_CODE=<data source code >
TMPL_APP_SHORT_NAME=<template application
short name>TEMPLATE_CODE=<template code>
The Above command downloads all the templates defined for this Particular Data
Definition. For a particular template to be downloaded use
FNDLOAD Examples:
Printer Styles:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct xxaoa_file_name.ldt STYLE
1
PRINTER_STYLE_NAME="printer style name"
Lookups:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct xxaoa_file_name.ldt
1
FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="prod" LOOKUP_TYPE="lookup name"
Multiple Flexfields:
Shell
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt DESC_FLEX
1
DESCRIPTIVE_FLEXFIELD_NAME="PER_%"
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt
1 KEY_FLEX P_LEVEL=:COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL?
Concurrent Programs:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct xxaoa_file_name.ldt
1
PROGRAM APPLICATION_SHORT_NAME="prod" CONCURRENT_PROGRAM_NAME="concurrent name"
Value Sets:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt
1
VALUE_SET FLEX_VALUE_SET_NAME="value set name"
Value Sets with values:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt
1
VALUE_SET_VALUE FLEX_VALUE_SET_NAME="value set name"
Profile Options:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct xxaoa_file_name.ldt PROFILE
1
PROxxaoa_file_name="profile option" APPLICATION_SHORT_NAME="prod"
Request Group:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct xxaoa_file_name.ldt
1
REQUEST_GROUP REQUEST_GROUP_NAME="request group" APPLICATION_SHORT_NAME="prod"
Request Sets:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct xxaoa_file_name.ldt
1
REQ_SET APPLICATION_SHORT_NAME="prod" REQUEST_SET_NAME="request set"
2
3
DOWNLOAD
4
-- Request set Def --
5
FNDLOAD apps/$apps_pwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.ldt> REQ_SET
6
REQUEST_SET_NAME=<request set name>
7
-- Request set link --
8
FNDLOAD apps/$apps_pwd 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.ldt>
9
REQ_SET_LINKS REQUEST_SET_NAME=<request set link name>
10
11
UPLOAD
FNDLOAD apps/$CLIENT_APPS_PWD 0 Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.ldt>
Responsibilities:
Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct xxaoa_file_name.ldt
1
FND_RESPONSIBILITY RESP_KEY="responsibility"
Shell
1 FNDLOAD apps/<PASSWORD> 0 Y DOWNLOAD FND_TOP/patch/115/import/afscursp.lct <USER>.ldt
Menus:
Shell
FNDLOAD apps/ pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct xxaoa_file_name.ldt MENU
1
MENU_NAME="menu_name"
Forms/Functions/Personalizations:
Shell
1 FNDLOAD <userid>/<password> 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct <xxaoa_file_name.ldt>
3 OR
4 FNDLOAD <userid>/<password> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct xxaoa_file_name.ldt
5 FUNCTION FUNCTION_NAME=<function_name>
6 OR
FORM_NAME=<form_name>
OR
User/Responsibilities:
Shell
FNDLOAD apps/ pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct xxaoa_file_name.ldt
1
FND_USER
Alert:
Shell
FNDLOAD apps/pwd 0 Y DOWNLOAD $ALR_TOP/patch/115/import/alr.lct my_file.ldt ALR_ALERTS
1
APPLICATION_SHORT_NAME=FND ALERT_NAME=Alert name to downloa
Blob:
With Release 12.1.1, FNDLOAD supports BLOB data (upload / download ) to better serve content-
rich applications.
Shell
1 FNDLOAD apps/pwd 0 Y mode configfile datafile entity [ param ... ]
Shell
1 FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/.lct $XX_TOP/import/.ldt CUSTOM_MODE=FORCE
Load an NLS Language:
Shell
1 FNDLOAD <APPS USR>/<APPS PWD> 0 Y UPLOAD <controlfile.lct> <datafile.ldt> \
Shell
a. Please navigate to the path: $FND_TOP /patch/115/import/US/umxrgsvc.ldt
Shell
a. Download the message from the source instance.
2 APPLICATION_SHORT_NAME=FND MESSAGE_NAME=PASSWORD-INVALID-NO-SPEC-CHAR
4 b. Move the custom LDT file (password.ldt) over to the destination instance.
APPLICATION_SHORT_NAME=FND CUSTOM_MODE=FORCE
Download UMX Roles and Role Assignment data from one instance and upload to another:
Shell
1 To download from one instance:
9 umxroles.ldt
Notes:
1. Give special attention when downloading Menus or Responsibilities. In the case for several
developers modifying Responsibilities and Menus, then be very careful. Not being careful
will mean that untested Forms, Functions, and Menus will become available in the clients
Production environment besides the tested Forms, Functions, and Menus.
2. Be very careful when downloading flexfields that reference value sets with independent
values for GL Segment Codes. By doing so, downloading and extracting all the test data in
GL Codes that might not be applicable for production.
3. There are several variations possible for FNDLOAD. For example, restricting the download
and upload to specific segments within Descriptive Flexfields.
4. FNDLOAD is very reliable and stable, if used properly.
5. Please test the FNDLOAD properly, so as to ensure that no unexpected data occurs.
6. As the name suggests, FNDLOAD is usedful for FND related objects. However, in any
implementation, its required to migrate the Setups in Financials and Oracle HRMS from one
environment to another. Oracle iSetup can be used for this. Some of the things that can be
migrated using Oracle iSetup are GL Set of Books, HR Organization Structures, HRMS
Employees, Profile Options Setup, Suppliers, Customers, Tax Codes & Tax Rates,
Financials Setup, Accounting Calendars, Chart of Accounts, GL Currencies.
3
UPLOAD
4
FNDLOAD apps/$CLIENT_APPS_PWD O Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt>
5
6
The Above command downloads all the templates defined for this Particular Data Definition. For a particular template to be
7
downloaded use
8
9
FNDLOAD apps/apps 0 Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt>
TEMPLATE_CODE= <templatecode>
ALERTS:
Shell
1
DOWNLOAD
2
$FND_TOP/bin/FNDLOAD apps/coco 0 Y DOWNLOAD $ALR_TOP/patch/115/import/alr.lct <xxaoa_filename.ldt>
3
ALR_ALERTS APPLICATION_SHORT_NAME=< application short name> ALERT_NAME=<alert name>
4
5
UPLOAD
6
FNDLOAD apps/coco 0 Y UPLOAD $ALR_TOP/patch/115/import/alr.lct <ldt filename>
7
8
##You can use some additional parameters such as
9
10
11 * ALR_DISTRIBUTION_LISTS APPLICATION_SHORT_NAME=AD where APPLICATION_SHORT_NAME
13 * ALR_LOOKUPS
14 * ALR_MESSAGE_SYSTEMS
* ALR_ORACLE_MAIL_ACCOUNTS
* ALR_PROFILE_OPTIONS
* ALR_PERIODIC_SETS APPLICATION_SHORT_NAME=ALR
AME RULES:
CONDITIONS:
The script that downloads AME conditions allows you to download all conditions for a given
transaction type or only those associated with a particular attribute or group of attributes.
Shell
DOWNLOAD
4 UPLOAD
An approver group can either be an ordered set of one or more approvers (persons and/or user
accounts) or it can be a list, which is dynamically generated at rule evaluation time.
Shell
1 DOWNLOAD
6 UPLOAD
Shell
DOWNLOAD
4
UPLOAD
5
FNDLOAD apps/<passwd>@destinationdb 0 Y UPLOAD $PER_TOP/patch/115/import/amesaagc.lct
ameapprovalgroupusage.ldt
AME Rule:
An approval rule is a business rule that helps determine a transactional approval process. Rules are
constructed from conditions and actions.
The AME rules can be downloaded for information about the rule (e.g. name, description, etc) along
with associated conditions and rule type.
Shell
1 DOWNLOAD
7
UPLOAD
Shell
DOWNLOAD
6 UPLOAD
Transaction Types:
An application that uses AME to govern its transactions approval processes is termed an integrating
application. An integrating application may divide its transactions into several categories where each
category requires a distinct set of approval rules. Each set of rules is called a transaction type.
Different transaction types can use the same attribute name to represent values that are calculated
in different ways or fetched from different places.
Shell
DOWNLOAD
3 short name>
5 UPLOAD
Attribute:
Shell
DOWNLOAD
3 APPLICATION_SHORT_NAME=<application_short_name>
5 UPLOAD
Attribute Usage:
Shell
DOWNLOAD
5 UPLOAD
Shell
FNDLOAD apps/<apps password> @<DB> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneint.lct
1
<xxaoa_filename.ldt> BNE_INTEGRATORS INTEGRATOR_ASN= "PER" INTEGRATOR_CODE=<"Integrator code">
Shell
FNDLOAD apps/<apps password> @<DB>0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnecont.lct
1
<xxaoa_filename.ldt> BNE_CONTENTS CONTENT_ASN="PER" CONTENT_CODE=<"Content code">
Shell
FNDLOAD apps/<apps password> @<DB>0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct
1
<xxaoa_filename.ldt> BNE_LAYOUTS LAYOUT_ASN="PER" LAYOUT_CODE = <layout code>
PgSQL
FNDLOAD apps/<apps password> @<DB>0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneparamlist.lct< file name>
1
BNE_PARAM_LISTS PARAM_LIST_ASN="PER" PARAM_LIST_CODE=<"parameter list code">
Shell
FNDLOAD apps/<apps password> @<DB>0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnecomp.lct
1
<xxaoa_filename.ldt> BNE_COMPONENTS COMPONENT_ASN="PER" COMPONENT_CODE=<"Component code">
PgSQL
FNDLOAD <username>/<password>[@connect]0 Y DOWNLOAD @XLA:patch/115/import/xlapgseed.lct
1
<xaoa_filename.ldt> XLA_POST_ACCT_PROGS APPLICATION_ID=<application_ID>
PgSQL
1 FNDLOAD <username>/<password>[@connect]0 Y UPLOAD @XLA:patch/115/import/xlapgseed.lct <xaoa_filename.ldt>
Work Flows:
Shell
1 Download :
4 Upload