Following error is received when attempting to create an Intercompany Sales Order when the Purchase Order has inventory items. It works ok if the Purchase Order has only non-inventory items.
"Error while accessing a resource. You have entered an Invalid Field Value 5423311 for the following field: intercotransaction"
Payload is as follows:
{ entity: { id: '116', }, subsidiary: { id: '1', }, location: { id: '1', }, currency: { id: '5', }, intercoTransaction: '5423311',}