Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _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