Skip to main content

MGCLatticeInventJournalLineContract

Data contract representing an inventory journal line with item, quantity, cost, and inventory dimension details.

Methods​

new​

Initializes a new instance of the MGCLatticeInventJournalLineContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeInventJournalLineContract class.

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

No parameters.

parmOffsetMainAccountId​

Gets or sets the optional counter-account (main account) for the line. A movement journal line must have one unless the item's inventory posting profile supplies the "Inventory expenditure, profit/loss" accounts; without either, posting stops with "Offset account is not specified".

  • Visibility: public
  • Returns: str The offset main account id.
NameTypeOptionalDescription
_offsetMainAccountIdstrYesThe offset main account id.

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. On a counting journal this is the counted quantity; the line posts the difference to the on-hand quantity at the posting date.

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

parmCostPrice​

Gets or sets the cost price per unit.

  • Visibility: public
  • Returns: CostPrice The CostPrice value.
NameTypeOptionalDescription
_costPriceCostPriceYesThe CostPrice value.

parmCostAmount​

Gets or sets the total cost amount for the line.

  • Visibility: public
  • Returns: CostAmount The CostAmount value.
NameTypeOptionalDescription
_costAmountCostAmountYesThe CostAmount value.

parmToInventDimId​

Gets or sets the target inventory dimension identifier for transfers.

  • Visibility: public
  • Returns: InventDimId The ToInventDimId value.
NameTypeOptionalDescription
_toInventDimIdInventDimIdYesThe ToInventDimId 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.