Darstellung
DropshippingVendor
Tabelle: ltt_dropshipping_vendor
Domain: DropshippingVendor · com.reybex.domain.dropshipping
Modul: DPS
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) |
vendor_tenant | varchar(20) | Ja | — | id fremder tenant |
vendor_id | bigint | Ja | — | Fremdschlüssel → vendor |
warehouse_id | bigint | Ja | — | Fremdschlüssel → warehouse |
status | smallint | Ja | 0 | 0=offen,1bestätigt,2 abgelehnt |
mapping_type | smallint | Ja | 0 | mapping type |
is_variant_converted_to_article | smallint | Ja | 0 | Domain-Feld isVariantConvertedToArticle |
is_mat_code_copied_from_vendor | smallint | Ja | 0 | Domain-Feld isMatCodeCopiedFromVendor |
sales_surcharge | decimal(20, 8) | Ja | 100.00000000 | sales surcharge |
export_mode | smallint | Ja | 0 | export mode |
sales_doc_type_id | bigint | Ja | — | Fremdschlüssel → sales doc type |
type | smallint | Ja | 0 | 0=LC-Light-Logik, 1=Brandway-Logik |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
sales_doc_type_id | ltt_sales_doc_type (id) |