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
- _earningCode
Type: PayrollEarningCodeRecId Extended Data Type
The PayrollEarningCode foreign key value for which to create reference.
- _workCalendarDateLine
Type: WorkCalendarDateLineRecId Extended Data Type
The WorkCalendarDateLine foreign key value for which to create a reference.
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.