PriceDisc::findItemPriceAgreement Method [AX 2012]
Finds the price agreement for a given item.
Note |
|---|
|
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using. |
Microsoft Dynamics AX 2012 R3
server public static container findItemPriceAgreement(
ModuleInventPurchSales _moduleType,
ItemId _itemId,
InventDim _inventDim,
UnitOfMeasureSymbol _unitID,
TransDate _priceDate,
Qty _qty,
CustVendAC _accountId,
CurrencyCode _currency,
PriceGroupId _priceGroupId,
[AgreementHeaderExtRecId_RU _agreementHeaderExtRecId,
CustVendAC _agreementPartnerCode])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static container findItemPriceAgreement(
ModuleInventPurchSales _moduleType,
ItemId _itemId,
InventDim _inventDim,
UnitOfMeasureSymbol _unitID,
TransDate _priceDate,
Qty _qty,
CustVendAC _accountId,
CurrencyCode _currency,
PriceGroupId _priceGroupId,
[AgreementHeaderExtRecId_RU _agreementHeaderExtRecId,
CustVendAC _agreementPartnerCode])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static container findItemPriceAgreement(
ModuleInventPurchSales _moduleType,
ItemId _itemId,
InventDim _inventDim,
UnitOfMeasureSymbol _unitID,
TransDate _priceDate,
Qty _qty,
CustVendAC _accountId,
CurrencyCode _currency,
PriceGroupId _priceGroupId)
Microsoft Dynamics AX 2012 (FPK)
server public static container findItemPriceAgreement(
ModuleInventPurchSales _moduleType,
ItemId _itemId,
InventDim _inventDim,
UnitOfMeasureSymbol _unitID,
TransDate _priceDate,
Qty _qty,
CustVendAC _accountId,
CurrencyCode _currency,
PriceGroupId _priceGroupId)
Microsoft Dynamics AX 2012 (SYS)
server public static container findItemPriceAgreement(
ModuleInventPurchSales _moduleType,
ItemId _itemId,
InventDim _inventDim,
UnitOfMeasureSymbol _unitID,
TransDate _priceDate,
Qty _qty,
CustVendAC _accountId,
CurrencyCode _currency,
PriceGroupId _priceGroupId)
Run On
ServerParameters
- _moduleType
- Type: ModuleInventPurchSales Enumeration
The inventory/purchase/sales module for the price agreement.
- _itemId
- Type: ItemId Extended Data Type
The item ID to locate an agreement for.
- _inventDim
- Type: InventDim Table
The set of inventory dimensions to match.
- _unitID
- Type: UnitOfMeasureSymbol Extended Data Type
The quantity unit to match.
- _priceDate
- Type: TransDate Extended Data Type
The date to use to for the effectivity of the price agreement.
- _qty
- Type: Qty Extended Data Type
The quantity to match.
- _accountId
- Type: CustVendAC Extended Data Type
The currency account ID to match.
- _currency
- Type: CurrencyCode Extended Data Type
The current ID to match.
- _priceGroupId
- Type: PriceGroupId Extended Data Type
The price group to match.
- _agreementHeaderExtRecId
- Type: AgreementHeaderExtRecId_RU Extended Data Type
The ID of the related agreement header record.
- _agreementPartnerCode
- Type: CustVendAC Extended Data Type
The ID of the related agreement partner code.
Return Value
Type: containerA container with the following: price, markup, price unit, delivery days, calendar days.
PDS feature adds one additional value - the advanced pricing calculation ID.
Show:
Note