Hours Worked Function for Retroactive Pay Rules

The hours worked function for retroactive pay rules is included in the Retropay Hours Worked Functions module (N1861712). This function uses data structure D186172. You also use this data structure when you create a custom hours worked function for retroactive pay rules. This table lists examples of input and output information about the data items in this data structure:

Data Item

Additional Information

LRSRRID

Input: Retroactive Pay Rule ID

PRTR

Input: Payroll Transaction No

LRSCHF

Input: Current/History option. This option indicates whether the payroll transaction number refers to a current timecard in the F06116 table or a historical timecard in the F0618 table.

PHRW

Output: Hours Worked

AN8

Input: Address Number

DWK

Input: Date - Worked

PDBA

Input: PayDeductBenAccType

The predefined hours worked function for retroactive pay rules is RHRF_TimecardHours.

The hours worked on timecard function returns the hours worked from the Rate Hourly field on a timecard currently being processed by a retroactive pay rule for one of the pay types that you identify. For example, you might use this function when you pay employees retroactive pay for the hours worked, based on their original timecards.