Share via


InventPosting::costItemLedgerDimension Method

Determines the account to post costs to.

Syntax

server public static LedgerDimensionDefaultAccount costItemLedgerDimension(
    InventAccountType _accountType, 
    CostGroupId _costGroup, 
    ItemId _itemId, 
   [ItemGroupId _itemGroup])

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
A ledger dimension.

Remarks

This method first uses the cost group and cost group type to find the account, and then uses the item and item group.This method is currently only used to post standard cost variances.

See Also

Reference

InventPosting Table