JmgPayAgreementLine.copyDay Method
Copies the pay agreement lines from one day in a pay agreement to another day.
Syntax
public boolean copyDay(
JmgPayAgreement to_PayAgreement,
JmgDayId to_Day,
NoYesId doOverwrite,
JmgPaySpecType _paySpecType)
Run On
ClientOrServer
Parameters
- to_PayAgreement
Type: JmgPayAgreement Extended Data Type
The ID of the pay agreement to copy the day to.
- to_Day
Type: JmgDayId Extended Data Type
The ID of the day to copy the pay agreement line to
- doOverwrite
Type: NoYesId Extended Data Type
The NoYes::Yes enumeration value if an existing JmgPayAgreementLine record must be overwritten; otherwise, the NoYes::No value.
- _paySpecType
Type: JmgPaySpecType Extended Data Type
The pay specification type of lines to copy. Only lines that have the specified pay specification type will be copied.
Return Value
Type: boolean
true if the copying succeeded; otherwise, false.