Skip to main content

MGCLatticeInventBOMJournalLineContract

Data contract for one line of a BOM journal request: a BOM item, the quantity to report as finished, where it is received, and optionally the BOM to consume.

Methods​

construct​

Creates a new instance of the MGCLatticeInventBOMJournalLineContract class.

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

No parameters.

parmItemId​

Gets or sets the BOM item to report as finished.

  • 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 reported as finished, in the item's inventory unit; it must be greater than zero. The components are consumed for this quantity.

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

parmInventDimId​

Gets or sets the inventory dimensions where the finished item is received. 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 finished item is received. Optional; a warehouse without a site uses the warehouse's site. The site also selects the BOM version.

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

parmWarehouseId​

Gets or sets the warehouse where the finished item is received. Optional.

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

parmBOMId​

Gets or sets the BOM whose components are consumed. Optional: when empty, the item's active BOM version for the date, quantity and site is used.

  • Visibility: public
  • Returns: BOMId The BOMId value.
NameTypeOptionalDescription
_bomIdBOMIdYesThe BOMId value.

parmBOMIdExternalKey​

Gets or sets the external system's key of the BOM, in place of BOMId. Uses the request's ExternalSystem.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The BOMIdExternalKey value.
NameTypeOptionalDescription
_bomIdExternalKeyMGCLatticeExternalKeyYesThe BOMIdExternalKey value.