Centurio Järjestelmätoduulit
🏛️ Alustan arkkitehtuuri 🔑 Login
🏠 Kaikki moduulit / crm_office / Toiminta
📘

Toiminta

tasks crm_office 🛡️ RLS Protected

Toimintahallinta <unk> koodista johdettu prosessidokumentti ja API-dokumentti.

Fachliche Bestimmung: Toimintahallinta <unk> koodista johdettu prosessi- ja API-dokumentti. Se sisältää kaikki rekisteröityneet prosessit, valmiudet, tilannetta, API-ja simulointi- ja arviointitaulukot.

⚡ Työvirrat ja elinkaari

Sopimuselämänjakso cascade:business.contract.lifecycle

Kaskade (valvonta- ja valvontavirasto).

1. contract
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sopimukset
Aktionen: - luota
2. task
Täytäntöönpano
tehtävät
Aktionen: create_task

Kirjeet → CRM cascade:business.correspondence.crm

Kaskade (valvonta- ja valvontavirasto).

1. lead
CRM-johto / kysyntä
muut kuin
Aktionen: CCRM.lead.create
2. task
Pyyntöjen jäljitys
tehtävät
Aktionen: create_task

Kundenauftrag → Abwicklung cascade:business.customer_order.fulfill

Kaskade (valvonta- ja valvontavirasto).

1. order
Verkaufsauftrag anlegen / bestätigen
sales
Aktionen: sales.create
2. issue
Muotokuvaus
luettelo
Aktionen: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3. tour
Toimitusmatkan suunnittelu
Logistiikka
Aktionen: create_tour
4. project
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hankkeet
Aktionen: link_project
5. task
Rahoitus
tehtävät
Aktionen: create_task

Täydellinen käsittely cascade:business.delivery_note.intake

Kaskade (valvonta- ja valvontavirasto).

1. stock
Tavaroiden tulot
luettelo
Aktionen: post_goods_receipt
2. tour
Matkailu / jatkokäynnistä
Logistiikka
Aktionen: create_tour
3. task
Tavaroiden saapumisen tarkastaminen / vertailun tekeminen
tehtävät
Aktionen: create_task
4. qc
Laadun tarkastus epäilyssä
luettelo
Aktionen: laatu. tarkista. luota
5. ticket
Valituksi virheistä
liput
Aktionen: create_ticket

Käsitys cascade:business.order_confirmation.check

Kaskade (valvonta- ja valvontavirasto).

1. match
AB <unk> Tilauksen vertailua
Osto
Aktionen: order_confirmation.match
2. project
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hankkeet
Aktionen: link_project
3. task
Toimituspäivä / hintojen valvonta
tehtävät
Aktionen: create_task

Palautuksen käsittely cascade:business.return_note.handling

Kaskade (valvonta- ja valvontavirasto).

1. ticket
Valituksi
liput
Aktionen: create_ticket
2. tour
Toiminta- ja ostotoiminta
Logistiikka
Aktionen: create_tour
3. task
Käännykset
tehtävät
Aktionen: create_task

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cascade:business.supplier_invoice.p2p

Kaskade (valvonta- ja valvontavirasto).

1. booking
Kirjautusprosenttien laatiminen
tilinpitäminen
Aktionen: tilinpäätös
2. project
Hankkeen kustannukset
hankkeet
Aktionen: link_project
3. task
Säännön määräaika / tilinpäätös
tehtävät
Aktionen: create_task

Ulkopuolinen palvelu → laskutus cascade:business.work_report.billing

Kaskade (valvonta- ja valvontavirasto).

1. fieldservice
Ulkopuolveluun käyttö / palvelun kertomus
kenttäpalvelut
Aktionen: create_service_report
2. task
Laskelun jälkimarkkinat
tehtävät
Aktionen: create_task
3. ticket
Lippu puutteesta/häiriöstä
liput
Aktionen: create_ticket

Toiminta / uudelleen cascade_target:business.task.followup

Kaskade (valvonta- ja valvontavirasto).

1. cascade
Toiminta / uudelleen

Toiminta status:task

Huomaavaa (vain havaittavissa oleva) laite.

1. todo
Kaikki
Tilanne <unk>to<unk> <unk> Tilanne-alustuksen tehtävä.
2. open
avoin
Talous- ja kauppa-asioiden hallinta
3. in_progress
in_progress
Tilanne <unk>in_progress<unk> Tilanne-alustuksen tehtävä.
4. blocked
Kieltävä
Tilanne <unk>blocked<unk> Tilanne-alustuksen tehtävä.
5. review
tarkastelu
Tilanne <unk>tarkastus <unk> Tilanne-alustan tehtävä.
6. done
- Vähintään
Tilanne <unk>toimi<unk> Tilanne-alustuksen tehtävä.
7. cancelled
peruutettu
Tilanne <unk>Vatettu <unk> Tilanne-alustuksen tehtävä.

🗄️ Tiedonmallit & kentät

TaskChecklistItems task_checklist_items RLS Aktiv
12 Taulukot

Tabelle task_checklist_items

Feldname Tyyppi Tilanne Schlüssel Työalainen merkitys
task_id UUID Ja * FK ➔ tasks.id Feld task_id
title VARCHAR(255) Ja * - Feld title
is_done BOOLEAN Ja * - Feld is_done
position INTEGER Ja * - Feld position
assigned_user_id UUID Nein FK ➔ users.id Feld assigned_user_id
completed_at DATETIME Nein - Feld completed_at
completed_by UUID Nein FK ➔ users.id Feld completed_by
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
metadata JSONB Ja * - Feld metadata
TaskDependencies task_dependencies RLS Aktiv
11 Taulukot

Tabelle task_dependencies

Feldname Tyyppi Tilanne Schlüssel Työalainen merkitys
task_id UUID Ja * FK ➔ tasks.id Feld task_id
predecessor_id UUID Ja * FK ➔ tasks.id Feld predecessor_id
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
Tasks tasks RLS Aktiv
32 Taulukot

Tabelle tasks

Feldname Tyyppi Tilanne Schlüssel Työalainen merkitys
title VARCHAR(255) Ja * - Feld title
description TEXT Nein - Feld description
status VARCHAR(48) Ja * - Feld status
priority VARCHAR(48) Ja * - Feld priority
due_at DATETIME Nein - Feld due_at
started_at DATETIME Nein - Feld started_at
completed_at DATETIME Nein - Feld completed_at
estimated_hours NUMERIC(14, 2) Nein - Feld estimated_hours
logged_hours NUMERIC(14, 2) Nein - Feld logged_hours
tags JSONB Nein - Feld tags
assigned_user_id UUID Nein FK ➔ users.id Feld assigned_user_id
customer_id UUID Nein FK ➔ customers.id Feld customer_id
project_id UUID Nein FK ➔ projects.id Feld project_id
work_order_id UUID Nein FK ➔ work_orders.id Feld work_order_id
asset_id UUID Nein FK ➔ assets.id Feld asset_id
ticket_id UUID Nein FK ➔ tickets.id Feld ticket_id
milestone_id UUID Nein FK ➔ project_milestones.id Feld milestone_id
entity_type VARCHAR(64) Nein - Feld entity_type
entity_id UUID Nein - Feld entity_id
action_url VARCHAR(512) Nein - Feld action_url
created_by_agent VARCHAR(64) Nein - Feld created_by_agent
source_event_id UUID Nein - Feld source_event_id
idempotency_key VARCHAR(128) Nein - Feld idempotency_key
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata

🔌 Alkuperäiset kohdat (UI & API)

Art Tekijä Loppu- / kulku Titel & Zweck Ehdotus
⚡ REST API DELETE /api/v1/tasks/checklist/{item_id}
delete_checklist_item
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API DELETE /api/v1/tasks/{task_id}
delete_task
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API DELETE /api/v1/tasks/{task_id}/dependencies/{predecessor_id}
remove_dependency
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API GET /api/v1/tasks
list_tasks
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /api/v1/tasks/board
get_task_board
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /api/v1/tasks/context/{entity_type}/{entity_id}
list_tasks_for_context
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /api/v1/tasks/count
open_count
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /api/v1/tasks/my
my_tasks
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /api/v1/tasks/{task_id}
get_task
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /api/v1/tasks/{task_id}/dependencies
list_dependencies
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /aufgaben
tasks_page
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /aufgaben/neu
task_create_page
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /aufgaben/{task_id}
task_detail_page
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /tasks
tasks_page
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /tasks/new
task_create_page
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API GET /tasks/{task_id}
task_detail_page
Semantic binding: inventory_only; mutation=False
tasks
⚡ REST API PATCH /api/v1/tasks/checklist/{item_id}
update_checklist_item
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API PATCH /api/v1/tasks/checklist/{item_id}/toggle
toggle_checklist_item
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API PATCH /api/v1/tasks/{task_id}
update_task
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API PATCH /api/v1/tasks/{task_id}/status
update_task_status
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks
create_task
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/context/{entity_type}/{entity_id}
create_task_for_context
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/{task_id}/assign
assign_task
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/{task_id}/cancel
cancel_task
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/{task_id}/checklist
add_checklist_item
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/{task_id}/complete
complete_task
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/{task_id}/dependencies
add_dependency
Semantic binding: operator_surface; mutation=True
tasks
⚡ REST API POST /api/v1/tasks/{task_id}/log-time
log_task_time
Semantic binding: operator_surface; mutation=True
tasks

🛡️ Sääntely & noudattaminen

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • Tilanne
  • Kuntointikerro (PostgreSQL RLS)