Share via


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

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.

See Also

Reference

ProjJournalTrans Table