Share via


ReleaseUpdateDB60_TrvCategoryHelper.findSharedCategoryForExpense Method [AX 2012]

find the shared category that is most suitable to be used for the passed expense category

Syntax

protected SharedCategory findSharedCategoryForExpense(CategoryId _CategoryId, TrvExpTypeEDT _expType)

Run On

Called

Parameters

Return Value

Type: SharedCategory Table
Shared category that can be used in expense if found, else it returns the first shared category used by a category with same name

See Also

Reference

ReleaseUpdateDB60_TrvCategoryHelper Class