Advertisement
c45_pb

item no 1310 response

Dec 9th, 2020 (edited)
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.35 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>Failed! ITEM: ´1310´ is not Available!</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="CreditMemo" xmlns="urn:microsoft-dynamics-nav/xmlports/ImportPurchaseDocument">
  9.                <Order_ID>12121215</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>2125-0087</Order_InvoiceNo>
  16.                <Order_InvoiceStatus/>
  17.                <Order_VendorInvoiceNo>6719/2669</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>ITEM</Line_Type>
  30.                      <Line_No>1310</Line_No>
  31.                      <Line_Description>steel pipes</Line_Description>
  32.                      <Line_Description2/>
  33.                      <Line_Quantity>1</Line_Quantity>
  34.                      <Line_UnitOfMeasureCode>m</Line_UnitOfMeasureCode>
  35.                      <Line_UnitCost>200</Line_UnitCost>
  36.                      <Line_LineDiscountPct>0</Line_LineDiscountPct>
  37.                      <Line_LineVATPct>25</Line_LineVATPct>
  38.                   </PurchaseLine>
  39.                </PurchaseLines>
  40.             </PurchaseDocument>
  41.          </xMLPurchaseDocument>
  42.       </ImportPurchaseDocument_Result>
  43.    </Soap:Body>
  44. </Soap:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement