PayrollPositionDetails.canUpdateOrDeletePositionDetail Method
Checks whether the PayrollPositionDetails table record can be updated or deleted based on the existence of records in the PayrollPayStatement and PayrollEarningStatement tables.
Syntax
public boolean canUpdateOrDeletePositionDetail(ValidFromDate _validFrom, ValidToDate _validTo)
Run On
Called
Parameters
- _validFrom
Type: ValidFromDate Extended Data Type
The value of the ValidFrom field of the PayrollPositionDetails table.
- _validTo
Type: ValidToDate Extended Data Type
The value of the ValidTo field of the PayrollPositionDetails table.
Return Value
Type: boolean
true if the record can be updated or deleted; otherwise, false.