ProjJournalTrans::checkCategoryEmplOption Method
Validates the category-employee option for the specified category and employee.
Syntax
client server public static boolean checkCategoryEmplOption(ProjCategoryId _categoryId, ProjWorkerRecId _workerRecId)
Run On
Called
Parameters
- _categoryId
Type: ProjCategoryId Extended Data Type
The project category.
- _workerRecId
Type: ProjWorkerRecId Extended Data Type
The worker record ID.
Return Value
Type: boolean
true if the category-employee option is valid; otherwise, false.
Remarks
This method returns false and throws an error if the specified category requires an employee and the specified employee ID is not specified. It also returns false and throws an error if the specified category does not require an employee and the specified employee ID is specified.