# Enterprise Communication Interface (ECI)

## eci_mul_del

### Description
This function enables to delete several entity or type data records with one eci_cal call.
| If a single search is sufficient to select all data records to be deleted, use this possibility for a better performance instead of using a search for each data record.
### Input parameter
CpEntNam
string | Entity name
CpTypNam
string | Name of entity type ("" if no entity type)
CpMasNam
string | Mask name of entity/type
CpMasExt
string | Active system fields of mask of the entity {"on"|"off"}
CpWdgMod
string | Mask type of entity/the typ {"list"|"form"|"bvb"}
CpResChk
string | {"off"|"reset"}
reset:
Resets an existing reservation (if authorised)
CpaSelFld
stringlist | Field names for selecting the data records
CpaSelVal_1 ... CpaSelVal_Num
stringlist | Field value for selecting the first data record
... | ...
stringlist | Field value for selection the last data record
CpDelFlag
string | Delete flag {"nonstop"|"hardstop"|"softstop"}
nonstop: | error, go to next record
hardstop: | error, quit function and execute rollback
softstop: | error, quit function but do not execute rollback
CpDelMod
string | Delete mode {"on"|"off"}
"on": | Data records are copied to the trash and the trash is then emptied
"off": | Data records are copied to the trash
CpReturnFlag
string | {"on"|"off"} not yet implemented
on: | Returns field values which were not deleted
### Output parameter
CpaDelNum
string | Number of deleted data records
CpaMisNum
string | Number of undeleted data records