Share via


PriceDisc::findItemPriceAgreement Method [AX 2012]

Finds the price agreement for a given item.

Syntax

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

Server

Parameters

  • _inventDim
    Type: InventDim Table
    The set of inventory dimensions to match.

Return Value

Type: container
A container with the following: price, markup, price unit, delivery days, calendar days.
PDS feature adds one additional value - the advanced pricing calculation ID.

See Also

Reference

PriceDisc Class