Share via


InventPosting::accountItemWithBackupLedgerDimension Method

Retrieves the account that is based on the primary account type or the backup account type.

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 LedgerDimensionDefaultAccount accountItemWithBackupLedgerDimension(
            InventAccountType _accountType, 
            InventAccountType _backupAccountType, 
            ItemId _itemId, 
            ItemGroupId _itemGroup, 
            InventCategoryRelation _itemCategory, 
            CustVendAC _accountNum, 
            CustVendGroupId _accountGroup, 
            TaxGroup _taxGroup, 
           [InventDim _inventDim_RU])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static LedgerDimensionDefaultAccount accountItemWithBackupLedgerDimension(
            InventAccountType _accountType, 
            InventAccountType _backupAccountType, 
            ItemId _itemId, 
            ItemGroupId _itemGroup, 
            InventCategoryRelation _itemCategory, 
            CustVendAC _accountNum, 
            CustVendGroupId _accountGroup, 
            TaxGroup _taxGroup, 
           [InventDim _inventDim_RU])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static LedgerDimensionDefaultAccount accountItemWithBackupLedgerDimension(
            InventAccountType _accountType, 
            InventAccountType _backupAccountType, 
            ItemId _itemId, 
            ItemGroupId _itemGroup, 
            InventCategoryRelation _itemCategory, 
            CustVendAC _accountNum, 
            CustVendGroupId _accountGroup, 
            TaxGroup _taxGroup)

  Microsoft Dynamics AX 2012 (FPK)
          server public static LedgerDimensionDefaultAccount accountItemWithBackupLedgerDimension(
            InventAccountType _accountType, 
            InventAccountType _backupAccountType, 
            ItemId _itemId, 
            ItemGroupId _itemGroup, 
            InventCategoryRelation _itemCategory, 
            CustVendAC _accountNum, 
            CustVendGroupId _accountGroup, 
            TaxGroup _taxGroup)

  Microsoft Dynamics AX 2012 (SYS)
          server public static LedgerDimensionDefaultAccount accountItemWithBackupLedgerDimension(
            InventAccountType _accountType, 
            InventAccountType _backupAccountType, 
            ItemId _itemId, 
            ItemGroupId _itemGroup, 
            InventCategoryRelation _itemCategory, 
            CustVendAC _accountNum, 
            CustVendGroupId _accountGroup, 
            TaxGroup _taxGroup)

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
A ledger dimension for the specified inventory account type.

See Also

Reference

InventPosting Table