Darstellung
Product
Tabelle: product
Domain: Product · com.reybex.domain.core.registration
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) |
item_code | varchar(100) | Ja | — | Domain-Feld itemCode |
name | varchar(50) | Nein | — | Bezeichnung / Name (Domain: name) |
type | smallint | Ja | 0 | 0 - product, 1 - support, 2 - service |
country_id | bigint | Ja | — | Fremdschlüssel → country |
order_pos | smallint | Ja | 1 | order pos |
description | varchar(500) | Ja | — | Beschreibung (Domain: description) |
price_month | decimal(10, 2) | Ja | 0.00 | price month |
price_year | decimal(10, 2) | Ja | 0.00 | price year |
currency_code | varchar(3) | Ja | 'EUR' | currency code |
not_available_transactions | varchar(255) | Ja | — | Domain-Feld notAvailableTransactions |
not_available_check_tables | varchar(255) | Ja | — | Domain-Feld notAvailableCheckTables |
pms_license_id | bigint | Ja | — | Fremdschlüssel → pms license |
max_users | bigint | Nein | 2 | max users |
language | varchar(2) | Nein | 'de' | supported: de, tr, en |
is_price_on_demand | smallint | Ja | 0 | Boolean: Price On Demand |
discount_per_year | decimal | Ja | 0 | discount per year |
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) |
code | varchar(5) | Ja | — | Code / Kurzkennzeichen (Domain: code) |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
country_id | lt_country (id) |
pms_license_id | pms_license (id) |