ReleaseUpdateDB60_TrvCategoryHelper.findSharedCategoryForProject Method [AX 2012]

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

protected SharedCategory findSharedCategoryForProject(CategoryId _CategoryId, ProjCategoryType _categoryType)

Run On

Called

Parameters

_CategoryId
Type: CategoryId Extended Data Type
expense category id
_categoryType
Type: ProjCategoryType Enumeration
category type of the passed category

Return Value

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

Community Additions

ADD
Show: