MGCLatticeSalesOrderCaptureLineContract
Line-level data contract for capturing (creating) a sales order line: the item, quantity, sales unit (UnitId), unit price (UnitPrice) and ship-from site/warehouse (or a pre-resolved inventory dimension id).
Methods
new
Initializes a new instance of the MGCLatticeSalesOrderCaptureLineContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeSalesOrderCaptureLineContract class.
- Visibility:
public - Returns:
MGCLatticeSalesOrderCaptureLineContractA new MGCLatticeSalesOrderCaptureLineContract instance.
No parameters.
parmItemId
Gets or sets the item number for the line.
- Visibility:
public - Returns:
ItemId
| Name | Type | Optional | Description |
|---|---|---|---|
_itemId | ItemId | Yes |
parmQty
Gets or sets the ordered sales quantity for the line.
- Visibility:
public - Returns:
Qty
| Name | Type | Optional | Description |
|---|---|---|---|
_qty | Qty | Yes |
parmUnitId
Gets or sets the sales unit of measure for the line (optional; item default is used when blank).
- Visibility:
public - Returns:
SalesUnit
| Name | Type | Optional | Description |
|---|---|---|---|
_salesUnit | SalesUnit | Yes |
parmUnitPrice
Gets or sets the unit sales price for the line (optional; trade agreement/default price is used when zero).
- Visibility:
public - Returns:
SalesPrice
| Name | Type | Optional | Description |
|---|---|---|---|
_salesPrice | SalesPrice | Yes |
parmInventSiteId
Gets or sets the ship-from inventory site for the line (used to resolve the inventory dimension).
- Visibility:
public - Returns:
InventSiteId
| Name | Type | Optional | Description |
|---|---|---|---|
_inventSiteId | InventSiteId | Yes |
parmInventLocationId
Gets or sets the ship-from warehouse for the line (used to resolve the inventory dimension).
- Visibility:
public - Returns:
InventLocationId
| Name | Type | Optional | Description |
|---|---|---|---|
_inventLocationId | InventLocationId | Yes |
parmInventDimId
Gets or sets a pre-resolved inventory dimension id. When supplied it takes precedence over Site/Warehouse.
- Visibility:
public - Returns:
InventDimId
| Name | Type | Optional | Description |
|---|---|---|---|
_inventDimId | InventDimId | Yes |
parmItemIdExternalKey
Gets or sets the external system's key of the released product, in place of ItemId; the header's ExternalSystem applies.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe ItemIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemIdExternalKey | MGCLatticeExternalKey | Yes | The ItemIdExternalKey value. |