InventPosting::costItemSite_CN Method

Determines the account for posting cost with site information.

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

Syntax

server private static LedgerDimensionDefaultAccount costItemSite_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 account.

Remarks

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

See Also

Reference

InventPosting Table