This is a good place to suppress Expected Clockings by setting NoneExpected = 1.
3
At Prepare
This is a good place to set processing variables.
4
At After Selecting Shift
This is a good place to override the value of UseLine.
5
At Insert Auto-Out Clocking
An automatic out-clocking is about to be set for processing. FixLastInTime contains the last In Clocking time, and FixOutTime is set to the expected out clocking time. You can override the time of the clocking by setting FixOutTime.
6
After Break Checking : Sufficient
A break of more than minimum length has been detected. BreakName contains the Break's description, BreakClockStart and BreakClockEnd contain the clockings for the break. You can modify BreakClockEnd if you want to.
7
At Before Daily Processing
This is a good place to use the raw clocking times. At this point rounding, and grace, have not been applied. You can't change the clocking times here.
8
At First Clocking Loop
This is a good place to set processing variables.
9
At Short Break Check
Clockings that create Short Breaks are being tested for removal. The clocking times are in ToiletOut and ToiletIn. If you set ScriptShortBreak to 1 then the clockings will be removed. If ToiletIn - ToiletOut is less than, or equal to ShortBreak then the clockings will be removed.
10
At Warning
This is a good place to set or override processing warnings.
11
At Check Unexpected Clockings
An unexpected pair of clockings has been detected. The clocking times are stored in ClockIn and ClockOut. ClockFirst is set to I if the pair is In/Out and set to O if the pair is Out/In. You cannot change anything here, but you can use the Registers to store information for acting on elsewhere in the script.
12
Before Daily Overtime
Before the Overtime Authorisations are applied. This is a good place to modify Dai:Hours_x_, where x is a category that will be copied to an "Authorised Overtime" category.
13
At Assigning Daily Time
This is a good place to set or override hours assigned to time categories
14
At Assigning Daily Job Time
This is a good place to set or override job hours assigned to time categories. You can inspect and change the following values at this point: jb:timecat, jb:status, jb:TimeRate, jb:Hours, jb:Company, jb:Branch, jb:Department, jb:Workgroup, jb:Category, jb:CostCentre, jb:Scale, jb:empType, jb:Job, jb:Time, jb:Date, jb:DaiDate, jb:Quantity, jb:shift, jb:LeaveType, jb:Clocking1, jb:Clocking2
15
At Before Daily Balancing
Before Daily Balancing is applied.
16
At Before Daily Running
Before the Running Totals are set. This is a good place to modify Dai:Hours_x_, where x is a category that has an effect on a Running Total.
17
At Loop Through Clockings
This embed point is called multiple times, once for each pair of In / Out clockings. You can't change any of the values at this point. Clocking variables available include ClocksInTime, ClocksInLt, ClocksInDate, ClocksInDevice, ClocksOutTime, ClocksOutDate, ClocksOutDevice, ClocksOutLt and ClocksPair.
18
At Before Saving Daily Hours
Before the Daily Hours record is saved to the disk. This is a good place to override [ DAI:
18b
At Before Saving Daily Job Hours
Before each Daily Job Hours record is written to the disk. Remember the chance of having multiple records is high.
19a
At After Saving Daily Hours
After each Daily Hours record is written to the disk. Remember the chance of having multiple records is high.
19b
At After Saving Daily Job Hours
After each Daily Job Hours record is written to the disk. Remember the chance of having multiple records is high.
20
At After Completing Daily Job Hours
Called once, after all Daily Job Hours have been written.
21
At Error
Just before an error has been written to the disk. This is a good place to override ERR: fields.
Embed Points for Payroll Hours Processing
Priority
Embed Name
Embed Description
1
At Prepare
This is a good place to set processing variables.
2
At Start of Payroll Processing
This is a good place to set processing variables.
3
At Before Payroll Overtime
Before the Overtime Authorisations are applied. This is a good place to modify Wee:Hours_x_, where x is a category that will be copied to an "Authorised Overtime" category.
4
At Before Payroll Running
Before the Running Totals are set. This is a good place to modify Wee:Hours_x_, where x is a category that has an effect on a Running Total.
5
At Before Saving Payroll Hours
Before the Payroll Hours record is saved to the disk. This is a good place to override WEE: fields.
6
At Before Saving Payroll Job Hours
Before each Payroll Job Hours record is written to the disk. Remember the chance of having multiple records is high.
7
At After Saving Payroll Job Hours
After each Payroll Job Hours record is written to the disk. Remember the chance of having multiple records is high.
8
At After Completing Payroll Job Hours
Called once, after all the Payroll Job Hours have been written.
9
At Warning
This is a good place to set or override processing warnings.
10
At Error
Just before an error has been written to the disk. This is a good place to override ERR: fields.
At Start of Daily ProcessingAt After Loading Daily ShiftAt PrepareAt After Selecting ShiftAt Insert Auto-Out ClockingAfter Break Checking : SufficientAt Before Daily ProcessingAt First Clocking LoopAt Short Break CheckAt WarningAt Check Unexpected ClockingsBefore Daily OvertimeAt Assigning Daily TimeAt Assigning Daily Job TimeAt Before Daily BalancingAt Before Daily RunningAt Loop Through ClockingsAt Before Saving Daily HoursAt Before Saving Daily Job HoursAt After Saving Daily HoursAt After Saving Daily Job HoursAt After Completing Daily Job HoursAt ErrorAt PrepareAt Start of Payroll ProcessingAt Before Payroll OvertimeAt Before Payroll RunningAt Before Saving Payroll HoursAt Before Saving Payroll Job HoursAt After Saving Payroll Job HoursAt After Completing Payroll Job HoursAt WarningAt Error