InventPosting::costItemLedgerDimensionSite_CN Method

Determines the ledger dimension for posting cost with site information.

If the _accountType is not related to site, just call costItemLedgerDimension and ignore the site information.

Syntax

server private static LedgerDimensionDefaultAccount costItemLedgerDimensionSite_CN(
    InventAccountType _accountType, 
    InventSiteRelation_CN _siteRelation, 
    CostGroupId _costGroup, 
    ItemId _itemId, 
   [ItemGroupId _itemGroup])

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
A ledger dimension.

Remarks

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

See Also

Reference

InventPosting Table