Centurio System- & moduldokumentation
🏛️ Plattformarkitektur 🔑 Login
🏠 Alla moduler / manufacturing_execution / Anläggningar och driftsmedel
📘

Anläggningar och driftsmedel

assets manufacturing_execution 🛡️ RLS Protected

Anläggningar & driftsmedel <unk> Process- och API-dokumentation som har härledts från kod.

Fachliche Bestimmung: Anlagen & Betriebsmittel <unk> process- och API-dokumentation som är avledda från kod.

⚡ Arbetsflöden och livscykler

- Förberedelse cascade:business.maintenance.cycle

Kaskade (review_gated).

1. fieldservice
Investeringar i utrikesverksamhet / rapportering
fälttjänst
Aktionen: create_service_report
2. followup
Förvaltningsplanering
Förvärv
Aktionen: Underhåll.
3. ticket
Biljett i fall av defekter/störningar
Biljetter
Aktionen: create_ticket

Planering av underhåll/underhåll cascade_target:business.maintenance.followup

Kaskade (review_gated).

1. cascade
Planering av underhåll/underhåll

Användaruppgift: tillgångsfångstagent plan:command_asset_capture_agent

Tjänststyrd plan (durable_plan), start: manual_command.

1. asset_capture_agent
asset_capture_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "asset_capture_agent", "condition_fact": null}
Aktionen: asset_capture_agent

Användarföreskrifter: rå råvarusubgents plan:command_asset_crud_subagent

Tjänststyrd plan (durable_plan), start: manual_command.

1. asset_crud_subagent
asset_crud_subagent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "asset_crud_subagent", "condition_fact": null}
Aktionen: asset_crud_subagent

Användarförordning: förvaltar plan:command_asset_general_agent

Tjänststyrd plan (durable_plan), start: manual_command.

1. asset_general_agent
asset_general_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "asset_general_agent", "condition_fact": null}
Aktionen: asset_general_agent

Användarföreskrifter: Underhållskontor plan:command_maintenance_agent

Tjänststyrd plan (durable_plan), start: manual_command.

1. maintenance_agent
maintenance_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "maintenance_agent", "condition_fact": null}
Aktionen: maintenance_agent

Användaruppgift: underhållsspeckningsagent plan:command_maintenance_report_agent

Tjänststyrd plan (durable_plan), start: manual_command.

1. maintenance_report_agent
maintenance_report_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "maintenance_report_agent", "condition_fact": null}
Aktionen: maintenance_report_agent

Användarföreskrifter: tjänstehistorik plan:command_service_history_agent

Tjänststyrd plan (durable_plan), start: manual_command.

1. service_history_agent
service_history_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "service_history_agent", "condition_fact": null}
Aktionen: service_history_agent

Anläggningseffekt plan:maintenance_check

Tjänststyrd varaktighetsplan (durable_plan), start: domain_event.

1. maintenance_agent
maintenance_agent
{"key": "step_0", "label": "Wartungstermine pruefen", "adapter": "agent.execute", "agent": "maintenance_agent", "condition_fact": null}
Aktionen: maintenance_agent

Förberedande för: status:asset

Observable_only_observable_state machine.

1. active
Aktiva
Status <unk>active<unk> av den tillståndsmaskinen anläggning.
2. on_hire
on_hire
Status <unk>on_hire<unk> av den tillståndsmaskinen anläggning.
3. in_repair
in_repair
Status <unk>in_repair<unk> av den tillståndsmaskin anläggning.
4. inactive
Inaktiv
Status <unk>inaktiv<unk> av den stående maskinen anläggning.
5. defective
Fallare
Status <unk>defekt<unk> av maskinen i tillstånd anläggning.
6. disposed
Förpackning
Status <unk>förutsatt<unk> av den tillståndsmaskin anläggning.

🗄️ Datamodeller & fält

AssetEvents asset_events RLS Aktiv
13 Fält / kolumner

Tabelle asset_events

Feldname Uppgifter Förpliktelse Schlüssel Arbetsuppgifter
asset_id UUID Ja * FK ➔ assets.id Feld asset_id
event_type VARCHAR(48) Ja * - Feld event_type
work_order_id UUID Nein FK ➔ work_orders.id Feld work_order_id
project_id UUID Nein FK ➔ projects.id Feld project_id
document_id UUID Nein FK ➔ documents.id Feld document_id
occurred_at DATETIME Ja * - Feld occurred_at
description TEXT Nein - Feld description
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
metadata JSONB Ja * - Feld metadata
Assets assets RLS Aktiv
47 Fält / kolumner

Tabelle assets

Feldname Uppgifter Förpliktelse Schlüssel Arbetsuppgifter
asset_number VARCHAR(32) Ja * - Feld asset_number
parent_asset_id UUID Nein FK ➔ assets.id Feld parent_asset_id
customer_id UUID Nein FK ➔ customers.id Feld customer_id
project_id UUID Nein FK ➔ projects.id Feld project_id
location_id UUID Nein FK ➔ locations.id Feld location_id
assigned_to UUID Nein FK ➔ users.id Feld assigned_to
product_id UUID Nein FK ➔ products.id Feld product_id
asset_type VARCHAR(128) Nein - Feld asset_type
manufacturer VARCHAR(128) Nein - Feld manufacturer
model VARCHAR(128) Nein - Feld model
serial_number VARCHAR(128) Nein - Feld serial_number
installation_date DATE Nein - Feld installation_date
purchase_date DATE Nein - Feld purchase_date
purchase_price NUMERIC(12, 2) Nein - Feld purchase_price
warranty_until DATE Nein - Feld warranty_until
next_service_date DATE Nein - Feld next_service_date
asset_account_code VARCHAR(32) Nein - Feld asset_account_code
depreciation_account_code VARCHAR(32) Nein - Feld depreciation_account_code
disposal_income_account_code VARCHAR(32) Nein - Feld disposal_income_account_code
lifecycle_state VARCHAR(48) Ja * - Feld lifecycle_state
commissioned_at DATE Nein - Feld commissioned_at
decommissioned_at DATE Nein - Feld decommissioned_at
approved_at DATETIME Nein - Feld approved_at
approved_by UUID Nein FK ➔ users.id Feld approved_by
maintenance_interval_value INTEGER Nein - Feld maintenance_interval_value
maintenance_interval_unit VARCHAR(48) Nein - Feld maintenance_interval_unit
maintenance_contract VARCHAR(256) Nein - Feld maintenance_contract
ownership VARCHAR(16) Ja * - Feld ownership
owner_customer_id UUID Nein FK ➔ customers.id Feld owner_customer_id
customer_contact_id UUID Nein FK ➔ contacts.id Feld customer_contact_id
contract_id UUID Nein FK ➔ contracts.id Feld contract_id
status VARCHAR(48) Ja * - Feld status
condition_grade VARCHAR(1) Nein - Feld condition_grade
adr_certified BOOLEAN Ja * - Feld adr_certified
is_rentable BOOLEAN Ja * - Feld is_rentable
description TEXT Nein - Feld description
category_data JSONB Ja * - Feld category_data
detection_confidence NUMERIC(4, 3) Nein - Feld detection_confidence
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

🔌 Inledande punkter (UI & API)

Art Förberedelse Slutpunkt / väg Titel & Zweck Förmåga
⚡ REST API DELETE /api/v1/assets/{asset_id}
delete_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API DELETE /api/v1/assets/{asset_id}/components/{component_id}
remove_component
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API GET /api/v1/assets
list_assets
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/autocomplete
asset_autocomplete
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/maintenance/due
list_due_maintenance
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/stats
asset_stats
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/{asset_id}
get_asset
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/{asset_id}/accessories
asset_accessories
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/{asset_id}/compatible-parts
asset_compatible_parts
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/{asset_id}/components
list_components
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/{asset_id}/documents
list_asset_documents
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /api/v1/assets/{asset_id}/events
list_asset_events
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /assets
assets_page
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /assets/new
asset_create_page
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /assets/{asset_id}
asset_detail_page
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /portal/{slug}/anlagen
assets_page
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API GET /portal/{slug}/anlagen/{asset_id}
asset_detail_page
Semantic binding: inventory_only; mutation=False
assets
⚡ REST API PATCH /api/v1/assets/{asset_id}
update_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets
create_asset_manual
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/import
import_assets_csv
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/trigger-maintenance-check
trigger_maintenance_check
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/approve
approve_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/assign
assign_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/commission
commission_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/components
add_component
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/create-work-order
create_asset_work_order
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/decommission
decommission_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/documents
upload_asset_document
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/documents/{document_id}
link_document
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/events
create_asset_event
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/maintenance
record_maintenance
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/photo
upload_asset_photo
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/relocate
relocate_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /api/v1/assets/{asset_id}/review
review_asset
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /portal/{slug}/anlagen/melden
asset_report_submit
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API POST /portal/{slug}/anlagen/{asset_id}/zuordnen
asset_assign
Semantic binding: operator_surface; mutation=True
assets
⚡ REST API PUT /api/v1/assets/{asset_id}/maintenance-plan
set_maintenance_plan
Semantic binding: operator_surface; mutation=True
assets

🛡️ Reglering och efterlevnad

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • Företagsförvaltning
  • En sådan information ska användas för att kunna identifiera en person som är underrättad om att den har en sådan information.