Create a sales order in Navision
Core concepts:
general:
name: "Example sales order"
testing: false
variables:
conn_customer_no:
value: string
conn_description:
value: string
conn_ext_document_no:
value: string
conn_language_code:
value: string
conn_route_no:
value: string
conn_template_no:
value: string
conn_total_price:
value: integer
bom_items:
string:
id: string
quantity: integer
quantity_per: integer
routing_link_code: string
width: integer
length: integer
| Key | Required | Type | Default | Description |
|---|---|---|---|---|
| conn_customer_no | Yes | string | Null | The id of the bom item. |
| conn_description | Yes | string | Null | The name of the bom item. |
| conn_ext_document_no | Yes | integer | Null | The quantity of the bom item. |
| conn_language_code | Yes | integer | Null | The quantity of the bom item. |
| conn_route_no | Yes | integer | Null | The quantity of the bom item. |
| conn_template_no | Yes | integer | Null | The quantity of the bom item. |
| conn_total_price | Yes | integer | Null | The quantity of the bom item. |
Enter the
path
with the relative path to your file.
After that, you can bundle your YAML files together in a ZIP file.
Send a POST request for each model and use the model ID in the import.
variables:
conn_customer_no:
value: "CUS-1001679"
conn_description:
value: "test order"
conn_ext_document_no:
value: "logyx"
conn_language_code:
value: "eng"
conn_route_no:
value: "BPS-SCREENS"
conn_template_no:
value: "ARTI000008"
conn_total_price:
value: 0
bom_items:
ART-044445:
id: "ART-044445"
quantity: 1
quantity_per: 1
routing_link_code: "25 WP 01"
width: 0
length: 0
general:
name: "Example sales order"
testing: false
questions:
width:
type: "number"
required: true
default: 1500
depth:
type: "number"
required: true
default: 600
variables:
customer_no:
value: "CUS-1001679"
description:
value: "test order"
ext_document_no:
value: "logyx"
language_code:
value: "eng"
route_no:
value: "BPS-SCREENS"
template_no:
value: "ARTI000008"
total_price:
value: 0
bom_items:
ART-044445:
id: "ART-044445"
quantity: 1
quantity_per: 1
routing_link_code: "25 WP 01"
width: 0
length: 0
ART-044446:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044447:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044448:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044449:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044450:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044451:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044452:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044453:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0
ART-044454:
id: "ART-044446"
quantity: 3
quantity_per: 2
routing_link_code: "25 WP 02"
width: 0
length: 0