Arbeidsplan per ansatt (turnus) i Exact Online

Vi er på utkikk etter arbeidsplanen per ansatt (NL: rooster). Under Arbeidsplaner (Schedules) står det hvor mange dager og timer de ansatte jobber. Men vi mangler de eksakte dagene en bestemt ansatt jobber, altså de underliggende arbeidsplanlinjene (det vil si hvilke dager den ansatte jobber).
For eksempel

  1. mandag, tirsdag, onsdag, torsdag (32 timer)
  2. tirsdag, onsdag, torsdag (24 timer)

There is yet no table to retrieve the hours to work according to employment contract.

When needed, please vote here: Exact Online idea.

For actuals hours worked, you can use:

  • pjttimetransactions
  • leave registrations
  • absence registrations

The last two can be hard to use, so some samples.

Absence registrations

    select arn.causecode
    ,      arn.causedescription
    ,      art.startdate + coalesce((art.starttime - trunc(art.starttime)), 0) startdate
    ,      art.startdate + coalesce((art.endtime - trunc(art.endtime)), 0) enddate
    ,      art.hours
    ,      art.hoursfirstday
    ,      art.hourslastday 
    from   AbsenceRegistrationTransactions art
    join   AbsenceRegistrations arn
    on     arn.id = art.absenceregistration
    order
    by     startdate

Result:

Leave registrations

    select lrn.startdate + (lrn.starttime - trunc(lrn.starttime)) startdate
    ,      lrn.endtime
    ,      lrn.description
    ,      lrn.employeehid
    ,      lrn.hours
    ,      lrn.hoursfirstday
    ,      lrn.hourslastday 
    from   LeaveRegistrations lrn
    order
    by     startdate

Result:

With the following tables from Exact Globe we are able to create the correct insight. Maybe it helps you to create it for Exact Online.

  • workschedulelinks
  • workschedulegroups
  • workschedules