Skip to main content

resource_activities_v1

Represents resources’ time spent against various activities summarised per activity per day.

ColumnData typeDescription
idVARCHAR(32)The unique identifier of the resource activity.
resource_idNUMBER(38,0)The identifier of the resource.
resourceVARCHAR(100)The resource name of the resource assigned for the job.
resource_groupVARCHAR(100)The resource group of the job's resource. When the resource belongs to a different customer then the value is 'Collaboration'.
is_assistantVARCHAR(3)Indicates if the activity was performed by the resource as an assistant, for activities of type 'Job'. Possible values: 'Yes', 'No'.
typeVARCHAR(11)The type of the resource activity. Possible values: 'Job', 'Driving', 'Absence', 'Unallocated'. 'Unallocated' represents time that is spent outside Job, Driving and Absence.
start_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the resource activity time slice start.
end_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the resource activity time slice end.
duration_in_minutesNUMBER(38,2)The duration of the resource activity of a type indicated in 'type' column in minutes.
duration_in_hoursNUMBER(38,2)The duration of the resource activity of a type indicated in 'type' column in hours.
is_within_working_hoursVARCHAR(3)Indicates if the activity was performed by the resource within working hours, for activities of type 'Job' or 'Driving'. Possible values: 'Yes', 'No'.
dateDATEThe date of the resource activity.
date_yearNUMBER(4,0)The year of the 'date' column.
date_monthNUMBER(2,0)The month of the 'date' column.
date_dayNUMBER(2,0)The day of the 'date' column.
date_weekNUMBER(2,0)The week of the year of the 'date' column.
date_day_of_the_weekNUMBER(2,0)The day of the week of the 'date' column.
date_week_commencing_dateDATEThe week commencing date of the 'date' column.
time_zoneVARCHAR(80)The time zone of the resource.
job_idNUMBER(38,0)The identifier of the job associated with 'Job' or 'Driving' resource activity.
job_referenceVARCHAR(88)The reference of the job that is inputted as free text.
job_typeVARCHAR(200)The type of the job.
job_categoryVARCHAR(100)The job's category name.
job_start_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the job start.
job_end_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the job end.
assistant_start_atTIMESTAMP_TZ(9)The timestamp with the time zone offset when the assistant initiates the job on their device.
assistant_end_atTIMESTAMP_TZ(9)The timestamp with the time zone offset when the assistant completes the job on their device.
contactVARCHAR(256)The name of the contact associated with the job.
parent_contactVARCHAR(256)The parent contact of the contact associated with the job.
contact_groupVARCHAR(100)The contact group associated with the job.
absence_idNUMBER(38,0)The identifier of the absence associated with 'Absence' resource activity.
absence_start_atTIMESTAMP_NTZ(9)The timestamp of the planned absence start.
absence_end_atTIMESTAMP_NTZ(9)The timestamp of the planned absence end.
absence_typeVARCHAR(100)The type of the resource absence as configured by the user in Administration panel.
number_of_days_offNUMBER(3,1)The number of days off for the planned absence.
is_paidVARCHAR(3)Indicates if the planned absence is paid. Possible values: 'Yes', 'No'.
_resource_deleted_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the resource record deletion.
_last_sync_atTIMESTAMP_TZ(9)The timestamp with time zone offset of when the resource activity record was last refreshed.