I'm integrating to BC using a tool called SmartConnect, I'm pushing Sales Orders (header) and then Sales Order Lines sequentially.
After pushing the orders, I use the order number in our system to push the order lines, I use the order number in the field "Document No" on BC.
For some of the items (SKUs) in the order, this works fine but for many it fails. It says the field "Document No" is read-only. The problem is, it accepts a random number of line items while rejecting the rest, and it always accept the same SKUs and reject the same.
I'm using ODataV4 APIs. What's the proper way to push the Sales Order and then Sales Order Lines? I don't want to create custom objects, it sounds like a straight integration topic, I'm not sure why BC is rejecting only specific items.