PayrollWorkCalendarLine::updateCode Method
Updates a PayrollWorkCalendarLine row from a specified earning code and work calendar date line value.
Syntax
client server public static void updateCode(PayrollEarningCodeRecId _earningCode, WorkCalendarDateLineRecId _workCalendarDateLine)
Run On
Called
Parameters
- _earningCode
Type: PayrollEarningCodeRecId Extended Data Type
The PayrollEarningCode foreign key value for which to create a reference.
- _workCalendarDateLine
Type: WorkCalendarDateLineRecId Extended Data Type
The WorkCalendarDateLine foreign key value for which to create a reference.
Remarks
This method is intended to be used for edit methods on tables that require a reference to an earning code.
If the update will cause a blank code (zero value), the related PayrollWorkCalendarLine row is deleted, and the return value is set to 0 (zero). This indicates that the reference no longer exists.