InventPosting::accountItemSiteWithBackupLedgerDim_CN Method

Uses the information of account, item, and site 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

server private static LedgerDimensionDefaultAccount accountItemSiteWithBackupLedgerDim_CN(
    InventAccountType _accountType, 
    InventAccountType _backupAccountType, 
    InventSiteRelation_CN _siteRelation, 
    ItemId _itemNum, 
    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 a particular inventory account type.

See Also

Reference

InventPosting Table