Darstellung
Shipping
Tabelle: ltt_shipping
Domain: Shipping · com.reybex.domain.wws
Modul: SMP
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) |
type | smallint | Ja | 0 | 0=Straße, 1=Luft, 2=See |
name | varchar(150) | Ja | — | Bezeichnung / Name (Domain: name) |
is_active | smallint | Nein | 1 | Aktiv-Flag |
freight_cost | decimal(20, 8) | Ja | 0.00000000 | Domain-Feld freightCost |
is_printed | smallint | Nein | 1 | Boolean: Printed |
carrier_id | bigint | Ja | — | Fremdschlüssel → carrier |
shipping_product_id | bigint | Ja | — | Fremdschlüssel → shipping product |
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 |
cost | decimal(20, 8) | Ja | — | Domain-Feld cost |
is_no_calculate_profit | smallint | Ja | — | Domain-Feld isNoCalculateProfit |
is_disabled | smallint | Ja | 0 | Boolean: Disabled |
sort_order | int | Ja | — | sort order |
icon_file_id | bigint | Ja | — | Fremdschlüssel → icon file |
priority | bigint | Ja | — | Domain-Feld priority |
delivery_without_presence | smallint | Ja | 0 | delivery without presence |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
tenant_id | company (tenant_id) |
carrier_id | ltt_shipping_carrier (id) |
shipping_product_id | ltt_shipping_product (id) |