Back to Documentation pageEmbed Points Quick Reference

Daily Processing

After Loading Daily Shift This is a good place to suppress Expected Clockings by setting NoneExpected = 1.
After Selecting Shift This is a good place to override the value of UseLine.
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.
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.
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.
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.
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.
Before Daily Overtime Before the Overtime Authorisations are applied. This is a good place to modify  Dai:Hoursx, where x is a category that will be copied to an "Authorised Overtime" category.
Before Daily Balancing Before Daily Balancing is applied.
Before Daily Running Before the Running Totals are set. This is a good place to modify Dai:Hoursx, where x is a category that has an effect on a Running Total.
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, ClocksOutTime, ClocksOutDate, ClocksOutLt and ClocksPair.
Before Saving Daily Hours Before the Daily Hours record is saved to the disk. This is a good place to override DAI: fields.
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.
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.
After Completing Daily Job Hours Called once, after all Daily Job Hours have been written.
Error Just before an error has been written to the disk. This is a good place to override ERR: fields. (*)
Warning Just before a warning has been written to the disk. This is a good place to override WAR: fields.(*)


Payroll Processing

Start of Payroll Processing Before payroll processing has even started.
Before Payroll Overtime Before the Overtime Authorisations are applied. This is a good place to modify  Wee:Hoursx, where x is a category that will be copied to an "Authorised Overtime" category.
Before Payroll Running Before the Running Totals are set. This is a good place to modify Wee:Hoursx, where x is a category that has an effect on a Running Total.
Before Saving Payroll Hours Before the Payroll Hours record is saved to the disk. This is a good place to override WEE: fields.
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.
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.
After Completing Payroll Job Hours Called once, after all Payroll Job Hours have been written.
Error Just before an error has been written to the disk. This is a good place to override ERR: fields. (*)
Warning Just before a warning has been written to the disk. This is a good place to override WAR: fields.(*)

(*) Embed point can occur multiple times, and isn't in sequential order above.

 

This page last updated on 13 March 2003