Planning

Vuorot ja resurssit

MarkkinapaikkaIhmiset ja projektitVersio 0.1.0manifest

Mihin se on tarkoitettu ​

Plan shifts for employees from reusable templates. A shift with nobody assigned is an open shift; the workflow runs from open through published to confirmed by the employee.

Mitä paketti tekee ja mitä ei ​

Shifts for employees, with roles and reusable templates. A shift has a day and a start and end in minutes since midnight (0 to 1439; 540 is 09:00). A shift with no employee is an open shift. Workflow: open, published, confirmed by the employee. Needs the Human Resources package.

Mallit ​

planning_role ​

A role a shift is planned for, for example cashier or electrician

Lukuryhmä: planning.user. Kirjoitusryhmä: planning.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiplanning.userselkoisenaRole name
notelongtextnoneeiplanning.userselkoisenaWhat the role involves

planning_template ​

A reusable shift pattern to copy into shifts

Lukuryhmä: planning.user. Kirjoitusryhmä: planning.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiplanning.userselkoisenaTemplate name, for example Morning shift
role_idref → planning_rolenoneeiplanning.userselkoisenaThe role the template is for
start_minutenumbernoneeiplanning.userselkoisenaStart in minutes since midnight (540 is 09:00)
end_minutenumbernoneeiplanning.userselkoisenaEnd in minutes since midnight (1020 is 17:00)

planning_shift ​

A slot of work on one day for one role, optionally assigned to an employee

Lukuryhmä: planning.user. Kirjoitusryhmä: planning.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiplanning.userselkoisenaShort title, for example Opening shift
role_idref → planning_rolenoneeiplanning.userselkoisenaThe role needed
employee_idref → hr_employeeinternalkylläplanning.usermaskattuEmployee the shift is assigned to; empty for an open shift
work_datedatenoneeiplanning.userselkoisenaDay of the shift (YYYY-MM-DD)
start_minutenumbernoneeiplanning.userselkoisenaStart in minutes since midnight, 0 to 1439 (540 is 09:00)
end_minutenumbernoneeiplanning.userselkoisenaEnd in minutes since midnight, 0 to 1439 (1020 is 17:00)
notelongtextnoneeiplanning.userselkoisenaInstructions for whoever works the shift
stateselect (open, published, confirmed)noneeiplanning.userselkoisenaShift status: open, published, confirmed

Työnkulut ​

planning_shift ​

ToimintoSiirtääKuka voi suorittaaHyväksyntä
planning_shift.publishstate: open → publishedplanning.managerei
planning_shift.unpublishstate: published → openplanning.managerei
planning_shift.confirmstate: published → confirmedplanning.managerei

Käyttöoikeusryhmät ​

Tämän sovelluksen käyttämät ryhmät:

  • planning.manager
  • planning.user

Hyväksyntävaiheet ​

Mikään tämän sovelluksen vaihe ei vaadi hyväksyntää tietueiden poistamista lukuun ottamatta.

Mitä agentit voivat ja eivät voi tehdä ​

Agentti voi lukea, hakea, luoda ja päivittää tämän sovelluksen tietueita sekä suorittaa toiminnot, jotka eivät vaadi hyväksyntää, tunnisteensa käyttöoikeusryhmien rajoissa.

Se voi vain ehdottaa näitä vaiheita, ja ihmisen on hyväksyttävä ne: planning_role.delete, planning_template.delete, planning_shift.delete.

Henkilötiedot maskataan paikkamerkeiksi: planning_shift.employee_id.

Riippuvuudet ​

  • hr

Asennus ​

Asenna se Customize-sovelluksesta (Marketplace) tai komentoriviltä:

bash
obop modules install-from planning

Vaatii tietokannan ja ylläpitäjän oikeudet.

Tee oma ​

Moduulioppaassa näytetään, miten tällaiset sovellukset kirjoitetaan