MGCLatticeInventOwnershipJournalLineContract
Data contract for one line of an ownership change journal request: an item, the quantity, the vendor that owns it now, and where the stock is.
Methods
construct
Creates a new instance of the MGCLatticeInventOwnershipJournalLineContract class.
- Visibility:
public - Returns:
MGCLatticeInventOwnershipJournalLineContractA new MGCLatticeInventOwnershipJournalLineContract instance.
No parameters.
parmItemId
Gets or sets the item; it must track the Owner inventory dimension.
- 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 whose ownership changes, in the item's inventory unit; it must be greater than zero.
- Visibility:
public - Returns:
QtyThe Qty value.
| Name | Type | Optional | Description |
|---|---|---|---|
_qty | Qty | Yes | The Qty value. |
parmVendAccount
Gets or sets the vendor that owns the stock now; its inventory owner becomes the line's owner dimension. Optional when InventDimId already carries the vendor's owner.
- Visibility:
public - Returns:
VendAccountThe VendAccount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendAccount | VendAccount | Yes | The VendAccount value. |
parmVendAccountExternalKey
Gets or sets the external system's key of the vendor, in place of VendAccount. Uses the request's ExternalSystem.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe VendAccountExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendAccountExternalKey | MGCLatticeExternalKey | Yes | The VendAccountExternalKey value. |
parmInventDimId
Gets or sets the inventory dimensions of the vendor-owned stock. Optional; SiteId, WarehouseId and the vendor's owner 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 of the vendor-owned stock. Optional; a warehouse without a site uses the warehouse's site.
- Visibility:
public - Returns:
InventSiteIdThe SiteId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_siteId | InventSiteId | Yes | The SiteId value. |
parmWarehouseId
Gets or sets the warehouse of the vendor-owned stock. Optional.
- Visibility:
public - Returns:
InventLocationIdThe WarehouseId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_warehouseId | InventLocationId | Yes | The WarehouseId value. |