Вы находитесь на странице: 1из 8

Download Template and Data Definition

FNDLOAD <apps_username>/<apps_password> 0 Y DOWNLOAD \


$XDO_TOP/patch/115/import/xdotmpl.lct <download_file_name.ldt> \
XDO_DS_DEFINITIONS
APPLICATION_SHORT_NAME=APPL_SHORT_NAME \
DATA_SOURCE_CODE=DATA_SOURCE_CODE #####Data Definition
Code
Download Template physical file
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD \
-DB_USERNAME <apps_username> \
-DB_PASSWORD <apps_password> \
-JDBC_CONNECTION <apps.server:port:sid> \
-APPS_SHORT_NAME <app_short_name> \
-LOB_CODE <template_code> \ #####Template Code
-LOB_TYPE TEMPLATE \
-LANGUAGE <language> \
-TERRITORY <territory>
Download Data template physical file
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD \
-DB_USERNAME <apps_username> \
-DB_PASSWORD <apps_password> \
-JDBC_CONNECTION <apps.server:port:sid> \
-APPS_SHORT_NAME <app_short_name> \
-DS_CODE <data_definition_code> ### ##Data Definition Code
Upload Template and Data Definition
FNDLOAD <apps_username>/<apps_password> 0 Y UPLOAD \
$XDO_TOP/patch/115/import/xdotmpl.lct <download_file_name.ldt> \
CUSTOM_MODE=FORCE
Upload Template physical file

java oracle.apps.xdo.oa.util.XDOLoader UPLOAD \


-DB_USERNAME <apps_username> \
-DB_PASSWORD <apps_password> \
-JDBC_CONNECTION <apps.server:port:sid> \
-APPS_SHORT_NAME <app_short_name> \
-LOB_CODE <template_code> \
#####Template Code
-LOB_TYPE TEMPLATE \
-XDO_FILE_TYPE <RTF/RTF-ETEXT> \
-FILE_NAME <template_name.rtf> \
-CUSTOM_MODE FORCE \
-LANGUAGE <language> \
-TERRITORY <territory>
Upload Data template physical file
java oracle.apps.xdo.oa.util.XDOLoader UPLOAD \
-DB_USERNAME <apps_username> \
-DB_PASSWORD <apps_password> \
-JDBC_CONNECTION <apps.server:port:sid> \
-APPS_SHORT_NAME <app_short_name> \
-LOB_CODE <data_definition_code> \
#####Data Definition Code
-LOB_TYPE DATA_TEMPLATE \
-XDO_FILE_TYPE XML \
-FILE_NAME <data_definition_name.xml> \
-CUSTOM_MODE FORCE
Tables:
XDO_TEMPLATES_B
XDO_DS_DEFINITIONS_B
XDO_LOBS

WFLOAD
Posted: June 30, 2013 in Code and AOL Migration Scripts

1. Can get the name of workflow from WF_ITEM_TYPES


2. Can download workflow file as below:
WFLOAD User_name/Password 0 Y DOWNLOAD <File_name> <workflow
item_type name> (from WF_ITEM_TYPES)
Eg: WFLOAD APPS/APPS 0 Y DOWNLOAD POAPPRV.wft POAPPRV

3. Can upload workflow file as below:


WFLOAD User_name/Password 0 Y UPLOAD<File_name>
Eg: WFLOAD APPS/APPS 0 Y UPLOAD POAPPRV.wft
Use UPGRADE option to upgrade your WF definition to the next version

XML Importer and Exporter


Posted: April 20, 2013 in Code and AOL Migration Scripts

XML Exporter:
Syntax:

exec jdr_utils.listCustomizations(<give full document name>);==>get


document path and used it below
java oracle.jrad.tools.xml.exporter.XMLExporter \
<personalization document from above> \
-username <username> -password <password> \
-rootdir <output directory>
-dbconnection (description=(address_list=(address=(protocol=tcp)
(host=<host>)(port=<port>)))(connect_data=(sid=<sid>)))
Example:

exec
jdr_utils.listCustomizations(/oracle/apps/icx/icatalog/shopping/webui
/NonCatalogRequestPG);
Output==>/oracle/apps/icx/icatalog/shopping/webui/customizations/respo
nsibility/12345/NonCatalogRequestPG
java oracle.jrad.tools.xml.exporter.XMLExporter \
/
oracle/apps/icx/icatalog/shopping/webui/customizations/responsibilit
y/12345/NonCatalogRequestPG \
-rootdir $JAVA_TOP/Test \
-username APPS -password APPS \

-dbconnection (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =


(COMMUNITY = TCP) (PROTOCOL = TCP) (Host =<host>) (Port =
<port>) ) )(CONNECT_DATA = (SID = <sid>) )))

XML Importer:
Syntax:

java oracle.jrad.tools.xml.importer.XMLImporter \
<full path of the file you want to import> \
-username <username> -password <password> \
-rootdir <top level directory> \
-dbconnection (description=(address_list=(address=(protocol=tcp)
(host=<host>)(port=<port>)))(connect_data=(sid=<sid>)))
Example:

java oracle.jrad.tools.xml.importer.XMLImporter \
$JAVA_TOP/Test/oracle/apps/icx/icatalog/shopping/webui/customizations/re
sponsibility/12345/NonCatalogRequestPG.xml \
-username APPS -password APPS \
-rootdir $JAVA_TOP/Test \
-dbconnection (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
(COMMUNITY = TCP) (PROTOCOL = TCP) (Host =<host>) (Port =
<port>) ) )(CONNECT_DATA = (SID = <sid>) )))

FNDLOAD Scripts
Posted: March 5, 2013 in Code and AOL Migration Scripts

Messages:

DOWNLOAD
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afmdmsg.lct
XX_MESSAGE_NAME.ldt FND_NEW_MESSAGES
APPLICATION_SHORT_NAME=ICX
MESSAGE_NAME=XX_MESSAGE_NAME
Or can download all the messages within an application
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afmdmsg.lct
XX_MESSAGE_NAME.ldt FND_NEW_MESSAGES
APPLICATION_SHORT_NAME=ICX
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/afmdmsg.lct XX_MESSAGE_NAME.ldt
Lookups:
DOWNLOAD
FNDLOAD apps/apps O Y DOWNLOAD
$FND_TOP/patch/115/import/aflvmlu.lct XX_LKP_NAME.ldt
FND_LOOKUP_TYPE APPLICATION_SHORT_NAME=ICX
LOOKUP_TYPE=XX_LKP_NAME
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/aflvmlu.lct XX_LKP_NAME.ldt
Value Set:
DOWNLOAD
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct XX_VALUE_SET_NAME.ldt
VALUE_SET FLEX_VALUE_SET_NAME=XX_VALUE_SET_NAME
If value set has values then,
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct XX_VALUE_SET_NAME.ldt
VALUE_SET_VALUE FLEX_VALUE_SET_NAME=XX_VALUE_SET_NAME
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/afffload.lct XX_VALUE_SET_NAME.ldt
Form Function:

DOWNLOAD
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afsload.lct
XX_FORM_FUNCTION_NAME.ldt FUNCTION
FUNCTION_NAME=XX_FORM_FUNCTION_NAME
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/afsload.lct
XX_FORM_FUNCTION_NAME.ldt
Menu:
DOWNLOAD
FNDLOAD apps/apps O Y DOWNLOAD
$FND_TOP/patch/115/import/afsload.lct XX_MENU_NAME.ldt MENU
MENU_NAME=XX_MENU_NAME
UPLOADFNDLOAD apps/apps O Y UPLOAD
$FND_TOP/patch/115/import/afsload.lct XX_MENU_NAME.ldt
Responsibility:
DOWNLOAD
FNDLOAD apps/apps O Y DOWNLOAD
$FND_TOP/patch/115/import/afscursp.lct XX_RESP_KEY.ldt
FND_RESPONSIBILITY RESP_KEY=XX_RESP_KEY
UPLOADFNDLOAD apps/apps O Y UPLOAD
$FND_TOP/patch/115/import/afscursp.lct XX_RESP_KEY.ldt
Profile Option Definition:
DOWNLOAD
FNDLOAD apps/apps O Y DOWNLOAD
$FND_TOP/patch/115/import/afscprof.lct XX_PROFILE_NAME.ldt
PROFILE PROFILE_NAME=XX_PROFILE_NAME
APPLICATION_SHORT_NAME=ICX
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/afscprof.lct XX_PROFILE_NAME.ldt
Request Group:

DOWNLOAD
FNDLOAD apps/apps O Y DOWNLOAD
$FND_TOP/patch/115/import/afcpreqg.lct
XX_REPORT_GROUP_NAME.ldt REQUEST_GROUP
REQUEST_GROUP_NAME=XX_REPORT_GROUP_NAME
APPLICATION_SHORT_NAME=PO
UPLOADFNDLOAD apps/apps O Y UPLOAD
$FND_TOP/patch/115/import/afcpreqg.lct
XX_REPORT_GROUP_NAME.ldt
Concurrent program:
DOWNLOAD
FNDLOAD apps/apps O Y DOWNLOAD
$FND_TOP/patch/115/import/afcpprog.lct XX_CONC_PRG_NAME.ldt
PROGRAM APPLICATION_SHORT_NAME=PO
CONCURRENT_PROGRAM_NAME=XX_CONC_PRG_NAME
UPLOADFNDLOAD apps/apps O Y UPLOAD
$FND_TOP/patch/115/import/afcpprog.lct XX_CONC_PRG_NAME.ldt
Request Sets:
DOWNLOAD
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afcprset.lct XX_REQ_SET_NAME.ldt
REQ_SET REQUEST_SET_NAME=XX_REQ_SET_NAME
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/afcprset.lct XX_REQ_SET_NAME_LINK.ldt
REQ_SET_LINKS REQUEST_SET_NAME=XX_REQ_SET_NAME
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/afcprset.lct XX_REQ_SET_NAME.ldt
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct
XX_REQ_SET_NAME_LINK.ldt
Alert:

DOWNLOAD
FNDLOAD apps/apps 0 Y DOWNLOAD
$ALR_TOP/patch/115/import/alr.lct XX_ALERT_NAME.ldt ALR_ALERTS
APPLICATION_SHORT_NAME=PO ALERT_NAME=XX_ALERT_NAME
UPLOADFNDLOAD apps/apps 0 Y UPLOAD $ALR_TOP/patch/115/import/alr.lct
XX_ALERT_NAME.ldt CUSTOM_MODE=FORCE
Folders:
DOWNLOAD
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/fndfold.lct XX_FOLDER_NAME.ldt
FND_FOLDERS NAME=XX_FOLDER_NAME
Or can download all the folders
FNDLOAD apps/apps 0 Y DOWNLOAD
$FND_TOP/patch/115/import/fndfold.lct XX_ALL_FOLDER.ldt
FND_FOLDERS
UPLOADFNDLOAD apps/apps 0 Y UPLOAD
$FND_TOP/patch/115/import/fndfold.lct XX_FOLDER_NAME.ldt
CUSTOM_MODE=FORCE

Вам также может понравиться