Skip to main content

MGCLatticePurchPostingLineContract

Data contract representing a purchase order posting line with LineNum, ItemId, InventDimId, Qty, and selection flag.

Methods​

new​

Initializes a new instance of the MGCLatticePurchPostingLineContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticePurchPostingLineContract class.

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

No parameters.

parmLineNum​

Gets or sets the line number for order line identification.

  • Visibility: public
  • Returns: LineNum The LineNum value.
NameTypeOptionalDescription
_lineNumLineNumYesThe LineNum value.

parmItemId​

Gets or sets the item number for the line.

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

parmInventDimId​

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

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

parmQty​

Gets or sets the quantity for the line.

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

parmIsSelected​

Gets or sets whether this line is posted. Defaults to true: a line present in the request is posted unless it says IsSelected: false. A request whose lines are all unselected is refused.

  • Visibility: public
  • Returns: boolean True if the line is selected; otherwise, false.
NameTypeOptionalDescription
_isSelectedbooleanYesTrue if the line is selected; otherwise, false.