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.
This function will check the combination of the worker and category is valid for the expense line when the validation of category/worker parameter is set to mandatory
Syntax
client server public static boolean checkWorkerCategory(
ProjWorkerRecId _workerRecId,
ProjCategoryId _categoryId,
boolean _isIntercompany,
[boolean _showValidationMessage])
Run On
Called
Parameters
- _workerRecId
Type: ProjWorkerRecId Extended Data Type
The record ID of the worker.
- _categoryId
Type: ProjCategoryId Extended Data Type
The expense category ID.
- _isIntercompany
Type: boolean
Is the expense line belongs to intercompany.
- _showValidationMessage
Type: boolean
Indicates whether validation error message to be shown or not.
Return Value
Type: boolean
true, if the combination of worker and category is valid; false, otherwise.
Remarks
Performs worker/category validation.