# Enterprise Communication Interface (ECI)

## eci_del_rel

### Description
ECI function for deleting a relation data record.
### Input parameter
#### CpEntNam
string | name of entity of father
#### CpMasNam
string | name of list of father
#### CpMasExt
string | flag if father list extension switch is {on|off}
#### CpWdgMod
string | widget mode of father list {list|form|bvb}
#### CpActMod
string | action mode {bat}
#### CpaEntFld
stringlist | names of fields to select father
#### CpaEntVal
stringlist | values of fields to select father
#### CpEnt2Nam
string | name of entity of son
#### CpViewNam
string | name of view of relation
#### CpRefAgg
string | refine or aggregate list {ref|agg}
#### CpRelMasNam
string | name of list of relation
#### CpRelMasExt
string | flag if relation list extension switch {on|off}
#### CpRelWdgMod
string | widget mode for relation list {list|form|bvb}
#### CpaRelFld
stringlist | names of fields of relation to select
#### CpaRelVal
stringlist | values of fields of relation to select
#### CpDelMod
string | deletion mode: on - copy to trash and delete trash off - copy to trash
####
### Output parameter
#### cpDelNum
string | Number of deleted records
#### cpSelNum
string | Number of selected records