HRMMassHireLine.validateEditingPositionId Method
Validates the edited value of the PositionId field based on the Employee Number Sequence.
Syntax
public boolean validateEditingPositionId(NumberSequenceTable _numberSequenceTablePos)
Run On
Called
Parameters
- _numberSequenceTablePos
Type: NumberSequenceTable Table
The Position Number Sequence upon which validation is based.
Return Value
Type: boolean
true if the edited value of the PositionId field is OK; otherwise, false
Remarks
If the Employee Number Sequence does not exist, accept the edited value. If the Employee Number Sequence exists and the Manual check box is marked, accept the edited value. Otherwise call the NumberSeq.checkChangeNumber method to check whether it confirms the defined format of the number sequence, whether it passes the minimum and maximum limit of the number sequence, and whether the change is allowed if the Allow user change to a higher or lower number check box is marked.