PriceDisc.makeKey Method [AX 2012]

Composes a key based on the specified values and on the current data area ID.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          protected container makeKey(
            PriceType _relation, 
            TableGroupAll _itemCode, 
            ItemId _itemRel, 
            TableGroupAll _accountCode, 
            CustVendAC _accountRel, 
            UnitOfMeasureSymbol _unitID, 
            CurrencyCode _currency, 
            InventDimId _inventDimId, 
           [AgreementHeaderExtRecId_RU _agreementHeaderExtRecId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected container makeKey(
            PriceType _relation, 
            TableGroupAll _itemCode, 
            ItemId _itemRel, 
            TableGroupAll _accountCode, 
            CustVendAC _accountRel, 
            UnitOfMeasureSymbol _unitID, 
            CurrencyCode _currency, 
            InventDimId _inventDimId, 
           [AgreementHeaderExtRecId_RU _agreementHeaderExtRecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected container makeKey(
            PriceType _relation, 
            TableGroupAll _itemCode, 
            ItemId _itemRel, 
            TableGroupAll _accountCode, 
            CustVendAC _accountRel, 
            UnitOfMeasureSymbol _unitID, 
            CurrencyCode _currency, 
            InventDimId _inventDimId)

  Microsoft Dynamics AX 2012 (FPK)
          protected container makeKey(
            PriceType _relation, 
            TableGroupAll _itemCode, 
            ItemId _itemRel, 
            TableGroupAll _accountCode, 
            CustVendAC _accountRel, 
            UnitOfMeasureSymbol _unitID, 
            CurrencyCode _currency, 
            InventDimId _inventDimId)

  Microsoft Dynamics AX 2012 (SYS)
          protected container makeKey(
            PriceType _relation, 
            TableGroupAll _itemCode, 
            ItemId _itemRel, 
            TableGroupAll _accountCode, 
            CustVendAC _accountRel, 
            UnitOfMeasureSymbol _unitID, 
            CurrencyCode _currency, 
            InventDimId _inventDimId)

Run On

Server

Parameters

_relation
Type: PriceType Enumeration
A PriceType enumeration value.
_itemCode
Type: TableGroupAll Enumeration
A TableGroupAll enumeration value.
_itemRel
Type: ItemId Extended Data Type
An ItemId data value.
_accountCode
Type: TableGroupAll Enumeration
A TableGroupAll enumeration value.
_accountRel
Type: CustVendAC Extended Data Type
A CustVendAC value.
_unitID
Type: UnitOfMeasureSymbol Extended Data Type
A UnitOfMeasureSymbol value.
_currency
Type: CurrencyCode Extended Data Type
A CurrencyCode value;
_inventDimId
Type: InventDimId Extended Data Type
An InventDimId value.
_agreementHeaderExtRecId
Type: AgreementHeaderExtRecId_RU Extended Data Type

Return Value

Type: container
A container.

Community Additions

ADD
Show: