PCPL_OPERATOR
Back to current versionRestore this version

PCPL - Pay Component Pay Line value #

On rare occasions, it may be necessary to know the value of a group of pay components for all the transactions in the pay period up to a given date. In this case, the PCPL (Pay Component Pay Line Value) operator and the PT (Transactions to Date PC Value) operand type may be used to access this information. All transactions with an effective date greater than or equal to the period start, and less than or equal to the given date, will be returned.

The PCPL operator can only be used with the Operand Type of PT.
Statement
If a part time employee worked more than 30 hours in the 1st week of the biweekly pay period, create a warning on the Exceptions Report.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010IFDBDGR.GROUP_CODEEQAPART-TIME 00100 99999
00100LETVWK1 END DATEEW$SPERIOD-START_DATE 00110
00110LETVWK1 TIME WRKDPCPLPT100VWK1 END DATE00120
00120IFVWK1 TIME WRKDGTN30 0020099999
00200MSGAPT EE >30 HRS WK1 99999
99999EXIT 99999