Field Service

Einsätze vor Ort

MarktplatzBetriebVersion 0.1.0manifest

Wofür sie gedacht ist ​

Schedule on-site jobs for customers: who does the work, where, when, which parts were used and whether the customer must sign off. Site addresses and contacts are personal data and treated as such.

Was das Paket leistet und was nicht ​

On-site jobs for customers, done by a technician: scheduled, en route, in progress, done or cancelled. A job records the customer, the site, the technician, the planned day and start (minutes since midnight), the parts used and whether the customer must sign off. Site address and contact details are personal data. Needs the Human Resources and Products packages.

Modelle ​

field_service_job ​

An on-site job for a customer

Lesegruppe: field_service.user. Schreibgruppe: field_service.user.

FeldArtDatenklassePersonenbezogene DatenGruppeAgenten sehenBeschreibung
nametextnoneneinfield_service.userim KlartextShort title of the job, for example Replace boiler pump
customer_idref → partynoneneinfield_service.userim KlartextThe customer the job is for
site_nametextnoneneinfield_service.userim KlartextName of the site, for example Main warehouse
site_addresslongtextinternaljafield_service.usermaskiertStreet address where the work is done; often a person's home
site_citytextinternaljafield_service.usermaskiertCity of the site
site_postcodetextinternaljafield_service.usermaskiertPostcode of the site
site_countrytextnoneneinfield_service.userim KlartextCountry of the site
site_contact_nametextinternaljafield_service.usermaskiertName of the person to meet on site
site_contact_phonetextinternaljafield_service.usermaskiertPhone number of the person to meet on site
technician_idref → hr_employeeinternaljafield_service.usermaskiertTechnician assigned to the job
priorityselect (low, normal, high, urgent)noneneinfield_service.userim KlartextHow urgent the job is: low, normal, high, urgent
descriptionlongtextnoneneinfield_service.userim KlartextWhat has to be done and what the customer reported
scheduled_ondatenoneneinfield_service.userim KlartextPlanned day of the visit (YYYY-MM-DD)
scheduled_start_minutenumbernoneneinfield_service.userim KlartextPlanned start in minutes since midnight (540 is 09:00)
planned_minutesnumbernoneneinfield_service.userim KlartextPlanned duration in minutes
signature_requiredboolnoneneinfield_service.userim KlartextWhether the customer has to sign off the work before it counts as done
signed_bytextinternaljafield_service.usermaskiertName of the person who signed off the work
signed_ondatenoneneinfield_service.userim KlartextDay the customer signed off (YYYY-MM-DD)
work_reportlongtextnoneneinfield_service.userim KlartextWhat was done, written by the technician
stateselect (scheduled, en_route, in_progress, done, cancelled)noneneinfield_service.userim KlartextJob status: scheduled, en_route, in_progress, done, cancelled

field_service_part ​

A part or product used on a job

Lesegruppe: field_service.user. Schreibgruppe: field_service.user.

FeldArtDatenklassePersonenbezogene DatenGruppeAgenten sehenBeschreibung
job_idref → field_service_jobnoneneinfield_service.userim KlartextThe job the part was used on
product_idref → productnoneneinfield_service.userim KlartextThe product that was used
quantitynumbernoneneinfield_service.userim KlartextHow many units were used
unit_pricemoneynoneneinfield_service.userim KlartextPrice per unit charged to the customer (minor currency units, e.g. cents)
notetextnoneneinfield_service.userim KlartextRemark about the part, for example serial number

Workflows ​

field_service_job ​

AktionBewegtWer sie ausführen darfFreigabe
field_service_job.departstate: scheduled → en_routefield_service.usernein
field_service_job.startstate: en_route → in_progressfield_service.usernein
field_service_job.completestate: in_progress → donefield_service.usernein
field_service_job.cancelstate: scheduled → cancelledfield_service.managernein

Berechtigungsgruppen ​

Von dieser App verwendete Gruppen:

  • field_service.manager
  • field_service.user

Freigabeschritte ​

Kein Schritt dieser App braucht eine Freigabe, abgesehen vom Löschen von Datensätzen.

Was Agenten tun können und was nicht ​

Ein Agent kann Datensätze dieser App lesen, durchsuchen, anlegen und aktualisieren sowie Aktionen ausführen, die keine Freigabe brauchen, und zwar innerhalb der Berechtigungsgruppen seines Tokens.

Diese Schritte kann er nur vorschlagen, und eine Person muss sie freigeben: field_service_job.delete, field_service_part.delete.

Personenbezogene Daten werden als Platzhalter maskiert: field_service_job.site_address, field_service_job.site_city, field_service_job.site_postcode, field_service_job.site_contact_name, field_service_job.site_contact_phone, field_service_job.technician_id, field_service_job.signed_by.

Abhängigkeiten ​

  • base
  • product
  • hr

Installation ​

Installieren Sie sie in der App Customize (Marktplatz) oder über die Kommandozeile:

bash
obop modules install-from field_service

Erfordert eine Datenbank und Administratorrechte.

Selbst bauen ​

Der Modulleitfaden zeigt, wie Apps wie diese geschrieben werden