MGCLatticePriceInquiryRequestContract
Request contract for a read-only sales price inquiry. Describes the tuple the classic PriceDisc engine resolves an effective sales price for: legal entity + customer + item + quantity + date, with optional currency, unit, and site/warehouse. Read-only inquiry - no idempotency, no posting; CorrelationId is echoed on the response.
Methods
parmCorrelationId
Gets or sets the correlation identifier for tracing the request across systems; echoed on the response.
- Visibility:
public - Returns:
GuidThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes | The value to set. |
parmLegalEntityId
Gets or sets the legal entity (company) to resolve the price in. Blank uses the session company.
- Visibility:
public - Returns:
DataAreaIdThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_legalEntityId | DataAreaId | Yes | The value to set. |
parmCustAccount
Gets or sets the customer account whose price groups drive the resolution.
- Visibility:
public - Returns:
CustAccountThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_custAccount | CustAccount | Yes | The value to set. |
parmItemId
Gets or sets the item number to price.
- Visibility:
public - Returns:
ItemIdThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemId | ItemId | Yes | The value to set. |
parmQty
Gets or sets the quantity (for quantity-break agreements). Zero defaults to 1.
- Visibility:
public - Returns:
QtyThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_qty | Qty | Yes | The value to set. |
parmPriceDate
Gets or sets the effective date. Empty defaults to the session date.
- Visibility:
public - Returns:
TransDateThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_priceDate | TransDate | Yes | The value to set. |
parmCurrencyCode
Gets or sets the currency. Empty defaults to the customer's currency.
- Visibility:
public - Returns:
CurrencyCodeThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_currencyCode | CurrencyCode | Yes | The value to set. |
parmUnitId
Gets or sets the unit of measure. Empty defaults to the item's sales unit.
- Visibility:
public - Returns:
UnitOfMeasureSymbolThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_unitId | UnitOfMeasureSymbol | Yes | The value to set. |
parmSiteId
Gets or sets the optional inventory site (a pricing dimension for site-specific agreements).
- Visibility:
public - Returns:
InventSiteIdThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_siteId | InventSiteId | Yes | The value to set. |
parmWarehouseId
Gets or sets the optional warehouse.
- Visibility:
public - Returns:
InventLocationIdThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_warehouseId | InventLocationId | Yes | The value to set. |
parmExternalSystem
Gets or sets the external system whose keys the request's external key members hold.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem value. |
parmCustAccountExternalKey
Gets or sets the external system's key of the customer, in place of CustAccount.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe CustAccountExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_custAccountExternalKey | MGCLatticeExternalKey | Yes | The CustAccountExternalKey value. |
parmItemIdExternalKey
Gets or sets the external system's key of the released product, in place of ItemId.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe ItemIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemIdExternalKey | MGCLatticeExternalKey | Yes | The ItemIdExternalKey value. |