to get a personalized navigation.
to get a personalized navigation.
Hello,
When posting SalesOrders using the body below, the cash account is automatically set to 1930, although the default is 1932 for the specified branch. When creating the same order in the GUI, the account 1932 is set automatically.
{
"lines": [
{
"salesOrderOperation": {
"value": "Issue"
},
"freeItem": {
"value": false
},
"shipComplete": {
"value": "BackOrderAllowed"
},
"completed": {
"value": false
},
"markForPO": {
"value": false
},
"branchNumber": {
"value": "2"
},
"operation": "Insert",
"lineNbr": {
"value": 0
},
"inventoryNumber": {
"value": "OAS57350"
},
"warehouse": {
"value": "1"
},
"quantity": {
"value": 10
},
"unitCost": {
"value": 500
},
"unitPrice": {
"value": 1200
}
}
],
"orderType": {
"value": "PF"
},
"hold": {
"value": false
},
"date": {
"value": "2021-06-18T06:17:43.663Z"
},
"requestOn": {
"value": "2021-06-18T06:17:43.663Z"
},
"customer": {
"value": "10240"
},
"currency": {
"value": "SEK"
},
"description": {
"value": "Frida test API"
},
"branchNumber": {
"value": "2"
}
}
Regardless of the Main / Active branch,
Could you check this out and inform us what is set as default on the customer ?
Additionally,
Thanks.
Copyright © 2022 Visma.com. All rights reserved.