OPM_Workflows
-
Upload
atarehman70 -
Category
Documents
-
view
196 -
download
18
description
Transcript of OPM_Workflows
2 © 2011 Oracle Corporation – Proprietary and Confidential
Day, Date, 2004 time p.m. ET
Teleconference Access: North America: xxxx International: xxxx Password: Advisor
Wednesday, Nov. 16, 2011 11:00 AM ET / 09:00 MT Teleconference Access: Conference ID: 18539322 or Oracle OPM North America: (866) 627-3315 International: +1-706-758-7972 Other Global Toll Free: Doc ID: 1148600.1
Upcoming OPM Community Webcasts: December 14, 2011: EBS Upgrade Advisor and EBS Patching & Maintenance Advisor Overview (Doc ID 1064676.1)
December 21, 2011: High Level Comparison of OPM Financials R12 to 11.5.10.2 (Doc ID 1064676.1)
January 18, 2011: Patch Wizard Overview (Doc ID 1064676.1)
For complete details OPM Webcast Events, please see Note 1064676.1.
For complete details on All Other upcoming Oracle Advisor Webcast Events, please Note 398884.1.
Do you have any requests for future Advisor Webcast Events? Please email your suggestions to [email protected], subject: Topics of Interest.
Oracle Process Manufacturing (OPM)
<Insert Picture Here>
OPM Workflows: Getting Workflows To Work Using event oracle.apps.gml.po.receipt.created As An Example Jonathan Corker Principal Technical Support Engineer
4
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decision. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Safe Harbor Statement
© 2011 Oracle Corporation – Proprietary and Confidential
<Insert Picture Here>
OPM Workflows: Getting Workflows To Work Using event oracle.apps.gml.po.receipt.created As An Example Jonathan Corker Principal Technical Support Engineer
6
Agenda
• Enabling and subscribing to the event • Creating Specification and Validity Rule • Creating and Testing the Approval details (if required) • Creating the PO & Receipt • Running the Workflow Agent Listener • Finding the Notification • Some ‘Tech’ stuff
© 2011 Oracle Corporation – Proprietary and Confidential
7
Please refer to note 337345.1 Essentially this presentation is contents of this note but ‘with pictures’
© 2011 Oracle Corporation – Proprietary and Confidential
10
IS THE EVENT SUBSCRIBED TO?
select e.name,e.status event_status,s.status subscription_status ,nvl(s.PHASE,0) SUBSCRIPTION_PHASE ,s.LICENSED_FLAG subscription_LICENSED_FLAG ,e.LICENSED_FLAG event_LICENSED_FLAG from wf_events e ,WF_EVENT_SUBSCRIPTIONS S where e.name like '%oracle.apps.gml.po.receipt%' AND S.EVENT_FILTER_GUID = E.GUID
© 2011 Oracle Corporation – Proprietary and Confidential
18
APPROVER GROUP DETAILS
Note the Approver i.e. the person to whom the Notification will be sent
© 2011 Oracle Corporation – Proprietary and Confidential
19
TEST THE APPROVAL
Enter the Transaction_id from rcv_transactions
© 2011 Oracle Corporation – Proprietary and Confidential
25
EXPECT TO SEE NOTIFICATION AT THIS POINT
Use for example Navigation Path Workflow>Self Service Workflow>Notifications
© 2011 Oracle Corporation – Proprietary and Confidential
26
NO NOTIFICATION – WHY? We appear to have done everything correctly i.e.
•Ensured the Event was enabled and subscribed to •Created a valid Specification and Validity Rule •Created an Approval Process •Created a Receipt •Ran the Workflow Agent Listener
© 2011 Oracle Corporation – Proprietary and Confidential
27
TO INVESTIGATE Log in as Sysadmin
Navigation Path System Administrator>Administer Workflow>Status
Monitor Enter the Workflow type e.g. OPM Quality Management Sample
Creation Or
Internal Name e.g. GMDQMSMC
Search for the ones in error
© 2011 Oracle Corporation – Proprietary and Confidential
31
FIX THE ERROR
Fixed the error using note ‘‘Oracle HRMS AME Error "Oracle Approvals Management has found parallelization configuration...’
(Doc ID 338508.1)
© 2011 Oracle Corporation – Proprietary and Confidential
32
NEW RECEIPT USING SAME DETAILS
Created new Receipt 17927 for the same item, supplier etc
Ran Workflow Agent Listener, and…
© 2011 Oracle Corporation – Proprietary and Confidential
38
Notice two Notifications Sample Required for Receiving into Inventory transaction: Organization PR1 Item JGC_SAMPLE_TEST Lot JGC_1 oracle.apps.gmi.inventory.created Item Key 48446123-0-5277300 i.e. first value is transaction_id from mtl_material_transactions Sample Required for Receiving transaction: Organization PR1 Item JGC_SAMPLE_TEST oracle.apps.gml.po.receipt.created
© 2011 Oracle Corporation – Proprietary and Confidential
39
Package Name GMD_QMSMC (GMDQMSMB.pls) Deals with the events 'oracle.apps.gmi.inventory.created' 'oracle.apps.gmi.lotexpirydate.update' 'oracle.apps.gmd.lotretest' 'oracle.apps.gmi.lotretestdate.update' 'oracle.apps.gml.po.receipt.created' 'oracle.apps.gmi.inv.po.receipt' 'oracle.apps.gme.batch.created' 'oracle.apps.gme.bstep.rel.wf'
© 2011 Oracle Corporation – Proprietary and Confidential
40
select distinct s.item_type,s.item_key,s.begin_date,s.ACTIVITY_STATUS , wiav.name attr_name, wia.type value_type, nvl(wiav.text_value , nvl(to_char(wiav.number_value),to_char(wiav.date_value,'DD-MON-YYYY hh24:mi:ss'))) value from wf_item_attribute_values wiav, wf_item_attributes wia, wf_item_activity_statuses s where wiav.item_type Like 'GM%' and wiav.item_key = s.item_key and wiav.item_type = s.item_type and wia.item_type(+) = wiav.item_type and wia.name(+) = wiav.name and wia.type(+) <> 'EVENT' and s.begin_date >='01-SEP-2011' and wiav.text_value='oracle.apps.gml.po.receipt.created' order by s.begin_date /
© 2011 Oracle Corporation – Proprietary and Confidential
41
set serveroutput on declare v_itemtype VARCHAR2(20) :='GMDQMSMC'; v_itemkey VARCHAR2(20) :='48959419-0-5277858'; V_actid NUMBER; V_funcmode VARCHAR2(10); V_resultout VARCHAR2(100); begin GMD_QMSMC.VERIFY_EVENT (v_itemtype ,v_itemkey ,V_actid ,V_funcmode ,V_resultout); end; /
© 2011 Oracle Corporation – Proprietary and Confidential
42
• To ask a question on the phone line, select *1 on your phone.
• To ask a question online, use the Q&A area.
• Your question will be read aloud in the order received.
• Question can also be asked on the My Oracle Support Communities
© 2011 Oracle Corporation – Proprietary and Confidential
43
Collaborate with a large network of your industry peers, support professionals, and Oracle experts to exchange information, ask questions & get answers. Find out how your peers are using Oracle technologies and services to better meet their support and business needs.
• Exchange Knowledge
• Resolve Issues
• Gain Expertise
Visit My Oracle Communities
Visit the My Oracle Support Community now!! 1. Log into My Oracle Support.
2. Select the Community tab.
3. Select the Enter Here button.
4. Select the Community Name link under the E-Business Suite section of the My Communities Menu on the left side of the window.
© 2011 Oracle Corporation – Proprietary and Confidential
44
OPM Advisor Webcast Calendar and Archive (Doc Id 1064676.1)
© 2011 Oracle Corporation – Proprietary and Confidential
45
• Would you like to receive email invites for future Advisor Webcasts?
• Answer “Yes” to receive information the next time you register for a live webcast or webcast recording.
• You can unsubscribe at any time by replying to the invite with “unsubscribe” in the subject line.
Receive Email Webcast Invites
© 2011 Oracle Corporation – Proprietary and Confidential
46
• Your feedback is a valuable part of ensuring the Advisor Webcast program continues to meet your needs.
• Assist Oracle with the consistent delivery of quality webcasts, and to help identify opportunities for improvement.
• Please take a moment to complete the Advisor Webcast Assessment , which will be emailed to you in the next week.
• Your feedback is greatly appreciated.
• You may also contact me directly at [email protected].
Advisor Webcast Assessment
© 2011 Oracle Corporation – Proprietary and Confidential