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

Velcro Item Routing Attachments xFNDLOAD

The Generic Loader (FNDLOAD) is a concurrent program that can transfer Oracle Application entity data between database and te t file! The loader reads a configuration file to determine which entity to access! "n simple words FNDLOAD is used to transfer entity data from one instance#database to other! for e ample if you want to mo$e a concurrent program#menu#$aluesets de$eloped in D%&%LO'(%NT instance to ')OD*+T"ON instance you can direct use this command! Steps to Move a Concurrent program from one instance(Database) to other

Define your concurrent program and save it in first instance(for how to register a concurrent program click here) Connect to your UN ! bo" on first instance and run the following command to download the #ldt file $ND%&'D apps(apps & ) D&*N%&'D +$ND,-&.(patch(//0(import(afcpprog#lct file,name#ldt .1&21'M '..% C'- &N,S3&1-,N'M456Concurrent program application short name6 C&NCU114N-,.1&21'M,N'M456concurrent program short name6 Move the downloaded #ldf file to new instance(Use $-.) Connect to your UN ! bo" on second instance and run the following command to upload the #ldt file $ND%&'D apps(apps 7 ) U.%&'D +$ND,-&.(patch(//0(import(afcpprog#lct file,name#ldt

Note, (a-e sure you are gi$ing proper !lct file in the commands and don.t confuse with !lct and !ldt files These following are the other entity data types that we can mo$e with FNDLOAD / 0 'rinter 1tyles FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afcppstl!lct file5name!ldt 1T2L% ')"NT%)51T2L%5NA(%78printer style name8 9 0 Loo-ups FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afl$mlu!lct file5name!ldt FND5LOO:*'5T2'% A''L"+AT"ON51;O)T5NA(%78FND8 LOO:*'5T2'%78loo-up name8 < 0 Descripti$e Fle field with all of specific +onte ts FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afffload!lct file5name!ldt D%1+5FL%= '5L%&%L7.+OL5ALL,)%F5ALL,+T=5ON%,1%G5ALL. A''L"+AT"ON51;O)T5NA(%78FND8 D%1+)"'T"&%5FL%=F"%LD5NA(%78desc fle name8 '5+ONT%=T5+OD%78conte t name8

> 0 :ey Fle field 1tructures FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afffload!lct file5name!ldt :%25FL%= '5L%&%L7.+OL5ALL,F?L5ALL,1?L5ALL,1T)5ON%,3F'5ALL,1;A5ALL,+&)5ALL,1%G5 ALL. A''L"+AT"ON51;O)T5NA(%78FND8 "D5FL%=5+OD%78-ey fle code8 '51T)*+T*)%5+OD%78structure name8 6 0 +oncurrent 'rograms FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afcpprog!lct file5name!ldt ')OG)A( A''L"+AT"ON51;O)T5NA(%78FND8 +ON+*))%NT5')OG)A(5NA(%78concurrent name8 @ 0 &alue 1ets FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afffload!lct file5name!ldt &AL*%51%T5&AL*% FL%=5&AL*%51%T5NA(%78$alue set name8 A 0 &alue 1ets with $alues FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afffload!lct file5name!ldt &AL*%51%T FL%=5&AL*%51%T5NA(%78$alue set name8 B 0 'rofile Options FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afscprof!lct file5name!ldt ')OF"L% ')OF"L%5NA(%78profile option8 A''L"+AT"ON51;O)T5NA(%78FND8 B 0 )eCuest Groups FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afcpreCg!lct file5name!ldt )%?*%1T5G)O*' )%?*%1T5G)O*'5NA(%78reCuest group8 A''L"+AT"ON51;O)T5NA(%78FND8 /D 0 )eCuest 1ets FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afcprset!lct file5name!ldt )%?51%T A''L"+AT"ON51;O)T5NA(%78FND8 )%?*%1T51%T5NA(%78reCuest set8 // 0 )esponsibilities FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afscursp!lct file5name!ldt FND5)%1'ON1"E"L"T2 )%1'5:%278responsibility8 /9 0 (enus FNDLOAD apps#apps O 2 DO3NLOAD 4FND5TO'#patch#//6#import#afsload!lct file5name!ldt (%N* (%N*5NA(%78menu5name8 /< 0 Forms 'ersonaliFation FNDLOAD apps#apps D 2 DO3NLOAD 4FND5TO'#patch#//6#import#affrmcus!lct file5name!ldt FND5FO)(5+*1TO(5)*L%1 function5name7F*N+T"ON5NA(%

/> G *ser +reation

FNDLOAD apps#apps D 2 DO3NLOAD 4FND5TO'#patch#//6#import#afscursp!lct File5name!ldt FND5*1%) *1%)5NA(%7.user nameH

13 Forms/Functions FNDLOAD apps/apps@seed115 ! DO"NLOAD #FND$%O&/patch/115/import/a''rmcus(lct 'ile$name(ldt FND$FOR)$*+,%O)$R+L-, %he +pload s.ntax 'or all st.les/ FNDLOAD apps/apps@seed115 ! +&LOAD #FND$%O&/patch/115/import/a''rmcus(lct 'ile$name(ldt

Note, *'LOAD command is same for all e cept replacing the !lct and passing any e tra parameters if you want to pass $ND%&'D apps(apps 7 ) U.%&'D +$ND,-&.(patch(//0(import(corresponding#lct upload,file#ldt FNDLOAD is a built-in program that is located in our applications directory. e.g; C:\oracle\ isappl\!nd\"".#.$\bin\!ndload %n case o! &ision %nstall it 'ill be in &%(A))L directory* 'hile in case o! production install it 'ill be )+ODA))L directory. ,here are t'o steps o! trans!erring data. ". DO-NLOAD .. /)LOAD -e can do'nload and upload responsibilities* alue sets* pro!ile options etc0. ,here are t'o types o! !iles that are used in this process that are .LC, 1 .LD,. -here .LC, are con!iguration !iles that are already located on our ser er. -e ha e to !ind speci!ic .LC, means con!iguration !ile o! responsibility 2 alue set or any thing 'e 'ant to trans!er. ,his is the script to do'nload responsibility named 34567+8()9 %N,O 456+8().LD, !ile :FND7,O)2bin2FNDLOAD apps2apps;&%( $ 5 DO-NLOAD :FND7,O)2patch2""#2import2a!scursp.lct 456+8().LD, FND7+8()ON(%<%L%,5 +8()7=85>94567+8()9 (imilarly to upload

:FND7,O)2bin2FNDLOAD apps2apps;)+OD O 5 /)LOAD :FND7,O)2patch2""#2import2a!scursp.lct 456+8().ldt NO,8: i? -e ha e to run these scripts into command prompt. ii? %nstead o! 3:FND7,O)2bin9* 'e can 'rite our path e.g; C:\oracle\ isappl\!nd\"".#.$\bin -------------------------------------What can be done? These are the extensive list which can be done through FNDLOAD Concurrent Programs, Executables e!uest "rou#s, e!uest $ets Pro%ile O#tions &e' and Descri#tive Flex%ields (enus and es#onsibilities Forms and Form Functions Attachments (essages )alue $ets and )alues Loo*u# T'#es +ser es#onsibilities Printer De%initions FND Dictionar' ,el# Con%iguration Document $e!uences Concurrent (anager $chedules ---------------------------------------------------------

Thenwhat are advantages when using FNDL !D are "

". -ecause downloaded data is stored in a text %ile, version administration is ..


3. 8. 9. #ossible There is nothing to worr' to go to #urchase because../nvestment 0 12 No learning curve. this is relie% %or develo#er4dba567s Full' su##orted and recommended b' Oracle Ca#ture the migrations in a %ile and use it during installations, clones etc. to migrate in batch Pin:#oint when something ha##ened and where ;database< easil' >our AOL data migration #rocess is now sim#li%ied and streamlined 56? goal attained@@

@.
=.

!nd these are some Disadvantages a#so "

". A##lications #atching mechanisms use FNDLOAD heavil' 56? #ossibilit' o%


negative im#act is not Aero

.. +PLOADB(ODE0 EPLACE onl' %or menus A. No validation against migrating database4instance sensitive data
The $%nta& To use FNDLOAD, the %ollowing s'ntax is needed. FNDLOAD apps/appspwd 0 Y mode configfile datafile entity [parameter1 !!" As 'ou can see, some in%o is needed.: First 'ou will need to *now the A##s #assword. The mode is either DOCNLOAD or +PLOAD. The con%ig%ile is the %ile that Fndload needs to download on u#load data. T he data %ile is the out#ut %ile, in which the downloaded data is written The entit' is the entit' 'ou want to download,

)arameters an is passed to do'nload a certain Alert


)eration

'odes o(

This is im#ortant because it would drive the whole %low, and it alwa's be two mode .. +#load and Download56D *&am)#e o( down#oad" FNDLOADapps2p'd $ 5 DO-NLOAD :BFND7,O)C2patch2""#2import2a!cpprog.lct my!ile.ldt \ )+OD+AE CONC/++8N,7)+OD+AE7NAE8> concurrent7program7short7nameF A))L%CA,%ON7(GO+,7NAE8>Happlication7short7nameF *&am)#e o( +)#oad

apps2p'd $ 5 /)LOAD :BFND7,O)C2patch2""#2import2a!cpprog.lct my!ile.ldt - C/(,OE7EOD8>FO+C8 undocumented parameter


FNDLOAD W,!T -$ FNDL !DLoad )tions"

A##lication level O single entit' level download o ;Exam#le< Download all the #ro%ile o#tions o% /nventor' or Eust the /N)F De%ault Primar' +O( Entire O Partial u#load o% a data %ile o ;Exam#le< +#load the entire m'%ile.ldt or Eust a single enit' indicated b' : and mode +PLOAD or +PLOADBPA T/AL o Entit' name re!uired %or +PLOADBPA T/AL mode Custom mode %orce u#date o To override OracleGs u#load algorithm and u#date the custom AOL data regardless, use C+$TO(B(ODE0 FO CE o +PLOADB(ODE0 EPLACE ;onl' %or menus< $u##ort %or NL$ u#loads o NL$ data u#loads %or translated columns are su##orted, use +PLOADB(ODE0 NL$

Then ..Where is /on(ig Fi#e Located -' de%ault Oracle delivers most o% con%iguration %iles 'ou can use to download certain entities. Con%iguration %iles with extension .lct o On +nix : all the con%iguration %iles are in 2FNDBTOP4#atch4HH94im#ort director' o On +nix 56? Oracle also #laces the original con%iguration %iles in 2FNDBTOP4admin4im#ort director' Data %iles with extension .ldt

and..FNDL !D Fi#e $tructures is The con%ig %iles ;.lct< are delivered and maintained b' Oracle /t has entit' de%initions, #arent:child relationshi#s and user in#ut #arameters identi%ied b' FNA(E o Downloading a #arent automaticall' downloads all children : ;Exam#le< Concurrent Program download

Ta0e a note FNDL !D Fi#e $tructures The data %iles ;.ldt< have both entit' de%inition and the data /t also shows the version and the location o% the con%ig %ile ;.lct< that was used Cithout the con%ig %ile, data %ile is useless Cithout the data %ile, con%ig %ile is meaningless

..1emember regarding FNDL !D Fi#es &e' %ilesF .lct and .ldt >ou must run the FNDLOAD as a))s user not as a##ls's or an' other, otherwise 'ou will receive Ora:I991 -oth are easil' readable, editable and #ortable D N T ' D-F2 Oracle567s .lct %iles +se 'our %avorite editor ;/ would suggest Text#ad or Edit#lus< to mani#ulate onl' the .ldt %iles but be cautious about data t'#e, length, delimiter #lacements etc. +se the log %ile out#uts or .ldt %ile contents creativel' %or !uic* %ile com#arisons and answer !uestions %aster ;Ch' can567t / access thatJ Chat is that #ro%ile o#tion name, value and levelJ Chat is the value set used %or that DFF segment attributeH1 etc.< Partial string searches ;which value set has Priorit' 56Ksomething56 in its where clauseJ etc<