Darstellung
ProdDocType
Tabelle: ltt_prod_doc_type
Domain: ProdDocType · com.reybex.domain.wws.production
Modul: PRD
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(255) | Nein | — | Bezeichnung / Name (Domain: name) |
scheduling_type | smallint | Nein | — | Domain-Feld schedulingType |
is_collective | smallint | Nein | 0 | Boolean: Collective |
auto_goods_receipt_by_last_avo | smallint | Ja | — | auto goods receipt by last avo |
check_capacity | smallint | Nein | — | Domain-Feld checkCapacity |
closing_gap | float | Ja | — | Domain-Feld closingGap |
goods_issue_type | smallint | Nein | — | Domain-Feld goodsIssueType |
inv_doc_type_issue_id | bigint | Ja | — | Fremdschlüssel → inv doc type issue |
inv_doc_type_receipt_id | bigint | Ja | — | Fremdschlüssel → inv doc type receipt |
inv_doc_type_issue_reject_id | bigint | Ja | — | Fremdschlüssel → inv doc type issue reject |
inv_doc_type_issue_retro_id | bigint | Ja | — | Fremdschlüssel → inv doc type issue retro |
inv_move_type_issue_id | bigint | Ja | — | Fremdschlüssel → inv move type issue |
inv_move_type_reservation_id | bigint | Ja | — | Fremdschlüssel → inv move type reservation |
inv_move_type_receipt_id | bigint | Ja | — | Fremdschlüssel → inv move type receipt |
inv_move_type_issue_retro_id | bigint | Ja | — | Fremdschlüssel → inv move type issue retro |
inv_move_type_issue_reject_id | bigint | Ja | — | Fremdschlüssel → inv move type issue reject |
is_confirmation_mandatory | bit | Nein | — | Boolean: Confirmation Mandatory |
is_customer_specific | bit | Nein | — | Boolean: Customer Specific |
is_over_production | bit | Ja | — | Boolean: Over Production |
is_reservation | smallint | Ja | 0 | Boolean: Reservation |
number_range_id | bigint | Nein | — | Fremdschlüssel → number range |
over_production_percentage | double | Ja | — | Domain-Feld overProductionPercentage |
report_id | bigint | Ja | — | Fremdschlüssel → report |
print_incoming_goods_label | smallint | Nein | 0 | print incoming goods label |
date_created | datetime | Nein | — | Anlagezeitpunkt |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
last_updated | datetime | Ja | CURRENT_TIMESTAMP | Letzte Änderung |
updated_by_id | bigint | Ja | — | Geändert von (Benutzer-ID) |
unique_name | varchar(255) | Nein | — | unique name |
inv_move_type_overproduce_id | bigint | Ja | — | Fremdschlüssel → inv move type overproduce |
automatic_order_set_confirmed | smallint | Ja | 0 | automatic order set confirmed |
check_time_percentage | double | Ja | 0 | check time percentage |
copy_attributes_to_components | smallint | Ja | — | copy attributes to components |
dont_confirm_missing_stock | smallint | Ja | 0 | dont confirm missing stock |
inv_move_type_cancel_reservation_id | bigint | Ja | — | Fremdschlüssel → inv move type cancel reservation |
autom_calculate_scrap_quantity_when_finish_prod | smallint | Ja | 0 | autom calculate scrap quantity when finish prod |
is_external | smallint | Ja | 0 | Boolean: External |
pur_doc_type_id | bigint | Ja | — | Fremdschlüssel → pur doc type |
fetch_batchnum_automatically | smallint | Ja | 0 | fetch batchnum automatically |
auto_print_material_labels | smallint | Nein | 0 | auto print material labels |
confirmation_type | smallint | Ja | 0 | confirmation type |
delivery_delay | smallint | Ja | 0 | Domain-Feld deliveryDelay |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
tenant_id | company (tenant_id) |
inv_move_type_overproduce_id | ltt_stock_move_typ (id) |
inv_move_type_cancel_reservation_id | ltt_stock_move_typ (id) |