Nuclos planning board: resource planning, timeline, booking, GANTT, relative date function, formatCell, formatBg, Groovy, drag and drop. |
Language: Deutsch · English
Graphical resource planning on a timeline – resource/booking BO, wizard, relative date expressions and Groovy formatting.
On this page |
The planning board (also called resource planning; menu Configuration → Planning board) is a graphical interface for capacity and deployment planning of arbitrary resources on a timeline – people, machines, vehicles, rooms, workstations or production lines.
It supports day-to-day operational planning and makes utilization and bottlenecks visible at a glance: who or what is booked when, where is capacity still free, where do appointments overlap? The planning board thus replaces manually maintained planning tables and calendars with an always up-to-date, interactive view directly on your business data.
The planning board relates two kinds of business content:
In addition, milestones (points in time), relationships between bookings (succession/dependencies, GANTT) and background events (e.g. public holidays) can be displayed. Different booking types can be kept on the same resource – e.g. holiday, sickness and project times of an employee – each visually distinguishable.
With rules bookings can be generated automatically (e.g. production orders from customer orders) or checked and notified on create/change/move/delete. |
Create a resource BO (e.g. employee) and a booking BO with a reference to the resource plus date from/to (optionally time from/to).

Booking BO for planning.
The wizard guides you through internal name, label/menu path and selecting the resource BO (with sort field) and booking BO (with relationship).

Resource/booking BO in the wizard.
The default period is calculated relative to TODAY (evaluated left to right):
| Character | Meaning |
|---|---|
| + / - | add / subtract |
| . [ or . ] | jump to start [ or end ] |
| t / d | day |
| w | week |
| m | month |
| j / y | year |
| Period | From | To |
|---|---|---|
| current month | .m[ | .m] |
| current year | .j[ | .j] |
| until end of next month | .m[ | +1m.m] |
| until 15th of next month | .m[ | +1m.m[+14t |
In the table below you define the display and legend; field content via variables, e.g. resource ${strnachname} ${strvorname}, booking ${grundderbuchung}.
Here you configure the displayed entries. Successor relations (e.g. critical path) are based on a BO with two reference fields to the booking BO and are drawn as a connection. Optional: staged view, milestones.
In the advanced settings two methods can be provided:
formatCell(clct, cell) – formats cells (resource/booking): cell.color, cell.text, cell.toolTip.formatBg(clct, interval, bg) – formats the background: bg.color (interval.start/interval.end are Date). def formatCell(clct, cell) {
if (clct['meinFeld'] == 5) {
cell.color = "#ff9999";
cell.toolTip = "Text";
}
}
def formatBg(clct, interval, bg) {
if (interval.start <= new Date()) {
bg.color = "#ffccff"
}
}
ODER
import java.text.SimpleDateFormat
def formatCell(clct, cell) {
Date currentDate = new Date();
def formatter = new SimpleDateFormat("dd/MM/yyyy");
String formatedDate = formatter.format(currentDate);
if (clct['halbertag'] == true) {
cell.color = "#ee8625";
cell.text = clct['intmitarbeiter']+" ("+clct['von'] +" halber Tag "+clct['uhrzeit']+")";
}else{
cell.color = "#398db7";
cell.text = clct['intmitarbeiter'] +" ("+formatedDate+" - "+clct['bis']+")";
}
} |
Attributes are accessed via |