form personalization - 7 - form personalization and custompll

Upload: prasath-rajaram

Post on 04-Jun-2018

253 views

Category:

Documents


3 download

TRANSCRIPT

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    1/78

    AIMAPPLICATION EXTENSION TECHNICAL DESIGNForm Personalization & CUSTOM. ll

    A!t"or#

    Creation Date#

    Last U $ate$#

    Do%!ment e'# (Do%!ment e'eren%e N!m)er*

    +ersion# ,.-

    Approvals:

    (A ro er ,*

    (A ro er /*

    Last saved on 9/12/2013 2014 Hitachi Consulting Corporation.

    All rights reserved.

    Page i

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    2/78

    Ta)le o' ContentsDo%!ment Control...........................................................................................................................................................

    Te%"ni%al O er ie0 , 1 La!n%" a 'orm !sin2 Form Personalization.............................................................................3A roa%"...................................................................................................................................................................3Mo$!le List...............................................................................................................................................................3

    Forms Personalization Details........................................................................................................................................4

    Personalization 1 In OEXOEO D 'orm 5Sales Or$er Form6 1 So!r%e Form..........................................................4Personalization 1 In MSCOEGP 'orm 5MSC Or$er Gross Pro'it Form6 1 Tar2et Form........................................,-

    Sales Or$er Form 5OEXOEO D6 7 Form Lo2i%..........................................................................................................,8

    Na i2ation Lo2i%............. .............. .............. .............. ............... .............. .............. .............. .............. .............. ..... ....,89lo%: elations"i Dia2ram...................................................................................................................................,8Ta)le an$ +ie0 Usa2e............................................................................................................................................,8;one an$ Fiel$ S!mmarC>S CH6 7 Form Lo2i%................................................................................................../?

    Na i2ation Lo2i%............. .............. .............. .............. ............... .............. .............. .............. .............. .............. ..... ..../?

    9lo%: elations"i Dia2ram.................................................................................................................................../?Ta)le an$ +ie0 Usa2e............................................................................................................................................/?;one an$ Fiel$ S!mmarSAUDET 'orm 5Ser i%e Contra%ts Form6......................................................................../@

    Ser i%e Contra%ts Form 5O>SAUDET6 7 Form Lo2i%.................................................................................................? Na i2ation Lo2i%............. .............. .............. .............. ............... .............. .............. .............. .............. .............. ..... ....?9lo%: elations"i Dia2ram...................................................................................................................................8,Ta)le an$ +ie0 Usa2e............................................................................................................................................8,;one an$ Fiel$ S!mmar

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    3/78

    Mo$!le List.............................................................................................................................................................8?

    Forms Personalization Details......................................................................................................................................88

    Personalization 1 In XX TEST PO 'orm 5C!stom Form6.....................................................................................88C!stom PO 'rom Lo2i%.................................................................................................................................................84

    Na i2ation Lo2i%............. .............. .............. .............. ............... .............. .............. .............. .............. .............. ..... ....849lo%: elations"i Dia2ram...................................................................................................................................84Ta)le an$ +ie0 Usa2e............................................................................................................................................84;one an$ Fiel$ S!mmar

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    4/78

    Ne0 U $ate$ See$ Data............. ............... .............. .............. .............. .............. .............. ............... ...... ...... ..... ...... .48Des%ri ti e Fle 'iel$s..............................................................................................................................................48+al!e Sets................................................................................................................................................................48

    Grants S

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    5/78

    Document Control

    Change Record

    ,

    Author Version Change Reference

    Reviewers

    Name Position

    Distribution

    Copy No. Name ocation

    , Li)rar< Master ProKe%t Li)rarC>+RC" form 2+earch Contracts &orm3

    ULE 1 Create ne0 re%or$ 2ro! !sin2 )!ilt in s an$ assi2ns t"e ne0 re%or$ 2ro! to e istin2LO+.

    !le Se # ,-Des%ri tion# estri%t t"e al!e o' %ate2or< 'iel$Tri22er E ent# HEN7NE 7FO M7INSTANCETri22er O)Ke%t#Con$ition#Pro%essin2 Mo$e# Not in Enter7 !er< Mo$eConte t Le el 1 Site

    Action !ype 4 6uiltin+e5 Description 6uiltin !ype Argument ,roup Name

    ,- Create Ne0 e%or$Gro!

    Create e%or$Gro! 'rom

    !er+A-D)! form 2+ervice Contracts &orm3

    ULE 1Here 0e $e'ine t"e re !ire$ 2lo)al aria)les to "ol$ t"e al!e o' re !est ID o' t"es!)mitte$ ro2ram an$ t"e U L 2enerate$. e also initialize t"e men!s re !ire$.One is to s!)mit t"e ro2ram an$ t"e ot"er on is to ie0 t"e o!t !t.

    !le Se # ,-Des%ri tion# Callin2 re ort 5test67 Ena)le Men! & initialize 2lo)al aria)lesTri22er E ent# HEN7NE 7FO M7INSTANCETri22er O)Ke%t#Con$ition#Pro%essin2 Mo$e# Not in Enter7 !er< Mo$eConte t Le el 1 Site

    Action !ype 4 (enu+e5 Description (enu )ntry (enu abel 1con

    Name)nable

    in6loc7

    ,- (O tional* MENU ,- Test %on%. Pro2,= (O tional* MENU ,, +ie0 O!t !t 5Test6

    Page 2

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    29/78

    Action !ype 4 Property+e5 Description #b8ect !ype !arget #b8ect Property Name Value

    /- (o tional* Glo)al +aria)le XX E ID INITIAL +ALUE NULL/= (o tional* Glo)al +aria)le XX U L INITIAL +ALUE NULL

    Page 29

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    30/78

    Notes# T"e 2lo)al aria)le 'or U L is K!st %reate$ 'or o!r re'eren%e to ens!re t"at t"e ro2ram "as )een s!)mitte$an$ U L "as )een 2enerate$. T"is is not man$ator

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    31/78

    !le Se # /-Des%ri tion# Callin2 re ort 5test6Tri22er E ent# MENU ,- 77t"e e ent 0"i%" "as )een initialize$ in re io!s ste m!st )e !se$ as

    tri22er e ent "ereTri22er O)Ke%t#Con$ition#Pro%essin2 Mo$e# Not in Enter7 !er< Mo$eConte t Le el 1 Site

    Action !ype 4 Property+e5 Description #b8ect

    !ype!arget#b8ect

    PropertyName

    Value Description

    ,- (o tional* Glo)al+aria)le

    XX E ID +ALUE 5sele%t test ' .s!) ro2 'n 'rom$!al6

    T"e a%:a2e in o:e$"ere ret!rns t"e re !estID o' t"e %on%!rrent

    ro2ram s!)mitte$.

    Note ,# T"e %!stom '!n%tion test ' .s!) ro2 'n s!)mits a %on%!rrent ro2ram an$ ret!rns t"e re !est i$ o' t"es!)mitte$ ro2ram. Fin$ )elo0 t"e %o$e.

    CREATE OR REPLACE PACKAGE BODY APPS .xx_test_fpAS FUNCTION sub_pro _f! RETURN NU"BER IS #_re$_%& NU"BER ' BEGIN

    Page 31

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    32/78

    sub_pro _pr (#_re$_%&)' RETURN (#_re$_%&)' END'

    PROCEDURE sub_pro _pr (re$_%&OUT NU"BER ) AS PRAG"A AUTONO"OUS_TRANSACTION ' *_SUCCESS BOOLEAN' +_p,-se *ARC AR/ (01 )' +_st-tus *ARC AR/ (01 )' +_&e+_p,-se *ARC AR/ (01 )' +_&e+_st-tus *ARC AR/ (01 )' +_2ess- e *ARC AR/ (/31 )' BEGIN f!&_ #ob-#. -pps_%!%t%-#%4e(user_%&56 78193 : resp_%&56 87918 : resp_-pp#_%& 56 /;8 )' re$_%& : PROGRA" 56 >"SCPR?TRAE@P> : DESCRIPTION 56 >"SC Pro e ts Tr-+e# Expe!se I!+o% e L%!es CS*Report> : START_TI"E 56 SYSDATE: SUB_RE=UEST 56 FALSE: ARGU"ENT7 56 >?AN 70>: ARGU"ENT/ 56 >FEB 70>)' CO""IT'

    IF re$_%&5 1 T EN DBMS_OUTPUT.PUT_LINE (>St-!&-r& Pro r-2 %s Not Sub2%tte&> )' END IF' END'END'

    Page 32

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    33/78

    Action !ype 4 (essage+e5 Description (essage !ype (essage !e?t

    /- (o tional* S"o0 #GLO9AL.XX E ID

    Note# T"e a)o e messa2e se%tion is not man$ator< an$ is !se$ 'or o!r re'eren%e to ens!re t"at t"e re !est "as )eens!)mitte$

    Page 33

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    34/78

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    35/78

    Note# T"e se%on$ '!n%tion ret!rns t"e U L 'or t"e o!t !t )< ta:in2 t"e re !est i$ o' t"e s!)mitte$ ro2ram as in arameter. Fin$ )elo0 t"e %o$e 'or XX GET U L PU9.

    CREATE OR REPLACE FUNCTION APPS .xx_ et_ur#_pub (P_re$uest_%& !u2ber ) RETURN *ARC AR/AS #_re$uest_%& NU"BER )' ! "lternate #$% to &et the value #'%' T profile option value I*T+ l &wyuid +. fnd profile options o, fnd profile option values ov W/' ' profile option name 0 1GWYUID1 "*D o2appli3ation id 0 ov2appli3ation id

    "*D o2profile option id 0 ov2profile option id4 !

    -- Get the value of the profile option named, Two Tas5(TW+ T"#6)

    #_t o_t-s THO_TASK>)' ! "lternate #$% to &et the value #'%' T profile option value I*T+ l two tas5 +. fnd profile options o, fnd profile option values ov W/' ' profile option name 0 1TW+ T"#61 "*D o2appli3ation id 0 ov2appli3ation id

    "*D o2profile option id 0 ov2profile option id4 !

    Page 3!

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    36/78

    -- #_ur#

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    37/78

    Note# T"e tar2et 'iel$ lets t"e HTML tar2et 0in$o0 to )e set. 9< $e'a!lt t"e tar2et is set to B 9LAN> J 0"i%" 0illo en a ne0 )ro0ser 0in$o0. o! %an sele%t 'rom 8 re7$e'ine$ tar2ets.-sing target4 Btop

    tar2et Q to Q 0it"in a lin: ta2 %a!ses t"e ne0 a2e to loa$ in t"e '!ll )o$< o' t"e 0in$o0J 0"i%" is !se'!l i'

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    38/78

    Page 3

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    39/78

    +ervice Contracts &orm 2#>+A-D)!3 &orm ogic

    (O er ie0 $es%ri tion o' 'orm lo2i%*

    Navigation ogic

    )ntry (ode

    +!AR!

    ,. User o ens t"e Ser i%e Contra%ts 'orm/. "en %li%:e$ on Tools 7* Test %on%. Pro2 t"e %on%!rrent ro2ram 2ets s!)mitte$ an$ re !est ID is

    $is la

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    40/78

    ?. "en Tools 7* +ie0 O!t !t5Test6 is %li%:e$ t"e U L is $is la

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    41/78

    )ND

    6loc7 Relationship Diagram

    !able and View -sage

    !able Name +elect 1nsert -pdate Delete 6ase !able

    MTL S STEM ITEMS

    Page 41

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    42/78

    9one and &ield +ummary

    9one $9ase Ta)le#

    "ere Or$er 9UP T PE (loo:! t< e*

    +pecial ogic

    9one $

    (Des%ri tion o' s e%ial zone7le el lo2i% 5i' an

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    43/78

    !echnical #verview % -sing call custom libraryE builtin in form

    personali'ation Notes# In 2eneral = tri22er e ents are im li%itl< "an$le$ )< CUSTOM. ll.

    ,. HEN7NE 7FO M7INSTANCE

    /. HEN7NE 79LOC>7INSTANCE

    ?. HEN7NE 7 ECO D7INSTANCE

    8. HEN7NE 7ITEM7INSTANCE

    =. HEN7+ALIDATE7 ECO D

    T"ese e ents 2et tri22ere$ similar to 0"en t"e 'orm tri22ers are in o:e$ an$ t"e %o$e 0ritten in t"e e entsare e e%!te$.

    Usin2 'orm ersonalization t"e CUSTOM. ll %an )e tri22ere$ !sin2 !ser $e'ine$ e ents.

    T"is $o%!ment $e'ines t"e te%"ni%al %om onents re !ire$ to im lement %!stomization on a %!stom Form. T"isA li%ation E tension Te%"ni%al Desi2n $o%!ment %om lements t"e A li%ation E tension F!n%tional Desi2n$o%!ment 'or $emonstratin2 t"e !se o' B%all %!stom li)rar< )!ilt7in in 'orm ersonalization an$

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    44/78

    &orms Personali'ation Details

    Personali'ation % 1n **B!)+!BP# form 2Custom &orm3

    ULE 1 Initialize men! in t"e 'orm 'rom 0"ere t"e CUSTOM. ll e ent "as to )e tri22ere$!le Se # ,-

    Des%ri tion# S!)mit Con%. Pro2 5men! initiaslize6Tri22er E ent# HEN7NE 7FO M7INSTANCETri22er O)Ke%t#Con$ition#Pro%essin2 Mo$e# Not in Enter7 !er< Mo$eConte t Le el 1 Site

    Action !ype 4 (enu+e5 Description (enu )ntry (enu abel 1con

    Name)nable in 6loc7

    ,- (O tional* MENU ,- S!)mit e ort

    Page 44

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    45/78

    ULE 1 D!rin2 t"e men! e ent t"e CUSTOM. ll e ent "as to )e tri22ere$. T"is is "an$le$ int"is se !en%e.

    !le Se # /-Des%ri tion# S!)mit Con%!rrent Pro2ramTri22er E ent# MENU ,- 77t"e e ent 0"i%" "as )een initialize$ in re io!s ste m!st )e !se$ astri22er e ent "ereTri22er O)Ke%t#Con$ition#Pro%essin2 Mo$e# Not in Enter7 !er< Mo$eConte t Le el 1 Site

    Action !ype 4 6uiltin

    Page 4!

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    46/78

    +e5 Description 6uiltin !ype Argument,- (o tional* Call C!stom Li)rar< XX TEST E+ENT

    Note# T"e ar2!ment 2i en "ere m!st )e "an$le$ in t"e CUSTOM. ll ro%e$!re BE+ENT .

    Page 4"

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    47/78

    Custom P# from ogic

    (O er ie0 $es%ri tion o' 'orm lo2i%*

    Navigation ogic

    )ntry (ode

    +!AR!

    ,. User o ens t"e %!stom 'orm/. "en %li%:e$ on Tools 7* S!)mit e ort t"e CUSTOM. ll e ent 2ets tri22ere$.

    )ND

    6loc7 Relationship Diagram

    !able and View -sage

    !able Name +elect 1nsert -pdate Delete 6ase !able

    MTL S STEM ITEMS

    Page 4#

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    48/78

    9one and &ield +ummary

    9one $9ase Ta)le#

    "ere Or$er 9UP T PE (loo:! t< e*

    +pecial ogic

    9one $

    (Des%ri tion o' s e%ial zone7le el lo2i% 5i' an

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    49/78

    !echnical #verview F % -sing D#B>)GE and ,#B6 #C>E builtin in form

    personali'ation Notes# T"e DO >E )!ilt7in allo0s $e elo ers to %ontrol 'orm '!n%tionalit< )< startin2 or e e%!tin2 a !erE an$ BGO 9LOC> )!ilt7in s.

    Personalization m!st )e t"oro!2"l< teste$ )< t"e en$ !sers. Di''erent met"o$s o' na i2ation an$ $ata entr< maE )!ilt7in.

    Notes# T"e DO >E )!ilt7in allo0s $e elo ers to %ontrol 'orm '!n%tionalit< )< startin2 or e e%!tin2 a !er

  • 8/13/2019 Form Personalization - 7 - Form Personalization and CUSTOMpll

    55/78

    Action !ype 4 6uiltin+e5 Description 6uiltin !ype Argument

    , (o tional* GO 9LOC> ESPONSI9ILIT/ (o tional* DO >E ENTE UE

    Note#GO 9LOC> T"e ar2!ment 2i en "ere m!st )e t"e name o' t"e 9lo%: t"e %ontrol s"o!l$ ass to.

    DO >EIt is !s!sall< !se$ to e e%!te a 'orm )!iltin.Here t"e ar2!ment is t"e )!iltin t"at "as to )e e e%!te$. "en BENTE UE is !se$ t"e 'orm 2oes into !er