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:
MGCLatticeInventBOMJournalLineContractA new MGCLatticeInventBOMJournalLineContract instance.
No parameters.
parmItemId
Gets or sets the BOM item to report as finished.
- Visibility:
public - Returns:
ItemIdThe ItemId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemId | ItemId | Yes | The 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:
MGCLatticeExternalKeyThe ItemIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemIdExternalKey | MGCLatticeExternalKey | Yes | The 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:
QtyThe Qty value.
| Name | Type | Optional | Description |
|---|---|---|---|
_qty | Qty | Yes | The 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:
InventDimIdThe InventDimId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_inventDimId | InventDimId | Yes | The 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:
InventSiteIdThe SiteId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_siteId | InventSiteId | Yes | The SiteId value. |
parmWarehouseId
Gets or sets the warehouse where the finished item is received. Optional.
- Visibility:
public - Returns:
InventLocationIdThe WarehouseId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_warehouseId | InventLocationId | Yes | The 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:
BOMIdThe BOMId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_bomId | BOMId | Yes | The 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:
MGCLatticeExternalKeyThe BOMIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_bomIdExternalKey | MGCLatticeExternalKey | Yes | The BOMIdExternalKey value. |