Darstellung
MaterialImport
Tabelle: material_import
Domain: MaterialImport · com.reybex.domain.wws.material
Modul: BAS
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) |
is_reworked_import | smallint | Ja | 0 | Boolean: Reworked Import |
name | varchar(100) | Ja | — | Bezeichnung / Name (Domain: name) |
material_matching_type | smallint | Ja | 0 | 0: Artikelnr, 1: EAN, 2: Beschreibung, 3: Lieferantena Artikelnummer |
mat_code_from_extern | tinyint(1) | Ja | — | true: neuer mat code wird über eine tabellenspalte vergeben, false: neuer mat code wird über nummernkreis des material types des ausgewählten material templates vergeben |
mat_code_import_item_id | bigint | Ja | — | Fremdschlüssel → mat code import item |
material_template_id | bigint | Ja | — | Fremdschlüssel → material template |
delimiter | char | Ja | ';' | delimiter |
quote_character | char | Ja | '"' | quote character |
quote_mode | tinyint(1) | Ja | — | apache-commons-csv quote mode, false: QuoteMode.MINIMAL, true: QuoteMode.ALL |
is_delete | tinyint(1) | Nein | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
customer_id | bigint | Ja | — | Fremdschlüssel → customer |
warehouse_id | bigint | Ja | — | Fremdschlüssel → warehouse |
valid_from | date | Ja | — | Gültig ab (Domain: validFrom) |
valid_until | date | Ja | — | Gültig bis (Domain: validUntil) |
import_mode | smallint | Ja | 1 | 1. create + update, 2. create, 3. update |
progress | smallint | Ja | 0 | progress |
server | varchar(200) | Ja | — | Domain-Feld server |
port | int | Ja | — | Domain-Feld port |
username | varchar(50) | Ja | — | Domain-Feld username |
password | varchar(50) | Ja | — | Domain-Feld password |
path | varchar(100) | Ja | — | Domain-Feld path |
is_debug | smallint | Ja | — | Boolean: Debug |
has_header | smallint | Ja | — | has header |
job_interval | smallint | Ja | 0 | job interval |
hours | varchar(100) | Ja | — | Domain-Feld hours |
brand_id | bigint | Ja | — | Fremdschlüssel → brand |
is_gross_price | smallint | Ja | 1 | Boolean: Gross Price |
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 |
is_set_import | smallint | Ja | 0 | Boolean: Set Import |
create_missing_lookup_data | smallint | Ja | 0 | create missing lookup data |
character_encoding | varchar(10) | Ja | 'UTF-8' | character encoding |
import_type | smallint | Ja | 0 | import type |
filename | varchar(50) | Ja | — | Domain-Feld filename |
upload_double_images | smallint | Ja | 1 | upload double images |
is_external_stock_cleared | smallint | Ja | 0 | Boolean: External Stock Cleared |
is_stock_exclusive_import | smallint | Ja | 0 | Boolean: Stock Exclusive Import |
read_all_files | smallint | Ja | 0 | read all files |
custom_xml_template_id | bigint | Ja | — | Fremdschlüssel → custom xml template |
set_all_material_category_levels | smallint | Ja | 0 | set all material category levels |
material_fields_to_import | varchar(500) | Ja | — | Domain-Feld materialFieldsToImport |
is_fulfillment | smallint | Ja | 0 | Boolean: Fulfillment |
move_processed_files | smallint | Ja | 0 | move processed files |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
custom_xml_template_id | custom_xml_template (id) |
material_template_id | material (id) |
warehouse_id | ltt_warehouse (id) |
brand_id | ltt_brand (id) |
tenant_id | company (tenant_id) |