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:
MGCLatticeInventJournalLineContractA 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:
strThe offset main account id.
| Name | Type | Optional | Description |
|---|---|---|---|
_offsetMainAccountId | str | Yes | The offset main account id. |
parmItemId
Gets or sets the item number for the line.
- Visibility:
public - Returns:
ItemIdThe ItemId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemId | ItemId | Yes | The ItemId value. |
parmInventDimId
Gets or sets the inventory dimension identifier (site, warehouse, etc.).
- Visibility:
public - Returns:
InventDimIdThe InventDimId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_inventDimId | InventDimId | Yes | The 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:
QtyThe Qty value.
| Name | Type | Optional | Description |
|---|---|---|---|
_qty | Qty | Yes | The Qty value. |
parmCostPrice
Gets or sets the cost price per unit.
- Visibility:
public - Returns:
CostPriceThe CostPrice value.
| Name | Type | Optional | Description |
|---|---|---|---|
_costPrice | CostPrice | Yes | The CostPrice value. |
parmCostAmount
Gets or sets the total cost amount for the line.
- Visibility:
public - Returns:
CostAmountThe CostAmount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_costAmount | CostAmount | Yes | The CostAmount value. |
parmToInventDimId
Gets or sets the target inventory dimension identifier for transfers.
- Visibility:
public - Returns:
InventDimIdThe ToInventDimId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_toInventDimId | InventDimId | Yes | The 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:
MGCLatticeExternalKeyThe ItemIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemIdExternalKey | MGCLatticeExternalKey | Yes | The ItemIdExternalKey value. |