Darstellung
SalesItemDeliveryDateUpdate
Tabelle: sal_item_deldate_update
Domain: SalesItemDeliveryDateUpdate · com.reybex.domain.wws.sales
Modul: SAL
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 | Ja | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId) |
sales_item_id | bigint | Ja | — | Fremdschlüssel → sales item |
old_delivery_date | date | Ja | — | Domain-Feld oldDeliveryDate |
new_delivery_date | date | Ja | — | Domain-Feld newDeliveryDate |
reason | varchar(1000) | Ja | — | Domain-Feld reason |
date_created | datetime | Ja | — | Anlagezeitpunkt |
last_updated | datetime | Ja | CURRENT_TIMESTAMP | Letzte Änderung |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
updated_by_id | bigint | Ja | — | Geändert von (Benutzer-ID) |
delivery_date_update_type | smallint | Ja | 0 | delivery date update type |
delivery_date_update_status | smallint | Ja | 0 | delivery date update status |