Skip to main content

MGCLatticeInventTagJournalLineContract

Data contract for one counting tag of a tag counting journal request: the tag number, its status and, for a used tag, the item, the counted quantity and where it was counted.

Methods​

construct​

Creates a new instance of the MGCLatticeInventTagJournalLineContract class.

  • Visibility: public
  • Returns: MGCLatticeInventTagJournalLineContract A new MGCLatticeInventTagJournalLineContract instance.

No parameters.

parmTagNumber​

Gets or sets the tag number. Required, unique within the request, and at most as long as the tag number field.

  • Visibility: public
  • Returns: str The TagNumber value.
NameTypeOptionalDescription
_tagNumberstrYesThe TagNumber value.

parmTagStatus​

Gets or sets the tag status, sent as the integer value of InventJournalTagStatus: 1 = Used (the tag counted an item), 2 = Voided, 3 = Missing. Optional: 0 means Used when the line names an item.

  • Visibility: public
  • Returns: InventJournalTagStatus The TagStatus value.
NameTypeOptionalDescription
_tagStatusInventJournalTagStatusYesThe TagStatus value.

parmItemId​

Gets or sets the counted item; required on a used tag and not allowed on a voided or missing one.

  • Visibility: public
  • Returns: ItemId The ItemId value.
NameTypeOptionalDescription
_itemIdItemIdYesThe ItemId value.

parmItemIdExternalKey​

Gets or sets the external system's key of the released product, in place of ItemId. Uses the request's ExternalSystem.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The ItemIdExternalKey value.
NameTypeOptionalDescription
_itemIdExternalKeyMGCLatticeExternalKeyYesThe ItemIdExternalKey value.

parmQty​

Gets or sets the quantity counted on the tag, in the item's inventory unit; zero or more.

  • Visibility: public
  • Returns: Qty The Qty value.
NameTypeOptionalDescription
_qtyQtyYesThe Qty value.

parmInventDimId​

Gets or sets the inventory dimensions where the tag was counted. Optional; SiteId and WarehouseId are applied on top of it.

  • Visibility: public
  • Returns: InventDimId The InventDimId value.
NameTypeOptionalDescription
_inventDimIdInventDimIdYesThe InventDimId value.

parmSiteId​

Gets or sets the site where the tag was counted. Optional; a warehouse without a site uses the warehouse's site.

  • Visibility: public
  • Returns: InventSiteId The SiteId value.
NameTypeOptionalDescription
_siteIdInventSiteIdYesThe SiteId value.

parmWarehouseId​

Gets or sets the warehouse where the tag was counted. Optional.

  • Visibility: public
  • Returns: InventLocationId The WarehouseId value.
NameTypeOptionalDescription
_warehouseIdInventLocationIdYesThe WarehouseId value.