InventoryCntProdtBatchItem

Represents the inventory count of a product batch at a location. The inventory count product batch item is a child object of inventory count assessment. This object is available in API version 65.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

ActualEndDateTime

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The actual end date and time for counting the batch's inventory.

ActualQuantity

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The actual quantity of the batch's inventory.

ActualStartDateTime

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The actual start date and time for counting the batch's inventory.

AssigneeId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the person who counts the inventory.

    This field is a polymorphic relationship field.

  • Relationship Name: Assignee
  • Refers To: Contact, User

Comment

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: A comment, note, or instruction that gives additional context for the count of the batch's inventory.

DiscrepancyReasonType

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the type of reason for the discrepancy between the actual quantity and the expected quantity.

ExpectedQuantity

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The expected quantity of the batch's inventory.

InventoryCountAssessmentId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The inventory count assessment associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: InventoryCountAssessment
  • Relationship Type: Master-detail
  • Refers To: InventoryCountAssessment (the master object)

InventoryCountProductItemId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The inventory count product item associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: InventoryCountProductItem
  • Refers To: InventoryCountProductItem

IsBlindCount

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the expected inventory quantity is visible to the assignee during inventory counting (true) or not (false).
  • Default value: false

IsDiscrepancyInQuantity

  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Description: Indicates whether there's a discrepancy between the actual quantity and the expected quantity (true) or not (false).

    This field is a calculated field.

  • Default value: false

IsSerializedProduct

  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Description: Indicates whether the product being counted is serialized (true) or not (false).
  • Default value: false

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last viewed this record or list view.

LocationId

  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the location associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: Location
  • Refers To: Location

LocationPrimaryUserId

  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the primary user of the location associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: LocationPrimaryUser
  • Refers To: User

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the inventory count product batch item record.

ProductBatchItemId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The ID of the product batch item associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: ProductBatchItem
  • Refers To: ProductBatchItem

ProductId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the product associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: Product
  • Refers To: Product2

ProductItemId

  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the product item associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: ProductItem
  • Refers To: ProductItem

ProductionBatchId

  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the production batch associated with the inventory count product batch item.

    This field is a relationship field.

  • Relationship Name: ProductionBatch
  • Refers To: ProductionBatch

Status

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Specifies the status of inventory count product batch item.
  • Possible values:
    • Completed
    • InProgress—In Progress
    • NotStarted—Not Started