TrvExpTable.validateProject Method
Checks whether the project that is used in the expense header and lines are valid.
Syntax
private boolean validateProject([boolean validateProjectOnLinesAsWell])
Run On
Called
Parameters
- validateProjectOnLinesAsWell
Type: boolean
A Boolean value that indicates whether to validate the projects of the expense lines of the expense header also.
Return Value
Type: boolean
false if any project that is used is not valid; otherwise, true.
Remarks
This is to be called during the submission and posting.