Documente Academic
Documente Profesional
Documente Cultură
North America: (866) 627-3315 International: +1-706-758-7972 Other Global Toll Free: Doc ID: 1148600.1
2011 Oracle Corporation Proprietary and Confidential
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
Please refer to note 337345.1 Essentially this presentation is contents of this note but with pictures
10
SPECIFICATION
11
VALIDITY RULE
12
APPROVAL
13
Approval Attributes
14
ITEM ATTRIBUTE
15
APPROVAL CONDITION
16
APPROVER GROUP
17
Note the Approver i.e. the person to whom the Notification will be sent
18
19
20
21
PURCHASE ORDER
22
RECEIPT
23
24
25
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
26
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
27
WORKFLOW DETAILS
28
ERROR DETAILS
29
WORKFLOW DIAGRAM
30
31
32
33
NOTIFICATION DETAILS
34
35
36
37
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
38
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'
39
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,'DDMON-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 /
40
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; /
41
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
42
Visit the My Oracle Support Community now!! 1. 2. 3. 4. Log into My Oracle Support. Select the Community tab. Select the Enter Here button. Select the Community Name link under the E-Business Suite section of the My Communities Menu on the left side of the window.
43
44
45
46
THANK YOU
47
48
48