> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/field-service-and-workforce-scheduling/timesheet-worker-tem.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Timesheet Worker   TEM

Given a confirmed employee (CompanyId + EmpNo) and a single target date, produce a ranked, date-valid timesheet and, depending on the operating mode, either hand it back for approval or commit it to IFS Cloud, then deliver the outcome by email.

| Business area                          | Action type                                |
| -------------------------------------- | ------------------------------------------ |
| Field Service and Workforce Scheduling | Updates IFS Cloud data after user approval |

## Overview

The IFS Cloud integration resolves employee information, generates timesheets with estimated project hours, and submits the completed time reports.

## How it works

{% stepper %}
{% step %}
Suggest Timesheet - Timesheet Worker - TEM: Use this to suggest timesheet for a specific user on a specific date.
{% endstep %}

{% step %}
Submit Approved Timesheet - Timesheet Worker - TEM: Submit project / MCPR lines to IFS and optionally confirm the day or period per customer config.
{% endstep %}

{% step %}
Send TEM Email - Timesheet Worker: Engine JSON → email-safe HTML body → Email to employee.
{% endstep %}

{% step %}
Determine the recommended outcome or next action.
{% endstep %}

{% step %}
Return structured results and any escalation guidance.
{% endstep %}
{% endstepper %}

## Key capabilities

* Automatic time submission.
* Multi-employee processing.
* Concurrent worker execution.

{% hint style="info" %}
This skill keeps a human in the loop. It previews every change and updates IFS Cloud only after a user approves it.
{% endhint %}

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component | Projection                      |
| --------- | ------------------------------- |
| IFS Cloud | ActivityListHandling            |
| IFS Cloud | PersonnelFileHandling           |
| IFS Cloud | ReportTimeManagerHandling       |
| IFS Cloud | TimeRegistrationManagerHandling |
| IFS Cloud | ValidReportCodesHandling        |

## Version compatibility

| Projection                      | Supported IFS Cloud releases |
| ------------------------------- | ---------------------------- |
| ActivityListHandling            | 24R2, 25R1, 25R2, 26R1, 26R2 |
| PersonnelFileHandling           | 24R2, 25R1, 25R2, 26R1, 26R2 |
| ReportTimeManagerHandling       | 24R2, 25R1, 25R2, 26R1, 26R2 |
| TimeRegistrationManagerHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |
| ValidReportCodesHandling        | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Write paths require explicit user confirmation or authorization where configured.
