Skip to main content

CreateGRNInput

A new goods receipt.

input CreateGRNInput {
currency: String
damageReported: Boolean!
deliveryDate: String
driverName: String
exchangeRate: Float
expectedDate: String
inspectedAt: String
inspectedBy: String
items: [CreateGRNItemInput!]!
metadata: JSON
notes: String
orderDate: String
purchaseOrderId: String
qualityScore: Float
receiptDocument: String
shortageReported: Boolean!
status: String!
vehicleNumber: String
vendorPartnerId: String!
warehouseId: String!
}

Fields​

CreateGRNInput.currency ● String scalar​

ISO 4217 currency code.

CreateGRNInput.damageReported ● Boolean! non-null scalar​

True when damage was reported on delivery.

CreateGRNInput.deliveryDate ● String scalar​

The date the goods arrived. Defaults to now.

CreateGRNInput.driverName ● String scalar​

The name of the driver who delivered the goods.

CreateGRNInput.exchangeRate ● Float scalar​

The rate to the organization's base currency: 1 unit of the receipt currency in the base currency. Needed when the currency is not the base currency.

CreateGRNInput.expectedDate ● String scalar​

The date the goods were expected.

CreateGRNInput.inspectedAt ● String scalar​

When the goods were inspected.

CreateGRNInput.inspectedBy ● String scalar​

The ID of the user who inspected the goods.

CreateGRNInput.items ● [CreateGRNItemInput!]! non-null input​

The lines received.

CreateGRNInput.metadata ● JSON scalar​

Additional data attached to the record, as JSON.

CreateGRNInput.notes ● String scalar​

Notes about the receipt.

CreateGRNInput.orderDate ● String scalar​

The date the purchase order was placed. Used to work out the actual lead time.

CreateGRNInput.purchaseOrderId ● String scalar​

The ID of the purchase order.

CreateGRNInput.qualityScore ● Float scalar​

An overall quality score for the delivery.

CreateGRNInput.receiptDocument ● String scalar​

A reference to the delivery document, such as a delivery note number.

CreateGRNInput.shortageReported ● Boolean! non-null scalar​

True when a shortage was reported on delivery.

CreateGRNInput.status ● String! non-null scalar​

The receipt status, for example DRAFT, CONFIRMED, PARTIALLY_RECEIVED or RECEIVED.

CreateGRNInput.vehicleNumber ● String scalar​

The registration number of the delivery vehicle.

CreateGRNInput.vendorPartnerId ● String! non-null scalar​

The ID of the vendor that delivered the goods.

CreateGRNInput.warehouseId ● String! non-null scalar​

The ID of the warehouse.

Member Of​

createGRN mutation