|
FUNCTION LOCAL ClassValidateMFG_EarningsCode(col$, val$) |
Validation logic for fields assigned the data class MFG_EARNINGSCODE
|
| Parameter | Description |
| col$ |
[input, string] column name that contains the value being validated |
| val$ |
[input, string] value being validated |
|
| Returns |
[boolean] True if successful, false if method fails |
|
|
FUNCTION LOCAL ValidateEarningInPayroll(val$) |
Validates the earning code against the PR_EarningsCode table.
|
| Parameter | Description |
| val$ |
[input, string] Earnings code value to be validated against payroll table. |
|
| Returns |
retSUCCESS(1) If value exists in the payroll earnings table, retFAILURE(0) If value does not exist in the payroll earnings table. |
|