Darstellung
StockMoveType
Tabelle: ltt_stock_move_typ
Domain: StockMoveType · 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) |
name | varchar(100) | Ja | — | Bezeichnung / Name (Domain: name) |
move_type_code | varchar(10) | Ja | — | 110=Goods receipt for purchase order,125=Return deliveries to vendor,... |
type | smallint | Ja | 0 | 1=manually,2=purchase,3=sales,4=Transfer,8=stock taking stichtag,9=permanente Inventur |
from_stock | smallint | Ja | 0 | x(-1) ;0=nothing, 1=avail,2=reserved,3=blocked,4=quality |
to_stock | smallint | Ja | 0 | x(+1) ;0=nothing, 1=avail,2=reserved,3=blocked,4=quality |
is_negative_stock | smallint | Ja | 0 | ist negativer Bestand erlaubt |
is_shipping_type | smallint | Ja | 0 | Boolean: Shipping Type |
is_nve_created | smallint | Ja | 0 | Boolean: Nve Created |
price_evaluation | smallint | Ja | 0 | should be make price evaluation by stock movements |
stat_postway | smallint | Ja | 0 | 0=WE, 1=WA, 2=nicht anzeigen |
stat_factor | smallint | Ja | 0 | 1=Plus, -1=negativ zum multiplizieren bei den Selects |
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 | Ja | 0 | Boolean: Customer Specific |
fin_post_stock_id | bigint | Ja | — | Fremdschlüssel → fin post stock |
is_disabled | smallint | Ja | 0 | Boolean: Disabled |
sort_order | int | Ja | — | sort order |
is_picking | smallint | Ja | 0 | Boolean: Picking |
do_quality_control | smallint | Ja | — | Domain-Feld doQualityControl |
dont_print_label | smallint | Ja | 0 | dont print label |
update_statistics | smallint | Ja | 0 | update statistics |