Darstellung
material_import_log
Tabelle: material_import_log
Domain: Keine zugeordnete Domain-Entität (Hilfstabelle, Legacy oder mandantenspezifisch).
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 |
tenant_id | bigint | Nein | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) |
amount | bigint | Ja | 0 | amount |
message | text | Ja | — | message |
material_import_id | bigint | Ja | — | Fremdschlüssel → material import |
marktplace_id | bigint | Ja | — | Fremdschlüssel → marktplace |
created | datetime | Ja | — | created |
date_finished | datetime | Ja | — | date finished |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
csv | longtext | Ja | — | csv |
contact_import_id | bigint | Ja | — | Fremdschlüssel → contact import |
domain_name | varchar(100) | Ja | — | domain name |
domain_id | bigint | Ja | — | Fremdschlüssel → domain |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
contact_import_id | ltt_contact_import (id) |
tenant_id | company (tenant_id) |
material_import_id | material_import (id) |
marktplace_id | ltt_marktplace (id) |