Skip to content

User ​

Tabelle: user
Domain: User · com.reybex.domain.pms
Modul: SYS

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
idbigint auto_incrementJa—Primärschlüssel (Domain: id)
tenant_idbigintNein—Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId)
is_deletesmallintJa0Soft-Delete (0 = aktiv, 1 = gelöscht)
emailvarchar(100)Nein—Domain-Feld email
account_expiredsmallintJa0account expired
password_expiredsmallintJa0password expired
account_lockedsmallintJa0account locked
cityvarchar(50)Ja—Domain-Feld city
zipcodevarchar(10)Ja—Domain-Feld zipcode
faxvarchar(50)Ja—Domain-Feld fax
firstnamevarchar(50)Ja—Domain-Feld firstname
surnamevarchar(50)Nein—Domain-Feld surname
mobilevarchar(50)Ja—Domain-Feld mobile
phonevarchar(50)Ja—Domain-Feld phone
start_datedatetimeJa—Domain-Feld startDate
end_datedatetimeJa—Domain-Feld endDate
webvarchar(50)Ja—Domain-Feld web
working_hourssmallintJa0Domain-Feld workingHours
birthplacevarchar(50)Ja—Domain-Feld birthplace
birthdatedatetimeJa—Domain-Feld birthdate
usernamevarchar(200)Nein—Domain-Feld username
passwordvarchar(50)Nein—Domain-Feld password
enabledsmallintJa1enabled
file_idbigintJa—Fremdschlüssel → file
streetvarchar(255)Ja—Domain-Feld street
email_for_assign_tasksmallintJa0email for assign task
email_for_new_tasksmallintJa0email for new task
email_for_update_tasksmallintJa0email for update task
email_for_smart_comm_summarysmallintJa0email for smart comm summary
rate_per_hourdecimal(18, 2)Ja0.00Domain-Feld ratePerHour
languagechar(2)Ja—Domain-Feld language
culturevarchar(5)Ja—Domain-Feld culture
session_idbigintJa—Domain-Feld sessionId
session_datedatetimeJa—Domain-Feld sessionDate
show_dashboardsmallintJa1show dashboard
show_task_listsmallintJa1show task list
show_current_bookingsmallintJa1show current booking
show_notessmallintJa1show notes
show_my_projectssmallintJa1show my projects
show_observed_taskssmallintJa1show observed tasks
show_support_taskssmallintJa1show support tasks
filter_backlogsmallintJa1filter backlog
filter_in_processsmallintJa1filter in process
filter_wfcsmallintJa1filter wfc
filter_donesmallintJa1filter done
filter_todosmallintJa1filter todo
delete_datedatetimeJa—Domain-Feld deleteDate
last_logindatetimeJa—Domain-Feld lastLogin
country_idbigintJa—Fremdschlüssel → country
date_createddatetimeJa—Anlagezeitpunkt (Domain: dateCreated)
last_updateddatetimeJaCURRENT_TIMESTAMPLetzte Änderung (Domain: lastUpdated)
created_by_idbigintJa—Angelegt von (Benutzer-ID)
updated_by_idbigintJa—Geändert von (Benutzer-ID)
lock_timeoutsmallintNein5lock timeout
presssmallintNein0press
show_notificationssmallintJa1show notifications
email_for_notificationsmallintJa0email for notification
signaturetextJa—Domain-Feld signature
show_crm_actionssmallintJa1show crm actions
email_for_cms_changessmallintJa1email for cms changes
time_zonevarchar(100)Ja—Domain-Feld timeZone
account_managersmallintJa0account manager
menu_idbigintJa—Fremdschlüssel → menu
show_daily_activitysmallintJa1show daily activity
show_documentssmallintJa1show documents
sales_department_idbigintJa—Fremdschlüssel → sales department
pur_department_idbigintJa—Fremdschlüssel → pur department
positionvarchar(150)Ja—Domain-Feld position
is_loged_outsmallintJa0Boolean: Loged Out
ews_passvarchar(500)Ja—Domain-Feld ewsPass
ews_usernamevarchar(100)Ja—Domain-Feld ewsUsername
price_decimal_placessmallintJa2price decimal places
quantity_decimal_placessmallintJa0quantity decimal places
transaction_idbigintJa—Fremdschlüssel → transaction
cash_register_printervarchar(200)Ja—TODO: remove after deployen
standart_printervarchar(200)Ja—TODO: remove after deployen
label_printervarchar(200)Ja—Domain-Feld labelPrinter
theme_idbigintJa—Fremdschlüssel → theme
warehouse_idbigintJa—Fremdschlüssel → warehouse
is_welcome_wizard_displayedsmallintJa1Boolean: Welcome Wizard Displayed
show_sales_itemssmallintJa0show sales items
is_real_time_usersmallintJa0Boolean: Real Time User
spotlight_configuration_idbigintJa—Fremdschlüssel → spotlight configuration
identity_numbervarchar(50)Ja—Domain-Feld identityNumber
tax_numbervarchar(100)Ja—Domain-Feld taxNumber
company_registervarchar(50)Ja—Domain-Feld companyRegister
is_externalsmallintNein0Boolean: External
mobile_tokenvarchar(400)Ja—Domain-Feld mobileToken
is_inventory_parked_by_defaultsmallintJa0Boolean: Inventory Parked By Default
stockplace_for_incoming_goods_idbigintJa—Fremdschlüssel → stockplace for incoming goods
ask_for_incomming_good_stockplacesmallintJa0ask for incomming good stockplace
is_trace_activesmallintJa0Boolean: Trace Active
is_workflow_seller_email_sendsmallintJa0Boolean: Workflow Seller Email Send
cash_register_idbigintJa—Fremdschlüssel → cash register
check_group_idbigintJa—Fremdschlüssel → check group
form_configurationvarchar(5000)Ja—Domain-Feld formConfiguration
oauth2_idvarchar(100)Ja—Domain-Feld oauth2Id
is_purchase_confirmations_shownsmallintJa0Boolean: Purchase Confirmations Shown
show_chatsmallintJa0show chat
show_tab_close_dialogsmallintJa0show tab close dialog
warn_on_browser_closesmallintJa1warn on browser close
use_new_appsmallintJa1use new app
shipping_config_idbigintJa—Fremdschlüssel → shipping config
cancel_user_session_expiry_timeintJa—Domain-Feld cancelUserSessionExpiryTime
is_community_invitedsmallintJa0Boolean: Community Invited
open_verification_attachment_in_separate_windowsmallintJa0open verification attachment in separate window
disable_grid_width_auto_setupsmallintJa0disable grid width auto setup
is_internal_usersmallintJa0Boolean: Internal User
is_responsible_for_infosmallintJa0Boolean: Responsible For Info
selected_transactionsvarchar(200)Ja—Domain-Feld selectedTransactions
is_mfasmallintJa0Domain-Feld isMfa
mfa_codeintJa—Domain-Feld mfaCode
password_change_datedatetimeJaCURRENT_TIMESTAMPpassword change date
password_change_intervalsmallintJa6password change interval
password_must_be_changedsmallintJa0password must be changed
open_fin_attachment_in_separate_windowsmallintJa0open fin attachment in separate window
terminal_configurationtextJa—Domain-Feld terminalConfiguration
wcheck_codevarchar(100)Ja—Domain-Feld wcheckCode

Fremdschlüssel ​

Spalte(n)Referenz
stockplace_for_incoming_goods_idltt_stockplace (id)
shipping_config_idltt_shipping_config (id)
check_group_idltt_verification_check_group (id)
tenant_idcompany (tenant_id)
menu_idltt_menu (id)
sales_department_idltt_sales_department (id)
theme_idtheme (id)
cash_register_idcash_register (id)

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