Skip to main content

UpdateGRNInput

Changes to a goods receipt. Omitted fields stay as they are.

input UpdateGRNInput {
currency: String
damageReported: Boolean
deliveryDate: String
driverName: String
exchangeRate: Float
expectedDate: String
id: ID!
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​

UpdateGRNInput.currency ● String scalar​

ISO 4217 currency code.

UpdateGRNInput.damageReported ● Boolean scalar​

True when damage was reported on delivery. Leave out to keep it as it is.

UpdateGRNInput.deliveryDate ● String scalar​

The date the goods arrived. Defaults to now.

UpdateGRNInput.driverName ● String scalar​

The name of the driver who delivered the goods.

UpdateGRNInput.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.

UpdateGRNInput.expectedDate ● String scalar​

The date the goods were expected.

UpdateGRNInput.id ● ID! non-null scalar​

The ID of the goods receipt to change.

UpdateGRNInput.inspectedAt ● String scalar​

When the goods were inspected.

UpdateGRNInput.inspectedBy ● String scalar​

The ID of the user who inspected the goods.

UpdateGRNInput.items ● [CreateGRNItemInput!] list input​

The lines received.

UpdateGRNInput.metadata ● JSON scalar​

Additional data attached to the record, as JSON.

UpdateGRNInput.notes ● String scalar​

Notes about the receipt.

UpdateGRNInput.orderDate ● String scalar​

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

UpdateGRNInput.purchaseOrderId ● String scalar​

The ID of the purchase order.

UpdateGRNInput.qualityScore ● Float scalar​

An overall quality score for the delivery.

UpdateGRNInput.receiptDocument ● String scalar​

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

UpdateGRNInput.shortageReported ● Boolean scalar​

True when a shortage was reported on delivery. Leave out to keep it as it is.

UpdateGRNInput.status ● String scalar​

The receipt status, for example DRAFT, CONFIRMED, PARTIALLY_RECEIVED or RECEIVED. Leave out to keep it as it is.

UpdateGRNInput.vehicleNumber ● String scalar​

The registration number of the delivery vehicle.

UpdateGRNInput.vendorPartnerId ● String scalar​

The ID of the vendor that delivered the goods.

UpdateGRNInput.warehouseId ● String scalar​

The ID of the warehouse.

Member Of​

updateGRN mutation