Represents production batch level details for a Goods Received Note
(GRN) item, including quantities received, accepted, and damaged for a specific batch
number. This object is available in API version 67.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Fields
AcceptedQuantity
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The quantity of the item accepted after inspection.
BatchNumber
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The batch number of the associated production batch.
Comments
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Additional notes or remarks related to this Goods Received Note item.
DamagedQuantity
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description
GoodsReceivedNoteItemId
- Type: reference
- Properties: Create, Filter, Group, Sort
-
Description: The Goods Received Note Item associated with this production
batch.
This field is a relationship field.
- Relationship Name: GoodsReceivedNoteItem
- Relationship Type: Master-detail
- Refers To: GoodsReceivedNoteItem (the master object)
LastSyncedInvReceivedQty
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The quantity received during the most recent inventory synchronization.
ProductId
- Type: reference
- Properties: Filter, Group, Nillable, Sort
-
Description: The product associated with this Goods Received Note item.
This field is a relationship field.
- Relationship Name: Product
- Refers To: Product2
ProductionBatchId
- Type: reference
- Properties: Create, Filter, Group, Sort, Update
-
Description: The production batch associated with this Goods Received Note
Item.
This field is a relationship field.
- Relationship Name: ProductionBatch
- Refers To: ProductionBatch
PurchaseOrderItemNumberId
- Type: reference
- Properties: Filter, Group, Nillable, Sort
-
Description: The specific item number from the related purchase order.
This field is a relationship field.
- Relationship Name: PurchaseOrderItemNumber
- Refers To: PurchaseOrderItem
ReceivedQuantity
- Type: double
- Properties: Create, Filter, Sort, Update
- Description: The actual quantity of the item received.
StatusCode
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The current status of the item within the Goods Received Note process.
-
Possible values:
- Approved
- Cancelled
- Closed
- Draft
- Inspected
- Partially Received
- Pending Inspection
- Pending Receipt
- Received
- Rejected
- Returned
- Submitted
UnitofMeasureId
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The unit of measure used to quantify the item.
This field is a relationship field.
- Relationship Name: UnitofMeasure
- Refers To: UnitOfMeasure
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
GRNItemProductionBatchHistory: History is available for tracked fields of the object.