Skip to main content

MGCLatticeProductionPickListLineContract

Data contract representing a production pick list line: ItemId, Qty (in the BOM line's unit), InventDimId and optionally InventTransId, the lot id of the production BOM line to consume against.

Methods​

new​

Initializes a new instance of the MGCLatticeProductionPickListLineContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeProductionPickListLineContract class.

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

No parameters.

parmItemId​

Gets or sets the item number for the line.

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

parmQty​

Gets or sets the quantity for the line.

  • Visibility: public
  • Returns: real The Qty value.
NameTypeOptionalDescription
_qtyrealYesThe Qty value.

parmInventDimId​

Gets or sets the inventory dimension identifier (site, warehouse, etc.).

  • Visibility: public
  • Returns: str The InventDimId value.
NameTypeOptionalDescription
_inventDimIdstrYesThe InventDimId value.

parmInventTransId​

Gets or sets the lot id (ProdBOM.InventTransId) of the production BOM line the line consumes against. Optional: without it the line consumes against the order's only open BOM line for the item; when the order has no open BOM line for the item, a new BOM line is added (unplanned consumption).

  • Visibility: public
  • Returns: InventTransId The InventTransId value.
NameTypeOptionalDescription
_inventTransIdInventTransIdYesThe InventTransId 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.