Description
|
Modify record in type list.
|
Input parameter
|
ent_nam
typ_nam
wdg_nam
wdg_ext
string |
activate system fields on list {"on", "off"} |
wdg_mod
string |
mode of widget {"list","form","bvb"} |
act_mod
string |
mode of interaction {"int","bat"}
|
res_flag
string |
modify record only if reservation is set {"on","off","reset"} |
sel_fld_nam
stringlist |
names of fields for selection |
sel_fld_val
stringlist |
values of fields for selection |
upd_fld_nam
stringlist |
names of default fields |
upd_fld_val
stringlist |
values of default fields |
ret_fld_nam
stringlist |
names of field to return |
optimize
string |
With this parameter a database update is only done
if the old and new values differ (and therefore, the modification
date is not changed if the values are the same).
on = before writing the values of input parameter upd_fld_val it is
checked whether the old value differs from new value. Only in this
case the "new" value is written in field.
off = Value of upd_fld_val is written to field. |
|
Output
parameter
|
ret_fld_val
stringlist |
values of field to return |
|
Example
|
Modify document type record
Input parameter:
ent_nam |
"EDB-DOCUMENT" |
typ_nam |
"DRAWFILE" |
wdg_nam |
"EDB-DOC-DFL-TLI" |
wdg_ext |
"off" |
wdg_mod |
"form" |
act_mod |
"int" |
res_flag |
"off" |
sel_fld_nam |
"T_DOC_DAT.DOCUMENT_ID" |
sel_fld_val |
"dfl001" |
upd_fld_nam |
"T_DOC_DAT.DOC_NAME" |
upd_fld_val |
"new name of dfl001" |
ret_fld_nam |
"T_DOC_DFL.C_ID" |
|
"T_DOC_DAT.C_ID" |
|