InventPosting::accountItemSite_CN Method

Uses the information of account, item, and site to find the matched ledger account with specified InventAccountType.

Syntax

server private static LedgerDimensionDefaultAccount accountItemSite_CN(
    InventAccountType _accountType, 
    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
The matched ledger account. If not matched, return ''.

Remarks

The priority of site is the lowest among item, account and site.

See Also

Reference

InventPosting Table