Hello, We ran into a problem here. The work around we implemented was to delete the original line, and then insert a new one, for example like this: PUT https://integration.visma.net/API/controller/api/v1/purchaseOrder/ {
"lines": [
{
"operation": "Insert",
"project": {
"value": "58"
},
"projectTask": {
"value": "100"
},
"warehouse": {
"value": "P"
},
"account": {
"value": "4010"
},
"orderQty": {
"value": 1
},
"inventory": {
"value": "02"
}
}
]
} The problem is when the nonStock inventoryItem '02' has a default account which is not part of a project accounting group. In that case I get "Error: Inserting 'Purchase order line' record raised at least one error. Please review the errors.\r\nError: 'Project' cannot be empty". Was it always like this? I am pretty sure this worked a couple months ago, but I can't find anything related in the patch notes. The reason the default account needs to not be project enabled is that otherwise the default project is null which is very frustrating for the user.
... View more