Sie sind auf Seite 1von 39

Complete Reference for AOL Migration

EA-OA Knowledge Base

Complete Reference for AOL Migration

Confidential -1- 11/17/2008


Complete Reference for AOL Migration

DOCUMENT CONTROL

Author Reviewer / Version Date Of Description Of Changes


Approver Release

Praveen Taula / Nishant Killedar 1.0 M


29-Oct-2008 Initial Version
Ramesh Bharadkar
/ Ravi Shankar

Confidential -2- 11/17/2008


Complete Reference for AOL Migration

CONTENTS

About this Document .....................................................................................................4


Introduction..................................................................................................................5
How this helps in Data Synchronization? .......................................................................5
How This Works? .......................................................................................................5
Advantages of Using FNDLOAD....................................................................................5
Disadvantages of Using FNDLOAD................................................................................5
Syntax .........................................................................................................................7
Lookups ..................................................................................................................... 10
Value Sets .................................................................................................................. 11
Profile Options ............................................................................................................ 13
Concurrent program .................................................................................................... 15
Data Definition ............................................................................................................ 16
Bursting File / Data Template / Template / XML sample / XML schema ............................... 17
Request Set ................................................................................................................ 19
Request Set Link ......................................................................................................... 20
Form.......................................................................................................................... 21
Function ..................................................................................................................... 22
Responsibility.............................................................................................................. 23
Menu ......................................................................................................................... 24
Request Group ............................................................................................................ 25
Single Messages.......................................................................................................... 26
All messages within an application................................................................................. 27
Audit Group ................................................................................................................ 28
Audit Schema ............................................................................................................. 29
Printer Styles .............................................................................................................. 30
Descriptive Flexfields ................................................................................................... 31
Key Flexfield Structures ............................................................................................... 33
Forms Personilizations.................................................................................................. 34
Alerts......................................................................................................................... 36
OAF Pages and Personalizations .................................................................................... 37
Reference Document(s)................................................................................................ 38
Issues ........................................................................................................................ 39
Open Issues ........................................................................................................ 39
Closed Issues ...................................................................................................... 39

Confidential -3- 11/17/2008


Complete Reference for AOL Migration

About this Document


In almost all the projects, we need to migrate various AOL objects from one instance
to another. Usually, we list all the steps with screenshots in MD120 document. But
this method takes very much manual effort on DBAs part. Alternative to this is to
create ldt files for the AOL objects using FNDLOAD download commands and put the
corresponding upload commands in the shell script or manually execute those
commands in the target instance. This Document lists download and upload
commands of various AOL objects.

Confidential -4- 11/17/2008


Complete Reference for AOL Migration

Introduction

How this helps in Data Synchronization?


Data Synchronization is a process in which some setup data would be synchronized,
and this would be more important when you are working in oracle application
development/implementation project? The equally important that AOL data Migration
takes place necessary to synchronize the data across databases instance during
Installations (New descriptive. flex field creations etc)
Upgrades (Apps upgrade etc)
Maintenance (Value set changes etc)

There is only one solution provided by Oracle to achieve this and i.e. to use
FNDLOAD to download data from an application entity into an editable text file,
which can be uploaded to another database.

How This Works?

Advantages of Using FNDLOAD


Because downloaded data is stored in a text file, version administration is
possible.
No learning curve involved.
Fully supported and recommended by Oracle.
Capture the migrations in a file and use it during installations, clones etc. to
migrate in batch.

Disadvantages of Using FNDLOAD


Applications patching mechanisms use FNDLOAD heavily and hence possibility
of negative impact is not zero.

Confidential -5- 11/17/2008


Complete Reference for AOL Migration

To migrate the AOL object partially is limited to menus only


(UPLOAD_MODE=REPLACE only for menus)
No validations against migrating database/instance sensitive data.

Confidential -6- 11/17/2008


Complete Reference for AOL Migration

Syntax

Syntax:

FNDLOAD apps/appspwd 0 Y mode configfile data file entity [parameter1..]

mode is either DOWNLOAD or UPLOAD.


configfile is the file that FNDLOAD needs to download or upload data.
datafile is the output file, in which the downloaded data is written
entity is the entity you want to download,
Parameters is passed to download a certain AOL object of selected entity.
For eg. Only one valueset.

Example of download:

FNDLOAD apps/pwd 0 Y DOWNLOAD ${FND_TOP}/patch/115/import/afcpprog.lct


myfile.ldt \ PROGRAM APPLICATION_SHORT_NAME=<application_short_name>
CONCURRENT_PROGRAM_NAME= <concurrent_program_short_name>

Example of Upload:

FNDLOAD apps/pwd 0 Y UPLOAD ${FND_TOP}/patch/115/import/afcpprog.lct


myfile.ldt - CUSTOM_MODE=FORCE

Note: Upload command is same for all types of objects. We need to change the lct
filename which is available in the download command. We are not providing upload
command for each object.

Confidential -7- 11/17/2008


Complete Reference for AOL Migration

Configfile chart:

Confidential -8- 11/17/2008


Complete Reference for AOL Migration

Confidential -9- 11/17/2008


Complete Reference for AOL Migration

Lookups
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct


file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME=prod
LOOKUP_TYPE=lookup name

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct


xx_lookup.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME=PO
LOOKUP_TYPE=PO_DOCUMENT_CREATION_METHOD

Query:

SELECT flt.meaning, flt.description, flt.lookup_type,


flv.application_short_name
FROM fnd_lookup_types_vl flt, fnd_application flv
WHERE flt.lookup_type = 'PO_DOCUMENT_CREATION_METHOD'
AND flt.application_id = flv.application_id

Screenshot:

Application Developer -> Application -> Lookups -> Application Object Library

LOOKUP_TYPE

APPLICATION_SHORT_NAME
i.e. PO

Confidential - 10 - 11/17/2008
Complete Reference for AOL Migration

Value Sets
Syntax:
Value Set:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct
file_name.ldt VALUE_SET FLEX_VALUE_SET_NAME=value set name

This command downloads valueset definition as well as value set values.

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct


value_set.ldt VALUE_SET FLEX_VALUE_SET_NAME=HR_US_REPORT_MODE

Query:

SELECT ffvs.flex_value_set_name, ffv.flex_value, ffvt.flex_value_meaning,


ffvt.description
FROM fnd_flex_value_sets ffvs, fnd_flex_values ffv, fnd_flex_values_tl ffvt
WHERE ffvs.flex_value_set_name = 'HR_US_REPORT_MODE'
AND ffvs.flex_value_set_id = ffv.flex_value_set_id
AND ffv.flex_value_id = ffvt.flex_value_id
AND ffvt.LANGUAGE = 'US'

Screenshot:

Application Developer -> Application -> Validation -> Set

FLEX_VALUE_SET_NAME

Application Developer -> Application -> Validation -> Values

Confidential - 11 - 11/17/2008
Complete Reference for AOL Migration

FLEX_VALUE_SET_NAME

Confidential - 12 - 11/17/2008
Complete Reference for AOL Migration

Profile Options
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct


file_name.ldt PROFILE PROFILE_NAME=profile option
APPLICATION_SHORT_NAME=<application short name>

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct


RATE_OVERRIDE_PROFILE.ldt PROFILE
PROFILE_NAME=ALLOW_RATE_OVERRIDE_FOR_USER_RATE_TYPE
APPLICATION_SHORT_NAME=PO

Query:

SELECT fpot.profile_option_name, user_profile_option_name, description,


fa.application_short_name
FROM fnd_profile_options_tl fpot,
fnd_profile_options fpo,
fnd_application fa
WHERE fpot.user_profile_option_name ='PO: Allow Rate Override For User Rate
Type'
AND fpot.LANGUAGE = 'US'
AND fpot.profile_option_name = fpo.profile_option_name
AND fpo.application_id = fa.application_id

Screenshot:

Application Developer -> Profile

Confidential - 13 - 11/17/2008
Complete Reference for AOL Migration

PROFILE_NAME

APPLICATION_SHORT_NAME

Confidential - 14 - 11/17/2008
Complete Reference for AOL Migration

Concurrent program
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct


file_name.ldt PROGRAM APPLICATION_SHORT_NAME=prod
CONCURRENT_PROGRAM_NAME=concurrent name

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct


xx_concurrent_program.ldt PROGRAM APPLICATION_SHORT_NAME=PO
CONCURRENT_PROGRAM_NAME=XX_CONCURRENT_PROGRAM

Query:

SELECT fcpv.concurrent_program_name, fcpv.user_concurrent_program_name,


fcpv.description, fa.application_short_name
FROM fnd_concurrent_programs_vl fcpv, fnd_application fa
WHERE fcpv.application_id = fa.application_id
AND fcpv.user_concurrent_program_name = 'XX Concurrent Program'

Screenshot:

System Administrator -> Concurrent -> Program -> Define

CONCURRENT_PROGRAM_NAME

APPLICATION_SHORT_NAME

Confidential - 15 - 11/17/2008
Complete Reference for AOL Migration

Data Definition
Syntax:

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


file_name.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME='prod'
DATA_SOURCE_CODE='code'

Example:

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


XX_CONCURRENT_PROGRAM_DD.ldt XDO_DS_DEFINITIONS
APPLICATION_SHORT_NAME='PO'
DATA_SOURCE_CODE='XX_CONCURRENT_PROGRAM'

Query:

SELECT application_short_name, data_source_code, data_source_name


FROM xdo_ds_definitions_vl
WHERE data_source_name = 'XX Data Definition'

Screenshot:

XML Publisher Administrator -> Data Definitions

DATA_SOURCE_CODE

APPLICATION_SHORT_NAME

Confidential - 16 - 11/17/2008
Complete Reference for AOL Migration

Bursting File / Data Template / Template / XML


sample / XML schema
Syntax:

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


-DB_USERNAME <db_username> \
-DB_PASSWORD <db_password> \
-JDBC_CONNECTION <jdbc_con_string> \
-LOB_TYPE <lob_type> \
-APPS_SHORT_NAME <application_short_name> \
-LOB_CODE <lob_code> \
-LANGUAGE <language> \
-TERRITORY <territory> \
-LOG_FILE <log file>

Where LOB Type - > BURSTING_FILE


DATA_TEMPLATE
TEMPLATE
XML_SAMPLE
XML_SCHEMA

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


-DB_USERNAME <db_username> \
-DB_PASSWORD <db_password> \
-JDBC_CONNECTION <jdbc_con_string> \
-LOB_TYPE <lob_type> \
-APPS_SHORT_NAME <application_short_name> \
-LOB_CODE <lob_code> \
-LANGUAGE <language> \
-TERRITORY <territory> \
-XDO_FILE_TYPE <xdo_file_type> \
-NLS_LANG <NLS_LANG> \
-FILE_CONTENT_TYPE <file_content_type> \
-FILE_NAME <file_name> \
-OWNER <owner> \
-CUSTOM_MODE [FORCE|NOFORCE] \
-LOG_FILE <log file>

Example:

1) Download all the physical files in the instance.

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


-DB_USERNAME apps \
-DB_PASSWORD apps \
-JDBC_CONNECTION xx:1521:SID \
-LANGUAGE en \
-TERRITORY US

Confidential - 17 - 11/17/2008
Complete Reference for AOL Migration

2) Download all the physical files for a specified application short name

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


-DB_USERNAME apps \
-DB_PASSWORD apps \
-JDBC_CONNECTION xx:1521:SID \
-APPS_SHORT_NAME AR \
-LANGUAGE en \
-TERRITORY US

3) Download all the physical files for a specified application short name and LOB
Type

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


-DB_USERNAME apps \
-DB_PASSWORD apps \
-JDBC_CONNECTION xx:1521:SID \
-LOB_TYPE BURSTING_FILE \
-LANGUAGE en \
-TERRITORY US

Screenshot:

XML Publisher Administrator -> Data Definitions

DATA_SOURCE_CODE

APPLICATION_SHORT_NAME

Confidential - 18 - 11/17/2008
Complete Reference for AOL Migration

Request Set
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct


file_name.ldt REQ_SET APPLICATION_SHORT_NAME=prod
REQUEST_SET_NAME=request set code

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct


req_import.ldt REQ_SET APPLICATION_SHORT_NAME=PO REQUEST_SET_NAME=
FNDRSSUB37

Query:
SELECT frsv.USER_REQUEST_SET_NAME,
frsv.REQUEST_SET_NAME,
fa.application_short_name
FROM FND_REQUEST_SETS_VL frsv,fnd_application fa
WHERE USER_REQUEST_SET_NAME = 'Requisition Import'
AND frsv.application_id = fa.application_id

Screenshot:

REQUEST_SET_NAME

APPLICATION_NAME

Confidential - 19 - 11/17/2008
Complete Reference for AOL Migration

Request Set Link


Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct


file_name.ldt REQ_SET_LINKS APPLICATION_SHORT_NAME=prod
REQUEST_SET_NAME=request set name

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct


req_import_link.ldt REQ_SET_LINKS APPLICATION_SHORT_NAME=PO
REQUEST_SET_NAME= FNDRSSUB37

Query:
SELECT frsv.USER_REQUEST_SET_NAME,
frsv.REQUEST_SET_NAME,
fa.application_short_name
FROM FND_REQUEST_SETS_VL frsv,fnd_application_vl fa
WHERE USER_REQUEST_SET_NAME = 'Requisition Import'
AND frsv.application_id = fa.application_id

Screenshot: REQUEST_SET_NAME

APPLICATION_NAME

Confidential - 20 - 11/17/2008
Complete Reference for AOL Migration

Form
Syntax:

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


file_name.ldt FORM FORM_APP_SHORT_NAME=PO FORM_NAME=form name

Example:

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


fwd_docs_form.ldt FORM FORM_APP_SHORT_NAME=PO FORM_NAME=POXDOFDO

Query:

SELECT fndf.form_name ,
fndav.application_name ,
fndav.application_short_name,
fndfv.user_form_name,
fndfv.description
FROM fnd_form fndf,
fnd_form_vl fndfv,
fnd_application_vl fndav
WHERE fndf.FORM_id=fndfv.FORM_id
AND fndav.APPLICATION_ID = fndf.APPLICATION_ID
AND fndfv.user_form_name = 'Forward Documents'
AND fndav.application_name = 'Purchasing'
ORDER BY fndfv.user_form_name

Screenshot:

APPLICATION_NAME

FORM_NAME

Confidential - 21 - 11/17/2008
Complete Reference for AOL Migration

Function
Syntax:

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


file_name.ldt FUNCTION FUNCTION_APP_SHORT_NAME=prod
FUNCTION_NAME=function_name

Example:

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


pur_lookup_fnc.ldt FUNCTION FUNCTION_APP_SHORT_NAME=FND
FUNCTION_NAME=AP_POXDQMLK

Query:

SELECT
fffv.function_name,fffv.user_function_name,fa.application_short_name
FROM fnd_form_functions_vl fffv, fnd_application fa, fnd_form ff
WHERE user_function_name = 'Purchasing Lookups'
AND fffv.form_id = ff.form_id
AND ff.application_id = fa.application_id

Screenshot:

FUNCTION_NAME

Confidential - 22 - 11/17/2008
Complete Reference for AOL Migration

Responsibility
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct


file_name.ldt FND_RESPONSIBILITY RESP_KEY=responsibility_short_name

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct


P2P_resp.ldt FND_RESPONSIBILITY RESP_KEY=P2P_PO_USER

Query:

SELECT frv.responsibility_key, frv.responsibility_name,


fav.application_short_name
FROM FND_RESPONSIBILITY_VL frv, fnd_application_vl fav
WHERE frv.RESPONSIBILITY_NAME = 'Procure-to-Pay Purchasing User'
AND frv.application_id = fav.application_id
AND fav.application_name = 'Purchasing'

Screenshot:

RESP_KEY

Confidential - 23 - 11/17/2008
Complete Reference for AOL Migration

Menu
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct


file_name.ldt MENU MENU_NAME=menu_name

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct


po_dashboard.ldt MENU MENU_NAME=POA_DBI_DPI_IO_MENU

Query:

SELECT fmv.menu_name,fmv.user_menu_name
FROM FND_MENUS_VL fmv
WHERE USER_MENU_NAME = 'Dashboards (Daily Purchasing Intelligence)'

Screenshot:

MENU_NAME

Confidential - 24 - 11/17/2008
Complete Reference for AOL Migration

Request Group
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct


file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME="request group"
APPLICATION_SHORT_NAME="FND"

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct


xx_req_grp.ldt REQUEST_GROUP REQUEST_GROUP_NAME="All Reports"
APPLICATION_SHORT_NAME="PO"

Query:
SELECT frg.request_group_name, frg.description,
fav.application_short_name APPLICATION_SHORT_NAME
FROM FND_REQUEST_GROUPS frg, fnd_application_vl fav
WHERE REQUEST_GROUP_NAME = 'All Reports'
AND frg.application_id = fav.application_id
REQUEST_GROUP_NAME
Screenshot:

APPLICATION_NAME

Confidential - 25 - 11/17/2008
Complete Reference for AOL Migration

Single Messages
Syntax:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct


file_name.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME=FND
MESSAGE_NAME=message_name

Example:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct


fnd_msg.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME=PO
MESSAGE_NAME=FND-INVALID APPLICATION

Query:

SELECT fnm.message_name,fav.application_short_name
FROM FND_NEW_MESSAGES fnm, fnd_application_vl fav
WHERE fnm.MESSAGE_NAME = 'FND-INVALID APPLICATION'
AND fnm.application_id = fav.application_id
AND fav.application_name = 'Application Object Library'

Screenshot:

APPLICATION_NAME

MESSAGE_NAME

Confidential - 26 - 11/17/2008
Complete Reference for AOL Migration

All messages within an application


Syntax:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct


file_name.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME=FND

Example:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct


XX_MESSAGE.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME=PO

Query:
SELECT fav.application_short_name
FROM fnd_application_vl fav
WHERE fav.application_name = 'Application Object Library'

Screenshot:

APPLICATION_NAME

Confidential - 27 - 11/17/2008
Complete Reference for AOL Migration

Audit Group
Note:
Click here to get complete information on Audit Groups and Audit Schemas.

Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/affaudit.lct


file_name.ldt AUDIT_SCHEMA ORACLE_USERNAME ='ORACLE_USERNAME'

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/affaudit.lct


audit_group.ldt AUDIT_SCHEMA ORACLE_USERNAME =APPS'

Query:

SELECT oracle_username, oracle_id, install_group_num, description,


enabled_flag
FROM fnd_oracle_userid
WHERE UPPER (oracle_username) = 'APPS'

Screenshot:

System Administrator -> Security -> AuditTrail -> Install

ORACLE_USERNAME

Confidential - 28 - 11/17/2008
Complete Reference for AOL Migration

Audit Schema
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/affaudit.lct


file_name.ldt FND_AUDIT_GROUPS
APPLICATION_SHORT_NAME='APPLICATION_SHORT_NAME' GROUP_NAME =
'GROUP_NAME'

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/affaudit.lct


audit_group.ldt AUDIT_SCHEMA ORACLE_USERNAME =APPS'

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/affaudit.lct


audit_schema.ldt FND_AUDIT_GROUPS APPLICATION_SHORT_NAME=AP
GROUP_NAME = AUDIT_SUPPLIERS

Query:

SELECT group_name, description, state


FROM fnd_audit_groups
WHERE group_name = 'AUDIT SUPPLIERS'

Screenshot:

System Administrator -> Security -> AuditTrail -> Groups

APPLICATION_SHORT_NAME i.e AP

GROUP_NAME

Confidential - 29 - 11/17/2008
Complete Reference for AOL Migration

Printer Styles
Syntax:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct


file_name.ldt STYLE PRINTER_STYLE_NAME=printer style name

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct


XX_INVOICE_STYLE.ldt STYLE PRINTER_STYLE_NAME=INVOICE

Query:
SELECT printer_style_name,user_printer_style_name FROM
FND_PRINTER_STYLES_VL
WHERE printer_style_name = 'INVOICE'

Screenshot:

PRINTER_STYLE_NAME

Confidential - 30 - 11/17/2008
Complete Reference for AOL Migration

Descriptive Flexfields
Syntax:

FNDLOAD apps/apps O 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

Note: Please note that when transferring Key Flex Fields and Descriptive flex fields
the respective value sets against each segment will be extracted and loaded
automatically.

Example:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct


XX_PO_REQ_HEADERS_DFF.ldt DESC_FLEX APPLICATION_SHORT_NAME=PO
DESCRIPTIVE_FLEXFIELD_NAME='PO_REQUISITION_HEADERS'

Query:
SELECT application_id, DESCRIPTIVE_FLEXFIELD_NAME,
application_table_name
FROM fnd_descriptive_flexs_vl
WHERE title LIKE 'Requisition Headers'
ORDER BY APPLICATION_TABLE_NAME

Screenshot:
Application Developer Responsibility-> Application -> Flexfield -> Descriptive ->
Segments

Confidential - 31 - 11/17/2008
Complete Reference for AOL Migration

Title

Confidential - 32 - 11/17/2008
Complete Reference for AOL Migration

Key Flexfield Structures


Syntax:

FNDLOAD apps/apps O 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

Example:

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct


file_name.ldt KEY_FLEX APPLICATION_SHORT_NAME=SQLGL ID_FLEX_CODE=
GL# P_STRUCTURE_CODE=SQLGL

Query:

SELECT ID_FLEX_CODE,ID_FLEX_STRUCTURE_CODE,APPLICATION_SHORT_NAME
FROM FND_ID_FLEX_STRUCTURES_VL FIFSV, FND_APPLICATION_VL FAV
WHERE FIFSV.ID_FLEX_STRUCTURE_NAME = 'Accounting Flexfield'
AND FIFSV.APPLICATION_ID = FAV.APPLICATION_ID

Screenshot:

System Administrator -> Application -> Flexfield -> Key -> Segments

FLEX STRUCTURE NAME

Confidential - 33 - 11/17/2008
Complete Reference for AOL Migration

Forms Personilizations
Syntax:

FNDLOAD <userid>/<password> 0 Y DOWNLOAD


$FND_TOP/patch/115/import/affrmcus.lct <filename.ldt>
FND_FORM_CUSTOM_RULES function_name=<function name>

Example:
1) To download rules for a particular function:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct


PO_POXPOVPO_FN.ldt FND_FORM_CUSTOM_RULES
function_name=PO_POXPOVPO

2) To download rules for a particular form:

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct


POXPOVPO_form.ldt FND_FORM_CUSTOM_RULES form_name=POXPOVPO

3) To download all personalization (all forms and functions):

FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct


all_forms_personalization.ldt FND_FORM_CUSTOM_RULES

Query:
SELECT function_name,form_name,description
FROM FND_FORM_CUSTOM_RULES
WHERE function_name = 'PO_POXPOVPO'

Screenshot:

Open the form which needs to be personalized. Then navigate to Help -> Diagnostics
-> Custom code -> Personalize.

Confidential - 34 - 11/17/2008
Complete Reference for AOL Migration

FUNCTION_NAME FORM_NAME

Confidential - 35 - 11/17/2008
Complete Reference for AOL Migration

Alerts
Syntax:

FNDLOAD apps/apps 0 Y DOWNLOAD $ALR_TOP/patch/115/import/alr.lct OTA.ldt


ALR_ALERTS APPLICATION_SHORT_NAME='APPLICATION_SHORT_NAME'
ALERT_NAME= 'ALERT_NAME'

Example:
$FND_TOP/bin/FNDLOAD apps/apps 0 Y DOWNLOAD
$ALR_TOP/patch/115/import/alr.lct OTA.ldt ALR_ALERTS
APPLICATION_SHORT_NAME='FND' ALERT_NAME= 'ADS Notify Buyer - Item Rcvd -
Vision Operations'

Query:
SELECT aa.alert_name, aa.description, fav.application_short_name
FROM ALR_ALERTS aa, fnd_application_vl fav
WHERE alert_name = 'ADS Notify Buyer - Item Rcvd - Vision Operations'
AND aa.application_id = fav.application_id
Screenshot:

Alert Manager responsibility - > Alerts -> Define

ALERT_NAME
APPLICATION_NAME

Confidential - 36 - 11/17/2008
Complete Reference for AOL Migration

OAF Pages and Personalizations


java oracle.jrad.tools.xml.exporter.XMLExporter
/oracle/apps/fnd/dem/hello/webui/HelloWorldPG
-rootdir $APPL_TOP/personalizations
-username apps
-password <apps_pwd>
-dbconnection "(description = (address_list = (address =(community =
tcp.world)(protocol = tcp)(host =machine1.oracle.com)(port =
1521)))(connect_data = (sid = mach1)))"

java oracle.jrad.tools.xml.importer.XMLImporter
$APPL_TOP/personalizations/oracle/apps/fnd/dem/hello/webui/HelloWorldPG \
-username apps \
-password <apps_pwd> \
-dbconnection "(description = (address_list = (address =(community =
tcp.world)(protocol = tcp)(host =machine1.oracle.com)(port =
1521)))(connect_data = (sid = mach1)))" \
-rootdir $APPL_TOP/personalizations

IMPORTING JPX FILES FOR SUBSTITUTION RULES

Java oracle.jrad.tools.xml.importer.JPXImporter
$APPL_TOP/mycompany/fnd/12.0.0/java/ExtendLabSolutions.jpx \
-username apps \
-password <apps_pwd> \
-dbconnection "(description = (address_list = (address =(community =
tcp.world)(protocol = tcp)(host =machine1.oracle.com)(port =
1521)))(connect_data = (sid = mach1)))"

Confidential - 37 - 11/17/2008
Complete Reference for AOL Migration

Reference Document(s)
Reference Document
http://www.oracleappshub.com/aol/its-all-about-fndload
http://apps2fusion.com/apps/scripts/19-oracle-fndload-script-examples
Metalink Note

Confidential - 38 - 11/17/2008
Complete Reference for AOL Migration

Issues

Open Issues

ID Issue Resolution Responsibility Target Impact


Date Date

Closed Issues

ID Issue Resolution Responsibility Target Impact


Date Date

Confidential - 39 - 11/17/2008

Das könnte Ihnen auch gefallen