Darstellung
StockPlace
Tabelle: ltt_stockplace
Domain: StockPlace · com.reybex.domain.wws
Modul: INV
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) (Domain: tenantId) |
stockplace_code | varchar(50) | Nein | — | Domain-Feld stockplaceCode |
warehouse_id | bigint | Ja | — | Fremdschlüssel → warehouse |
corridor_id | bigint | Ja | — | Fremdschlüssel → corridor |
corridor_side_id | bigint | Ja | — | Fremdschlüssel → corridor side |
line_id | bigint | Ja | — | Fremdschlüssel → line |
level_id | bigint | Ja | — | Fremdschlüssel → level |
shelf_id | bigint | Ja | — | Fremdschlüssel → shelf |
order | int | Ja | — | REMOVE AFTER FIRST DEPLOY! |
pick_order | int | Ja | — | Domain-Feld pickOrder |
is_pickplace | smallint | Ja | 1 | kann dieser PLatz ein Pickplat sein? |
is_stockkeeping | smallint | Ja | 0 | Boolean: Stockkeeping |
is_default | smallint | Ja | 0 | Boolean: Default |
is_stock_updated_remotely | smallint | Ja | 1 | Boolean: Stock Updated Remotely |
is_negative_stock_allowed | smallint | Ja | 0 | Boolean: Negative Stock Allowed |
is_negative_stock_checked_against_avail | smallint | Ja | 0 | Boolean: Negative Stock Checked Against Avail |
reservation_check_type | smallint | Ja | 0 | reservation check type |
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) |
name | varchar(100) | Ja | — | Bezeichnung / Name (Domain: name) |
unique_name | varchar(20) | Ja | — | unique name |
is_customer_specific | smallint | Ja | 0 | Boolean: Customer Specific |
is_disabled | smallint | Ja | 0 | Boolean: Disabled |
sort_order | int | Ja | — | sort order |
is_free_area | smallint | Ja | 0 | Boolean: Free Area |
ignore_pick_availability | smallint | Ja | 0 | ignore pick availability |
is_we_desadv | smallint | Ja | 0 | Boolean: We Desadv |
remaining_stock_tolerance | decimal(20, 8) | Ja | — | Domain-Feld remainingStockTolerance |
use_for_return_document | smallint | Ja | 0 | use for return document |
is_no_nve | smallint | Ja | 0 | Boolean: No Nve |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
line_id | ltt_line (id) |
level_id | ltt_level (id) |
shelf_id | ltt_shelf (id) |
corridor_side_id | ltt_corridor_side (id) |
corridor_id | ltt_corridor (id) |
tenant_id | company (tenant_id) |