Saturday, September 26, 2015

FNDLOAD scripts for AME Migration

FNDLOAD scripts for AME are available in two locations, which are

$AME_TOP/patch/115/import
$PER_TOP/patch/115/import
It is recommended to use the LCT files in $AME_TOP where possible.

Below definitions can be downloaded using available FNDLOAD Scripts.
1. AME Conditions
2. AME Groups
3. AME action type usages
4. AME Rules

The LCT Configuration files for AME are located in the $AME_TOP/patch/115/import directory:
amesaagc.lct amesaatc.lct amesactu.lct amesacus.lct
amesappg.lct amesappo.lct amesapty.lct amescond.lct
amesconk.lct amescvar.lct amesicls.lct amesiclu.lct
amesmatr.lct amesmatt.lct amespdan.lct amesrule.lct
amesrulk.lct US

1) AME Conditions:
A) For downloading and uploading custom AME Conditions, please use LCT file amesconk.lct. 

Note - Oracle also delivers another LCT file named amescond.lct. However amescond.lct works only for the standard/seeded AME conditions. In order to download custom AME Conditions, you must use amesconk.lct
B) Download the AME Condition: 

After knowing the Application Short Name, Transaction Type Short Name, and Condition Key, you can then run the FNDLOAD command for downloading the AME Condition as shown below, one single line

FNDLOAD apps/appsPassword 0 Y DOWNLOAD $AME_TOP/patch/115/import/amesconk.lct <yourfile>.ldt AME_CONDITIONS APPLICATION_SHORT_NAME="<Appl Short Name>" TRANSACTION_TYPE_ID="<Trans Type Id>" CONDITION_KEY="<Condition Key>"

C) Upload the AME Condition:

FNDLOAD apps/appsPassword 0 Y UPLOAD $AME_TOP/patch/115/import/amesconk.lct <yourfile>.ldt

2. Approval Groups

A) For migrating AME Approval Groups, you will use LCT Configuration file named amesappg.lct. In order to use this LCT file in FNDLOAD command, you must find out the name of the approval group.

B) Download Approval Groups:
FNDLOAD apps/appsPassword 0 Y DOWNLOAD $AME_TOP/patch/115/import/amesappg.lct <yourfile>.ldt AME_APPROVAL_GROUPS APPROVAL_GROUP_NAME="<ApprovalGroup Name>"

C) Upload Approval Groups:
FNDLOAD apps/appsPassword 0 Y UPLOAD $AME_TOP/patch/115/import/amesappg.lct <yourfile>.ldt

3.AME Rules
A) To download the AME Rule, use amesrulk.lct
In order to build the download command for AME Rules, you will require the following information
APPLICATION_SHORT_NAME
TRANSACTION_TYPE_ID
RULE_KEY

B) Download AME Rules
FNDLOAD apps/appsPassword 0 Y DOWNLOAD $AME_TOP/patch/115/import/amesrulk.lct <yourfile>.ldt AME_RULES APPLICATION_SHORT_NAME="<Appl Short Name>" TRANSACTION_TYPE_ID="<Transaction Type Id>" RULE_KEY="<Rule Key>"

C) Upload AME Rules
FNDLOAD apps/appsPassword 0 Y UPLOAD $AME_TOP/patch/115/import/amesrulk.lct <yourfile>.ldt

4. AME Action Type Usages

A) To download AME Action Type Usages, you will use amesacus.lct
The list of parameters for downloading the AME Action Type Usages is the same as those for AME Rules.

B) Download AME Action Type Usage:
FNDLOAD apps/appsPassword 0 Y DOWNLOAD $AME_TOP/patch/115/import/amesacus.lct <yourfile>.ldt AME_ACTION_USAGES APPLICATION_SHORT_NAME="<Appl Short Name>" TRANSACTION_TYPE_ID="<Trans Type Id>" RULE_KEY="<Rule Key>"

C) Upload AME Action Type Usage:
FNDLOAD apps/appsPassword 0 Y UPLOAD $AME_TOP/patch/115/import/amesacus.lct <yourfile>.ldt 

No comments:

Post a Comment

Best Blogger TipsGet Flower Effect