Share via


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

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.

See Also

Reference

PayrollWorkCalendarLine Table