Description
|
Insert a new record in an entity list.
- Opens list to entity.
- Checks with selection fields, if record already exists (sel_fld_nam/sel_fld_val).
- Record exists:
- Record does not exist:
- Write fields 'ins_fld_nam'.
- Modify and insert values by the user in the interactive mode.
- Store record.
- Return values of return fields.
- Close list.
 |
The selection only checks if a respective data record does already
exist. |
|
Input parameter
|
ent_nam
wdg_nam
wdg_mod
string |
mode of widget {"list","form","bvb"} |
act_mod string
string |
mode of interaction {"int","bat"} |
sel_fld_nam
stringlist |
names of fields for selection |
sel_fld_val
stringlist |
values of fields for selection |
ins_fld_nam
stringlist |
names of fields to write |
ins_fld_val
stringlist |
values of fields to write |
ret_fld_nam
stringlist |
names of return fields |
|
Output
parameter
|
ret_fld_val
stringlist |
values of return fields |
|
Example:
|
Insert new item record Input parameter:
ent_nam |
"EDB-ARTICLE" |
wdg_nam |
"EDB-ART-SFR" |
wdg_mod |
"form" |
act_mod |
"int" |
sel_fld_nam |
"" |
sel_fld_val |
"" |
ins_fld_nam |
"T_MASTER_DAT.PART_ID" |
|
"T_MASTER_DAT.PART_NAME" |
ins_fld_val |
"art001" |
|
"name of art001" |
ret_fld_nam |
"T_MASTER_DAT.C_ID" |
|
"T_MASTER_DAT.PART_ID" |
|
"T_MASTER_DAT.PART_NAME" |
|