Share via


TSTimesheetLine.isCategoryValid Method

Indicates whether project/category and/or employee/category is valid for the specified timesheets line.

Syntax

public boolean isCategoryValid(ProjCategoryId _categoryId, [boolean _isIntercompany])

Run On

Called

Parameters

  • _isIntercompany
    Type: boolean
    _isIntercompany is True when the timesheet line's company is not the same as the timesheet header's company.

Return Value

Type: boolean
true, if categoryId is valid for both worker and project if validation is mandatory for the specified timesheets line, false otherwise.

See Also

Reference

TSTimesheetLine Table