Skip to content

Split days across several projects

How-to guide

The Multiproject timesheet shows a month as a grid: one column per project (an order or sales order plus an attendance type), one row per day. The mp commands write into that grid. Months are written YYYY-MM on the CLI and as year / month numbers for the MCP tools.

On the 3rd put 4 hours and on the 4th 8 hours on the NovaLabs order.

mp_allocate {year: 2026, month: 9, project: {order: "900140", attendanceType: "0081"}, days: [{date: "2026-09-03", hours: 4}, {date: "2026-09-04", hours: 8}]}

The column is created if it does not exist, existing cells are updated, and hours: 0 clears a day. The refreshed month is returned.

Several projects per day, over a range, in one save

Section titled “Several projects per day, over a range, in one save”

From the 8th to the 12th, every working day 2 hours on NovaLabs and 6 hours on administration. Preview first.

mp_allocate_many {year: 2026, month: 9, slots: [{project: {order: "900140", attendanceType: "0081"}, range: {from: "2026-09-08", to: "2026-09-12"}, hours: 2}, {project: {attendanceType: "0077"}, range: {from: "2026-09-08", to: "2026-09-12"}, hours: 6}], dryRun: true}

A slot can also carry explicit days: [{date, hours}] instead of, or in addition to, a range. Without dryRun everything is written in one save.

Slot syntax on the CLI: key=value[,key=value]:hours, with keys attendance (or att), order, and salesOrder[/item].

mp_clear {year: 2026, month: 9, project: {attendanceType: "0077"}, dates: ["2026-09-08", "2026-09-09"]} clears those days; without dates the whole month.