This method is used to default the CategoryId from either the Worker's default category or from the project parameters default Hour category.
Category will be validated if necessary if Worker/Category or Project/Categroy validation is setup.
Syntax
public ProjCategoryId setDefaultCategory([boolean _isInterCompany])
Run On
Called
Parameters
- _isInterCompany
Type: boolean
Indicates whether additional valdation of the default category is necessary for intercompany timesheet lines.
Return Value
Type: ProjCategoryId Extended Data Type
The default Category Id.
Remarks
This method returns the default category id which is used to initalize the TSTimesheetLine.