Compartir a través de


InventPosting::accountItemLedgerDimension Method

Retrieves the specified posting ledger dimension.

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 accountItemLedgerDimension(
            InventAccountType _accountType, 
            ItemId _itemId, 
            ItemGroupId _itemGroup, 
            InventCategoryRelation _itemCategory, 
            CustVendAC _accountNum, 
            CustVendGroupId _accountGroup, 
            TaxGroup _taxGroup, 
           [InventDim inventDim_RU, 
            InventSiteRelation_CN _siteRelation])

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

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

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

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

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The posting ledger dimension for the account item; otherwise, zero.

See Also

Reference

InventPosting Table