Zmiany pomiędzy wersją 83 and wersją 84 dla DeployerGuide/AdvancedConfiguration/CustomRegisters
- Data i czas:
- 05/19/17 13:38:09 (8 years temu)
Legend:
- Bez zmian
- Dodane
- Usunięte
- Zmienione
-
DeployerGuide/AdvancedConfiguration/CustomRegisters
v83 v84 360 360 Znacznik {FILTER_STRING} zostanie zastąpiony wartością z parametru "sql_filter" 361 361 362 {{{ 362 363 {{{ 364 -- Lista użytkowników 363 365 {"sql":"select usr_id, usrnam, 'USER' as clsnam FROM users WHERE {FILTER_STRING}","sql_filter":"firnam ~* E'^{SEARCH_TEXT}'","valueField":"usr_id","labelField":"usrnam"} 364 366 367 -- Lista urządzeń 365 368 {"sql":"SELECT devcid, name__ || ' - ' || COALESCE(sernum) AS device FROM cregisters.creg_devices WHERE {FILTER_STRING}","sql_filter":"sernum ~* E'^{SEARCH_TEXT}' OR name__ ~* E'^{SEARCH_TEXT}'","valueField":"devcid","labelField":"device"} 366 369 370 -- Lista klientów z inicjowaniem domyślnej wartości z dokumentu 371 {"sql": "SELECT contid, name_1 || ' - ' || f_addr AS caption, 'CONTACT' as clsnam, contid AS keyval FROM contacts_view WHERE is_del IS FALSE AND {FILTER_STRING[AND]} ORDER BY caption", 372 "sql_filter": "(name_1 || ' ' || name_2) ~* E'{SEARCH_TEXT}'", 373 "valueField": "contid", 374 "labelField": "caption", 375 "defaultValue": "{SQL::select contid FROM doc_link_cont WHERE contid != 37 AND doc_id = COALESCE(NULLIF('{doc_id}',''),'0')::int }", 376 "widget": { 377 "width": "280px", 378 "top": "70px", 379 "left": "20px" 380 } 381 } 382 383 -- Lista klientów 367 384 {"sql":"SELECT contid, COALESCE(name_2, name_1) || ' ' || f_addr AS caption, 'CONTACT' as clsnam FROM contacts_view WHERE is_del IS FALSE AND {FILTER_STRING} ORDER BY caption","sql_filter":"name_1 ~* E'^{SEARCH_TEXT}' OR name_2 ~* E'^{SEARCH_TEXT}'","valueField":"contid","labelField":"caption", 368 385 "manager": {