Create Purchase Order with Project Information
Example Payload
This payload creates a purchase order with project information.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createPurchaseOrder xmlns:ns1="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/types/">
<ns1:createOrderEntry xmlns:ns2="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/">
<ns2:DocumentStyleId>1</ns2:DocumentStyleId>
<ns2:ProcurementBUId>300100014554154</ns2:ProcurementBUId>
<ns2:RequisitioningBUId>300100014554154</ns2:RequisitioningBUId>
<ns2:SoldToLegalEntityId>300100014516903</ns2:SoldToLegalEntityId>
<ns2:BuyerId>100010026863855</ns2:BuyerId>
<ns2:Supplier>CV_SuppA01</ns2:Supplier>
<ns2:SupplierSiteCode>San Jose</ns2:SupplierSiteCode>
<ns2:DocumentDescription>GMS PO from WebService</ns2:DocumentDescription>
<!--<ns2:ApprovalActionCode>SUBMIT</ns2:ApprovalActionCode>-->
<!--ApprovalActionCode valid values: NONE, BYPASS, SUBMIT-->
<ns2:PurchaseOrderEntryLine>
<ns2:LineTypeId>1</ns2:LineTypeId>
<ns2:ItemDescription>ProjItem</ns2:ItemDescription>
<ns2:Quantity>10</ns2:Quantity>
<ns2:Price>10</ns2:Price>
<ns2:UnitOfMeasureCode>Ea</ns2:UnitOfMeasureCode>
<ns2:PurchaseOrderEntrySchedule>
<ns2:ShipToLocationId>300100014484337</ns2:ShipToLocationId>
<ns2:ShipToOrganizationId>300100014554360</ns2:ShipToOrganizationId>
<ns2:NeedByDate>2020-01-01</ns2:NeedByDate>
<ns2:DestinationTypeCode>EXPENSE</ns2:DestinationTypeCode>
<ns2:PurchaseOrderEntryDistribution>
<ns2:DistributionNumber>1</ns2:DistributionNumber>
<ns2:DistributionProjectFlexfield xmlns:ns3="http://xmlns.oracle.com/apps/prc/po/commonPo/flex/PJCPoDraftDistribution/">
<ns3:_PROJECT_ID>300100038507848</ns3:_PROJECT_ID>
<ns3:_TASK_ID>100100143692724</ns3:_TASK_ID>
<ns3:_EXPENDITURE_ITEM_DATE>2014-06-19</ns3:_EXPENDITURE_ITEM_DATE>
<ns3:_EXPENDITURE_TYPE_ID>10001</ns3:_EXPENDITURE_TYPE_ID>
<ns3:_ORGANIZATION_ID>300100014554154</ns3:_ORGANIZATION_ID>
<ns3:_CONTRACT_ID_Display>AA_GMSBAT_01</ns3:_CONTRACT_ID_Display>
<ns3:_RESERVED_ATTRIBUTE1_Display>Dept of Health and Human Services (DHHS)</ns3:_RESERVED_ATTRIBUTE1_Display>
</ns2:DistributionProjectFlexfield>
</ns2:PurchaseOrderEntryDistribution>
</ns2:PurchaseOrderEntrySchedule>
</ns2:PurchaseOrderEntryLine>
</ns1:createOrderEntry>
</ns1:createPurchaseOrder>
</soap:Body>
</soap:Envelope>