ReleaseUpdateDB60_TrvCategoryHelper.findSharedCategoryForExpense Method [AX 2012]

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

protected SharedCategory findSharedCategoryForExpense(CategoryId _CategoryId, TrvExpTypeEDT _expType)

Run On

Called

Parameters

_CategoryId
Type: CategoryId Extended Data Type
expense category id
_expType
Type: TrvExpTypeEDT Extended Data Type
expense type of the category passed

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

Community Additions

ADD
Show: