Odd one. Can’t seem to figure out a way around this.
When I create a sales order via (/{currentCompany}/Erp.BO.SalesOrderSvc/SalesOrders) it creates the sales order.
In my json, it has a release for each line item. When it creates the line items, it adds an additional release. So for each line item, there is 2 releases. When there should only be 1 per line item.
If I remove the json for just the releases, it creates the sales order properly and has only 1 release per line item. As it should.
Thing is I need to update the release data. Sure I could do a PATCH call and update the release but I’d rather do it all in one call.
Any ideas why this is happening?