# Enterprise Communication Interface (ECI)

## eci_cnt_typ

### Description
Count record in type list. Open mask of type. Select records. Return number of records.
### 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 {"bat"}
#### sel_fld_nam
stringlist | names of fields for selection
#### sel_fld_val
stringlist | values of fields for selection
### Output parameter
#### n
string | Number of record found
### Example
Count number of document records Input parameters:
ent_nam | "EDB-DOCUMENT"
typ_nam | "DRAWING"
wdg_nam | "EDB-DOC-DRW-TLI"
wdg_ext | "off"
wdg_mod | "list"
act_mod | "bat"
sel_fld_nam | "T_DOC_DAT.DOCUMENT_ID"
sel_fld_val | "drw00?"