InventPosting::accountItemExtParmWithBackupLedgerDim_CN Method
Uses the information of account, item, and extended parameters to find the matched ledger dimension with specified InventAccountType and backup InventAccountType*.If no ledger dimension mathch with InventAccountType, then search with the backup InventAccountType*.
Syntax
client server public static LedgerDimensionDefaultAccount accountItemExtParmWithBackupLedgerDim_CN(
InventAccountType _accountType,
InventAccountType _backupAccountType,
InventPostingExtendParm_CN _inventPostingExtendParm,
ItemId _itemNum,
ItemGroupId _itemGroup,
InventCategoryRelation _itemCategory,
CustVendAC _accountNum,
CustVendGroupId _accountGroup,
TaxGroup _taxGroup)
Run On
Called
Parameters
- _accountType
Type: InventAccountType Enumeration
The primary account type.
- _backupAccountType
Type: InventAccountType Enumeration
The backup account type.
- _inventPostingExtendParm
Type: InventPostingExtendParm_CN Class
The extended parameters.
- _itemNum
Type: ItemId Extended Data Type
The item number.
- _itemGroup
Type: ItemGroupId Extended Data Type
The item group.
- _itemCategory
Type: InventCategoryRelation Extended Data Type
The item category.
- _accountNum
Type: CustVendAC Extended Data Type
The account number.
- _accountGroup
Type: CustVendGroupId Extended Data Type
The account group.
- _taxGroup
Type: TaxGroup Extended Data Type
The tax group.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
A ledger dimension for a particular inventory account type.