Darstellung
SalesPriceListHead
Tabelle: sales_pricelist_head
Domain: SalesPriceListHead · com.reybex.domain.wws.sales
Modul: SAL
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(50) | Ja | — | Bezeichnung / Name (Domain: name) |
is_active | smallint | Ja | 0 | Aktiv-Flag |
is_delete | smallint | Ja | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
profit_center_id | bigint | Ja | — | Fremdschlüssel → profit center |
currency_id | bigint | Ja | — | Fremdschlüssel → currency |
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) |
marktplace_id | bigint | Ja | — | Fremdschlüssel → marktplace |
valid_from | datetime | Ja | — | Gültig ab |
valid_until | datetime | Ja | — | Gültig bis (Domain: validUntil) |
date_created | datetime | Ja | — | Anlagezeitpunkt |
description | varchar(50) | Ja | — | Beschreibung |
unique_name | varchar(20) | Ja | — | unique name |
is_customer_specific | smallint | Nein | 0 | Boolean: Customer Specific |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
tenant_id | company (tenant_id) |
profit_center_id | ltt_profit_center (id) |
marktplace_id | ltt_marktplace (id) |
currency_id | ltt_currency (id) |