Skip to content

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 = :mandant setzen (Spalte ggf. TenantId in ä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.

→ Beispiel-SQLs (BAS23)

Primärschlüssel ​

  • id

Spalten ​

SpalteSQL-TypNULLDefaultBeschreibung
idbigint auto_incrementJa—Primärschlüssel (Domain: id)
tenant_idbigintNein—Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId)
production_department_idbigintNein—Fremdschlüssel → production department
prod_order_operation_idbigintJa—Fremdschlüssel → prod order operation
sales_item_idbigintJa—Domain-Feld salesItemId
capacity_datedateNein—Domain-Feld capacityDate
reserved_capacity_in_hoursdoubleNein—reserved capacity in hours
start_datedatetimeJa—Domain-Feld startDate
end_datedatetimeJa—Domain-Feld endDate

Fremdschlüssel ​

Spalte(n)Referenz
production_department_idproduction_department (id)
prod_order_operation_idprod_order_operation (id)
tenant_idcompany (tenant_id)

Nur für reybex-Partner. Nicht für Endkunden bestimmt.