CS Time/TNA Documents

username password

Variables

    Table of contents
    1. 1. Daily Variables
    2. 2. Payroll Variables

    Daily Variables

    BreakClockStart
    BreakClockEnd
    BreakName
    The start time, end time and name of the break. The clocking  times can be modified. After Break Checking : Sufficient 
    ClockIn (CI)
    ClockOut (CO)
    ClockFirst
    Contain the In and Out times of the unexpected clockings. ClockFirst contains the direction of the first clocking in the pair. O for out and I for in. These values cannot be changed. Check Unexpected Clockings

    ClocksInDate
    ClocksInTime
    ClocksInLineTime

    ClocksInDevice
    ClocksOutDate
    ClocksOutTime
    ClocksOutLineTime
    ClocksOutDevice
    ClocksPair
    ClocksInQuantity
    ClocksOutQuantity

    Contains a pair of In / Out clockings. You cannot alter the clockings at this point, but you can alter the Daily Hours. ClocksPair is incremented for each pair. This means you can count the number of clocking pairs. (*) Loop through Clockings
    ClockingTime1 .. ClockingTime16 
    (CT1 .. CT16)
    ClockingLineTime1.. ClockingLineTime16 (CLT1 .. CLT16)
    ClockingDirection1 .. ClockingDirection16 (CD1 .. CD 16)
    Contains the clocking times and directions for the day. A maximum of 16 clockings are supported by the script. If there are more than 16 clockings then they Will be handled correctly by the processor though (*) All
    Dai:Hours1 .. Dai:Hours25 Contains the result - ie the hours for each category. You can modify the values at this point. Before Saving Daily Hours
    DateStartTime Contains the time for Midnight at the start of the day, relative to the clocking Line. ie CLT1-DateStartTime is in the range 0:00 to 48:00 All
    EmpTimeLineCodeStartDate Contains the date on which the current payroll shift was rostered for the employee (MTI:Date). At after selecting shift
    ExpectedStartTime
    ExpectedEndTime
    The expected start time and end time of the daily shift. Before Daily Processing
    Err:Code Contains the code of the error that was just generated. Error
    FirstClockingTime(FCT)
    FirstClockingLineTime
    FirstClockingDirection
    Contains the time and direction of the first clocking for the day. (*) All
    FixOutTime
    FixLastInTime
    FixOutTime is the time of the clocking that will be added. You are able to change this time. The FixLastInTime will tell you when the person last clocked in. You cannot change this value. Insert auto-out clocking
    IgnoreError If this is set to 1 then the next error written will be ignored. This value is automatically reset to 0 once one error has been suppressed. All
    but especially

    Error

    IgnoreWarning If this is set to 1 then the next warning generated will be ignored. This value is automatically reset to 0 once one warning has been suppressed. All
    but especially
    Warning
    LastClockingTime(LCT)
    LastClockingLineTime
    LastClockingDirection
    Contains the time and direction of the last clocking for the day. (*) All
    LeavePaid If the leave currently being processed is PAID leave then this is set to 1. Otherwise it's set to 0. All
    LeaveRecord All the fields in the Leave file (for this Leave entry) are available. All
    L1..L50 Variables (Long) for your own use. You can use these to store intermediate values. All
    C1..C50
     
    Variables (Long) for your own use. You can use these to store intermediate values. All
    P1..P50 Variables (String 10) for your own use. You can use these to store intermediate values. All
    D1..D50
     
    Variables (String 10) for your own use. You can use these to store intermediate values. All
    NoneExpected If you set this to 1 in the embed point, then all the Expected Clockings will be cleared. In other words use this to force No Expected Clockings. After Selecting Shift
    NumClockings The number of clockings belonging to the Employee and Day that is being processed. You cannot reset this value. All
    OnHoliday Is set to 1 if the date currently being processed is a Public Holiday. Is set to 0 otherwise. All
    OnLeave Is set to 1 if the employee currently being processed is on leave on this day. Is set to otherwise. All
    ProcessDate The date currently being processed. All
    ProcessSite
    ProcessEmp
    The site and number of the employee currently being processed. All
    ProcessingStdTime Is set to 1 if currently creating the record for the employee's Std time (if he is on leave or on holiday). After Loading Daily Shift,
    After Selecting Shift
    ScriptShortBreak Set this to 1 if the break should be set as a short break. See Also ToiletIn and ToiletOut below. If the break is a Short Break then the clockings will be ignored.
    Setting it to -1 will disable the function.
    Short Break Check
    Site The site where this record is being processed. All
    StdHours Contains the expected daily hours for this shift. This value cannot be overridden. Before Daily Running,
    Loop Through Clockings
    , Before Saving Daily Hours
    Til:...
    (All the fields in the TimeLine file)
    Details about the shift. All
    ToiletOut
    ToiletIn
    The times for an Out / In clocking pair. These values can be modified. If the  ToiletIn-ToiletOut is less than the Short Break threshold, then the clockings will be ignored. Short Break Check
    UseLine
    Is set to the line which will be used for processing. Applies to employees on variable shifts with multiple lines. Can be set in the After Selecting Shift embed point, and read anywhere else. After Selecting Shift,
    All
    UseSlot Contains the Code for the Daily Shift being used. This is also stored in Dai:TimeSlotCode After Selecting Shift,
    All
    War:Code Contains the code of the warning that was just generated. Warning
    YesterdayOutTime
    YesterdayLineOutTime
    Contains the time, on the previous day, when the employee clocked out (*) All

    Payroll Variables

    Variable Description Available in Embed Points
    IgnoreDailyErrors Set this to 1 if you want to suppress Daily Errors when processing this Payroll Shift. Start Of Payroll Processing
    Err:Code Contains the code of the error that was just generated. Error
    War:Code Contains the code of the warning that was just generated. Warning
    Wee:Hours1 .. Wee:Hours25 Contains the result - ie the hours for each category. You can modify the values at this point. Before saving Payroll Hours

     

    Permalink:  http://tinyurl.com/n5vzk9q

    Page last modified 09:32, 12 Nov 2018 by Admin CS Time/TNA Documents > Macro Scripts > Variables

    Comments0

    You must login to post a comment.
    Attach file

    Files0

     
    Powered by MindTouch Core