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
- _accountType
Type: InventAccountType Enumeration
The primary account type.
- _backupAccountType
Type: InventAccountType Enumeration
The backup account type.
- _itemId
Type: ItemId Extended Data Type
The item ID.
- _itemGroup
Type: ItemGroupId Extended Data Type
The item groups.
- _itemCategory
Type: InventCategoryRelation Extended Data Type
The item category.
- _accountNum
Type: CustVendAC Extended Data Type
The account number for the customer or vendor.
- _accountGroup
Type: CustVendGroupId Extended Data Type
The vendor account group.
- _taxGroup
Type: TaxGroup Extended Data Type
The tax group.
- _inventDim_RU
Type: InventDim Table
The inventory dimension.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
A ledger dimension for the specified inventory account type.