Sales Archive
This service is to recieve archived sales orders in Business Central.
Service Endpoint
The base Endpoint is:
OutboundSalesArchiveIISWebService/OutboundSalesArchiveIISWebService
API Methods
Here are the available methods for the Sales Archive Service:
GetSalesArchive
Transfers Item Data from Business Central
Sample Request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:out="http://tempuri.org/OutboundSalesArchiveIISWebService/"
xmlns:x60="urn:microsoft-dynamics-nav/xmlports/x60789">
<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"
<wsa:Action>http://tempuri.org/OutboundSalesArchiveIISWebService/OutboundSalesArchiveIISWebService/GetSalesArchive</wsa:Action>
</soap:Header>
<soap:Body>
<out:GetSalesArchive>
<out:outboundSalesArchive>
<out:contactNo>KT100156</out:contactNo>
</out:GetSalesArchive>
</soap:Body>
</soap:Envelope>
Sample Response
| Name |
Description |
Type |
max. Length |
Occurance |
| Amount |
Amount |
Decimal |
|
0..1 |
| Amount_Incl_VAT |
Amount incl. VAT |
Decimal |
|
0..1 |
| Name |
Description |
Type |
max. Length |
Occurance |
| 🔑 Document No* |
Specifies the number of the Sales Order. Leave this empty when creating a new order. (Requieres auto incremented no. series in Business Central.) |
String |
20 |
1..1 |
| Order_Date |
Specifies the order DateTime. Date is saved in NAV/Business Central only! |
DateTime |
|
0..1 |
| Payment_Method_Code |
Specifies a default payment method code for the order. Get a list of codes from the Master Data Service |
String |
|
0..1 |
| Completely_Shipped |
Specifies whether order is shipped completely |
Boolean |
|
0..1 |
| Name |
Description |
Type |
max. Length |
Occurance |
| Bill_to_Customer_No |
Specifies the number of the customer. |
String |
20 |
1..1 |
| Contact_No |
Specifies the number of the contact. |
String |
20 |
1..1 |
| Name |
Specifies the name. |
String |
50 |
0..1 |
| Name_2 |
Specifies the additional name. |
String |
50 |
0..1 |
| Address |
Specifies the address. i.E. 'Hauptstraße 12b' |
String |
50 |
1..1 |
| Address_2 |
Specifies the add. address information. |
String |
50 |
1..1 |
| City |
Specifies the city. |
String |
50 |
1..1 |
| Post_Code |
Specifies a code for the post code of the address. Get a list of codes from the Master Data Service |
String |
10 |
0..1 |
| Country_Region_Code |
Specifies a code for the country/region of the address. Get a list of codes from the Master Data Service |
String |
10 |
0..1 |
| Name |
Description |
Type |
max. Length |
Occurance |
| 🔑 Line No* |
Specifies the pos. number. |
Decimal |
|
1..1 |
| Type |
Specifies the Type: "Item", "Resource", "G/L Account" |
String |
|
0..1 |
| No |
Specifies the No. i.E. Item No. "70000" |
String |
20 |
0..1 |
| Variant_Code |
Specifies the item variant code |
String |
10 |
0..1 |
| Description |
Specifies the Description. |
String |
50 |
0..1 |
| Description_2 |
Specifies the additional Description. |
String |
50 |
0..1 |
| Unit_Of_Measure_Code |
Specifies the sales unit of measure of the item. |
String |
10 |
0..1 |
| Quantity |
Specifies the quantity. |
Decimal |
|
1..1 |
| Line_Amount |
Specifies the lines amount |
Decimal |
|
0..1 |
| Line_Amount_Incl_VAT |
Specifies the lines amount incl. VAT. |
Decimal |
|
0..1 |
| Line_Discount_Percent |
Specifies the lines discount percentage. |
Decimal |
|
0..1 |
| Line_Discount_Amount |
Specifies the lines discount amount. |
Decimal |
|
0..1 |
| Shipment_Date |
Specifies the lines shipment date. |
DateTime |
|
0..1 |
| Unit_Price |
Specifies the lines unit price |
Decimal |
|
0..1 |
| Shipping_Agent_Code |
Specifies a default shipping agent code for the order. Get a list of codes from the Master Data Service |
String |
10 |
0..1 |
| Shipping_Agent_Service_Code |
Specifies a default shipping agent service code for the order. Get a list of codes from the Master Data Service |
String |
10 |
0..1 |
| Name |
Description |
Type |
max. Length |
Occurance |
| Posting_Date |
Specifies the posting date of the sales shipment |
DateTime |
|
0..1 |
| No |
Specifies the sales invoice no. |
String |
20 |
0..1 |