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
disposedQuantity: Int
goodsReceiptId: ID!
plannedDisposalQuantity: Int!
productId: ID
quantity: Int!
restockedQuantity: Int
returnOrderId: ID
returnOrderLineItemId: ID
supplierOrderId: ID
totalPrice: Float
totalPriceInDefaultCurrency: Float
unitPrice: Float
unitPriceInDefaultCurrency: Float
batch: Batch
destinationBinLocation: BinLocation
goodsReceipt: GoodsReceipt
product: Product
returnOrder: ReturnOrder
returnOrderLineItem: ReturnOrderLineItem
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.disposedQuantity ● Int scalar
Number of the received units that were disposed. Contains the units the line item's planned disposal disposed when the goods receipt was stocked, plus its share of units disposed without reference to a line item, such as the remaining stock of a goods receipt, which line items of the same product share like restockedQuantity. Reducing the line item's quantity is a correction and does not count as disposed. Until external stock gets a stock location of its own, units booked as external, such as a return accepted at a location Pickware does not manage, count as disposed as well.
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.restockedQuantity ● Int scalar
Number of the received units that were moved from the goods receipt into stock, for example a warehouse, a bin location or a stock container. Stock movements do not reference a line item, so line items of the same product share what was moved in the order of their IDs, each up to its quantity minus the disposals recorded on it.
GoodsReceiptLineItem.returnOrderId ● ID scalar
ID of the originating return order, when the receipt was opened from a customer return.
GoodsReceiptLineItem.returnOrderLineItemId ● ID scalar
ID of the return order line item whose units this line item received, 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.returnOrder ● ReturnOrder object
GoodsReceiptLineItem.returnOrderLineItem ● ReturnOrderLineItem 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