Oracle Workflow Guide
Release 2.6.2

Part Number A95265-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

B2B Purchase Order Event

This event is raised on the Buyer system when you submit a purchase order from the Buyer Workbench demonstration page.

Internal Name demo.oracle.wf.b2b.po.create
Generate Function wf_eventdemo.generatexml

Oracle Workflow provides four default subscriptions to the B2B Purchase Order event. The first subscription adds a correlation ID to the event message when the B2B Purchase Order event is raised locally. The correlation ID consists of the prefix PO followed by the event key (the order number). This subscription is enabled by default. The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type Local
Event Filter demo.oracle.wf.b2b.po.create
Phase 1
Status Enabled
Rule Data Key
Rule Function wf_eventdemo.derivecorrelationid

The second subscription sends the event message to the Buyer: Top Level PO process in the Event System Demonstration item type when the B2B Purchase Order event is raised locally. This subscription is enabled by default. The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type Local
Event Filter demo.oracle.wf.b2b.po.create
Phase 2
Status Enabled
Rule Data Message
Rule Function wf_rule.workflow_protocol
Workflow Item Type WFEVDEME
Workflow Process Name RCVPOCRT
Out Agent WF_OUT@<local system>
To Agent WF_IN@<local system>

The third subscription modifies the correlation ID in the event message when the B2B Purchase Order event is received from an external source. The correlation ID consists of the prefix SO followed by the event key (the order number). This subscription is enabled by default. The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type External
Event Filter demo.oracle.wf.b2b.po.create
Phase 1
Status Enabled
Rule Data Key
Rule Function wf_eventdemo.derivecorrelationid

The fourth subscription sends the event message to the Supplier: Top Level Order process in the Event System Demonstration item type when the B2B Purchase Order event is received from an external source. This subscription is enabled by default. The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type External
Event Filter demo.oracle.wf.b2b.po.create
Phase 2
Status Enabled
Rule Data Key
Rule Function wf_rule.workflow_protocol
Workflow Item Type WFEVDEME
Workflow Process Name SUPPORCV
Out Agent WF_OUT@<local system>
To Agent WF_IN@<local system>


         Previous  Next          Contents  Index  Glossary


Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.