Change Purchase Order Charge Account

Example Payload

This payload changes the charge account.


<!--
For change operation...
Line Action valid values: ADD, CHANGE, CANCEL
Schedule Action valid values: ADD, CHANGE, CANCEL, SPLIT
Distribution Action valid values: ADD, CHANGE, CANCEL, SPLIT
-->
<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:changePurchaseOrder>
            <ns1:changeOrderEntry xmlns:ns2="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/">
                <ns2:OrderNumber>1004403</ns2:OrderNumber>
                <ns2:SoldToLegalEntityId>204</ns2:SoldToLegalEntityId>
                <ns2:ChangeOrderDescription>Change Charge Account</ns2:ChangeOrderDescription>
                <!--<ns2:ApprovalActionCode>SUBMIT</ns2:ApprovalActionCode>-->
                <!--ApprovalActionCode valid values: NONE, BYPASS, SUBMIT-->
                <ns2:PurchaseOrderEntryLine>
                    <ns2:LineNumber>1</ns2:LineNumber>
                    <ns2:PurchaseOrderEntrySchedule>
                        <ns2:ScheduleNumber>1</ns2:ScheduleNumber>
                        <ns2:PurchaseOrderEntryDistribution>
                            <ns2:DistributionNumber>1</ns2:DistributionNumber>
                            <ns2:Action>CHANGE</ns2:Action>
                            <ns2:POChargeAccount>01-000-1410-0000-000</ns2:POChargeAccount>
                        </ns2:PurchaseOrderEntryDistribution>
                    </ns2:PurchaseOrderEntrySchedule>
                </ns2:PurchaseOrderEntryLine>
            </ns1:changeOrderEntry>
        </ns1:changePurchaseOrder>
    </soap:Body>
</soap:Envelope>