GoodsReceiptLineItem
A single line on a GoodsReceipt. Tracks the product, optional batch, the quantity moved and the per-unit and total price. Optional FKs (supplierOrderId, returnOrderId) link the line back to its originating document.
type GoodsReceiptLineItem implements Node {
id: ID!
batchId: ID
goodsReceiptId: ID!
plannedDisposalQuantity: Int!
productId: ID
quantity: Int!
returnOrderId: ID
supplierOrderId: ID
totalPrice: Float
totalPriceInDefaultCurrency: Float
unitPrice: Float
unitPriceInDefaultCurrency: Float
batch: Batch
destinationBinLocation: BinLocation
goodsReceipt: GoodsReceipt
product: Product
supplierOrder: SupplierOrder
}
Fields
GoodsReceiptLineItem.id ● ID! non-null scalar
Global identifier for this entity.
GoodsReceiptLineItem.batchId ● ID scalar
ID of the batch the units belong to, when batch tracking is enabled for the product.
GoodsReceiptLineItem.goodsReceiptId ● ID! non-null scalar
ID of the parent goods receipt.
GoodsReceiptLineItem.plannedDisposalQuantity ● Int! non-null scalar
Number of the received units that are to be disposed instead of stocked. Set while the goods receipt is being processed and reset to 0 once the disposal is booked, which happens when the goods receipt is stocked.
GoodsReceiptLineItem.productId ● ID scalar
ID of the product being received.
GoodsReceiptLineItem.quantity ● Int! non-null scalar
Number of units moved. Signed: negative quantities represent outgoing movements (e.g. corrections).
GoodsReceiptLineItem.returnOrderId ● ID scalar
ID of the originating return order, when the receipt was opened from a customer return.
GoodsReceiptLineItem.supplierOrderId ● ID scalar
ID of the originating supplier order, when the receipt was opened from one.
GoodsReceiptLineItem.totalPrice ● Float scalar
Line total in the parent receipt's currency (unitPrice * quantity).
GoodsReceiptLineItem.totalPriceInDefaultCurrency ● Float scalar
Line total converted into the system default currency with the exchange rate of the parent receipt. Null under the same conditions as unitPriceInDefaultCurrency.
GoodsReceiptLineItem.unitPrice ● Float scalar
Per-unit price in the parent receipt's currency.
GoodsReceiptLineItem.unitPriceInDefaultCurrency ● Float scalar
Per-unit price converted into the system default currency with the exchange rate of the parent receipt (GoodsReceipt.currencyFactor). Stock value and the last purchase price are computed from it. Null while the line item has no price, and on line items received before this was stored until a background job after the update has filled it in.
GoodsReceiptLineItem.batch ● Batch object
GoodsReceiptLineItem.destinationBinLocation ● BinLocation object
GoodsReceiptLineItem.goodsReceipt ● GoodsReceipt object
GoodsReceiptLineItem.product ● Product object
GoodsReceiptLineItem.supplierOrder ● SupplierOrder object
Interfaces
Node interface
Any entity that can be loaded by its global id through the node(id: ID!) query.
Returned By
goodsReceiptLineItem query
Member Of
GoodsReceiptLineItemEdge object