Home | Contact Us | Buy
Time and Attendance made easy  

 

Embed Points

Priority Embed Name Embed Description
1 At Start of Daily Processing This is a good place to set processing variables

 

2 At After Loading Daily Shift 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:Hoursx, where x is a category that will be copied to an "Authorised Overtime" category.

 

13 At Assign Daily Time This is a good place to set or override hours assigned to time categories

 

14 Before Daily Balancing Before Daily Balancing is applied.

 

15 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.

 

16 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.

 

17 Before Saving Daily Hours
Before the Daily Hours record is saved to the disk. This is a good place to override DAI: fields.

 

17b 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.

 

18a After Saving Daily Hours After each Daily Hours record is written to the disk. Remember the chance of having multiple records is high.

 

18b 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.

 

19 After Completing Daily Job Hours

 

Called once, after all Daily Job Hours have been written.
20 Error
Just before an error has been written to the disk. This is a good place to override ERR: fields. (*)

 

21 Warning
Just before a warning has been written to the disk. This is a good place to override WAR: fields.(*)

 

   Terms of Use      Disclaimer 

2007 CapeSoft Software (Pty) Ltd. All rights reserved.
This site is optimized for IE 6+, Firefox 1.0+, and resolution 1024*768 pix