# Enterprise Communication Interface (ECI)

## eci_rea_typ

### Description
Read a record in a type list. Open mask of type. Select record. If record does not exist: Cancel function and return errorcode. If record exists: Return values of return fields. 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"}
act_mod
string | mode of interaction {"int","bat"}
sel_fld_nam
stringlist | names of fields for selection
sel_fld_val
stringlist | values of fields for selection
ret_fld_nam
stringlist | names of field to return
### Output parameter
ret_fld_val
stringlist | values of field to return
### Example
Read a document type record Input parameter:
ent_nam | "EDB-DOCUMENT"
typ_nam | "DRAWING"
wdg_nam | "EDB-DOC-DRW-TFR"
wdg_ext | "off"
wdg_mod | "form"
act_mod | "bat"
sel_fld_nam | "T_DOC_DFL.C_ID"
sel_fld_val | "1900700500"
ret_fld_nam | "T_DOC_DAT.DOCUMENT_ID"
| "T_DOC_DAT.SHEET_NO"
| "T_DOC_DAT.DOC_VERSION"
| "T_DOC_DAT.DOC_REVISION"