Darstellung
ProductionCapacityReserve
Tabelle: production_capacity_reserve
Domain: ProductionCapacityReserve · com.reybex.domain.wws.production
Modul: PRD
Partner-Hinweise
- Daten liegen mandantengetrennt – bei SELECT fast immer
tenant_id = :mandantsetzen (Spalte ggf.TenantIdin älteren Tabellen). - Schreibende SQL (
INSERT/UPDATE/DELETE) nur in abgestimmten Export-/Report-Jobs (Transaktion BAS23) und nie ohne Freigabe durch reybex. - Für API-Integrationen bevorzugt die API statt direkter DB-Zugriffe.
Primärschlüssel
id
Spalten
| Spalte | SQL-Typ | NULL | Default | Beschreibung |
|---|---|---|---|---|
id | bigint auto_increment | Ja | — | Primärschlüssel (Domain: id) |
tenant_id | bigint | Nein | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId) |
production_department_id | bigint | Nein | — | Fremdschlüssel → production department |
prod_order_operation_id | bigint | Ja | — | Fremdschlüssel → prod order operation |
sales_item_id | bigint | Ja | — | Domain-Feld salesItemId |
capacity_date | date | Nein | — | Domain-Feld capacityDate |
reserved_capacity_in_hours | double | Nein | — | reserved capacity in hours |
start_date | datetime | Ja | — | Domain-Feld startDate |
end_date | datetime | Ja | — | Domain-Feld endDate |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
production_department_id | production_department (id) |
prod_order_operation_id | prod_order_operation (id) |
tenant_id | company (tenant_id) |