# Enterprise Communication Interface (ECI)

## eci_del_typ

### Description
Delete record in type list. Open mask of type. Select record. If record doesn't exist: cancel function and return errorcode. If record exists: if 'res_check is "reset": Before deletion, reset reservation of record, delete record, if 'del_mod' is on: empty trash. Close mask.
### Input parameter
#### ent_nam
string | name of entity
#### typ_nam
string | name of type
#### wdg_nam
string | name of mask
#### wdg_ext
string | activate system fields on list {"on", "off"}
#### wdg_mod
string | mode of widget {"list","form","bvb"}
#### res_check
string | reservation check {"reset","off"}
#### act_mod
string | mode of interaction {"bat"}
#### sel_fld_nam
stringlist | names of fields for selection
#### sel_fld_val
stringlist | values of fields for selection
#### del_mod
string | flag if content of trash should be deleted {"on", "off"}
### Example
Delete document type record Input parameters:
ent_nam | "EDB-DOCUMENT"
typ_nam | "DRAWFILE"
wdg_nam | "EDB-DOC-DRW-TFR"
wdg_ext | "off"
wdg_mod | "form"
res_check | "off"
act_mod | "bat"
sel_fld_nam | "T_DOC_DAT.DOCUMENT_ID"
sel_fld_val | "dfl001"
del_mod | "on"