Darstellung
EmailFilterHead
Tabelle: ltt_email_filter_head
Domain: EmailFilterHead · com.reybex.domain.wws
Modul: BAS
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) |
description | mediumtext | Ja | — | Beschreibung (Domain: description) |
email_template_id | bigint | Ja | — | Fremdschlüssel → email template |
is_printed_pdf | smallint | Ja | 0 | Boolean: Printed Pdf |
days_until_shipment | bigint | Ja | 0 | days until shipment |
hours_until_shipment | bigint | Ja | 0 | hours until shipment |
seller_email_type | int | Ja | 0 | seller email type |
back_office_email_type | int | Ja | 0 | back office email type |
email_receiver_option_id | bigint | Ja | — | Fremdschlüssel → email receiver option |
email_to | varchar(100) | Ja | — | Domain-Feld emailTo |
is_email_to | smallint | Ja | — | Boolean: Email To |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
last_updated | datetime | Ja | CURRENT_TIMESTAMP | Letzte Änderung |
updated_by_id | bigint | Ja | — | Geändert von (Benutzer-ID) |
is_delete | smallint | Ja | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
date_created | datetime | Ja | — | Anlagezeitpunkt |
is_active | smallint | Ja | — | Aktiv-Flag (Domain: isActive) |
create_xinvoice | smallint | Ja | 0 | create xinvoice |
report_id | bigint | Ja | — | Fremdschlüssel → report |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
tenant_id | company (tenant_id) |
email_template_id | email_template (id) |
report_id | ltt_report (id) |