Darstellung
ContactImport
Tabelle: ltt_contact_import
Domain: ContactImport · com.reybex.domain.crm
Modul: CRM
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) |
name | varchar(100) | Ja | — | Bezeichnung / Name (Domain: name) |
contact_matching_type | smallint | Ja | 0 | 0: Name, 1: Kundennummer |
customer_no_from_numrange | tinyint(1) | Ja | — | true: neuer mat code wird über eine tabellenspalte vergeben, false: neuer mat code wird über nummernkreis des material types des ausgewählten material templates vergeben |
customer_no_import_item_id | bigint | Ja | — | Fremdschlüssel → customer no import item |
customer_template_id | bigint | Ja | — | Fremdschlüssel → customer template |
delimiter | char | Ja | ';' | Domain-Feld delimiter |
quote_character | char | Ja | '"' | quote character |
quote_mode | tinyint(1) | Ja | — | apache-commons-csv quote mode, false: QuoteMode.MINIMAL, true: QuoteMode.ALL |
is_delete | tinyint(1) | Nein | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
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) |
default_currency_id | bigint | Ja | — | Fremdschlüssel → default currency |
default_contact_type_id | bigint | Ja | — | Fremdschlüssel → default contact type |
create_status | smallint | Ja | — | create status |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
customer_template_id | customer (id) |
default_currency_id | ltt_currency (id) |
default_contact_type_id | lt_contact_type (id) |