0% found this document useful (0 votes)
468 views

Oracle FNDLOAD Scripts

The document provides instructions for using FNDLOAD scripts to download and upload various Oracle Application objects like lookups, concurrent programs, profiles, forms, menus, users, and more. It includes the FNDLOAD commands needed to download each object along with required parameters. The scripts are useful for migrating custom objects between different Oracle E-Business Suite environments.

Uploaded by

Manoj Baghel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
468 views

Oracle FNDLOAD Scripts

The document provides instructions for using FNDLOAD scripts to download and upload various Oracle Application objects like lookups, concurrent programs, profiles, forms, menus, users, and more. It includes the FNDLOAD commands needed to download each object along with required parameters. The scripts are useful for migrating custom objects between different Oracle E-Business Suite environments.

Uploaded by

Manoj Baghel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Oracle FNDLOAD Scripts

By PRajkumar on May 01, 2012

Download Script Upload Script

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"

FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/aflvmlu.lct XX_CUSTOM_LKP.ldt


UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

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"

FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct XX_CUSTOM_CP.ldt -


WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

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"

$FND_TOP/bin/FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct XX_CUSTOM_PRF.ldt


- WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

4. Request Set and Link


-- ------------------------------
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct XX_CUSTOM_RS.ldt REQ_SET
REQUEST_SET_NAME='REQUEST_SET_NAME'

FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct XX_CUSTOM_RS.ldt


UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE
5. FND Message
-- ---------------------
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct XX_CUSTOM_MESG.ldt
FND_NEW_MESSAGES APPLICATION_SHORT_NAME="XXCUST" MESSAGE_NAME="MESSAGE_NAME%"

FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afmdmsg.lct XX_CUSTOM_MESG.ldt


UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

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"

$FND_TOP/bin/FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afsload.lct XX_CUSTOM_FRM.ldt


- WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

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"

$FND_TOP/bin/FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afsload.lct


XX_CUSTOM_FUNC.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

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"

FNDLOAD apps/apps 0 Y UPLOAD $ALR_TOP/patch/115/import/alr.lct XX_CUSTOM_ALR.ldt


CUSTOM_MODE=FORCE

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

10. Data Definition and Associated Template


--- ----------------------------------------------------------
FNDLOAD apps/$CLIENT_APPS_PWD O Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct
XX_CUSTOM_DD.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME='XXCUST'
DATA_SOURCE_CODE='XX_SOURCE_CODE' TMPL_APP_SHORT_NAME='XXCUST'
TEMPLATE_CODE='XX_SOURCE_CODE'

FNDLOAD apps/$CLIENT_APPS_PWD O Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct


XX_CUSTOM_DD.ldt

11. DATA_TEMPLATE (Data Source .xml file)


--- ----------------------------------------------------------
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD apps -
JDBC_CONNECTION
'(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XX_HOST_NAME)(PORT=XX_PORT_NUMBER))(CONNE
CT_DATA=(SERVICE_NAME=XX_SERVICE_NAME)))' -LOB_TYPE DATA_TEMPLATE -LOB_CODE
XX_TEMPLATE -APPS_SHORT_NAME XXCUST -LANGUAGE en -lct_FILE
$XDO_TOP/patch/115/import/xdotmpl.lct -LOG_FILE $LOG_FILE_NAME

java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME apps -DB_PASSWORD apps -


JDBC_CONNECTION
'(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XX_HOST_NAME)(PORT=XX_PORT_NUMBER))(CONNE
CT_DATA=(SERVICE_NAME=XX_SERVICE_NAME)))' -LOB_TYPE DATA_TEMPLATE -LOB_CODE
XX_TEMPLATE -XDO_FILE_TYPE XML -FILE_NAME $DATA_FILE_PATH/$DATA_FILE_NAME.xml -
APPS_SHORT_NAME XXCUST -NLS_LANG en -TERRITORY US -LOG_FILE $LOG_FILE_NAME

12. RTF TEMPLATE (Report Layout .rtf file)


--- -------------------------------------------------------
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD apps -
JDBC_CONNECTION
'(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XX_HOST_NAME)(PORT=XX_PORT_NUMBER))(CONNE
CT_DATA=(SERVICE_NAME=XX_SERVICE_NAME)))' -LOB_TYPE TEMPLATE -LOB_CODE XX_TEMPLATE -
APPS_SHORT_NAME XXCUST -LANGUAGE en -TERRITORY US -lct_FILE
$XDO_TOP/patch/115/import/xdotmpl.lct -LOG_FILE $LOG_FILE_NAME

java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME apps -DB_PASSWORD apps -


JDBC_CONNECTION
'(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XX_HOST_NAME)(PORT=XX_PORT_NUMBER))(CONNE
CT_DATA=(SERVICE_NAME=SERVICE_NAME)))' -LOB_TYPE TEMPLATE -LOB_CODE XX_TEMPLATE -
XDO_FILE_TYPE RTF -FILE_NAME $RTF_FILE_PATH/$RTF_FILE_NAME.rtf -APPS_SHORT_NAME XXCUST -
NLS_LANG en -TERRITORY US -LOG_FILE $LOG_FILE_NAME

FNDLOAD Download And Upload Commands For Different


AOL Components!!

FNDLOAD Command To Downlod Printer Styles


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afcppstl.lct xxaoa_file_name.ldt STYLE
PRINTER_STYLE_NAME="printer style name"

FNDLOAD Command To Downlod Lookups


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/aflvmlu.lct xxaoa_file_name.ldt FND_LOOKUP_TYPE
APPLICATION_SHORT_NAME="prod" LOOKUP_TYPE="lookup name"

FNDLOAD Command To Downlod Descriptive Flexfield with all of specific Contexts


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt DESC_FLEX
P_LEVEL=:COL_ALL:REF_ALL:CTX_ONE:SEG_ALL?
APPLICATION_SHORT_NAME="prod" DESCRIPTIVE_FLEXFIELD_NAME="desc flex
name" P_CONTEXT_CODE="context name"

FNDLOAD Command To Downlod Multiple Flexfields:


Use a combination of APPLICATION_SHORT_NAME and
DESCRIPTIVE_FLEXFIELD_NAME names ie. APPLICATION_SHORT_NAME=PER >> will
download all PER flexfields DESCRIPTIVE_FLEXFIELD_NAME=PER_% >> will download
all flexfields that start with ‘PER_’.

FNDLOAD <username>/<password> O Y DOWNLOAD


$FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt DESC_FLEX
DESCRIPTIVE_FLEXFIELD_NAME="PER_%"

FNDLOAD Command To Downlod Key Flexfield Structures:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt KEY_FLEX
P_LEVEL=:COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_AL
L? APPLICATION_SHORT_NAME="prod" ID_FLEX_CODE="key flex code"
P_STRUCTURE_CODE="structure name"

FNDLOAD Command To Downlod Concurrent Programs:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afcpprog.lct xxaoa_file_name.ldt PROGRAM
APPLICATION_SHORT_NAME="prod" CONCURRENT_PROGRAM_NAME="concurrent
name"

FNDLOAD Command To Downlod Value Sets:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt VALUE_SET
FLEX_VALUE_SET_NAME="value set name"

FNDLOAD Command To Downlod Value Sets with values:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt VALUE_SET_VALUE
FLEX_VALUE_SET_NAME="value set name"

FNDLOAD Command To Downlod Profile Options:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afscprof.lct xxaoa_file_name.ldt PROFILE
PROxxaoa_file_name="profile option" APPLICATION_SHORT_NAME="prod"

FNDLOAD Command To Downlod Request Group:

FNDLOAD <username>/<password> 0 Y DOWNLOAD


$FND_TOP/patch/115/import/afcpreqg.lct xxaoa_file_name.ldt REQUEST_GROUP
REQUEST_GROUP_NAME="request group"APPLICATION_SHORT_NAME="prod"

FNDLOAD Command To Downlod Request Sets:


- DOWNLOAD -- Request set Def --

FNDLOAD <username>/<password> 0 Y DOWNLOAD


$FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.ldt> REQ_SET
REQUEST_SET_NAME=<request set name>

DOWNLOAD -- Request set link --


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.ldt> REQ_SET_LINKS
REQUEST_SET_NAME=<request set link name>

FNDLOAD Command To Downlod Responsibilities

FNDLOAD <username>/<password> 0 Y DOWNLOAD


$FND_TOP/patch/115/import/afscursp.lct xxaoa_file_name.ldt FND_RESPONSIBILITY
RESP_KEY="responsibility"

FNDLOAD Command To Downlod Responsibilities with all Security Groups:


FNDLOAD <username>/<PASSWORD> 0 Y DOWNLOAD
FND_TOP/patch/115/import/afscursp.lct <USER>.ldt FND_USER
USER_NAME="<USER>" SECURITY_GROUP=% DATA_GROUP_NAME=%

Notes for using FNDLOAD against FND_USER:-

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 Downlod Menus:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afsload.lct xxaoa_file_name.ldt MENU
MENU_NAME="menu_name"

FNDLOAD Command To Downlod Forms/Functions/Personalizations:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/affrmcus.lct <xxaoa_file_name.ldt>
FND_FORM_CUSTOM_RULES form_name=<form name>
OR
FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afsload.lct xxaoa_file_name.ldt FUNCTION
FUNCTION_NAME=<function_name>
OR
FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afsload.lct xxaoa_file_name.ldt FORM
FORM_NAME=<form_name>
OR
FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/affrmcus.lct <xxaoa_file_name.ldt>
FND_FORM_CUSTOM_RULES function_name=<function name>

FNDLOAD Command To Downlod User/Responsibilities:


FNDLOAD <username>/<password> 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afscursp.lct xxaoa_file_name.ldt FND_USER
FNDLOAD Command To Downlod Alert:
FNDLOAD <username>/<password> 0 Y DOWNLOAD
$ALR_TOP/patch/115/import/alr.lct my_file.ldt ALR_ALERTS
APPLICATION_SHORT_NAME=FND ALERT_NAME=Alert name to download

FNDLOAD Command To Downlod Blob:


FNDLOAD <username>/<password> 0 Y mode configfile datafile entity [ param ... ]

FNDLOAD Command To Downlod Overwrite custom definitions:


FNDLOAD <username>/<password> 0 Y UPLOAD $FND_TOP/patch/115/import/.lct
$XX_TOP/import/.ldt CUSTOM_MODE=FORCE

How To Transfer Custom Messages to another Instance:


a. Download the message from the source instance.
FNDLOAD <username>/<password> 0 Y DOWNLOAD
@FND:patch/115/import/afmdmsg.lct password.ldt FND_NEW_MESSAGES
APPLICATION_SHORT_NAME=FND MESSAGE_NAME=PASSWORD-INVALID-NO-SPEC-
CHAR
b. Move the custom LDT file (password.ldt) over to the destination instance.
c. Upload the custom message to the destination instance.
FNDLOAD <username>/<password> 0 Y UPLOAD
@FND:patch/115/import/afmdmsg.lct password.ldt FND_NEW_MESSAGES
APPLICATION_SHORT_NAME=FND CUSTOM_MODE=FORCE

XML DATA DEFINITION:


FNDLOAD <username>/<password> O Y DOWNLOAD
$XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt> XDO_DS_DEFINITIONS
APPLICATION_SHORT_NAME=<application shortname>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 downloadeduse

FNDLOAD <username>/<password> 0 Y DOWNLOAD


$XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt> XDO_DS_DEFINITIONS
APPLICATION_SHORT_NAME=<application
shortname>DATA_SOURCE_CODE=<datadefshortcode>
TMPL_APP_SHORT_NAME==<template application short name> TEMPLATE_CODE=
<templatecode>

How TO Migrate Work Flows From One Instance to other:


WFLOAD <username>/<password> 0 Y DOWNLOAD <xxaoa_filepath.wft> <item
type>
Execute Following Command to upload the workflow to target instance:

WFLOAD <username>/<password> 0 Y UPLOAD <xxaoa_filepath.wft>

UPLOAD UPLOAD COMMANDS For Different AOL


Components:
Note: UPLOAD command is same for all except replacing the .lct and passing any extra
parameters if you want to pass

FNDLOAD Command To upload Ldt file for a Concurent Program


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afcpprog.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Data Definition


FNDLOAD <username>/<password> O Y UPLOAD
$XDO_TOP/patch/115/import/xdotmpl.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Request Set


FNDLOAD <username>/<password> 0 Y UPLOAD
$FND_TOP/patch/115/import/afcprset.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Request Set Links


FNDLOAD <username>/<password> 0 Y UPLOAD
$FND_TOP/patch/115/import/afcprset.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Lookup Up


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt

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 Value Set


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afffload.lct file_name.ldt
FNDLOAD Command To upload Ldt file for a Value Set with values
FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afffload.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a DFF


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afffload.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 Command To upload Ldt file for a profile Option


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afscprof.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Audit Group


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/affaudit.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Audit Schema


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/affaudit.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a Responsibility


FNDLOAD <username>/<password> O Y UPLOAD
$FND_TOP/patch/115/import/afscursp.lct file_name.ldt

FNDLOAD Command To upload Ldt file for a XML Data Definition


UPLOAD
FNDLOAD <username>/<password> 0 Y UPLOAD
$FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.ldt>
FNDLOAD <username>/<password> 0 Y UPLOAD
$FND_TOP/patch/115/import/afcprset.lct <xxaoa_filename.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>

FNDLOAD <username>/<password> O Y UPLOAD


$XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt>

The Above command downloads all the templates defined for this Particular Data
Definition. For a particular template to be downloaded use

FNDLOAD <username>/<password> O Y UPLOAD


$XDO_TOP/patch/115/import/xdotmpl.lct <xxaoa_filename.ldt>

FNDLOAD Command to upload ALERTS


FNDLOAD <username>/<password> 0 Y UPLOAD
$ALR_TOP/patch/115/import/alr.lct <ldt filename>

FNDLOAD Command TO Upload an NLS Language:


FNDLOAD <username>/<password> 0 Y UPLOAD <controlfile.lct> <datafile.ldt> \
- UPLOAD_MODE=NLS CUSTOM_MODE=FORCE WARNINGS=TRUE

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"

Descriptive Flexfield with all of specific Contexts:


Shell
FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct xxaoa_file_name.ldt

1 DESC_FLEX P_LEVEL=:COL_ALL:REF_ALL:CTX_ONE:SEG_ALL? APPLICATION_SHORT_NAME="prod"

DESCRIPTIVE_FLEXFIELD_NAME="desc flex name" P_CONTEXT_CODE="context name"

Multiple Flexfields:

Use a combination of APPLICATION_SHORT_NAME and DESCRIPTIVE_FLEXFIELD_NAME


names ie. APPLICATION_SHORT_NAME=PER >> will download all PER flexfields
DESCRIPTIVE_FLEXFIELD_NAME=PER_% >> will download all flexfields that start with ‘PER_’.

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_%"

Key Flexfield Structures:

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?

APPLICATION_SHORT_NAME="prod" ID_FLEX_CODE="key flex code" P_STRUCTURE_CODE="structure name"

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>

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"

Responsibilities with all Security Groups:

Shell
1 FNDLOAD apps/<PASSWORD> 0 Y DOWNLOAD FND_TOP/patch/115/import/afscursp.lct <USER>.ldt

2 FND_USER USER_NAME="<USER>" SECURITY_GROUP=% DATA_GROUP_NAME=%

Notes for using FNDLOAD against FND_USER:-


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.

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>

2 FND_FORM_CUSTOM_RULES form_name=<form name>

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

7 FNDLOAD <userid>/<password> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct xxaoa_file_name.ldt FORM

FORM_NAME=<form_name>

OR

FNDLOAD <userid>/<password> 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct <xxaoa_file_name.ldt>

FND_FORM_CUSTOM_RULES function_name=<function name>

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 ... ]

Overwrite custom definitions:

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> \

2 - UPLOAD_MODE=NLS CUSTOM_MODE=FORCE WARNINGS=TRUE

Migrate the role registration process from one instance to another:

Shell
a. Please navigate to the path: $FND_TOP /patch/115/import/US/umxrgsvc.ldt

2 b. The following command can be used to download:

3 FNDLOAD apps/<PASSWD>@(instance name) O Y DOWNLOAD $FND_TOP/patch/115/import/umxrgsvc.lct

4 umxrgsvc.ldt UMX_REG_SERVICES REG_SERVICE_CODE UMX

6 c. The following command can be used to upload:

7 FNDLOAD apps/<PASSWD>@(instance name) O Y UPLOAD $FND_TOP/patch/115/import/umxrgsvc.lct umxrgsvc.ldt

UMX_REG_SERVICES REG_SERVICE_CODE UMX

Transfer Custom Messages to another Instance:

Shell
a. Download the message from the source instance.

1 FNDLOAD apps/apps 0 Y DOWNLOAD @FND:patch/115/import/afmdmsg.lct password.ldt FND_NEW_MESSAGES

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.

6 c. Upload the custom message to the destination instance.

7 FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afmdmsg.lct password.ldt FND_NEW_MESSAGES

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:

3 FNDLOAD <username/pwd@sid> 0 Y DOWNLOAD $FND_TOP/patch/115/import/afrole.lct

4 umxroles.ldt WF_ROLE ORIG_SYSTEM=UMX%

6 To upload to another instance:

8 FNDLOAD <username/pwd@sid> 0 Y UPLOAD $FND_TOP/patch/115/import/afrole.lct

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.

XML DATA DEFINITION:


Shell
DOWNLOAD

FNDLOAD apps/$CLIENT_APPS_PWD 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


1
short name>TEMPLATE_CODE=<template code>
2

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>

XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=<application short

name>DATA_SOURCE_CODE=<datadefshortcode> TMPL_APP_SHORT_NAME==<template application short name>

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

12 represents the Application Alert owner

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

1 FND_TOP apps/<apps password> 0 Y DOWNLOAD $PER_TOP/patch/115/import/amesconk.lct <ldt filename>

2 AME_CONDITIONS CONDITION_KEY=<condition key> TRANSACTION_TYPE_ID=<trans typs id>

3 APPLICATION_SHORT_NAME=<application short name>

4 UPLOAD

FNDLOAD apps/<passwd>@destinationdb 0 Y UPLOAD $PER_TOP/patch/115/import/amesconk.lct <ldt filename>

Dynamic Approval group /Approver Groups:

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

2 FND_TOP apps/<apps password> 0 Y DOWNLOAD $PER_TOP/patch/115/import/amesappg.lct <ldt filename>

3 AME_APPROVAL_GROUPS APPROVAL_GROUP_NAME=<name of approval group>

4 TRANSACTION_TYPE_ID=<trans typs id> APPLICATION_SHORT_NAME=<application short name>


5

6 UPLOAD

FNDLOAD apps/<passwd>@destinationdb 0 Y UPLOAD $PER_TOP/patch/115/import/amesappg.lct <ldt filename>

Dynamic Approval group config:

Shell
DOWNLOAD

FNDLOAD apps/<passwd>@sourcedb 0 Y DOWNLOAD $PER_TOP/patch/115/import/amesaagc.lct


1
ameapprovalgroupusage.ldt AME_APPROVAL_GROUP_CONFIG APPROVAL_GROUP_NAME='Dyn. Post HROPs
2
Approval Group' TRANSACTION_TYPE_ID='HRSSA' APPLICATION_SHORT_NAME='PER'
3

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

2 $FND_TOP/bin/FNDLOAD apps/<apps password> 0 Y DOWNLOAD $PER_TOP/patch/115/import/amesrulk.lct

3 <xxaoa_file_name> AME_RULES RULE_KEY=<Rule Key > TRANSACTION_TYPE_ID=<trans typs id>

4 APPLICATION_SHORT_NAME=<application short name>

6 # You can find Rule Key in AME_RULES table

7
UPLOAD

FNDLOAD apps/<passwd>@destinationdb 0 Y UPLOAD $PER_TOP/patch/115/import/amesrulk.lct xxaoa_file_name.ldt

AME Rule Action Type Usage:

Shell
DOWNLOAD

1 FNDLOAD apps/<apps pw> 0 Y DOWNLOAD amesactu.lct <xxaoa_file_name>.ldt AME_ACTION_USAGES

2 APPLICATION_SHORT_NAME=<FND application short name> TRANSACTION_TYPE_ID=<AME transaction type

3 short name> [RULE_KEY=<Rule Key>]

4 # Rule Key is found in AME_RULES table

6 UPLOAD

FNDLOAD apps/apps 0 Y UPLOAD amesactu.lct <xxaoa_file_name>.ldt

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

1 FNDLOAD apps/<apps pwd> 0 Y DOWNLOAD amescvar.lct <xxaoa_file_name>.ldt AME_CALLING_APPS

2 APPLICATION_SHORT_NAME=<FND application short name> TRANSACTION_TYPE_ID=<AME transaction type

3 short name>

5 UPLOAD

FNDLOAD apps/<apps pwd> 0 Y UPLOAD amescvar.lct <xxaoa_file_name>.ldt

Attribute:
Shell
DOWNLOAD

1 FNDLOAD apps/<apps password> 0 Y DOWNLOAD $PER_TOP/patch/115/import/amesmatt.lct <ldt filename>

2 AME_ATTRIBUTES ATTRIBUTE_NAME=<attribute_name> TRANSACTION_TYPE_ID=<trans_type_id>

3 APPLICATION_SHORT_NAME=<application_short_name>

5 UPLOAD

FNDLOAD apps/<apps pwd> 0 Y UPLOAD amesmatt.lct <xxaoa_file_name>.ldt

Attribute Usage:

Shell
DOWNLOAD

1 FNDLOAD apps/<apps password> 0 Y DOWNLOAD $PER_TOP/patch/115/import/amesmatr.lct <xxaoa_file_name>.ldt

2 AME_ATTRIBUTE_USAGES ATTRIBUTE_NAME=<attribute name> TRANSACTION_TYPE_ID=<trans typs id>

3 APPLICATION_SHORT_NAME=<application short name>

5 UPLOAD

FNDLOAD apps/<apps pwd> 0 Y UPLOAD amesmatr.lct <xxaoa_file_name>.ldt

WEB ADI integrator:

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">

Web ADI contents:

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">

Web ADI mappings:


Shell
FNDLOAD apps/<apps password> @<DB>0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnemap.lct
1
<xxaoa_filename.ldt> BNE_MAPPINGS MAPPING_ASN="PER" MAPPING_CODE=<"mapping code">

Web ADI layout:

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>

Web ADI parameter list:

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">

WEB ADI component:

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">

Post-Accounting Programs SLA:

Downloading Post-Accounting Programs using the following syntax:

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>

Uploading Post-Accounting Programs using the following syntax:

PgSQL
1 FNDLOAD <username>/<password>[@connect]0 Y UPLOAD @XLA:patch/115/import/xlapgseed.lct <xaoa_filename.ldt>
Work Flows:

Shell
1 Download :

2 WFLOAD apps/$CLIENT_APPS_PWD 0 Y DOWNLOAD <xxaoa_filepath.wft> <item type>

4 Upload

5 WFLOAD apps/$CLIENT_APPS_PWD 0 Y UPLOAD <xxaoa_filepath.wft>

You might also like