CreateGoodsReceiptLineItemInput
One line item booked together with a goods receipt via createGoodsReceipt.
input CreateGoodsReceiptLineItemInput {
productId: ID!
quantity: Int!
supplierOrderId: ID
unitPrice: Float
destinationBinLocationId: ID
}
Fields
CreateGoodsReceiptLineItemInput.productId ● ID! non-null scalar
ID of the product being received.
CreateGoodsReceiptLineItemInput.quantity ● Int! non-null scalar
Number of units to book. Must be positive.
CreateGoodsReceiptLineItemInput.supplierOrderId ● ID scalar
ID of the supplier order this line is received against. The receipt is linked to this supplier order as well.
CreateGoodsReceiptLineItemInput.unitPrice ● Float scalar
Per-unit net price booked against this line. When omitted, a line received against a supplier order defaults to the supplier order line price, and a line of a free receipt defaults to the last used purchase price of the product, converted into the receipt's currency at the receipt's exchange rate, or to the purchase price of the product in the receipt's currency when it has no last used purchase price. The line stays unpriced when neither price is available.
CreateGoodsReceiptLineItemInput.destinationBinLocationId ● ID scalar
ID of the bin location the received units are stocked into. Must belong to the warehouse of the goods receipt. The destination is kept as given: approving the goods receipt only computes destinations for lines that leave it empty.
Member Of
CreateGoodsReceiptInput input