FNDLOAD用法补充

FNDLOAD是Oracle提供的一个数据同步工具,并且得到官方的支持。 FNDLOAD通过下载相关定义到一个文本文件做中转,再上传到另一个实例中,通过该文件,可以方便地进行版本控制,同时也方便进行安装、移植和克隆。 语法: FNDLOAD logon 0 Y mode configfile datafile [ entity [ param ... ] ] logon:apps用户名/密码[@TNS连接别名] mode: UPLOAD 或 DOWNLOAD configfile: 配置文件路径,根据同步对象的不同需要选择不同的配置文件。 datafile: 数据文件 entity: 条目名称, 或者上载时的所有相关值 param: 参数格式为 NAME=VALUE FNDLOAD可用于同步下列数据: 1. 并发请求,可执行程序。 2. 请求组,请求集。 3. 配置文件选项。 4. 键弹性域和描述性弹性域。 5. 菜单。 6. Form个性化。 7. 附件。 8. 消息。 9. 值集和值。 10. Lookup。 11. 职责。 12. 用户。 13. 打印机定义。 14. WebADI。 15. …… 默认条件下,FNDLOAD不会覆盖已有数据,但是它提供了一个参数用于强制覆盖: CUSTOM_MODE=FORCE 例:FNDLOAD apps/apps_pwd 0 Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct $XX_TOP/import/CUSTOM_PROF.ldt - CUSTOM_MODE=FORCE(似乎只针对菜单有效)。 以下为从Metalink找出的一些范例: 1 - Printer Styles FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct file_name.ldt STYLE PRINTER_STYLE_NAME=”printer style name” 2 - Lookups FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME=”prod” LOOKUP_TYPE=”lookup name” 3 - Descriptive Flexfield with all of specific Contexts FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct 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” 4 - 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 apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt DESC_FLEX DESCRIPTIVE_FLEXFIELD_NAME="PER_%" 5 - Key Flexfield Structures FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt 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” 6 - Concurrent Programs FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME=”prod” CONCURRENT_PROGRAM_NAME=”concurrent name” 7 - Value Sets FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET FLEX_VALUE_SET_NAME=”value set name” 8 - Value Sets with values FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET_VALUE FLEX_VALUE_SET_NAME=”value set name” 9 - Profile Options FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt PROFILE PROFILE_NAME=”profile option” APPLICATION_SHORT_NAME=”prod” 10 - Request Group FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME=”request group” APPLICATION_SHORT_NAME=”prod” 11 - Request Sets FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct file_name.ldt REQ_SET APPLICATION_SHORT_NAME=”prod” REQUEST_SET_NAME=”request set” 12 - Responsibilities FNDLOAD apps/pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_RESPONSIBILITY RESP_KEY=”responsibility" 13 - Responsibilities with all Security Groups FNDLOAD apps/ 0 Y DOWNLOAD FND_TOP/patch/115/import/afscursp.lct .ldt FND_USER USER_NAME="" SECURITY_GROUP=% DATA_GROUP_NAME=% 14 - Menus FNDLOAD apps/ pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME=”menu_name” 15 - Forms/Functions/Personalizations: Refer to the System Administrator's Guide on dependencies FNDLOAD / 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct FND_FORM_CUSTOM_RULES form_name= OR FNDLOAD / 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt FUNCTION FUNCTION_NAME= OR FNDLOAD / 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt FORM FORM_NAME= OR FNDLOAD / 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct FND_FORM_CUSTOM_RULES function_name= 16 - User/Responsibilities FNDLOAD apps/ pwd@seeddb 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_USER 17 - Alert FNDLOAD apps/pwd 0 Y DOWNLOAD $ALR_TOP/patch/115/import/alr.lct my_file.ldt ALR_ALERTS APPLICATION_SHORT_NAME=FND ALERT_NAME=Alert name to downloa 18 - Blob With Release 12.1.1, FNDLOAD supports BLOB data (upload / download ) to better serve content-rich applications. FNDLOAD apps/pwd 0 Y mode configfile datafile entity [ param ... ] 19 - Overwrite custom definitions FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/.lct $ XX_TOP/import/.ldt CUSTOM_MODE=FORCE 20 - Load an NLS Language FNDLOAD / 0 Y UPLOAD \ - UPLOAD_MODE=NLS CUSTOM_MODE=FORCE WARNINGS=TRUE 21 - Migrate the role registration process from one instance to another a. Please navigate to the path: $FND_TOP /patch/115/import/US/umxrgsvc.ldt b. The following command can be used to download: FNDLOAD apps/@(instance name) O Y DOWNLOAD $FND_TOP/patch/115/import/umxrgsvc.lct umxrgsvc.ldt UMX_REG_SERVICES REG_SERVICE_CODE UMX c. The following command can be used to upload: FNDLOAD apps/@(instance name) O Y UPLOAD $FND_TOP/patch/115/import/umxrgsvc.lct umxrgsvc.ldt UMX_REG_SERVICES REG_SERVICE_CODE UMX 22 - Transfer Custom Messages to another Instance a. Download the message from the source instance. FNDLOAD apps/apps 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 apps/apps 0 Y UPLOAD @FND:patch/115/import/afmdmsg.lct password.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME=FND CUSTOM_MODE=FORCE 23 - Download UMX Roles and Role Assignment data from one instance and upload to another. To download from one instance: FNDLOAD 0 Y DOWNLOAD $FND_TOP/patch/115/import/afrole.lct umxroles.ldt WF_ROLE ORIG_SYSTEM=UMX% To upload to another instance: FNDLOAD 0 Y UPLOAD $FND_TOP/patch/115/import/afrole.lct umxroles.ldt
链接:http://www.cnblogs.com/echochen/archive/2011/10/10/2205816.html

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/356396/viewspace-711089/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/356396/viewspace-711089/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值