GRNItem
One line of a goods receipt.
type GRNItem {
acceptedPercentage: Float!
acceptedQuantity: Float!
batchNumber: String
createdAt: DateTime!
damageCount: Int!
defectCount: Int!
deletedAt: DateTime
deletedBy: String
discountAmount: Float!
discountPercent: Float!
enteredBy: String!
expiryDate: DateTime
grnId: ID!
id: ID!
invoicedQuantity: Float!
metadata: JSON!
notes: String
orderedQuantity: Float!
organizationId: String!
product: GRNItemProduct
productId: ID!
qualityGrade: String
receivedPercentage: Float!
receivedQuantity: Float!
rejectedPercentage: Float!
rejectedQuantity: Float!
remainingQuantity: Float
returnableQuantity: Float
returnedQuantity: Float
taxRate: Float!
totalCost: Float!
unitCost: Float!
updatedAt: DateTime!
updatedBy: String!
variant: GRNItemVariant
variantId: ID!
vendorProduct: GRNItemVendorProduct
vendorProductId: ID
}
Fields
GRNItem.acceptedPercentage ● Float! non-null scalar
The accepted quantity as a percent of the ordered quantity.
GRNItem.acceptedQuantity ● Float! non-null scalar
The quantity accepted after inspection.
GRNItem.batchNumber ● String scalar
The batch number of the stock.
GRNItem.createdAt ● DateTime! non-null scalar
When the record was created.
GRNItem.damageCount ● Int! non-null scalar
How many damaged units were found.
GRNItem.defectCount ● Int! non-null scalar
How many defective units were found.
GRNItem.deletedAt ● DateTime scalar
When the record was deleted. Empty while the record is live.
GRNItem.deletedBy ● String scalar
The ID of the user who deleted the record.
GRNItem.discountAmount ● Float! non-null scalar
The discount amount, worked out from the percent.
GRNItem.discountPercent ● Float! non-null scalar
The discount carried from the purchase order line, in percent.
GRNItem.enteredBy ● String! non-null scalar
The ID of the user who created the record.
GRNItem.expiryDate ● DateTime scalar
The date the stock expires.
GRNItem.grnId ● ID! non-null scalar
The ID of the goods receipt the line belongs to.
GRNItem.id ● ID! non-null scalar
The unique ID of this record.
GRNItem.invoicedQuantity ● Float! non-null scalar
The quantity already billed on a purchase invoice.
GRNItem.metadata ● JSON! non-null scalar
Additional data attached to the record, as JSON.
GRNItem.notes ● String scalar
Notes about the line.
GRNItem.orderedQuantity ● Float! non-null scalar
The quantity ordered.
GRNItem.organizationId ● String! non-null scalar
The ID of the organization the record belongs to.
GRNItem.product ● GRNItemProduct object
The product received.
GRNItem.productId ● ID! non-null scalar
The ID of the product.
GRNItem.qualityGrade ● String scalar
The quality grade given to the line.
GRNItem.receivedPercentage ● Float! non-null scalar
The received quantity as a percent of the ordered quantity.
GRNItem.receivedQuantity ● Float! non-null scalar
The quantity that arrived.
GRNItem.rejectedPercentage ● Float! non-null scalar
The rejected quantity as a percent of the ordered quantity.
GRNItem.rejectedQuantity ● Float! non-null scalar
The quantity rejected.
GRNItem.remainingQuantity ● Float scalar
The quantity still to bill: accepted less returned less invoiced, never below zero. Only set when a single receipt is fetched.
GRNItem.returnableQuantity ● Float scalar
The quantity that can still be returned to the vendor: accepted less earlier purchase returns. Only set when a single receipt is fetched.
GRNItem.returnedQuantity ● Float scalar
The quantity sent back to the vendor on live purchase returns. Only set when a single receipt is fetched.
GRNItem.taxRate ● Float! non-null scalar
The tax rate carried from the purchase order line, in percent.
GRNItem.totalCost ● Float! non-null scalar
The line cost, in the receipt currency.
GRNItem.unitCost ● Float! non-null scalar
The cost of one unit, in the receipt currency.
GRNItem.updatedAt ● DateTime! non-null scalar
When the record was last changed.
GRNItem.updatedBy ● String! non-null scalar
The ID of the user who last changed the record.
GRNItem.variant ● GRNItemVariant object
The variant received.
GRNItem.variantId ● ID! non-null scalar
The ID of the product variant.
GRNItem.vendorProduct ● GRNItemVendorProduct object
The vendor product received.
GRNItem.vendorProductId ● ID scalar
The ID of the vendor product the line is for.
Member Of
GRN object