Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
- <Soap:Body>
- <ImportSalesDocument_Result xmlns="urn:microsoft-dynamics-schemas/codeunit/CloudES">
- <return_value>Failed! Document No. must have a value in Sales Line: Document Type=Credit Memo, Document No.=, Line No.=10000. It cannot be zero or empty.</return_value>
- <xMLSalesDocument>
- <API_ID xmlns="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">1234</API_ID>
- <API_Key xmlns="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">Q3#Kp1_iT</API_Key>
- <SalesDocument DocumentType="CreditMemo" xmlns="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">
- <Order_ID>6376568</Order_ID>
- <Order_CaseID>0006</Order_CaseID>
- <Order_Date>2019-12-20</Order_Date>
- <Order_PostingDate>2019-12-21</Order_PostingDate>
- <Order_DueDate>2019-12-25</Order_DueDate>
- <Order_PaymentDueDateFormula>30D</Order_PaymentDueDateFormula>
- <Order_RequisitionNo/>
- <Order_InvoiceNo>6376567</Order_InvoiceNo>
- <Order_InvoiceStatus/>
- <Order_CurrencyCode/>
- <Order_TotalAmountExclVAT>100</Order_TotalAmountExclVAT>
- <Order_TotalAmountInclVAT>125</Order_TotalAmountInclVAT>
- <Order_NoOfLines>1</Order_NoOfLines>
- <Order_Comment>testing sales order rand</Order_Comment>
- <CustomerInfo>
- <SellTo_CustomerNo>Cust_123</SellTo_CustomerNo>
- <BillTo_CustomerNo>Cust_123</BillTo_CustomerNo>
- </CustomerInfo>
- <ShipToInfo>
- <ShipTo_Name>John Wick</ShipTo_Name>
- <ShipTo_Name2/>
- <ShipTo_Attention/>
- <ShipTo_Address>80, Vincent St</ShipTo_Address>
- <ShipTo_Address2/>
- <ShipTo_PostCode>21219988</ShipTo_PostCode>
- <ShipTo_City>Kiev</ShipTo_City>
- <ShipTo_CountryCode>UKR</ShipTo_CountryCode>
- </ShipToInfo>
- <SalesLines>
- <SalesLine>
- <Line_Type/>
- <Line_No/>
- <Line_Description/>
- <Line_Description2/>
- <Line_Quantity/>
- <Line_UnitOfMeasureCode/>
- <Line_UnitPrice/>
- <Line_LineDiscountPct/>
- <Line_LineVATPct/>
- </SalesLine>
- </SalesLines>
- </SalesDocument>
- </xMLSalesDocument>
- </ImportSalesDocument_Result>
- </Soap:Body>
- </Soap:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement