lineItemIdstring nullable
purchaseOrderIdstring nullable
Optional, but recommended. Id of the purchase order the line item belongs to.
Line item ids are only unique within a single purchase order, so without this the line item id
has to be unique across all purchase orders for the line to be resolved.
costPricenumber
Cost price of delivery (optional)
warehouseCodestring nullable
Warehouse code of delivery (optional)
updateProductCostPriceboolean
If true, product will be updated with new cost price
receiveAsUnallocatedboolean
Only relevant when using VSL - If true then the inventory is not distributed to the virtual stock locations, resulting in unallocated inventory on the physical warehouse.
allocateBasedOnRulesboolean nullable
Only relevant when using VSL - If set then it overrides the same property on the purchase order lineItem.
If true then the inventory rule engine is used to distribute inventory over the virtual stock locations based on specified rules.
If false then the specified quantities on the virtual warehouses allocation lines are used to distribute inventory over the virtual stock locations.
goodsReceptionIdstring nullable
Optional. If specified, the value is stored on the InventoryTransaction.
Before processing the goods reception, the system checks for any existing InventoryTransaction with the same GoodsReceptionId.
If a match is found, processing is cancelled to prevent duplicate handling.