ProjJournalTrans.validateField Method
Validates a specified field.
Syntax
public boolean validateField(FieldId p1)
Run On
Called
Parameters
- p1
Type: FieldId Extended Data Type
The field ID of the field to validate.
Return Value
Type: boolean
true if the value of the field passed in as a parameter is valid; otherwise, false.
Remarks
This method executes as you try to leave a field on a ProjJournalTrans record. It validates the projectId field. It returns false if the status of the project used by the journal line in an hour, week, time, or revenue type journal is not active. It also validates the CategoryId field. It returns false if the category associated with the journal line that is contained in an hour, week, time, or revenue type journal has an inappropriate category type.