Centurio Taispeántas ar an gcóras
🏛️ Ailtireacht ardán 🔑 Login
🏠 Gach mhodal / manufacturing_execution / Soláthraithe
📘

Soláthraithe

assets manufacturing_execution 🛡️ RLS Protected

An fhaisnéis a bhaineann le sonraí pearsanta a chur i bhfeidhm ar an gcineál agus ar an gcineál a chur i bhfeidhm ar an gcineál agus ar an gcineál a chur i bhfeidhm ar an gcineál agus ar an gcineál.

Fachliche Bestimmung: Cód-chláraithe próisis agus API-fhoiciméadacht. Cuimsíonn sé na próisis, na cumasanna, na meaisíní staid, na APIanna agus na táblaí atá cláraithe do shamhlaíochtaí agus athbhreithnithe.

⚡ Cithruithe ar an obair

cothabháil / Athchóiriú cascade:business.maintenance.cycle

Cáskade (review_gated).

1. fieldservice
Tairgeadh an Aontais
seirbhís talmhaíochta
Aktionen: create_service_report
2. followup
Pleanáil ar athruithe cothabhála
cistí
Aktionen: an t-amharc
3. ticket
Cilleann an t-airgead
ticéid
Aktionen: create_ticket

Cinntíonna agus na bearta maidir le cothabháil cascade_target:business.maintenance.followup

Cáskade (review_gated).

1. cascade
Cinntíonna agus na bearta maidir le cothabháil

Údarás inniúil: plan:command_asset_capture_agent

Cláir-chláir (durable_plan), tosaíocht: 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

Treoir úsáide: asset crude subagent plan:command_asset_crud_subagent

Cláir-chláir (durable_plan), tosaíocht: 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

Treoir úsáide: Ionstraimí ginearálta plan:command_asset_general_agent

Cláir-chláir (durable_plan), tosaíocht: 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

Údarás inniúil plan:command_maintenance_agent

Cláir-chláir (durable_plan), tosaíocht: 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

Údarás inniúil plan:command_maintenance_report_agent

Cláir-chláir (durable_plan), tosaíocht: 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

Údarás inniúil plan:command_service_history_agent

Cláir-chláir (durable_plan), tosaíocht: 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

I gcás ina bhfuil an t-ábhar a chaithfear a chur i bhfeidhm, déanfar an t-ábhar a chaithfear a chur i bhfeidhm. plan:maintenance_check

Cláir réimeála (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

_GT18_0__ status:asset

Máchineáil staid bhreathnasach (observable_only).

1. active
gníomhach
Staitís <unk>active<unk> an stáitíocháin sócmhainn.
2. on_hire
on_hire
Staitisticí <unk>on_hire<unk> an meaisín staid sócmhainn.
3. in_repair
in_repair
Staidís <unk>in_repair<unk> an meaisín staid sócmhainn.
4. inactive
neamhghníomhach
Staitís <unk>ineacht<unk> an innealra staid sócmhainn.
5. defective
mí-úsáidte
Staidís <unk>defective<unk> an meaisín staid sócmhainn.
6. disposed
an t-airgead
Staidís <unk>disposed<unk> an innealra staid sócmhainn.

🗄️ Mhodhanna sonraí & réimsí

AssetEvents asset_events RLS Aktiv
13 Criosanna / collaín

Tabelle asset_events

Feldname Cinntíocht Oibleagáid Schlüssel Treoir
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 Criosanna / collaín

Tabelle assets

Feldname Cinntíocht Oibleagáid Schlüssel Treoir
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

🔌 Pointí tosaigh (UI& APIanna)

Art An modh Críoch/slighe Titel & Zweck Céadú
⚡ 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

🛡️ Rialacháin & Comhlíonadh

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • GoBD
  • Cláir ar an gcliaint (PostgreSQL RLS)