Darstellung
ProfitCenterProduct
Tabelle: ltt_profit_center_product
Domain: ProfitCenterProduct · com.reybex.domain.smartpack
Modul: SMP
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) |
profit_center_id | bigint | Nein | — | Fremdschlüssel → profit center |
reference_number1_id | bigint | Ja | — | Fremdschlüssel → reference number1 |
reference_number2_id | bigint | Ja | — | Fremdschlüssel → reference number2 |
supported_shipping_product_id | bigint | Nein | — | Fremdschlüssel → supported shipping product |
account_number | varchar(100) | Ja | — | Domain-Feld accountNumber |
participation | varchar(100) | Ja | — | Teilnahme |
is_sandbox | smallint | Ja | 0 | Boolean: Sandbox |
is_registered | smallint | Ja | 0 | Boolean: Registered |
username | varchar(100) | Ja | — | Domain-Feld username |
password | varchar(100) | Ja | — | Domain-Feld password |
username2 | varchar(100) | Ja | — | Domain-Feld username2 |
password2 | varchar(100) | Ja | — | Domain-Feld password2 |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
profit_center_id | ltt_profit_center (id) |
supported_shipping_product_id | lt_supported_shipping_product (id) |