Share via


ProjJournalTrans.checkWorkerAllowed Method

Determines whether the worker specified for a journal line is valid.

Syntax

private boolean checkWorkerAllowed()

Run On

Called

Return Value

Type: boolean
true if the worker is valid; otherwise, false.

Remarks

This method returns true if worker is not specified for an hour type journal. It also returns false and throws an error if the category that is used on the journal line requires a worker record ID and the worker is not specified. It also returns false and throws an error if the category that is used on the journal line does not require a worker and the worker record ID is specified.

See Also

Reference

ProjJournalTrans Table