Share via


PayrollWorkCalendarLine::createFromCode Method

Creates a new PayrollWorkCalendarLine row from a specified earning code and work calendar date line value.

Syntax

client server public static PayrollWorkCalendarLineRecId createFromCode(PayrollEarningCodeRecId _earningCode, WorkCalendarDateLineRecId _workCalendarDateLine)

Run On

Called

Parameters

Return Value

Type: PayrollWorkCalendarLineRecId Extended Data Type
A PayrollWorkCalendarLineRecId identifier that is not 0 (zero); otherwise, 0.

Remarks

This method is intended to be used for edit methods on tables that require a reference to an earning code.

See Also

Reference

PayrollWorkCalendarLine Table