Download How to Integrate OAF Region in Oracle Workflow Notifications...
How to Integrate OAF Region in Oracle Workflow Notifications with example
How to Integrate OAF Region in Oracle Workflow Notifications With example 11/09/2009
Oracle Apps Smital M Adgaonkar (252074)
[email protected]
-1TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Introduction This document gives a step by step description of the following: •
How to integrate an OAF region in the oracle workflow notification.
•
How to create a Function using Oracle Apps.
Step 1: Create an attribute of Type: Document in Oracle workflow Builder. Specify the Value of this document type attribute as: JSP:/OA_HTML/OA.jsp?OAFunc=CRD_NOTE_ID_OAF_REGION-&initiationReqId=&CREDIT_NOTE_REQUEST_NUM-&invType=-&INV_TYPE_EC&refCrdNoteNumber=-&CREDIT_NOTE_REFERENCE_NUM
-2TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Figure 1
-3TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
In the value: JSP:/OA_HTML/OA.jsp?OAFunc=CRD_NOTE_ID_OAF_REGION-&initiationReqId=&CREDIT_NOTE_REQUEST_NUM-&invType=-&INV_TYPE_EC&refCrdNoteNumber=-&CREDIT_NOTE_REFERENCE_NUM 1. CRD_NOTE_ID_OAF_REGION - Function •
This function is defined in Oracle Applications and points to the OAF page which we want to embed in the Notification region.
•
OAF page should be standalone Region (Stack Layout) with a Custom Application Module and Controller attached to it.
2. initiationReqId / invType / refCrdNoteNumber – variable Names •
By using this name we can get the attribute passed through the workflow in the OAF page.
3. CREDIT_NOTE_REFERENCE_NUM / INV_TYPE_EC / CREDIT_NOTE_REFERENCE_NUM - internal name of the attributes in the workflow.
-4TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Step 2: To create a Function using Oracle Apps: Login in Sysadmin -Æ Application -Æ Function
Figure 2.2
-5TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Specify the Function name and the description.
Figure 2.2
-6TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
In the Web HTML – mention destination URL of OAF region.
Figure 2.3
-7TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Step 3: To create a Message: Create a Message and drag the attribute (document type) in the message as shown below: By specifying &ITEM_ATTR_INTERNAL_NAME in the message body we can embed any message attribute (here OAF region).
Figure 3
-8TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Step 4: To create a Standalone Region using OAF: In the Controller of the OAF Region: public void processRequest (OAPageContext pageContext, OAWebBean webBean) { super.processRequest (pageContext, webBean); OAApplicationModule am = pageContext.getApplicationModule (webBean);
// TO GET THE INITIATION REQUEST ID: 341 String initiationReqId = pageContext.getParameter ("initiationReqId");
// TO GET THE INVOICE TYPE: EC, PT, FE String invType = pageContext.getParameter ("invType");
// TO GET THE REFERNCE CREDIT NOTE NUMBER: SRV2010/00002 String refCrdNoteNumber = pageContext.getParameter ("refCrdNoteNumber"); }
-9TCS Internal
How to Integrate OAF Region in Oracle Workflow Notifications with example
Final Result will be seen as shown below: OAF region in the Notification:
Figure 4
- 10 TCS Internal