Share via


InventPosting::accountNumLedgerDimensionWithSite_CN Method

Uses a set of parameters including site info to find the matched ledger dimension.

Syntax

server public static LedgerDimensionDefaultAccount accountNumLedgerDimensionWithSite_CN(
    InventAccountType _accountType, 
    InventSiteCode_CN _siteCode, 
    InventSiteRelation_CN _siteRelation, 
    InventPostingItemCode _itemCode, 
    ItemRelation _itemRelation, 
    InventCategoryRelation _categoryRelation, 
    TableGroupAll _accountCode, 
    CustVendRel _accountRelation, 
    TaxGroup _taxGroup, 
   [TableGroupAll _costCode, 
    CostRelation _costRelation])

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The related ledger dimension. Return 0 if not matched.

See Also

Reference

InventPosting Table