Oracle Apps XML Gateway Dev. Guide

download Oracle Apps XML Gateway Dev. Guide

of 122

Transcript of Oracle Apps XML Gateway Dev. Guide

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    1/122

    Free Oracle Application Servers availble in INTERNET

    Free Oracle Application Servers availble in INTERNET

    1)https://testexchange.oracle.com/home.jspfor username/passcode register your self2)http://www.solutionbeacon.com/tools_vision.htmusername/passcode !1"#1/1"#1!.

    XML Gateway Overview

    XML Gateway

    $%& today i will tal' briefly about (racle *+ ,ateway as component of (racle !pplications. -his is onlyindented to be a conceptual introduction and for the complete details you must refer to the user guide orappropriate metalin' note. *+ ,ateway is a tool that facilitates the communication between the (racle

    business suite and third party applications or trading partners in the form of well formatted *+ messages.*+ ,ateway ensures that both business to business 020) and !pplication to !pplication!2!)reuirements are met. urther *+ ,ateway ensures that the messages that are generated or consumed arecompliant with the standards set by the (pen!pplications ,roup. 3ou can find more information on thesestandards at http://www.openapplications.org(racle *+ ,ateway wor's with (racle 4or'flow to consumevents raised and generate *+ messages. -hese messages are further propagated using (racle !dvancedueuing technology and (racle -ransport agent(-!). %nbound and outbound messages are managed in uetable using (racle !dvanced 5ueuing. -he (-! is used to deliver messages to a trading partner over $--6or $--6s. !n (-! servlet running with (racle !pplications is also responsible for receiving inbounddocuments sent by the trading partner.(racle *+ gateway can be considered as a form of 7%& whereas in normal 7% transaction the operation happens in a batch in case of *+ gateway the message are more real

    time as they are based of events.(racle *+ gateway ma'es use of the uses 4eb 8ervices 7escription +anguage 487+) to facilitate tradinpartners to communicate with (racle !pplications. -rading partners can use third party web service tools tocall the web services publish by your (racle !pplications.%t also uses the 9ava *essaging 8ervice9*8) tosend messages between (racle !pplications and trading partners.!t the core of (racle *+ ,ateway lies the execution engine& this is responsible for interacting with otheroracle technologies li'e (racle 4or'flow etc to consume and generate messages between trading partners asin the case of a 020 communication.(racle *+ ,ateway supports the 8*-6& $--6& $--68& 9*8 transport protocols for message delivery anconsumption.(racle *+ ,ateway uses the *essage 7esigner to define message maps& message maps are reuired to

    specify the data source and data target for the document. 3ou can also use *ap creation wiards that areprovided for this purpose.-he message designer and wiard is a client software which is reuired to be installed separately on the clien6;s.*essage map files have a .xgm extension. *essage maps that are created on the loacle /client system have tobe loaded to the middle tier !66+_-(6.-he java +oad*ap and java 7elete*ap are used to load and delet message maps on the middle tier server.%ts important to note that before you crate your message maps for your document you must ensure that the

    https://testexchange.oracle.com/home.jsphttp://www.solutionbeacon.com/tools_vision.htmhttp://www.openapplications.org/https://testexchange.oracle.com/home.jsphttp://www.solutionbeacon.com/tools_vision.htmhttp://www.openapplications.org/
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    2/122

    document conforms to the 7ocument -ype 7efinition7-7).6re defined 7-7 are installed and loaded in the

    and transactions.%n releases 11.>.? onwards *+ gateway is distributed as a part of !(+ and does not reuire to be licensed installed separately. or prior releases *+ ,ateway can be installed by applying patch 2@@A?1A.-he metalin' note1>2??>.1contains full instructions for installing and configuring (racle *+ ,ateway.3ou can verify your *+ gateway installation byu executing the following sl script85+B /sl/;-8-.slthis will create a (C-nnn.xml if the installation and configuration of *+ ,ateway is successful.

    Overview of OA Frame wor!

    (racle !pplications ramewor' (! ramewor') is the (racle !pplications development and deploymentplatform for $-*+Dbased business applications.(! ramewor' consists of a set of middleDtier runtimeservices and a designDtime extension to (racle#i 97eveloper called (racle !pplications xtension.(racle#i97eveloper with (! xtension (! xtension) is a world class 92Dbased integrated developmentenvironment

    (! ramewor' is designed around the simple *odelDEiewD;ontroller *E;) architecture -he *E;architecture is a componentDbased design pattern.(! ramewor' technologies has driven several industry

    standards and has adopted several others.(! ramewor' is 92 based and features several industry standarsuch as *+& $-*+& 9ava& 986& 85+ and 4eb 8ervices.(! xtension provides features such as easyDtoDuswiards& a hierarchy navigator& and a property sheet. -hese features enable developers to populate themetadata for declarative application business logic and user interfaces.w"at #$eveloper version s"o%l& be %se& for OAF &evelopment

    ;urrent 97eveloper patches:6atch @A@>"F# D #%97E+(6 4%-$ (! -G8%(G !C ( 4H.$6atch @1@1?I? D #%97E+(6 4%-$ (! -G8%(G !C ( ;C1

    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=152775.1http://photos1.blogger.com/blogger/4450/3996/1600/r2.0.jpghttps://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=152775.1
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    3/122

    6atch @>?F>1? D (racle#i 97eveloper with (! xtension for 11.>.1A ;C26atch @?2>"?A D #%97E+(6 4%-$ (! -G8%(G !C ( 11i1A C6F-o determine which patch to use& you can simply chec' the framewor' version in your instance by usinghttp://host:port/(!_$-*+/(!%nfo.jspthen choose the matched one.

    11.>.1AH J patch @A@>"F#

    11.>.1A1;C J patch @1@1?I?

    11.>.1A2;C J patch @>?F>1?

    http://1.bp.blogspot.com/_gPpK5SYQll0/RZEKGaf8KXI/AAAAAAAAAAU/owswAkIAMYw/s1600-h/4141787.JPGhttp://4.bp.blogspot.com/_gPpK5SYQll0/RZEJ8Kf8KWI/AAAAAAAAAAM/LWH0X9vxbOA/s1600-h/4045639.JPG
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    4/122

    11.>.1AF;C J patch @?2>"?A

    Arc"itect%re

    (! ramewor' !rchitecuture is based on the industryDstandard 92 *E; design pattern.8o 7evelopersmanipulate the application=s metadata using (racle #i 97eveloper (! xtension.

    'ow to Remove personali(ation1. +ogin to application2. 8elect esponsibility unctional !dministratorF. ;lic' 6ersonaliation -ab Cpper ight)@. or !pplication & nter the following: 8elfD8ervice 4eb !pplications

    http://4.bp.blogspot.com/_gPpK5SYQll0/RZEKYKf8KZI/AAAAAAAAAAk/9u6OQmBqhV8/s1600-h/4725670.JPGhttp://3.bp.blogspot.com/_gPpK5SYQll0/RZEKN6f8KYI/AAAAAAAAAAc/0roOe7Z7E84/s1600-h/4573517.JPG
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    5/122

    >. ;lic' on the 6ersonalied ;hec'box". ;lic' ,o?. emove or 7eDactivate your personaliation that is causing the issue by selecting the personaliation levelat which you made that particular persanoliation . 0ecause if you made some personaliations atresponsibility level and some at site level and if you made mista'e whenever you are ma'ing personaliationat site then you need to select the personaliation level at site level rather than responsibility & so that youeventhough you deactivate personaliations at site level by usingthis action plan & you can protect yourpersonaliations which were made at responsibility level .I eDtest your login.

    Met"o&)*by setting the profile option K7isable 8elfD8ervice 6ersonalK to K3esMet"o& )+

    Cse the 97_C-%+8 pac'ageCse slplus and this comand examplesset serveroutput onLexecute jdr_utils.list7ocuments=//=& -C)Lxample:-o 7+-DDDDDDDDDDDDDD0egin

    executejdr_utils.delete7ocument=/oracle/apps/icx/por/remgmt/server/customiations/site/A/,roupes6ublE(=)LcommitLndLthen refer the follwoing tbales97_;(*6(GG-8.97_!--%0C-897_!--%0C-8_-!G897_6!-$8w"at is EO , Entity Ob-ect . /0iew Ob-ect ,0iewImpl. an& 0iew Row , 0iewRowImpl)Mntity (bject:0;@9 entity objects encapsulate the business rules li'e validations& actions associated with a

    row in a database table& view or synonym .Eiew (bject Eiew%mpl):%n the simplest terms& a 0;@9 view object encapsulates a database uery andprovides iteration over and access to the view rows in its result setEiew ow Eiewow%mpl ) :epresents a single row in a view object.

    1%stomi(ation of Information Template in i2rocinformation templates to gather additional information in (racle i6rocurement to pass necessary orderprocessing information to suppliers.4hen an information template is assigned to a category or item& theapplication prompts reuesters to provide the information specified in the template when the item is added tothe shopping cart.ach information template must be associated with an (racle 6urchasing item or itemcategory.%f an information template is associated with an item category& all items belonging to that categoryare also associated with the template.

    ;reate an information template:1.rom the (racle 6urchasing menu& select 8etup B %nformation -emplates.,ive your -emplate a name.2.8elect !vailable in !ll (rganiations if you want the template to be available to reuesters in all operating units.

    F.8elect an !ttachment ;ategory of -o 8upplier or -o 0uyer.

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    6/122

    @.nter an !ttribute Game and 7escription as shown in figure.

    3ou can create popDlist and attch to the attribute.;reateing popDlistGavigate rom the (racle 6urchasing menu setupDBflex fieldsDBEalidationDBsets

    create value set name as -E+_!%_7(6

    +ist type+ist of values

    validation typeinpedendent

    2. ;reate values for -E+_!%_7(6

    Gavigate from po setupDBflex filedsDBvalidationDBvalues

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    7/122

    F.finally !ttach the 6oplist to information template attributes.

    @.Gext ,o to i6rocurement ;atalog !dminstration .Gavigate Gon catalog euest -emplates

    ;lic' on create button and pass the necessary inputs and clic' on add template button pass the informationtemplate which we customied in 6(.

    -emplate name : -est -ravel e

    (rganiation : select your orgniation.

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    8/122

    >. ;lic' on stores lin' under *anage ;ontent lin'

    clic' on edit under GonD;atalog euest 8tore then ;lic' on !dd template 0utton

    select template name which we made in previous screen ie -est -ravel e) !nd 8ubmit.

    ".inally you can see the result at i6rocurement 6age

    select the euest -ype : -est -ravel e

    3ou can see the our customiation result under -estinfo -emp +ayout.

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    9/122

    you can see above information in following tableselect N from 6(_-*6+!-_%G(

    REALMS

    (racle i6rocurement& securing attributes called realms are used to restrict reuester access to the catalog.orealms are securing attributes used to control access to the catalog as an additional layer for applicationsecurity%;_6(_!+*_%7 DDBCse this attribute to secure the responsibility for category or itemsource realms.(nce you create a realm& you assign it to a responsibility or user. -he reuester associated with thatresponsibility or user can see whatever categories or item source catalogs are contained in that realm.

    STE2S3

    1. ;reate the realm. 2. !ssign the realm to a responsibility. F. (ptionally assign realms to individual users ifdesired.;reate the ealm:1.+og in to (racle 6urchasing !nd Gavigate 8etup B D;atalog !dmin B ealms.2.in window enter your own Game and 7escription for the realm.component -ype : ;ategorycomponents: select any existing ;ategory.F. 8ave your wor' ealm %d ,enerated automatically.

    Assi4n t"e Realm to a Responsibility3

    1.+og on to 8ysadmin2.(pen the esponsiblities windowF.5uery the responsibility to which you will assign the realm.x: i6rocurement)

    @.n the Game field& use the +(E to select %;_6(_!+*_%7.>. ;lic' on Ealues 0utton %n the Ealues 0utton 8elect the elam %7". !nd 8ave your ;hanges.

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    10/122

    Assi4n t"e Realm to 5sers ,Optional.3

    1.+og on to 8ysadmin.2.Gavigation path: 8ecurity B Cser B7efine.F.5uery the user person) to whom you want to assign the realm.@.%n the 8ecuring !ttributes tabbed region&in the !ttribute field& use the +(E to select

    >.%n the 8ecuring !ttributes tabbed region& create a line for each realm you want to assign to the user. 8elect%;_6(_!+*_%7 in the Game field and the ealm %7 for each realm. ". 8ave your wor'.

    RES5LT!

    ;ategories restricted by realms display to reuesters when browsing categoriesLhowever& the items in thosecategories do not display.

    'ow to Get $eb%4 XML 2%blis"er

    'ow to Get $eb%4 XML 2%blis"er 6

    8etting up the debug mode for the program .%n the program definition there is a debug flag 6arameter& set this to =3=. -o do this

    +ogin as =8ystem !dminstrator=

    Gavigate to: ;oncurrent DB 6rogram DB 7efine

    5uery up the program shortname 7(660

    ;lic' on 6arameters

    8croll down for K7ebug lag

    nable this by clic'ing on the chec' option.

    %n the Ealidation bloc'& set the 7efault Ealue J 3

    ;reate a xdodebug.cfg Cnder following 7ir

    http://photos1.blogger.com/blogger/4450/3996/1600/r1.0.jpg
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    11/122

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    12/122

    posted by Rama at 2:30 PM PA ;omments

    1ommon 2roblems in XML 2%blis"er

    1ommon 2roblems in XML 2%blis"er

    1) C Gew to *+ 6ublisher3ou have two different types of *+ 6ublisher:D the one integrated with (acle e08D the standalone versiosee lin',o thru &*+ guide provided by (racle&%t will be sufficient+in':http://www.oracle.com/technology/products/xmlDpublisher/index.html'ow to install a font %sin4 XML 2%blis"er A&ministrator6%n *+ 6ublisher >." has a new tab: !dministration fonts can be uploaded and stored in the database insteadof stored on the file system.-o install a font reuires only a few steps1. +og in as *+ 6ublisher !dministrator.2. Gavigate to !dministrationDBont ilesDB;reate ont ile.F. ields are ont Game and ile. or ont Game choose any descriptive name. ile will browse your 6; tolocate the font file.@. Gavigate to ont *appingsDB;reate ont *apping 8et.

    >. *apping name is the name you will give to a set of fonts.". *apping code is the internal name you will give to this set.?. -ype: =67 orm= for 67 templates. =( to 67= for all other template types.I. ;reate ont *apping this allows you to add multiple fonts to a set).#. ont amily is the exact same name you see in 4ord under onts.%f you don=t use the same name the fontwill not be pic'ed up at runtime.1A. 8tyle and weight must also match how you use the font in windows.Gormal and Gormal are good default12. Gavigate to ;onfiguration ,eneralDB ( 6rocessingDBont *apping 8et. ;an also be done at data def antemplate level under dit ;onfiguration. $ierarchy is 8iteDB 7ata 7ef DB -emplate.1F. 8elect your new mapping set.1@. *a'e sure the font is not referenced under ileDB6ropertiesDB;ustom in the - template file.

    1>. Cpload a template that uses your special font and test using preview.

    posted by Rama at 12:37 PM PA ;omments

    1ommon 2roblems in XML 2%blis"er

    http://oracle-applications-rama.blogspot.com/2006/10/calling-xml-publisher-report-from.htmlhttp://oracle-applications-rama.blogspot.com/2006/10/calling-xml-publisher-report-from.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116073024341558913http://www.oracle.com/technology/products/xml-publisher/index.htmlhttp://www.oracle.com/technology/products/xml-publisher/index.htmlhttp://blogs.oracle.com/xmlpublisher/2006/06/16#a44http://oracle-applications-rama.blogspot.com/2006/10/common-problems-in-xml-publisher_13.htmlhttp://oracle-applications-rama.blogspot.com/2006/10/common-problems-in-xml-publisher_13.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116072447206272775http://www.blogger.com/email-post.g?blogID=35849895&postID=116072447206272775http://www.blogger.com/post-edit.g?blogID=35849895&postID=116072447206272775http://www.blogger.com/email-post.g?blogID=35849895&postID=116072447206272775http://www.blogger.com/post-edit.g?blogID=35849895&postID=116073024341558913http://www.blogger.com/email-post.g?blogID=35849895&postID=116073024341558913http://oracle-applications-rama.blogspot.com/2006/10/calling-xml-publisher-report-from.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116073024341558913http://www.oracle.com/technology/products/xml-publisher/index.htmlhttp://blogs.oracle.com/xmlpublisher/2006/06/16#a44http://oracle-applications-rama.blogspot.com/2006/10/common-problems-in-xml-publisher_13.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116072447206272775
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    13/122

    ;reating 7ata 7efinition xample:

    ;reating -emplate xample:

    posted by Rama at 12:18 PM PA ;omments

    Re4isterin4 RTF Template in Oracle applications

    'ow to Re4isterin4 RTF Template in Oracle applications!

    1)egister your -emplate in the -emplate *anager.2)egister your 7ata 7efinition %n 7ata 7efinition *anager.

    a);reating 7ata 7efinition.

    log on to (racle apps ml 6ublisher esponsibily. clic' on $ome DB7ata 7efinitionsthen clic' on create 7ate 7efinition. and fill the all mandatory fields

    Game : Game of the eport *+ 6ublisher -est eport)code : ;oncurrent prof 8hort Game _*+_-8-_6)!pplication: Game of the !pplication.(rder *anagement)8tart date: today date A#D(ctD2AA")7escription:*+ 6ublisher -est eport

    http://oracle-applications-rama.blogspot.com/2006/10/common-problems-in-xml-publisher.htmlhttp://oracle-applications-rama.blogspot.com/2006/10/common-problems-in-xml-publisher.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116072316375748236http://www.blogger.com/email-post.g?blogID=35849895&postID=116072316375748236http://www.blogger.com/post-edit.g?blogID=35849895&postID=116072316375748236http://www.blogger.com/email-post.g?blogID=35849895&postID=116072316375748236http://photos1.blogger.com/blogger/4450/3996/1600/dd.jpghttp://photos1.blogger.com/blogger/4450/3996/1600/tt.jpghttp://oracle-applications-rama.blogspot.com/2006/10/common-problems-in-xml-publisher.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116072316375748236
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    14/122

    -hen ;lic' on !pply 0utton.

    b);reating -emplate

    8elect the -emplates -ab clic' on ;reate -emplate -ab

    Game : Game of the eport *+ 6ublisher -est eport)

    code : ;oncurrent prof 8hort Game _*+_-8-_6)7ata 7efinition:Game of the eport 7ata 7efinition name)-ype:-!pplication: Game of the !pplication.(rder *anagement)8tart date: today date A#D(ctD2AA")7escription:*+ 6ublisher -est eport

    ile: clic' on browse -ab update your - file here.+anguage:nglish-erritory:Cnited 8tates

    -hen ,o to (* responsibiliy un the *+ 6ublisher -est eport see the 67 out put.Gote:0efore uning *+ 6ublisher eport !ssign *+ 6ublisher prog into (* responsibily.

    1ommonly 5se& XML Ta4s in Template

    1) $olds the opening forDeach loop for the item element.

    2) ;losing tag of the forDeach loop.F) -he opening of the if statement to testfor the attribute value K6%E!-K.

    @) nds the if statement.>) sort a group by any element within the group.") 8ort *ultiple ,roup of elements

    ?) -o establish nested groupings within the already defined groupI)mailto:MforDeachDgroupQcell:currentgroup)LCses the regrouping syntax to group the data by 3!#)

    1A) date format mas':

    0ariable $eclaration

    Cse this element to declare a local or global variable.8+ 8yntax:*+ 6ublisher -ag:xample:

    mailto:?for-each-group@cell:currentgroup();mailto:?for-each-group@cell:currentgroup();
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    15/122

    !ssigns the value KredK to the KcolorK variable. -he variable can then be referenced inthe template.

    1ell 'i4"li4"tin4

    1AAAMB

    DDB

    -he above tag embeds native 8+ code -he KattributeK element allows you to modify properties in the 8+. -he xdo:ctx component is an *+ 6ublisher feature that allows you to adjust 8+

    attributes at any level in the template -o change the color attribute& you can use either the standard $-*+ names for

    example& red& white& green) or you can use the hexadecimal color definition forexample& R).

    posted by Rama at 10:24 AM PA ;omments

    posted by Rama at 10:06 AM PA ;omments

    http://oracle-applications-rama.blogspot.com/2006/10/commonly-used-xml-tags-in-template-1.htmlhttp://oracle-applications-rama.blogspot.com/2006/10/commonly-used-xml-tags-in-template-1.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116071838431898624http://www.blogger.com/email-post.g?blogID=35849895&postID=116071838431898624http://oracle-applications-rama.blogspot.com/2006/10/blog-post_12.htmlhttp://oracle-applications-rama.blogspot.com/2006/10/blog-post_12.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116071443210226159http://www.blogger.com/email-post.g?blogID=35849895&postID=116071443210226159http://www.blogger.com/post-edit.g?blogID=35849895&postID=116071443210226159http://www.blogger.com/email-post.g?blogID=35849895&postID=116071443210226159http://photos1.blogger.com/blogger/4450/3996/1600/wqe.jpghttp://photos1.blogger.com/blogger/4450/3996/1600/zsc.jpghttp://www.blogger.com/post-edit.g?blogID=35849895&postID=116071838431898624http://www.blogger.com/email-post.g?blogID=35849895&postID=116071838431898624http://oracle-applications-rama.blogspot.com/2006/10/commonly-used-xml-tags-in-template-1.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116071838431898624http://oracle-applications-rama.blogspot.com/2006/10/blog-post_12.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116071443210226159
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    16/122

    Thursday, October 12, 2006

    posted by Rama at 3:25 PM PA ;omments

    XML 2%blis"er s%pports two met"o&s for creatin4 RTF templates3

    1)0asic - *ethod2)orm ield *ethod

    ;reating an - template file consists of two basic steps:

    7esign your template layout.Cse the formatting features of your word processing application and save the file as -.

    *ar' up your template layout.%nsert the *+ 6ublisher simplified tags.

    -he -emplate 0uilder is an extension to *icrosoft 4ord that simplifies the development of -templates.*+ 6ublisher converts the formatting that you apply in your word processing application to 8+(.

    nter placeholders in your document using the following syntax:

    -here are two ways to insert placeholders in your template:9asic RTF Met"o&3%nsert the placeholder syntax directly into your template document.

    orm ield *ethod: euires *icrosoft 4ord) %nsert the placeholder syntax in *icrosoft 4ordOs -ext ormield (ptions window.

    Form Fiel& Met"o&

    http://oracle-applications-rama.blogspot.com/2006/10/blog-post.htmlhttp://oracle-applications-rama.blogspot.com/2006/10/blog-post.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116064697695997913http://www.blogger.com/post-edit.g?blogID=35849895&postID=116064697695997913http://www.blogger.com/email-post.g?blogID=35849895&postID=116064697695997913http://photos1.blogger.com/blogger/4450/3996/1600/untitled.gifhttp://oracle-applications-rama.blogspot.com/2006/10/blog-post.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=116064697695997913
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    17/122

    Cse *icrosoft 4ordOs -ext orm ield (ptions window to insert the placeholder tags:1. nable the orms toolbar in your *icrosoft 4ord application.2. 6osition your cursor in the place you want to create a placeholder.F. 8elect the -ext orm ield toolbar icon. -his action inserts a form field area in yourdocument.@. 7oubleDclic' the form field area to invo'e the -ext orm ield (ptions dialog box.>. (ptional) nter a description of the field in the 7efault text field. -he entry in thisfield will populate the placeholderOs position on the template.or the example& enter K8upplier 1K.". 8elect the !dd $elp -ext button.?. %n the help text entry field& enter the *+ elementOs tag name using the syntax:

    Oracle XML 2%blis"er

    7"at is Oracle XML 2%blis"er6

    Oracle XML 2%blis"er is a template)base& p%blis"in4!It provi&es a new approac" to report &esi4n!T"

    fle;ibility of XML 2%blis"er is a res%lt of t"e separation of t"e presentation of t"e report from its &ata

    str%ct%re! XML 2%blis"er provi&es t"e Template Mana4er to re4ister an& maintain report templates

    an& t"eir &ata so%rces! T"e Template Mana4er is t"e repository for yo%r templates an& &ata so%rces!

    1reatin4 c%stomi(e& reports %sin4 XML 2%blis"er can be &ivi&e& into two

    p"ases3

    $esi4n Time an& R%ntime!

    Design Time

    Re4ister t"e E)9%siness S%ite report as a $ata $efinition in t"e Template Mana4er!

    $esi4n yo%r template!

    Re4ister yo%r Template in t"e Template Mana4er!

    A&& &esire& translations of yo%r RTF template!

    posted by Rama at 11:42 AM

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    18/122

    In case yo% "ave mo&ifie& any -ava or class file in OAF /XML $oc%ment an& A $eveloper t"en Apac"e bo%nce becomes

    man&atory!

    'ow to fin& Report 9elon4s to partic%lar ReC%est Gro%p

    %se t"e followin4 C%ery!

    SELE1T

    fr4!reC%est84ro%p8name

    /frt!&escription

    /fr4!reC%est84ro%p8co&e/fr4!&escription

    FROM fn&8reC%est84ro%ps fr4/

    fn&8conc%rrent8pro4rams8tl frt

    7'ERE fr4!application8i&Dfrt!application8i&

    AN$ frt!%ser8conc%rrent8pro4ram8nameD2rocess 2en&in4 2ayments

    t"is will 4ive ReC%est Gro%p name an& &escription!

    Overview of 1onc%rrent Mana4er

    A conc%rrent mana4er is itself a conc%rrent pro4ram t"at starts ot"er conc%rrent pro4rams! T"is

    &oc%ment e;plains "ow to start %p/ &efine/ an& confi4%re conc%rrent mana4ers!! 1onc%rrent Mana4er

    are &efine& an& assi4ne& one or more wor s"ifts !o% can iss%e comman&s to start/ verify/ s"%t &own

    or reset conc%rrent mana4ers in&ivi&%ally or %se t"e I1M to control every mana4er at once !It isrecommen&e& t"at yo% restart an in&ivi&%al conc%rrent mana4er every time

    Startin4 t"e I1M3

    Follow t"e steps o%tline& below to start t"e I1M &%rin4 installation of Oracle Applications/ after

    s"%t&own of conc%rrent mana4ers/ or after restartin4 yo%r operatin4 system or &atabase!

    Lo4 in to t"e 5NIX server as applm4r

    Select t"e appropriate &atabase environment

    5se t"e followin4 comman&3 Startm4r

    9y &efa%lt/ t"e I1M perio&ically monitors eac" conc%rrent mana4erHs processes! o% can force t"is

    monitorin4 activity/ also nown as 2MON by selectin4 t"e I1M an& c"oosin4 t"e 0erify b%tton!9elow is a s%mmary listin4 of t"e conc%rrent mana4ers an& t"eir f%nctions

    >!Internal 1onc%rrent Mana4er ,I1M.

    Starts %p/ verifies t"e stat%s of/ resets/ an& s"%ts &own t"eIn&ivi&%al mana4ers! Settin4s for t"e I1M

    cannot be altere&!

    *!Stan&ar& Mana4er

    R%ns +J &ays a year/ *K "o%rs a &ay an& accepts any an& all reC%ests! It "as no speciali(ation an&

    s"o%l& NOT be altere&

    Note3 If t"e Stan&ar& mana4er is altere& in any way/ some pro4rams may not r%n! 7e recommen& t"a

    yo% &efine a&&itional mana4ers to "an&le client)specific nee&s!

    +!1onflict Resol%tion Mana4er

    T"e 1onflict Resol%tion Mana4er resolves conflicts/ s%c" as reC%est incompatibilities! T"e 1onflict

    Resol%tion Mana4er c"ecs conc%rrent pro4ram &efinitions for incompatibility r%les! If a pro4ram is

    i&entifie& as R%n Alone/ t"en t"e 1onflict Resol%tion Mana4er prevents t"e conc%rrent mana4ers from

    startin4 ot"er pro4rams in t"e same conflict &omain! 7"en a pro4ram lists ot"er pro4rams as bein4

    incompatible wit" it/ t"e 1onflict Resol%tion Mana4er prevents t"e pro4ram from startin4 %ntil any

    incompatible pro4rams in t"e same &omain "ave complete& r%nnin4!

    K!Sc"e&%ler@2rereleaser Mana4er

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    19/122

    Sc"e&%ler@2rereleaser mana4er!

    J!Transaction Mana4er for &ia4nostics only

    Transaction Mana4er for &ia4nostics only!

    ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

    REALMS

    Oracle i2roc%rement/ sec%rin4 attrib%tes calle& realms are %se& to restrict reC%ester access to t"e

    catalo4!or

    Realms are sec%rin4 attrib%tes %se& to control access to t"e catalo4 as an a&&itional layer for

    application sec%rity

    I1X82OR8REALM8I$ ))5se t"is attrib%te to sec%re t"e responsibility for cate4ory or item

    so%rce realms!

    Once yo% create a realm/ yo% assi4n it to a responsibility or %ser! T"e reC%ester associate& wit" t"at

    responsibility or %ser can see w"atever cate4ories or item so%rce catalo4s are containe& in t"at realm!

    STE2S3

    >! 1reate t"e realm!

    *! Assi4n t"e realm to a responsibility!+! Optionally assi4n realms to in&ivi&%al %sers if &esire&!

    1reate t"e Realm3

    >!Lo4 in to Oracle 2%rc"asin4 An& Navi4ate Set%p E)1atalo4 A&min Realms!

    *!in win&ow enter yo%r own Name an& $escription for t"e realm!

    component Type 3 1ate4ory

    components3 select any e;istin4 1ate4ory!

    +! Save yo%r wor Realm I& Generate& a%tomatically!

    Assi4n t"e Realm to a Responsibility3

    >!Lo4 on to Sysa&min

    *!Open t"e Responsiblities win&ow

    +!:%ery t"e responsibility to w"ic" yo% will assi4n t"e realm!,E;3 i2roc%rement.

    K!n t"e Name fiel&/ %se t"e LO0 to select I1X82OR8REALM8I$!

    J! 1lic on 0al%es 9%tton In t"e 0al%es 9%tton Select t"e Relam I$

    ! An& Save yo%r 1"an4es!

    http://photos1.blogger.com/blogger/4450/3996/1600/r1.jpg
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    20/122

    Assi4n t"e Realm to 5sers ,Optional.3

    >!Lo4 on to Sysa&min!

    *!Navi4ation pat"3 Sec%rity 5ser $efine!

    +!:%ery t"e %ser ,person. to w"om yo% want to assi4n t"e realm!

    K!In t"e Sec%rin4 Attrib%tes tabbe& re4ion/in t"e Attrib%te fiel&/ %se t"e LO0 to select

    I1X82OR8REALM8I$!

    J!In t"e Sec%rin4 Attrib%tes tabbe& re4ion/ create a line for eac" realm yo% want to

    assi4n to t"e %ser! Select I1X82OR8REALM8I$ in t"e Name fiel& an& t"e Realm I$

    for eac" realm!

    ! Save yo%r wor!RES5LT!

    1ate4ories restricte& by realms &isplay to reC%esters w"en browsin4 cate4ories"owever/ t"e items in

    t"ose cate4ories &o not &isplay!

    1oncept of Oracle 7orflow

    ! wor'flow consists of numerous processes reprents business process flows and information.ach wor'flowprocess contains a set of activities&notifications&6+/85+ stored procedures or another sub process7orflow 1omponents

    it contains " major components.1.wor'flow 0uilderprovides a graphical user interface for creating and maintaing definations.2.wor'flow ngineis the component that executes and enforces the defined wor'flow processF.wor'flow *onitor;omponent of oracle wor'flow that allows you to review the state or status

    @.wor'flow 7efinitions +oaderis the component that allows you to download or load wor'flow definitions to and from the date base or testfiles.>.Gotification 8ystem.the notification mailer is a program that concurrently sends emails and receive responses.". wor'flow 7irectory 8erviceswor' flow 7ir services is the component that identifies the directory repository.4or' flow unctions are stores in 6+/85+ procedures there is a standard !6% format for all stored procedure

    http://photos1.blogger.com/blogger/4450/3996/1600/r2.jpg
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    21/122

    function variables.%temtype DDB! category of items that share the same set of attributes.item'eyDDB ! uniue 'ey identifier within the same item type for specific item passingactid DDDB the uniue identifier of the activity that calls this stored procedure.esultDDB the result of the stored procedure can be;omplete:esult_code77:date(:rror_code

    Gotified:notification_%d4aiting-he format of stored procedure declaration will be6(;7C your_procedureitemtype in varchar2&item'ey in varchar2&actid in number&funcmode in varchar2&result out varchar2) %sin funcmode variable to execute codes that correspond to the CG&;!G;+ and -%*(C- modes.A2Is

    inside the stored procedure you must use wor'flow ngine !6%s to communicate with wor'flow engine. !llwor'flow ngine !6%s present inside the 4_G,%G pac'age.!6%=8 inside the 4_G,%G8et%tem!ttr-ext set the value of a text item attribute.8et%tem!ttrGumber set the value of a number %tem attribute.8et%tem!ttr7ate set the value if a date item attribute,et%tem!ttr%nfo ,et type information about an item attribute;reate6rocess create a new rntime process for an item8tart6rocess 0egins execution of the process.Remain I will 5p&ate soon

    (racle orms 6ersonaliation

    (racle has introduced a mechanism which revolutionies the way the forms can be customied to fulfill thecustomer needs.(racle !pplications has provided a custom library using which the loo' and behavior of thestandard forms can be altered& but the custom library modifications reuire extensive wor' on 85+ and6+/85+.(racle !pplications release 11.>.1A has provided a user interface S6ersonaliation formT which wilbe used to define the personaliation rules.

    0y default the S6ersonalieT menu is visible to all the usersL this can be controlled with help of

    profile options.0y setting up the below profile options&access to the 6ersonalie menu canbe limited for the authoried users.

    Ctilities: 7iagnostics J 3es/Go$ide 7iagnostics J 3es/Go

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    22/122

    invo'ing the 6ersonaliation form clic' on S$elp DB 7iagnostics DB ;ustom ;ode DB 6ersonalieT

    -he form mainly contains four sections.

    U ulesU ;onditionsU ;ontextU !ctions

    R%les3

    ach rule contains a seuence number and the description. -he rule can be activated or deDactivated using thSnabledT chec'box.

    1on&itions

    ;onditions decide the event the rule to be executed. ach condition mainly contains threesections i.e. -rigger vent& -rigger (bject and ;ondition..

    1onte;t

    ;ontext manages to whom the personaliation should apply. -his is similar to the concept ofusing profile options in (racle !pplication

    Actions

    !ctions decide the exact operation to be performed when the conditions and context return trueduring the runtime.

    http://3.bp.blogspot.com/_gPpK5SYQll0/RZOEwaf8KbI/AAAAAAAAABE/KS1C8n2rjnU/s1600-h/form.JPG
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    23/122

    F.nter the seuence number as 1A and description as S;hange the (rder -ype 6rompt to;laim -ypeT

    @.8elect the -rigger vent as S4$GDG4D(*D%G8-!G;T

    >.8elect or enter the following values under ;ontext section

    U +evel J esponsibilityU Ealue J (rder *anagement 8uper Cser

    (n !ctions tab& enter or select the following valuesU 8euence J 1AU -ype J 6ropertyU 7escription J (rder -ype to ;laim -ypeU +anguage J !llU nabled J 3es

    http://2.bp.blogspot.com/_gPpK5SYQll0/RZShS6f8KcI/AAAAAAAAABU/Zp1z3leFGeA/s1600-h/http.JPG
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    24/122

    ;lic' on S!pply GowT button

    ;lose both the forms and reopen the 8ales (rder form

    -he (rder Gumber label should reflect as ;laim Gumber

    Forms 2ersonali(ation)Movin4 to anot"er instance

    http://3.bp.blogspot.com/_gPpK5SYQll0/RZSimKf8KeI/AAAAAAAAABo/3RwqrDD6Ins/s1600-h/htp4.JPGhttp://3.bp.blogspot.com/_gPpK5SYQll0/RZSiFKf8KdI/AAAAAAAAABg/9kR8i9wiWU4/s1600-h/htp2.JPG
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    25/122

    Forms 2ersonali(ation)Movin4 to anot"er instance

    7ownload for a specific form:G7+(!7 / A 3 7(4G+(!7 G7_-(6/patch/11>/import/affrmcus.lct G7_(*_;C8-(*_C+form_nameJ

    7ownload all personaliations

    G7+(!7 / A 3 7(4G+(!7 G7_-(6/patch/11>/import/affrmcus.lct G7_(*_;C8-(*_C+

    CploadG7+(!7 / A 3 C6+(!7 /import/affrmcus.lct

    OM Tables

    (rder *anagement -ables.

    Entere&

    oe_order_headers_all 1 record created in header table

    oe_order_lines_all +ines for particular recordsoe_price_adjustments 4hen discount gets appliedoe_order_price_attribs %f line has price attributes then populatedoe_order_holds_all %f any hold applied for order li'e credit chec' etc.

    9ooe&

    oe_order_headers_all 0oo'ed_flagJ3 (rder boo'ed.wsh_delivery_details eleased_status eady to release

    2ic Release&wsh_delivery_details eleased_statusJ3 eleased to 4arehouse +ine has been released to %nventory for

    processing)wsh_pic'ing_batches !fter batch is created for pic' release.mtl_reservations -his is only soft reservations. Go physical movement of stoc'

    F%ll Transaction

    mtl_material_transactionsGo records in mtl_material_transactionsmtl_txn_reuest_headersmtl_txn_reuest_lines

    wsh_delivery_details eleased to warehouse.wsh_new_deliveries if !utoD;reate is 3es then data populated.

    wsh_delivery_assignments deliveries get assigned

    2ic 1onfirme&

    wsh_delivery_details eleased_statusJ3 $ard eservations. 6ic'ed the stoc'. 6hysical movement of stoc'

    S"ip 1onfirme&

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    26/122

    wsh_delivery_details eleased_statusJ; 3 -o ;:8hipped L7elivery Gote get printed 7elivery assigned to tristopuantity will be decreased from stagedmtl_material_transactions (n the ship confirm form& chec' 8hip all boxwsh_new_deliveries %f 7efer %nterface is chec'ed %.e its deferred then (* V inventory not updated. %f 7efer%nterface is not chec'ed.: 8hipped

    oe_order_lines_all 8hipped_uantity get populated.wsh_delivery_legs 1 leg is called as 1 trip.1 6ic'up V drop up stop for each trip.

    oe_order_headers_all %f all the lines get shipped then only flag G

    A%toinvoice

    wsh_delivery_details eleased_statusJ% Geed to run wor'flow bac'ground process.ra_interface_lines_all 7ata will be populated after w'fw process.ra_customer_trx_all !fter running !utoinvoice *aster 6rogram forra_customer_trx_lines_all specific batch transaction tables get populated

    2rice $etails

    p_list_headers_b -o ,et %tem 6rice 7etails.p_list_lines

    Items On 'an& :ty

    mtl_onhand_uantities -( chec' (n $and 5ty %tems.

    2ayment Terms

    ra_terms6ayment terms

    A%toMatic N%mberin4 System

    ar_system_parametes_allyou can ch' !utomactic Gumbering is enabled/disabled.

    1%stomer Information

    h_parties ,et ;ustomer information include name&contacts&!ddress and 6honeh_party_sitesh_locationsh_cust_accountsh_cust_account_sites_allh_cust_site_uses_allra_customers

    $oc%ment SeC%ence

    fnd_document_seuences 7ocument 8euence Gumbersfnd_doc_seuence_categoriesfnd_doc_seuence_assignments

    $efa%lt r%les for 2rice List

    oe_def_attr_def_rules 6rice +ist 7efault ulesoe_def_attr_condnsa'_object_attributes

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    27/122

    En& 5ser $etails

    csi_t_party_details-o capture nd user 7etails

    Sales 1re&it8ales ;redit %nformation$ow much credit can get)oe_sales_credits

    Attac"in4 $oc%ments

    fnd_attached_documents !ttched 7ocuments and -ext informationfnd_documents_tlfnd_documents_short_text

    9lanet Sales Or&er

    oe_blan'et_headers_all 0lan'et 8ales (rder %nformation.oe_blan'et_lines_all

    2rocessin4 1onstraints

    oe_pc_assignments 8ales order 8hipment schedule 6rocessing ;onstratinsoe_pc_exclusions

    Sales Or&er 'ol&s

    oe_hold_definitions (rder $old and *anaging 7etails.oe_hold_authoriationsoe_hold_sources_alloe_order_holds_all

    'ol& Relaese

    oe_hold_releases_all $old released 8ales (rder.

    1re&it 1" $etails

    oe_credit_chec'_rules -o get the ;redit ;hec' !gaint ;ustomer.

    1ancel Or&ers

    oe_order_lines_all ;ancel (rder 7etails.

    'ow to 5se 'int

    8elect /NW $%G- N/ name from emp where empidJ?I>"4here $%G- is replaced by the hint text.4hen the syntax of the hint text is incorrect& the hint text is ignored

    and will not be used

    !++_(48-he !++_(48 hint explicitly chooses the costDbased approach to optimie a statement bloc' with a goal obest throughput that is& minimum total resource consumption).%8-_(48-he %8-_(48 hint explicitly chooses the costDbased approach to optimie a statement bloc' with a goa

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    28/122

    of best response time minimum resource usage to return first row). %n newer (racle version you should giveparameter with this hint: %8-_(48n) means that the optimier will determine an executionplan to givefast response for returning the first n rows.;$((8-he ;$((8 hint causes the optimier to choose between the ruleDbased approach and the costDbasedapproach for a 85+ statement based on the presence of statistics for the tables accessed by the statementC+-he C+ hint explicitly chooses ruleDbased optimiation for a statement bloc'. -his hint also causes the

    optimier to ignore any other hints specified for the statement bloc'. -he C+ hint does not wor' any morein (racle 1Ag.

    'ints for Access 2at"s

    C++-he C++ hint explicitly chooses a full table scan for the specified table. -he syntax of the C++ hint isC++table) where table specifies the alias of the table or table name if alias does not exist) on which the futable scan is to be performed.(4%7

    -he (4%7 hint explicitly chooses a table scan by (4%7 for the specified table. -he syntax of the (4%hint is (4%7table) where table specifies the name or alias of the table on which the table access by(4%7 is to be performed. -his hint depricated in (racle 1Ag);+C8--he ;+C8- hint explicitly chooses a cluster scan to access the specified table. -he syntax of the;+C8- hint is ;+C8-table) where table specifies the name or alias of the table to be accessed by acluster scan.$!8$-he $!8$ hint explicitly chooses a hash scan to access the specified table. -he syntax of the $!8$ hint is$!8$table) where table specifies the name or alias of the table to be accessed by a hash scan.$!8$_!9

    -he $!8$_!9 hint transforms a G(- %G subuery into a hash antiDjoin to access the specified table. -hesyntax of the $!8$_!9 hint is $!8$_!9table) where table specifies the name or alias of the table to beaccessed.depricated in (racle 1Ag)%G7-he %G7 hint explicitly chooses an index scan for the specified table. -he syntax of the %G7 hint is%G7table index) where:table specifies the name or alias of the table associated with the index to bescanned and index specifies an index on which an index scan is to be performed. -his hint may optionallyspecify one or more indexes:G(_%G7-he G(_%G7 hint explicitly disallows a set of indexes for the specified table. -he syntax of theG(_%G7 hint is G(_%G7table index)

    %G7_!8;-he %G7_!8; hint explicitly chooses an index scan for the specified table. %f the statement uses an indexrange scan& (racle scans the index entries in ascending order of their indexed values.%G7_;(*0%G%f no indexes are given as arguments for the %G7_;(*0%G hint& the optimier will use on the tablewhatever boolean combination of bitmap indexes has the best cost estimate. %f certain indexes are given asarguments& the optimier will try to use some boolean combination of those particular bitmap indexes. -hesyntax of %G7_;(*0%G is %G7_;(*0%Gtable index).

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    29/122

    %G7_9(%Gxplicitly instructs the optimier to use an index join as an access path. or the hint to have a positive effect& sufficiently small number of indexes must exist that contain all the columns reuired to resolve the uery.%G7_78;-he %G7_78; hint explicitly chooses an index scan for the specified table. %f the statement uses an inderange scan& (racle scans the index entries in descending order of their indexed values.%G7_8-his hint causes a fast full index scan to be performed rather than a full table.

    G(_%G7_87o not use fast full index scan from (racle 1Ag)%G7_88xclude range scan from uery plan from (racle 1Ag)%G7_88_!8;xclude range scan from uery plan from (racle 1Ag)%G7_88_78;xclude range scan from uery plan from (racle 1Ag)G(_%G7_88-he G(_%G7_88 hint causes the optimier to exclude a s'ip scan of the specified indexes on the specifietable. from (racle 1Ag)

    posted by Rama at 1:06 PM PA ;omments

    $isplay Mo&%le 7ise Reports

    $isplay Mo&%le 7ise Reports

    8+;- fa.application_short_name& fcpv.user_concurrent_program_name&description&7;(7 fcpv.execution_method_code&=0=& =euest 8et 8tage unction=&

    =5=& =85+N6lus=&=$=& =$ost=&=+=& =85+N+oader=&=!=& =8pawned=&=%=& =6+/85+ 8tored 6rocedure=&=6=& =(racle eports=&=8=& =%mmediate=&fcpv.execution_method_code) exe_method&output_file_type& program_type& printer_name& minimum_width&minimum_length& concurrent_program_name& concurrent_program_id

    (* fnd_concurrent_programs_vl fcpv& fnd_application fa4$ fcpv.application_id J fa.application_id(7 03 1

    8+;- fa.application_short_name&7;(7 fcpv.execution_method_code&=0=& =euest 8et 8tageunction=&=5=& =85+N6lus=&=$=& =$ost=&=+=& =85+N+oader=&=!=& =8pawned=&=%=& =6+/85+ 8tored 6rocedure=&=6=& =(rac

    http://oracle-applications-rama.blogspot.com/2007/05/how-to-use-hint.htmlhttp://oracle-applications-rama.blogspot.com/2007/05/how-to-use-hint.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=268133225354003659http://www.blogger.com/post-edit.g?blogID=35849895&postID=268133225354003659http://www.blogger.com/email-post.g?blogID=35849895&postID=268133225354003659http://oracle-applications-rama.blogspot.com/2007/05/how-to-use-hint.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=268133225354003659
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    30/122

    eports=&=8=& =%mmediate=&fcpv.execution_method_code) exe_method&;(CG- concurrent_program_id);(CG-(* fnd_concurrent_programs_vl fcpv& fnd_application fa4$ fcpv.application_id J fa.application_id,(C6 03 fa.application_short_name& fcpv.execution_method_code(7 03 1L

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    31/122

    2%rc"ase Or&er

    2%rc"ase Or&er Tables

    >!2O8RE:5ISITION8'EA$ESR8ALL

    *!2O8RE:5ISITION8LINES8ALL

    7"en yo% raise t"e ReC%isition t"ese tables effecte& ,2O8RE:5ISITION8'EA$ER8I$.is t"e -oinbetween t"e tables

    K!2O8RE:8$ISTRI95TION8ALL

    It &istrib%te t"e ReC%isition Acco%nt information!

    J!2O8'EA$ERS8ALL ,2O8'EA$ER8I$.

    !2O8LINES8ALL

    7"en 2O 1reate& 2O stores in tables,2O8'EA$ER8I$.is t"e -oin for tables

    !2O8$ISTRI95TIONS8ALL

    It will &istrib%te t"e 2O Acco%nt information

    P!2O8A1TION8'ISTOR

    'ere yo% can 4et Approvals notification Stat%s

    Q!2O80EN$ORS8ALL,0EN$OR8I$.>=!2O80EN$OR8SITES8ALL,0EN$OR8SITE8I$.

    >>!2O80EN$OR81ONTA1TS8ALL,0EN$OR81ONTA1T8I$.

    1ontacts 0en&or /0en&or site an& conatct information

    ,0en&or8i&/0en&or8contact8i&/0E$NOR8SITE8I$.

    >*!R108S'I2MENT8'EA$ERS8ALL,S'I2MENT8'EA$ER8I$.

    common information abo%t t"e so%rce of yo%r receipts or e;pecte& receipts

    >+!R108S'2MENT8LINES8ALL

    w"en yo% iss%e t"e recept T"e recepent n%mber / S"ipment location stores in t"e table!

    >K!R108TRANSA1TIONS,TRANSA1TION8I$.

    >J!MTL8MATERIAL8TRANSA1TIONS,TRANSA1TION8I$.

    Stores material transaction information ,Transaction8i&.>!2O8Release8all

    TO see t"e w"ic" p%rc"ase or&er is release&!

    >!2O8AGENTS

    contains information abo%t b%yers an& p%rc"asin4 mana4ers!

    >P!2O8NOTIFI1ATION81ONTROLS

    contains information abo%t t"e notification control r%les for blanet/ planne&/ an& contract p%rc"ase

    or&ers!

    >Q!2O8A22RO0AL8LIST8'EA$ERS

    list of approvers for t"e p%rc"asin4 &oc%ment %se& for reC%isition approvals only

    *=!2O8A22RO0AL8LIST8LINES

    approval list lines for t"e reC%isition approval list!*>!2O82OSITION81ONTROLS8ALL

    assi4nment of control 4ro%ps to -obs an&@or positions

    **!2O8$O15MENT8T2ES8ALL89

    &efa%lt/ control/ an& option information yo% provi&e to c%stomi(e

    *+!2O81ONTROL8GRO52S8ALL

    control 4ro%ps yo% %se in yo%r b%siness

    *K!2O8RF:80EN$ORS

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    32/122

    Information abo%t t"e set of s%ppliers assi4ne& to a reC%est for C%otation ,RF:.

    *J!2O80EN$OR8LIST8'EA$ERS,0EN$OR8LIST8'EA$ER8I$.

    stores information abo%t s%pplier C%otation lists yo% create!

    *!FINAN1IALS8SSTEM82ARAMS8ALL

    T"is Tables stores common an& &efa%lt information between A2 an& 2O

    OM Flow an& table level Information

    Steps in Or&er 1ycle3

    >. Or&er Entry

    *. 9ooin4

    +. 2ic release 3

    For t"is we "ave to 4o to

    S"ippin4 Responsibilty Release sales or&er

    'ere In t"is form / In t"e OR$ER tab/ we "ave to enter OR$ER N%mber

    An& &elete t"e Sc"e&%le& s"ippe& $ates To ReC%este& $ates To!

    In S'I22ING tab/ set A5TO 1REATE $ELI0ER to ES! In IN0ENTOR tab enter 7ARE'O5SE/ set A5TOALLO1ATE to ES an& A5TO 2I1 1ONFIRM to ES! IF we set A5TO 2I1 1ONFIRM to NO/ t"en 7e "ave to 4o

    for t"e followin4 steps

    >! 4o to Inventory Resp

    Move or&er Transact Move Or&er t"en it will as for

    ware"o%se information! Give t"e same name as before M*U

    In t"is form/ In t"e 'EA$ER tab/ enter t"e 9AT1'

    N5M9ER of t"e or&er t"at is pice& !T"en 1lic FIN$

    9%tton! 1lic on 0IE7@52$ATE Allocation/ t"en

    1lic TRANSA1T b%tton! T"en Transact b%tton will be

    &eactivate& t"en -%st close it an& 4o to ne;t step!

    K. S"ippin4 3For t"is we nee& to 4o to S"ippin4 Transaction Give t"e or&er N%mber/ an& clic fin&

    T"en we can see t"e or&er stat%s!

    T"en we "ave to clic $ELI0ER Tab 9%tton/ in t"e Action LO0

    7e "ave to c"oose/ S'I2 1ONFIRM!

    T"en fo%r conc%rrent pro4ram will r%n in t"e bac4ro%n&!

    S%c" As33>!. INTERFA1E TRI2 Stop

    *!. 1ommercial Invoice

    +!. 2acin4 Slip Report

    K!. 9ill of La&in4

    After t"is conc%rrent pro4ram will complete s%ccessf%lly/ we "ave to r%n

    One more 7ORFLO7 9A1GRO5N$ 2ROGRAM! If we &onHt want to s"ip all t"e items/ t"at are 2I1E$/ t"en we "ave to clic LINE@L2N tab / t"en clic $ETAIL b%tton

    Now/ in t"at form / in t"e S'I22ING fiel&/ we "ave to enter "ow M%c" C%antity of items/ we want to s"ip ! T"e rest remain

    C%antity/ t"at are Or&ere& will become bacor&er C%antity !

    J. Interfacin4 wit" AR 3

    After 7ORFLO7 9A1GRO5N$ 2ROGRAM

    1onc%rrent pro4ram will complete s%ccessf%lly/ we "ave to r%n

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    33/122

    A5TO IN0OI1E MASTER 2ROGRAM from

    RE1EI0A9LE RES2ONSI9ILT! After t"is pro4ram

    will complete s%ccessf%lly / we can t"e invoice &etails in

    RE1EI0ALE TRANSA1TIONS TRANSA1TIONS! 'ere in

    T"is Form/ we "ave to 4ive o%r or&er n%mber in reference fiel&

    An& C%ery for t"e invoice &etails !T"en we can see t"e invoice &etails!

    Table Level Information3

    DDDDDDDDDDDDDDDDDDDDDDDDDDOr&er Entry

    V At t"e "ea&er level a recor& 4ets inserte& into t"e "ea&er table

    OE8OR$ER8'EA$ERS8ALL!

    V At t"e line level/ recor&,s. 4et inserte& into t"e Line table

    OE8OR$ER8LINES8ALL!

    Or&er 9ooin4

    V T"is will %p&ate FLO78STAT5S81O$E val%e in t"e table

    OE8OR$ER8'EA$ERS8ALL to W9OOE$

    V T"e FLO78STAT5S81O$E in OE8OR$ER8LINES8ALL will c"an4e toA7AITING8S'I22ING!

    V Recor&,s. will be create& into t"e table 7S'8$ELI0ER8$ETAILS wit"

    RELEASE$8STAT5SDHRH ,Rea&y to Release.

    OE8INTERFA1E$8FLAGDHNH ,Not interface& to OM.

    IN08INTERFA1E$8FLAGDHNH ,Not interface& to Inv.

    V Recor&,s. will be create& into 7S'8$ELI0ER8ASSIGNMENTS b%t wit"

    $ELI0ER8I$ n%ll!

    2ic Release

    ))))))))))))))))))IF WA%tocreate $elivery option D Wes T'EN

    V . 1reate a recor& into t"e table 7S'8NE78$ELI0ERIES

    V . 5p&ate 7S'8$ELI0ER8ASSIGNMENTS wit" $ELI0ER8I$/ t"%sV . 5p&ate 7S'8$ELI0ER8$ETAILSwit" RELEASE$8STAT5SDH

    A%to Invoicin4

    ))))))))))))))))))))))9efore r%nnin4 WA%toinvoice 2ro4ram/ recor&,s. will e;ist into t"e table

    RA8INTERFA1E8LINES8ALLwit"

    INTERFA1E8LINE81ONTEXT D HOR$ER ENTRH

    INTERFA1E8LINE8ATTRI95TE> D Or&er8n%mber

    INTERFA1E8LINE8ATTRI95TE+ D $elivery8i&

    SALES8OR$ER D Or&er8n%mber

    After r%nnin4 t"e WA%to invoice 2ro4ram for t"e or&er3Recor&s will be &elete& from t"e table RA8INTERFA1E8LINES8ALL an& new &etails will be create& into t"e followin4 R

    transaction tables!

    RA815STOMER8TRX8ALLwit"

    INTERFA1E8'EA$ER8ATTRI95TE>DOr&er8n%mber

    RA815STOMER8TRX8LINES8ALL wit"INTERFA1E8LINE8ATTRI95TE> D Or&er8n%mber

    SALES8OR$ER D Or&er8n%mber

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    34/122

    posted by Rama at 1:21 PM P1 ;omments

    now 1%rrent A22S 1%rrent 0ersions!

    >.select pro&%ct8version/patc"8level from fn&8pro&%ct8installations

    Get c%rrent version ana 2atc" level information!

    *.select B FROM 0?0ERSION

    $atabase 0ersion infomation!

    +.select B from v?instanceInstance &etails

    K.select 7F8E0ENT8XML!XML0ersion,. XML80ERSION from sys!&%al

    1%rrent XML 2arser 0ersion info!

    J.select TEXT from 7F8RESO5R1ES w"ere T2E D 7FTN an& NAME D 7F80ERSION

    7orflow version N%mber!

    .select "ome8%rl from ic;8parameters

    Oracle applications front en& 5RL

    .SELE1T 0AL5E FROM 0?2ARAMETER 7'ERE NAMEDH5SER8$5M28$ESTH

    Get t"e Trace file location!

    P. XML 2%blis"er 0esion info!

    ?OA8#A0A@oracle@apps@;&o@common@MetaInfo!class!

    Forwar& $eclaration

    2L@S:L allows for a special s%bpro4ram &eclaration calle& a forwar& &eclaration! It consists of t"e

    s%bpro4ram

    specification in t"e paca4e bo&y terminate& by a semicolon! o% can %se forwar& &eclarations to &o

    t"e

    followin43

    V $efine s%bpro4rams in lo4ical or alp"abetical or&er!

    V $efine m%t%ally rec%rsive s%bpro4rams!,bot" callin4 eac" ot"er.!

    V Gro%p s%bpro4rams in a paca4eE;ample of forwar& $eclaration3

    1REATE OR RE2LA1E 2A1AGE 9O$ forwar&8pac

    IS

    2RO1E$5RE calc8ratin4,! ! !. )) forwar& &eclaration

    2RO1E$5RE awar&8bon%s,! ! !.

    IS )) s%bpro4rams &efine&

    9EGIN )) in alp"abetical or&er

    calc8ratin4,! ! !.

    ! ! !

    EN$

    2RO1E$5RE calc8ratin4,! ! !.IS

    9EGIN

    ! ! !

    EN$

    EN$ forwar&8pac

    posted by Rama at 3:23 PM PA ;omments

    http://oracle-applications-rama.blogspot.com/2007/07/om-flow-and-table-level-information.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/om-flow-and-table-level-information.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=5689419495399118112http://oracle-applications-rama.blogspot.com/2007/07/forward-declaration-plsql-allows-for.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/forward-declaration-plsql-allows-for.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=3408511860665180809http://www.blogger.com/post-edit.g?blogID=35849895&postID=3408511860665180809http://www.blogger.com/email-post.g?blogID=35849895&postID=3408511860665180809http://www.blogger.com/post-edit.g?blogID=35849895&postID=5689419495399118112http://www.blogger.com/email-post.g?blogID=35849895&postID=5689419495399118112http://oracle-applications-rama.blogspot.com/2007/07/om-flow-and-table-level-information.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=5689419495399118112http://oracle-applications-rama.blogspot.com/2007/07/forward-declaration-plsql-allows-for.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=3408511860665180809
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    35/122

    9IN$ 0s LEXI1AL

    9IN$ 0ARIA9LE 3

    DDare %se& to replace a sin4le val%e in sCl/ pl@sCl)) bin& variable may be %se& to replace e;pressions in select/ w"ere/ 4ro%p/ or&er

    by/ "avin4/ connect by/ start wit" ca%se of C%eries!

    )) bin& reference may not be reference& in FROM cla%se ,or. in place of

    reserve& wor&s or cla%ses!

    LEXI1AL REFEREN1E3)) yo% can %se le;ical reference to replace t"e cla%ses appearin4 AFTER select/

    from/ 4ro%p by/ "avin4/ connect by/ start wit"!

    )) yo% canHt mae le;ical reference in a pl@sCl statmetns!

    Fle; mo&e an& 1onfine mo&e

    1onfine mo&e

    On3 c"il& ob-ects cannot be move& o%tsi&e t"eir enclosin4 parent ob-ects!

    Off3 c"il& ob-ects can be move& o%tsi&e t"eir enclosin4 parent ob-ects!

    Fle; mo&e3On3 parent bor&ers Ystretc"Y w"en c"il& ob-ects are move& a4ainst t"em!

    Off3 parent bor&ers remain fi;e& w"en c"il& ob-ects are move& a4ainst

    t"em!

    $iff 9etween Implicit an& E;plicit 1%rsors

    >.Implicit3&eclare& for all $ML an& pl@sCl statements!

    9y &efa%lt it selects one row only!

    *.E;plicit3$eclare& an& name& by t"e pro4rammer!5se e;plicit c%rsor to in&ivi&%ally process eac"

    row ret%rne& by a M%ltiple statements/ is calle& A1TI0E SET! Allows t"e pro4rammer to man%allycontrol e;plicit c%rsor in t"e

    2l@sCl bloc

    E;ec%tion SeC%ences of sCl cla%ses!

    a.SelectZ!!

    b.Gro%p byZ

    c.'avin4Z

    &.Or&erby!!

    posted by Rama at 3:09 PM PA ;omments

    performance problem in a Report

    T%ne t"e Report Main :%ery

    1reate in&e;es on col%mns %se& in w"ere con&ition ,eliminate f%ll table scan.

    set trace on in before report an& set trace off in after report

    9efore Report3

    http://oracle-applications-rama.blogspot.com/2007/07/bind-vs-lexical-bind-variable-are-used.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/bind-vs-lexical-bind-variable-are-used.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=8789562163796610367http://www.blogger.com/post-edit.g?blogID=35849895&postID=8789562163796610367http://www.blogger.com/email-post.g?blogID=35849895&postID=8789562163796610367http://oracle-applications-rama.blogspot.com/2007/07/bind-vs-lexical-bind-variable-are-used.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=8789562163796610367
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    36/122

    srw!&o8sCl,alter session set sCl8traceDtr%e.

    After Report3

    srw!&o8sCl,alter session set sCl8traceDfalse.

    Trace file will be 4enerate& at location3

    select val%e from v?parameter

    w"ere name D %ser8&%mp8&est

    Get t"e trace file location pat"

    see e;ec%tion plans in a trace file/ yo% nee& to format t"e

    4enerate& trace file wit" tprof statement!

    Store 1o&e statics in local &rive!

    posted by Rama at 2:58 PM PA ;omments

    Tuesday, July 10, 2007

    A22S ey 1onceptsa. None of GL mo&%le table contain YORG8I$Y1ol%mn!

    b. FN$ )Oracle application fo%n&ations

    c.I1X3 $iscoverer La%nc"er

    Get t"e &iscover La%nc"er 5RL

    posted by Rama at 10:29 AM PA ;omments

    Wednesday, July 04, 2007

    Acco%nt Receivables

    Acco%nt Receivables

    >.2ayment Tables in AR

    T"e followin4 tables stores cas" an& misc information

    a.AR81AS'8RE1EI2TS8ALL,1AS'8RE1EI2T8I$.

    Stores > recor& for eac" receipt Entry

    b.AR81AS'8RE1EI2TS8'ISTOR8ALL,1AS'8RE1EI2T8'ISTOR8I$.

    Stores all activities t"at is life cycle of receipt

    c.AR8RE1EI0A9LES8A22LI1ATIONS8ALL,RE1EI0A9LES8A22LI1ATION8I$.

    Stores Acco%ntin4 information

    $.AR82AMENT8S1'E$5LES8ALLF.AR8$ISTRI95TIONS8ALL,SO5R1E8I$.

    Stroes Acco%nt $istrib%tion information

    Set%p Tables

    a.AR8RE1EI2TS81LASSES,RE1EI2T81LASS8I$.

    1ontains Receipt class information!

    b.AR8RE1EI2TS8MET'O$S,RE1EI2T8MET'O$8I$.

    http://oracle-applications-rama.blogspot.com/2007/07/performance-problem-in-report-tune.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/performance-problem-in-report-tune.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=8746614165786936346http://oracle-applications-rama.blogspot.com/2007/07/apps-key-concepts-none-of-gl-module.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/apps-key-concepts-none-of-gl-module.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=1498095087348328059http://www.blogger.com/email-post.g?blogID=35849895&postID=1498095087348328059http://www.blogger.com/post-edit.g?blogID=35849895&postID=1498095087348328059http://www.blogger.com/email-post.g?blogID=35849895&postID=1498095087348328059http://www.blogger.com/post-edit.g?blogID=35849895&postID=8746614165786936346http://www.blogger.com/email-post.g?blogID=35849895&postID=8746614165786936346http://oracle-applications-rama.blogspot.com/2007/07/performance-problem-in-report-tune.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=8746614165786936346http://oracle-applications-rama.blogspot.com/2007/07/apps-key-concepts-none-of-gl-module.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=1498095087348328059
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    37/122

    Stores Receipt information /A%tomatic an& man%ally create& receipts

    c.AR8RE1EI2TS8MET'O$8A11O5NTS

    posted by Rama at 11:08 AM PA ;omments

    Tuesday, July 03, 2007

    'RMS $ate Trac

    $ate Tracin4

    $ate Tracin4 is a special feat%re in 'RMS!important &ynamic information in IS 'RMS is &ate)

    trace&/ incl%&in4 information abo%t people/ assi4nments/ payrolls/ compensation/ an& benefits!

    7"en yo% lo4 on to IS 'RMS/ yo%r effective &ate is always to&ayHs &ate!

    To view information from anot"er &ate or to mae f%t%re)&ate& c"an4es yo% m%st c"an4e yo%r effectiv

    &ate!

    T"e two $ateTrac comman& icons on yo%r win&ow toolbar are3

    V Alter Effective $ate

    V 0iew $ateTrac 'istory

    7"en yo% %p&ate &ate)trace& information/ yo% are prompte& to c"oose between 5p&ate an&

    1orrection options! If yo% select 5p&ate/ IS 'RMS c"an4es t"e recor& as of yo%r effective &ate b%t

    preserves t"e previo%s information!

    If yo% select 1orrection/ IS 'RMS overri&es t"e previo%s information wit" yo%r new c"an4es!o%cannot create a recor& an& t"en %p&ate it on t"e same &ay! If yo% try to &o t"is/ IS 'RMS warns yo%

    t"at t"e ol& recor& will be overri&&en/ an& t"en c"an4es 5p&ate to 1orrection! T"is occ%rs beca%se

    $ateTrac maintains recor&s for a minim%m of a &ay at a time!

    0iew $ateTrac 'istory

    To see all t"e c"an4es ma&e to a &atetrace& recor& over time/ %se $ateTrac 'istory! 1lic on F%ll

    'istoryU if yo% want to open a $ateTrac 'istory fol&er s"owin4 t"e val%e of eac" fiel& between t"e

    from an& to &ates!

    posted by Rama at 11:47 AM PA ;omments

    Monday, July 02, 2007

    Acco%nt 2aybles Tables

    Acco%nt 2aybles Tables

    >.Invoice $etails!

    a.Ap8invoices8all,IN0OI1E8I$.

    o% can see t"e approve& Invoices!

    b.Ap8invoice8$istrib%tions8all,IN0OI1E8I$.

    http://oracle-applications-rama.blogspot.com/2007/07/account-receivables.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/account-receivables.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=5790632180995183511http://www.blogger.com/email-post.g?blogID=35849895&postID=5790632180995183511http://oracle-applications-rama.blogspot.com/2007/07/hrms-date-track.htmlhttp://oracle-applications-rama.blogspot.com/2007/07/hrms-date-track.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=331866136220775869http://www.blogger.com/email-post.g?blogID=35849895&postID=331866136220775869http://www.blogger.com/post-edit.g?blogID=35849895&postID=331866136220775869http://www.blogger.com/email-post.g?blogID=35849895&postID=331866136220775869http://www.blogger.com/post-edit.g?blogID=35849895&postID=5790632180995183511http://www.blogger.com/email-post.g?blogID=35849895&postID=5790632180995183511http://oracle-applications-rama.blogspot.com/2007/07/account-receivables.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=5790632180995183511http://oracle-applications-rama.blogspot.com/2007/07/hrms-date-track.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=331866136220775869
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    38/122

    To 4et $istrib%te& Invoices information!

    *.Invoice Transactions

    a.ap8ae8"ea&ers8all,AE8'EA$ER8I$.

    b.ap8ae8lines8all

    Stores $istrib%te& Acco%ntin4 information!

    +.2ayment Sc"e&%le Information

    a.ap8payment8sc"e&%les8all,IN0OI1E8I$.

    Stores Amo%nt remain4 information an& sc"e&%le payments for an invoice!

    b.ap8invoice8payments8all,IN0OI1E8I$/1'E18I$.After complein4 invoice payment information stores "ere!

    K. 1"ec Information!

    a.ap8c"ecs8all,1'E18I$.

    if yo% &one t"e payment via c"ec t"is information stores "ere!

    b.A281'E18FORMATS,1"ec8format8i&.

    7"en yo% create t"e invoice ie assciate& wit" acco%tin4 infomation t"at information stores in t"is tabl

    c.A28M18IN0OI1ES,invoice8i&/set8of8boo8i&.

    1ontains M%ltiple invoice 1%rrency information as well as E;c"an4e Information!&.A28'OL$S8ALL

    'ol&s invoice information yo% places

    f.A281'RG8ALLO1ATIONS8ALL5se& for A2 lins wit" t"e appropriate invoice &istrib%tins!

    J.Approval information

    a.A28IN08A2R0L8'IST8ALL,Approval "istory i&/invoice8i&.

    Invoice approval information

    b.A28'ISTOR8IN0OI1ES8ALL,Invoice8i&/0EN$OR8i$.

    All invoice "istory information stores "ere

    c.A28IN0OI1E8TRANSMISSIONS,#E89AT1'8I$.

    7"en yo% post t"e invoice to GL T"is table will effecte&!

    .Terms

    a.A28TERMS8TL,TERMS8I$.

    1ontains Term information!b.A28INTERFA1E8RE#E1TIONS

    w"ic" co%l& not be processe& by 2ayables Open Interface Import

    c)!6_0!GH_!;;(CG-8_!++information about ban' accounts

    7"at is t"e interface6

    Interface Table is a table w"ic" is %se& as me&i%m for transfer of &ata between two systems!

    7"at is IN9O5N$ an& O5T 9O5N$6 ,$ifferent types of interfaces.

    Inbo%n& Interface3

    For inbo%n& interfaces/ w"ere t"ese pro&%cts are t"e &estination/ interface tables as well as s%pportin4vali&ation/ processin4/ an& maintenance pro4rams are provi&e&!

    O%tbo%n& Interface3

    For o%tbo%n& interfaces/ w"ere t"ese pro&%cts are t"e so%rce/ &atabase views are provi&e& an& t"e

    &estination application s"o%l& provi&e t"e vali&ation/ processin4/ an& maintenance pro4rams

    7"at is m%lti or46

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    39/122

    WLe4al entity "as more t"an one operatin4 %nit is calle& as m%lti or4

    a. 9%siness 4ro%p ))) '%man reso%rces information is sec%re& by

    9%siness 4ro%p

    b. Le4al entity! ))) inter)company an& fiscal@ta; reportin4!

    Sec%rity responsibility operatin4 %nit!

    c. Operatin4 %nit ))) sec%res AR/ OE/ A2/ 2A an& 2O Information!

    &. Or4ani(ations ))) is a speciali(e %nit of wor at partic%lar locations

    7"at are t"e 5ser 2ARAMETERS in t"e Reports6281ON18RE:5EST8I$

    28FLEX80AL5E

    FN$ 5SER EXITS3)

    FN$ SR7INITsets yo%r profile option val%es/ m%ltiple or4ani(ations an& allows Oracle Application

    Ob-ect

    Library %ser e;its to &etect t"at t"ey "ave been calle& by an Oracle Reports pro4ram!

    FN$ SR7EXITens%res t"at all t"e memory allocate& for AOL %ser e;its "ave been free& %p properly

    FN$ FLEXI$0ALare %se& to &isplay fle; fiel& information lie prompt/ val%e etc

    FN$ FLEXS:Lt"ese %ser e;its allow yo% to %se fle; fiel&s in yo%r reports

    FN$ FORMAT815RREN1is %se& to print c%rrency in vario%s formats by %sin4 form%la col%mn

    7"at are t"e reC%ests 4ro%ps6

    a. Sin4le reC%est3 ) t"is allows yo% to s%bmit an in&ivi&%al reC%est!

    b. ReC%est set 3 ) t"is allows yo% to s%bmit a pre)&efine& set of reC%ests!

    $ifference between 9in& an& Le;ical parameters6

    9IN$ 0ARIA9LE 3

    are %se& to replace a sin4le val%e in sCl/ pl@sCl bin& variable may be %se& to replace e;pressions in selec

    w"ere/ 4ro%p/ or&er by/ "avin4/ connect by/ start wit" ca%se of C%eries!

    bin& reference may not be reference& in FROM cla%se ,or. in place of reserve& wor&s or cla%ses!

    LEXI1AL REFEREN1E3yo% can %se le;ical reference to replace t"e cla%ses appearin4 AFTER select/

    from/ 4ro%p by/ "avin4/ connect by/ start wit"! yo% canHt mae le;ical reference in a pl@sCl statmetns!

    %p&ate cla%se3

    >. %se e;plicit locin4 to &eny access for t"e &%ration of a transaction

    *. loc t"e rows before %p&ate or &elete

    E; 3 select ZZ!

    FromZZ!

    For %p&ate of col%mn refU no8waitU

    w"ere c%rrent of cla%se6

    >. %se c%rsor to %p&ate or &elete t"e c%rrent row7"ere c%rrent of [

    7"at is t"e paca4e6

    Gro%p lo4ically relate& pl@sCl types/ items an& s%bpro4rams!

    >! paca4e specification

    *! paca4e bo&y

    A&vanta4es of a paca4e3

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    40/122

    A! Mo&%larity

    9! Easier Application $esi4n

    1!Information 'i&in4

    Overloa&in4

    o% cannot overloa&3

    VTwo s%bpro4rams if t"eir formal parameters &iffer only in name or parameter mo&e! ,&atatype an&

    t"eir

    total n%mber is same.!

    VTwo s%bpro4rams if t"eir formal parameters &iffer only in &atatype an& t"e &ifferent &atatypes are int"e

    same family ,n%mber an& &ecimal belon4 to t"e same family.

    VTwo s%bpro4rams if t"eir formal parameters &iffer only in s%btype an& t"e &ifferent s%btypes are

    base&

    on types in t"e same family ,0AR1'AR an& STRING are s%btypes of 0AR1'AR*.

    VTwo f%nctions t"at &iffer only in ret%rn type/ even if t"e types are in &ifferent families!

    7"at are tri44ers6

    tri44ers are similar to proce&%res/ in t"at t"ey are t"e name& pl@sCl blocs wit" &eclarative/e;ec%table

    an& e;ception)"an&lin4 sections/ "ow ever a proce&%re is e;ec%te& e;plicitly from anot"er bloc via a

    proce&%re call/ w"ic" can also pass ar4%ments!A tri44er is e;ec%te& implicitly w"en ever a partic%lar event tas places! An& is not"in4 b%t a event!

    T"e tri44erin4 event is a $ML ,insert/ %p&ate/ &elete. operations on a &ata base table

    fires w"enever a &ata event,s%c" as $ML. or system event,s%c" as lo4in or s"%t&own. occ%rs on a

    sc"ema or &atabase

    Tri44er timin4 3

    >. before

    *. after

    +. instea& of , t"is is %se& for views.

    events 3

    >. insert

    *.%p&ate+. &elete

    Tri44er type 3

    >. statement level

    *. row level!

    Firin4 seC%ence of &atabase tri44ers

    >! before statement tri44er

    *! before row tri44er

    +! after row tri44er

    K! after statement tri44er

    LO1S6Is to re&%ce conc%rrency

    >. s"are loc

    it allows t"e ot"er %sers for only rea&in4 not to insert

    *. e;cl%sive loc

    only one %ser can "ave t"e privile4es of insert or

    ot"ers can only rea&!

    +. %p&ate loc

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    41/122

    m%ltiple %ser can rea&/ %p&ate &elete

    Loc levels 3

    >. table level *. table space +. &ata base level!

    7"at are a&)"oc reports6

    Ans!3 A&)"oc Report is ma&e to meet one)time reportin4 nee&s! 1oncerne& wit" or forme& for a

    partic%lar p%rpose! For e;ample/ a& "oc ta; co&es or an a& "oc &atabase C%ery

    posted by Rama at 10:07 AM P> ;omments

    Tuesday, August 28, 2007

    AOL feat%res in OM

    Or&er Mana4ement %ses t"e followin4 AOL feat%res

    $oc%ment SeC%ences) Or&er Entry %se& Or&er N%mber So%rces for or&er

    n%mberin4! It let yo% &efine seC%ences t"at were %se& to a%tomatically

    n%mber Or&ers an& Ret%rns! o% assi4ne& an Or&er N%mber so%rce to an

    Or&er Type!

    Or&er Mana4ement %ses t"e AOL $oc%ment SeC%ences feat%re to meet

    Or&er N%mberin4 reC%irements! T"is lets yo% n%mber Or&er an& Ret%rns

    %sin4 Man%al/ A%tomatic or Gapless seC%ences!o% can &efine $oc%ment SeC%ences %sin4 t"e AOL

    $efine $oc%ment SeC%ences form! 7"en yo% &efine an Or&er Transaction Type/ t"e application

    a%tomatically creates a $oc%ment SeC%ence 1ate4ory of t"e same name! o% can assi4n a pre)&efine&

    seC%ence to one or more $oc%ment SeC%ence 1ate4ories/ %sin4 t"e AOL SeC%ence Assi4nments

    form! 7"en an Or&er is create&/ Or&er Mana4ement calls AOL $oc%ment

    SeC%ence A2Is to n%mber t"e Or&er!

    Attac"ments )In Or&er Entry yo% co%l& &efine Notes an& a&&ition r%les re4ar&in4 w"en t"ey were

    attac"e& to an Or&er or Line! o% "a& to man%ally c"oose to a&& t"e eli4ible Notes to t"e Or&er orLine! o% co%l& also &efine "ow t"e Notes were printe& on vario%s Reports! $atabase tri44ers were

    %se& to &%plicate Note &efinition &ata in AOL!

    Or&er Mana4ement &rives off t"e AOL Attac"ment f%nctionality enablin4 yo% to attac" ima4es an&

    web pa4es ,in a&&ition to s"ort or lon4 te;t.! It also offers m%lti)lin4%al $oc%ment capability!

    Attac"ment &efinition an& %sa4e &ata is store& only in AOL! A%tomatic A&&ition r%le &efinitions are

    store& in Or&er Mana4ement

    ,OE8ATTA1'MENT8R5LES/OE8ATTA1'MENT8R5LE8ELEMENTS.!

    In a&&ition to t"e attrib%tes

    ,1%stomer/ S"ip)to/ Invoice)to/ Or&er Type/ Item/ 2O . t"at were previo%sly available/ yo% can now

    &efine r%les base& on t"e Or&er 1ate4ory/Line 1ate4ory an& Line Type!Oracle Or&er Mana4ement ) Sales Or&er

    T"e 2rofile Option \OM3 Apply A%tomatic Attac"mentsH &etermines

    w"et"er r%le base& attac"ments are a%tomatically applie&

    posted by Rama at 11:55 AM PA ;omments

    http://oracle-applications-rama.blogspot.com/2007/08/faq-what-is-interface-interface-table.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/faq-what-is-interface-interface-table.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=7845201642213911167http://www.blogger.com/email-post.g?blogID=35849895&postID=7845201642213911167http://oracle-applications-rama.blogspot.com/2007/08/aol-features-in-om-order-management.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/aol-features-in-om-order-management.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=4572788138301171770http://www.blogger.com/email-post.g?blogID=35849895&postID=4572788138301171770http://www.blogger.com/post-edit.g?blogID=35849895&postID=4572788138301171770http://www.blogger.com/email-post.g?blogID=35849895&postID=4572788138301171770http://www.blogger.com/post-edit.g?blogID=35849895&postID=7845201642213911167http://www.blogger.com/email-post.g?blogID=35849895&postID=7845201642213911167http://oracle-applications-rama.blogspot.com/2007/08/faq-what-is-interface-interface-table.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=7845201642213911167http://oracle-applications-rama.blogspot.com/2007/08/aol-features-in-om-order-management.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=4572788138301171770
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    42/122

    'ow to $ownloa& Etrm 2$F format files

    5se t"e followin4 3

    "ttp3@@appsre!%s!oracle!com@>>i&oc@>>!J!>@"tml@trmset!"tml

    posted by Rama at 10:54 AM PA ;omments

    Tuesday, August 21, 2007

    Information Templates In 2OOracle Internet 2roc%rement >>i %ses information templates to pass necessary or&er processin4

    information to s%ppliers! o% may set %p information templatesto 4at"er a&&itional information7"en

    an information template is assi4ne& to a cate4ory or item/ Internet 2roc%rement >>i prompts %sers to

    provi&e t"e information specifie& in t"e template

    To define an information template:

    >!Navi4ate to t"e $efine Information Template win&ow! From t"e Oracle

    2%rc"asin4 men%/ select Set%pInformation Templates!

    *!Enter an attrib%te name an& &escription! T"e attrib%te name is t"e act%alfiel& prompt t"at is &isplaye& in Internet 2roc%rement >>i!

    +!Optionally/ enter a &efa%lt val%e to a%tomatically appear in t"e fiel&!

    K!In&icate w"et"er t"e fiel& is man&atory for Internet 2roc%rement >>i %sers!

    If t"e fiel& is man&atory/ %sers will be prompte& to enter a val%e in t"e fiel&

    before procee&in4 to complete t"e reC%isition!

    J! In&icate w"et"er to activate t"e attrib%te to act%ally &isplay on Self

    Service 2%rc"asin4 pa4es! In certain circ%mstances/ yo% may want to &efine an

    attrib%te/ b%t &elay enablin4 it for &isplay to Internet 2roc%rement >>i %sers!

    !1"oose Associate Template to associate t"e template wit" an item or an item

    cate4ory! T"e Information Template Association win&ow appears!

    !Select t"e type of association ,item n%mber or item cate4ory. yo% want to

    associate wit" t"e template!

    P!If yo% selecte& Item N%mber in t"e previo%s step/ enter t"e n%mber! If yo%

    selecte& Item 1ate4ory/ enter t"e cate4ory!

    posted by Rama at 7:41 PM PA ;omments

    General Le&4er FA:

    7"at is #o%rnal Import6

    A.#o%rnal import is an interface %se& to brin4 -o%rnal entries from le4acy systems an& ot"er mo&%les

    into t"e General Le&4er!,Specifically #o%rnal Import 4ets entries from le4acy &ata into t"e GL base

    tables!

    http://appsre.us.oracle.com/11idoc/11.5.1/html/trmset.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/how-to-download-etrm-pdf-format-files.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/how-to-download-etrm-pdf-format-files.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=4773071204698598035http://www.blogger.com/email-post.g?blogID=35849895&postID=4773071204698598035http://oracle-applications-rama.blogspot.com/2007/08/information-templates-in-po-oracle.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/information-templates-in-po-oracle.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=3466912089297460165http://www.blogger.com/post-edit.g?blogID=35849895&postID=3466912089297460165http://www.blogger.com/email-post.g?blogID=35849895&postID=3466912089297460165http://www.blogger.com/post-edit.g?blogID=35849895&postID=4773071204698598035http://www.blogger.com/email-post.g?blogID=35849895&postID=4773071204698598035http://appsre.us.oracle.com/11idoc/11.5.1/html/trmset.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/how-to-download-etrm-pdf-format-files.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=4773071204698598035http://oracle-applications-rama.blogspot.com/2007/08/information-templates-in-po-oracle.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=3466912089297460165
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    43/122

    T"e tables pop%late& &%rin4 -o%rnal Import are

    GL8#E89AT1'ES/

    GL8#E8'EA$ERS/

    GL8#E8LINES/

    GL8IM2ORT8REFEREN1ES

    7"at is t"e %se of GL8Interface6

    A.Gl8Interface is t"e primary interface table of General le&4er! It acts as an interface between &ataori4inatin4 from ot"er mo&%les s%c" as A2/AR/ Le4acy &ata an& t"e Gl 9ase tables!

    7"at is Act%al Fla46

    A.Act%al fla4 represents t"e #o%rnal type!

    A)Act%al

    9)9%&4et

    E) Enc%mbrance!7"at is Enc%mbrance6

    A.It is a process of Reservation of f%n&s for anticipate& e;pen&it%re from a b%&4et! Enc%mbrance

    inte4rates GL/ 2%rc"asin4 an& 2ayables mo&%les!

    'ow many ey Fle; Fiel&s are t"ere in General Le&4er6

    A.One! Acco%ntin4 ey Fle; Fiel&!

    'ow many types of 9%&4ets are t"ere6

    A.Two Types!

    E;pen&it%re 9%&4ets

    Reven%e 9%&4ets!

    7"at are Spot Rate/ 1orporate Rate/ Transaction 1alen&ar an& Acco%ntin4 1alen&ar6

    Spot Rate3

    An e;c"an4e rate w"ic" yo% enter to perform conversion base& on t"e rate on a specific &ate! It applie

    to t"e imme&iate &elivery of c%rrency!

    1orporate Rate3

    An E;c"an4e rate t"at we &efine to stan&ar&i(e rates for o%r company! T"is rate is t"e stan&ar& mar

    rate &etermine& by t"e senior financial mana4ement for %se t"ro%4" o%t t"e or4ani(ation!

    5ser Rate3

    1onversion rate t"at is &efine& by t"e %ser!

    EM5 Fi;e& Rate3An e;c"an4e rate t"at is provi&e& a%tomatically by t"e General Le&4er w"ileenterin4 -o%rnals! It %ses a forei4n c%rrency t"at "as a fi;e& relations"ip wit" t"e e%ro!

    Transaction 1alen&ar3$efines t"e b%siness &ays an& "oli&ays for any calen&ar!

    Acco%ntin4 1alen&ar3 $efines &ifferent types of calen&ars namely Fiscal/ Fe&eral Fiscal/ Mont" etc!

    7"at is Sec%rity R%le6

    Sec%rity R%les are &efine& to control t"e access of a fle;fiel& se4ment val%e ,Financial information. at

  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    44/122

    responsibility level!

    7"at are 1ross 0ali&ation A$I6

    10S ] 1ross vali&ate se4ments ] Allows only vali& co&e combinations!

    A$I ] Allow &ynamic inserts! ] Allows any co&e combination irrespective of vali&ity!

    A$I wo%l& prevail if bot" of 10S an& A$I are c"ece&!

    7"at is Translation6

    A.Translation is a process %se& to convert f%nctional c%rrency to ot"er reportin4 c%rrencies at t"e

    acco%nt balances level!

    7"at is Reval%ation6

    A.It is process %se& to reval%e assets an& liabilities &enominate& in forei4n c%rrency into f%nctional

    c%rrency base& on perio& en& e;c"an4e rate we specify! 5nreali(e& 4ains@losses are res%lte& beca%se o

    e;c"an4e rate fl%ct%ations w"ic" are recor&e& in %nreali(e& 4ain@loss acco%nt in GL!

    7"at is FSG ,Financial Statement Generator.6

    A.Financial statement 4enerator feat%re "elps %s to 4enerate reports s%c" as balance s"eets an& incom

    statements wit" o%t pro4rammin4! It also provi&es a "i4" &e4ree of control on t"e rows/ col%mns/

    contents an& calc%lations on t"e report! $ifferent components s%c" as row set/ col%mn set/ content set/

    row or&er/ &isplay set "ave to be &efine& before a statement is 4enerate&/ of w"ic" row set an& col%mn

    set are man&atory!

    7"at is 1onsoli&ation6

    A.1onsoli&ation is a perio&)en& process of combinin4 t"e financial res%lts of separate b%siness

    s%bsi&iaries wit" t"e parent company to form a sin4le combine& statement of financial res%lts!

    At w"at level General Le&4er &ata is sec%re&6

    A.GL &ata is sec%re& at Set of 9oo level! S%ble&4er mo&%le &ata is sec%re& at Responsibility level ,i!e

    at Operatin4 5nit Level.!

    posted by Rama at 7:19 PM P2 ;omments

    Acco%nt Receivables FA:>. 7"at is A%tolocbo;6

    A.A%to locbo; is a service t"at commercial bans offer corporate c%stomers to enable t"em to o%t

    so%rce t"eir acco%nt receivable payment processin4! A%to locbo; can also be %se& to transferreceivables from previo%s acco%ntin4 systems into c%rrent receivables! It eliminates man%al &ata entry

    by a%tomatically processin4 receipts t"at are sent &irectly to bans! It involves t"ree steps

    Import ,Formats &ata from ban file an& pop%lates t"e Interface Table./

    0ali&ation,0ali&ates t"e &ata an& t"en 2op%lates &ata into Interim Tables./

    2ost :%ic 1as",Applies Receipts an& %p&ates 9alances in 9aseTables.!

    *.7"at is Transmission Format6

    A.Transmission Format specifies "ow &ata in t"e locbo; ban file s"o%l& be or4ani(e& s%c" t"at it ca

    http://oracle-applications-rama.blogspot.com/2007/08/general-ledger-faq-what-is-journal.htmlhttp://oracle-applications-rama.blogspot.com/2007/08/general-ledger-faq-what-is-journal.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=1363127577585604067http://www.blogger.com/post-edit.g?blogID=35849895&postID=1363127577585604067http://www.blogger.com/email-post.g?blogID=35849895&postID=1363127577585604067http://oracle-applications-rama.blogspot.com/2007/08/general-ledger-faq-what-is-journal.htmlhttps://www.blogger.com/comment.g?blogID=35849895&postID=1363127577585604067
  • 8/12/2019 Oracle Apps XML Gateway Dev. Guide

    45/122

    be s%ccessf%lly importe& into receivables interface tables! E;ample/ $efa%lt/ 1onvert/ 1ross 1%rrency

    ^en4en are some of t"e stan&ar& formats provi&e& by oracle!

    +.7"at is A%to Invoice6

    A.A%toinvoice is a tool %se& to import an& vali&ate transaction &ata from ot"er financial systems an&

    create invoices/ &ebit)memos/ cre&it memos/ an& on acco%nt cre&its in Oracle receivables! 5sin4 1%sto

    Fee&er pro4rams transaction &ata is importe& into t"e a%toinvoice interface tables!

    A%toinvoice interface pro4ram t"en selects &ata from interface tables an& creates transactions in

    receivables ,2op%lates receivable base tables. ! Transactions wit" invali& information are re-ecte& by

    receivables an& are