Darstellung
TransitWarehouseDefinition
Tabelle: ltt_transit_warehouse_definition
Domain: TransitWarehouseDefinition · com.reybex.domain.wws
Modul: INV
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) |
source_warehouse_id | bigint | Ja | — | Fremdschlüssel → source warehouse |
target_warehouse_id | bigint | Ja | — | Fremdschlüssel → target warehouse |
transit_warehouse_id | bigint | Ja | — | Fremdschlüssel → transit warehouse |
source_export_stock_move_type_id | bigint | Ja | — | Fremdschlüssel → source export stock move type |
transit_import_stock_move_type_id | bigint | Ja | — | Fremdschlüssel → transit import stock move type |
transit_export_stock_move_type_id | bigint | Ja | — | Fremdschlüssel → transit export stock move type |
target_import_stock_move_type_id | bigint | Ja | — | Fremdschlüssel → target import stock move type |
is_purchase | smallint | Ja | 0 | Boolean: Purchase |
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) |
unique_name | varchar(20) | Ja | — | unique name |
is_customer_specific | smallint | Ja | 0 | Boolean: Customer Specific |
is_disabled | smallint | Ja | 0 | Boolean: Disabled |
sort_order | int | Ja | — | sort order |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
tenant_id | company (tenant_id) |
source_warehouse_id | ltt_warehouse (id) |
target_warehouse_id | ltt_warehouse (id) |
transit_warehouse_id | ltt_warehouse (id) |
source_export_stock_move_type_id | ltt_stock_move_typ (id) |
transit_import_stock_move_type_id | ltt_stock_move_typ (id) |
transit_export_stock_move_type_id | ltt_stock_move_typ (id) |
target_import_stock_move_type_id | ltt_stock_move_typ (id) |