c45_pb

import purchase order response

Dec 8th, 2020 (edited)
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.14 KB | None | 0 0
  1. <Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
  2.    <Soap:Body>
  3.       <ImportPurchaseDocument_Result xmlns="urn:microsoft-dynamics-schemas/codeunit/CloudES">
  4.          <return_value>Success!</return_value>
  5.          <xMLPurchaseDocument>
  6.             <API_ID xmlns="urn:microsoft-dynamics-nav/xmlports/ImportPurchaseDocument">1234</API_ID>
  7.             <API_Key xmlns="urn:microsoft-dynamics-nav/xmlports/ImportPurchaseDocument">Q3#Kp1_iT</API_Key>
  8.             <PurchaseDocument DocumentType="Order" xmlns="urn:microsoft-dynamics-nav/xmlports/ImportPurchaseDocument">
  9.                <Order_ID>12121212</Order_ID>
  10.                <Order_CaseID>12188</Order_CaseID>
  11.                <Order_Date>2019-12-20</Order_Date>
  12.                <Order_PostingDate>2019-12-20</Order_PostingDate>
  13.                <Order_DueDate>2019-12-25</Order_DueDate>
  14.                <Order_PaymentDueDateFormula>30D</Order_PaymentDueDateFormula>
  15.                <Order_InvoiceNo/>
  16.                <Order_InvoiceStatus/>
  17.                <Order_VendorInvoiceNo>6719/2667</Order_VendorInvoiceNo>
  18.                <Order_CurrencyCode/>
  19.                <Order_TotalAmountExclVAT>200</Order_TotalAmountExclVAT>
  20.                <Order_TotalAmountInclVAT>250</Order_TotalAmountInclVAT>
  21.                <Order_NoOfLines>1</Order_NoOfLines>
  22.                <Order_Comment/>
  23.                <VendorInfo>
  24.                   <BuyFrom_VendorNo>SUBC1234</BuyFrom_VendorNo>
  25.                   <PayTo_VendorNo>SUBC1234</PayTo_VendorNo>
  26.                </VendorInfo>
  27.                <PurchaseLines>
  28.                   <PurchaseLine>
  29.                      <Line_Type/>
  30.                      <Line_No/>
  31.                      <Line_Description/>
  32.                      <Line_Description2/>
  33.                      <Line_Quantity/>
  34.                      <Line_UnitOfMeasureCode/>
  35.                      <Line_UnitCost/>
  36.                      <Line_LineDiscountPct/>
  37.                      <Line_LineVATPct/>
  38.                   </PurchaseLine>
  39.                </PurchaseLines>
  40.             </PurchaseDocument>
  41.          </xMLPurchaseDocument>
  42.       </ImportPurchaseDocument_Result>
  43.    </Soap:Body>
  44. </Soap:Envelope>
Add Comment
Please, Sign In to add comment