Darstellung
Report
Tabelle: ltt_report
Domain: Report · com.reybex.domain.pms
Modul: SYS
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 | Ja | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId) |
name | varchar(100) | Ja | — | Bezeichnung / Name (Domain: name) |
type | varchar(100) | Ja | — | Domain-Feld type |
file_id | bigint | Ja | — | Fremdschlüssel → file |
compiled_report_file_id | bigint | Ja | — | Fremdschlüssel → compiled report file |
is_active | smallint | Ja | 0 | Aktiv-Flag |
is_system_default | smallint | Ja | 0 | Boolean: System Default |
sales_doc_type_id | bigint | Ja | — | Fremdschlüssel → sales doc type |
print_amount | smallint | Ja | 1 | print amount |
customer_id | bigint | Ja | — | Fremdschlüssel → customer |
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 |
xslt_template | mediumtext | Ja | — | Domain-Feld xsltTemplate |
ignore_group_by_commission_text | smallint | Ja | 0 | ignore group by commission text |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
compiled_report_file_id | files (id) |
file_id | files (id) |
tenant_id | company (tenant_id) |
customer_id | customer (id) |