Message Example
The predefined automation plug-in examples presuppose the following sample order:
<?xml version="1.0" encoding="UTF-8"?> <ws:CreateOrder xmlns:ws="http://xmlns.oracle.com/communications/ordermanagement"> <ProcessSalesOrderFulfillmentEBM xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2" xmlns:sord="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2" xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions" xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"> <corecom:EBMHeader xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:EBMID>2d323736303332343736363930353735</corecom:EBMID> <corecom:EBMName>{http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2} ProcessSalesOrderFulfillmentEBM</corecom:EBMName> <corecom:EBOName>{http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2} SalesOrderEBO</corecom:EBOName> <corecom:CreationDateTime>2009-03-09T18:46:36-07:00</corecom:CreationDateTime> <corecom:VerbCode>process</corecom:VerbCode> <corecom:MessageProcessingInstruction> <corecom:EnvironmentCode>PRODUCTION</corecom:EnvironmentCode> </corecom:MessageProcessingInstruction> <corecom:Sender> <!-- Information about the sender - for example, a Siebel CRM --> </corecom:Sender> <corecom:BusinessScope></corecom:BusinessScope> <corecom:EBMTracking></corecom:EBMTracking> </corecom:EBMHeader> <DataArea> <corecom:Process xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"/> <ProcessSalesOrderFulfillment> <corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:BusinessComponentID schemeID="SALESORDER_ID" schemeAgencyID="COMMON">34333939373132333239373135353138</corecom:BusinessComponentID> <corecom:ID schemeID="SALESORDER_ID" schemeAgencyID="SEBL_01">ScenarioA2</corecom:ID> <corecom:ApplicationObjectKey> <corecom:ID schemeID="SALESORDER_ID" schemeAgencyID="SEBL_01">88-2SGSG</corecom:ID> </corecom:ApplicationObjectKey> <corecom:Revision> <corecom:Number>1</corecom:Number> </corecom:Revision> </corecom:Identification> <OrderDateTime>2009-03-09T18:40:21Z</OrderDateTime> <RequestedDeliveryDateTime>2009-03-10T00:00:00Z</RequestedDeliveryDateTime> <TypeCode>SALES ORDER</TypeCode> <FulfillmentPriorityCode>9</FulfillmentPriorityCode> <FulfillmentSuccessCode>DEFAULT</FulfillmentSuccessCode> <FulfillmentModeCode>DELIVER</FulfillmentModeCode> <SalesChannelCode/> <ProcessingNumber/> <ProcessingTypeCode/> <corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:Code>OPEN</corecom:Code> <corecom:Description/> </corecom:Status> <corecom:BusinessUnitReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:BusinessUnitIdentification> <corecom:ID schemeID="ORGANIZATION_ID" schemeAgencyID="SEBL_01">0-R9NH</corecom:ID> </corecom:BusinessUnitIdentification> </corecom:BusinessUnitReference> <corecom:CustomerPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:CustomerPartyAccountIdentification> <corecom:BusinessComponentID schemeID="CUSTOMERPARTY_ACCOUNTID" schemeAgencyID="COMMON">2d353537333130353233303536343833</corecom:BusinessComponentID> <corecom:ID schemeID="CUSTOMERPARTY_ACCOUNTID" schemeAgencyID="SEBL_01">88-2PB18</corecom:ID> <corecom:ApplicationObjectKey> <corecom:ID schemeID="CUSTOMERPARTY_ACCOUNTID" schemeAgencyID="SEBL_01">88-2PB18</corecom:ID> </corecom:ApplicationObjectKey> </corecom:CustomerPartyAccountIdentification> <corecom:CustomerPartyAccountName>Adam,10000</corecom:CustomerPartyAccountName> <corecom:CustomerPartyAccountContactIdentification> <corecom:BusinessComponentID schemeID="CUSTOMERPARTY_CONTACTID" schemeAgencyID="COMMON">2d353130393634353031313333353938</corecom:BusinessComponentID> <corecom:ApplicationObjectKey> <corecom:ID schemeID="CUSTOMERPARTY_CONTACTID" schemeAgencyID="SEBL_01">88-2MKA1</corecom:ID> </corecom:ApplicationObjectKey> </corecom:CustomerPartyAccountContactIdentification> <corecom:CustomerPartyAccountContactAddressCommunication> <corecom:AddressCommunication> <corecom:Address> <!-- Enter Address Nodes --> </corecom:Address> </corecom:AddressCommunication> </corecom:CustomerPartyAccountContactAddressCommunication> <corecom:CustomerPartyAccountTypeCode>RESIDENTIAL </corecom:CustomerPartyAccountTypeCode> </corecom:CustomerPartyReference> <corecom:PriceListReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:PriceListIdentification> <corecom:ID>88-2D1YC</corecom:ID> </corecom:PriceListIdentification> </corecom:PriceListReference> <corecom:ShipToPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:LocationReference> <corecom:Address> <!-- Enter Address Nodes --> </corecom:Address> </corecom:LocationReference> <corecom:CustomerPartyAccountIdentification> <corecom:BusinessComponentID schemeID="CUSTOMERPARTY_ACCOUNTID" schemeAgencyID="COMMON"/> </corecom:CustomerPartyAccountIdentification> <corecom:CustomerPartyAccountContactIdentification> <corecom:BusinessComponentID schemeID="CUSTOMERPARTY_CONTACTID" schemeAgencyID="COMMON">2d353130393634353031313333353938</corecom:BusinessComponentID> <corecom:ApplicationObjectKey> <corecom:ID schemeID="CUSTOMERPARTY_CONTACTID" schemeAgencyID="SEBL_01">88-2MKA1</corecom:ID> </corecom:ApplicationObjectKey> </corecom:CustomerPartyAccountContactIdentification> </corecom:ShipToPartyReference> <corecom:ParentSalesOrderReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:SalesOrderIdentification> <corecom:BusinessComponentID schemeID="SALESORDER_ID" schemeAgencyID="COMMON"/> </corecom:SalesOrderIdentification> </corecom:ParentSalesOrderReference> <corecom:ProjectReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:ProjectIdentfication> <corecom:ID schemeID="PROJECT_ID" schemeAgencyID="SEBL_01"/> </corecom:ProjectIdentfication> </corecom:ProjectReference> <corecom:SalespersonPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"> <corecom:PartyIdentification> <corecom:ID schemeID="SALESPERSON_PARTYID" schemeAgencyID="SEBL_01">0-1</corecom:ID> </corecom:PartyIdentification> </corecom:SalespersonPartyReference> <!-- Enter order line items here --> </ProcessSalesOrderFulfillment> </DataArea> </ProcessSalesOrderFulfillmentEBM> </ws:CreateOrder>