Skip to content

bom_direct_demand ​

Tabelle: bom_direct_demand
Domain: Keine zugeordnete Domain-Entität (Hilfstabelle, Legacy oder mandantenspezifisch).

Partner-Hinweise ​

  • Daten liegen mandantengetrennt – bei SELECT fast immer tenant_id = :mandant setzen (Spalte ggf. TenantId in ä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.

→ Beispiel-SQLs (BAS23)

Primärschlüssel ​

  • id

Spalten ​

SpalteSQL-TypNULLDefaultBeschreibung
idbigintNein—Primärschlüssel
tenant_idintNein—Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern)
date_createddatetimeNein—Anlagezeitpunkt
main_alter_numvarchar(10)Ja—main alter num
prod_order_material_idbigintJa—Fremdschlüssel → prod order material
prod_order_alter_numvarchar(10)Ja—prod order alter num
prod_order_variant_codevarchar(255)Ja—prod order variant code
prod_order_attribute_codetextJa—prod order attribute code
prod_order_quantitydoubleJa—prod order quantity
prod_order_unit_idbigintJa—Fremdschlüssel → prod order unit
material_idbigintJa—Fremdschlüssel → material
unit_idbigintJa—Fremdschlüssel → unit
bom_quantity_exchange_ratiodoubleJa—bom quantity exchange ratio
target_quantitydoubleJa—target quantity
fix_quantitydoubleJa—fix quantity
attribute_codetextJa—attribute code
variant_codevarchar(255)Ja—variant code
is_calculate_qty_from_attributetinyint(1)Ja0Boolean: Calculate Qty From Attribute
attribute_code_for_qty_calculationtextJa—attribute code for qty calculation
weight_in_gramdoubleJa0weight in gram
warehouse_idbigintJa—Fremdschlüssel → warehouse
production_material_idbigintJa—Fremdschlüssel → production material
production_material_bom_head_alter_numvarchar(10)Ja—production material bom head alter num
production_material_variant_codevarchar(255)Ja—production material variant code
production_material_bom_head_attribute_codetextJa—production material bom head attribute code

Nur für reybex-Partner. Nicht für Endkunden bestimmt.