Está en la página 1de 3

Apps

FNDLOAD for Oracle Web ADI


Contributed by Anil Passi
Tuesday, 07 November 2006

This article is dedicated for usage of FNDLOAD for Web ADI

Question : Does this article cover FNDLOAD in general?


Answer : This article is dedicated to the usage of FNDLOAD for Web ADI. If you wish to fndload entities other than Web
ADI, then kindly visit link Fndload for common utilities.

Question: Why does one need to use FNDLOAD FOR WEB ADI?
Answer : In any implementation that uses Web ADI, the setup for formatting letters and docments can be overwhelming.
More importantly, once configured on a development environment you would not like to repeat the tedious setup on test,
crp or other environment. Using FNDLOAD you can migrate 99% of your setup.

Question : What are the man steps when using FNDLOAD for Web ADI?
Answer :
First step
Identify the pieces that must be moved across using fndload. These can be:-
 Integrators
 Layouts
 Mappings
 Contents
This article covers the above listed components one by one.

Second step
Download the above web adi attributes into various ldt files. Basically we will create one ldt file for each of the above four
web adi entities.

Third step
Upload those ldt files into the new environment. For this we will run the fndload in upload mode.

Question: How do I execute Step 1, given that FNDLOAD requires the internal names of these entities, these internal
names are not visible from the Web ADI screens?
Answer: In this example,I will demonstrate using scripts how to recognize the web adi components Names for fndload.
SQL will be provided to identify the internal names.

Question : Please demo how to FNDLOAD Integrators in Web ADI


Answer :
To identify the integrator codes, run the below SQL.

SELECT integrator_code, application_id


FROM bne_integrators_vl vl
WHERE user_name IN
     ('XX Request for further references', 'XX Sorry Interview did not work') ;

This will return two internal codes, both in application PER (Application ID 800). Lets say the two internal codes are
HR_101_INTG & HR_41_INTG.

Now download these as below:-


FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bneint.lct XX_HR_101_INTG.ldt
BNE_INTEGRATORS INTEGRATOR_ASN="PER" INTEGRATOR_CODE="HR_101_INTG"

FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bneint.lct XX_HR_41_INTG.ldt


BNE_INTEGRATORS INTEGRATOR_ASN="PER" INTEGRATOR_CODE="HR_41_INTG"

In order to upload these


FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bneint.lct XX_HR_101_INTG.ldt

FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bneint.lct XX_HR_41_INTG.ldt

Question : Please demo how to FNDLOAD Layouts in Web ADI


http://oracle.anilpassi.com Powered by Joomla! Generated: 26 October, 2017, 16:30
Apps

Answer :Â To identify the layout codes codes, run the below SQL.

=====Find the Layouts from layout names=====


SELECT LAYOUT_CODE
FROM bne_layouts_vl vl
WHERE user_name IN ('Offer Letter for Job', 'Denial of Job')
==============
Above SQL can return values say XX_C_O_F_T & XX_CODE
To download these layouts
FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnelay.lct XX_C_O_F_T.ldt
BNE_LAYOUTS LAYOUT_ASN="PER" LAYOUT_CODE="XX_C_O_F_T"

FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnelay.lct XX_CODE.ldt


BNE_LAYOUTS LAYOUT_ASN="PER" LAYOUT_CODE="XX_CODE"

Now in order to upload these into new environment, use below commands
FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOADÂ $BNE_TOP/admin/import/bnelay.lct XX_C_O_F_T.ldt

FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnelay.lct XX_CODE.ldt

Question : Please demo how to FNDLOAD mappings in Web ADI


Answer :Â To identify the mapping codes, run the below SQL.

=====Find the MAPPING CODES from integrator names==


SELECT mapping_code, integrator_code
FROM bne_mappings_vl
WHERE integrator_code IN
     (SELECT integrator_code
      FROM bne_integrators_vl vl
      WHERE application_id = 800
      AND user_name IN ('XX HR Reference letter', 'XX HR Sorry Cant offer'))
ORDER BY last_update_date DESC;
Lets say this SQL returns HR_101_MAP & HR_86_MAP

--Now do the download


FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnemap.lct XX_HR_101_MAP.ldt
BNE_MAPPINGS MAPPING_ASN="PER" MAPPING_CODE="HR_101_MAP"

FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnemap.lct XX_HR_86_MAP.ldt


BNE_MAPPINGS MAPPING_ASN="PER" MAPPING_CODE="HR_86_MAP"

To upload these files into a new environment, ftp the ldt files and run below commands on the new environment

FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnemap.lct XX_HR_101_MAP.ldt

FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOADÂ $BNE_TOP/admin/import/bnemap.lct XX_HR_86_MAP.ldt

Question : Is FNDLOAD of Web ADI contents similar to above?


Answer : Its slightly different, as to recognize the contents I had to use the date range to pick all the content codes
configured in Web ADI during the past 90 days.
=====================
SELECT CONTENT_CODE
FROM bne_content_cols_vl
WHERE last_update_date > SYSDATE - 90
group by CONTENT_CODE ;
=====================
CONTENT_CODE
--------------
HR_101_CNT
HR_41_CNT

For each content code returned by SQL above, we will now do FNDLOAD as below

http://oracle.anilpassi.com Powered by Joomla! Generated: 26 October, 2017, 16:30


Apps

FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnecont.lct XX_HR_101_CNT.ldt


BNE_CONTENTS CONTENT_ASN="PER" CONTENT_CODE="HR_101_CNT"

FNDLOAD apps/$APPS_PASSWORD 0 Y DOWNLOAD $BNE_TOP/admin/import/bnecont.lct XX_HR_41_CNT.ldt


BNE_CONTENTS CONTENT_ASN="PER" CONTENT_CODE="HR_41_CNT"

Obviously to upload Web ADI contents, use the below commands

FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnecont.lct XX_HR_101_CNT.ldt

FNDLOAD apps/$APPS_PASSWORD 0 Y UPLOAD $BNE_TOP/admin/import/bnecont.lct XX_HR_41_CNT.ldt


Â

http://oracle.anilpassi.com Powered by Joomla! Generated: 26 October, 2017, 16:30

También podría gustarte