Create Purchase Order Line Item

Example Payload

This payload creates one inventory line item.


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/types/">
        <ns1:createPurchaseOrder>
            <ns1:createOrderEntry xmlns:ns2="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/">
                <ns2:DocumentStyleId>1</ns2:DocumentStyleId>
                <ns2:ProcurementBUId>204</ns2:ProcurementBUId>
                <ns2:RequisitioningBUId>204</ns2:RequisitioningBUId>
                <ns2:SoldToLegalEntityId>204</ns2:SoldToLegalEntityId>
                <ns2:BuyerId>100010026863783</ns2:BuyerId>
                <ns2:SupplierId>559</ns2:SupplierId>
                <ns2:SupplierSiteId>5058</ns2:SupplierSiteId>
                <ns2:SupplierContactId>100000011552368</ns2:SupplierContactId>
                <!--<ns2:ApprovalActionCode>BYPASS</ns2:ApprovalActionCode>-->
                <!--ApprovalActionCode valid values: NONE, BYPASS, SUBMIT-->
                <ns2:DocumentDescription>NO_BPEL</ns2:DocumentDescription>
                <ns2:PurchaseOrderEntryLine>
                    <ns2:LineTypeId>1</ns2:LineTypeId>
                    <ns2:ItemNumber>CM31556</ns2:ItemNumber>
                    <ns2:Quantity>10</ns2:Quantity>
                    <ns2:UnitOfMeasureCode>Ea</ns2:UnitOfMeasureCode>
                    <ns2:PurchaseOrderEntrySchedule>
                        <ns2:ShipToLocationId>207</ns2:ShipToLocationId>
                        <ns2:ShipToOrganizationId>207</ns2:ShipToOrganizationId>
                        <ns2:NeedByDate>2020-12-31</ns2:NeedByDate>
                        <ns2:PurchaseOrderEntryDistribution>
                        </ns2:PurchaseOrderEntryDistribution>
                    </ns2:PurchaseOrderEntrySchedule>
                </ns2:PurchaseOrderEntryLine>
            </ns1:createOrderEntry>
        </ns1:createPurchaseOrder>
    </soap:Body>
</soap:Envelope>