Darstellung
SalesPriceListItem
Tabelle: sales_pricelist_item
Domain: SalesPriceListItem · 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) |
sales_price_list_head_id | bigint | Ja | — | Fremdschlüssel → sales price list head |
description | varchar(300) | Ja | — | Beschreibung (Domain: description) |
long_description | text collate utf8mb4_unicode_ci | Ja | — | Domain-Feld longDescription |
material_id | bigint | Ja | — | Fremdschlüssel → material |
unit_id | bigint | Ja | — | Fremdschlüssel → unit |
price | double | Ja | 0 | price |
price_unit | double | Ja | 0 | price unit |
is_delete | smallint | Ja | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
min_order_quantity | double | Ja | 0 | min order quantity |
max_order_quantity | double | Ja | 0 | max order quantity |
is_released | smallint | Ja | 0 | Boolean: Released |
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 | Nein | 0 | Boolean: Customer Specific |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
material_id | material (id) |
unit_id | ltt_unit (id) |
sales_price_list_head_id | sales_pricelist_head (id) |