# Enterprise Communication Interface (ECI)

## eci_upd_cns

### Description
Updates one constraint record.
### Input parameter
parentEntNam
string | Name of parent entity for relation (entity 1)
parentWdgNam
string | Widget name of parent entity
parentWdgExt
string | Activate system fields on parent list (only available for lists): on: activate system fields off: no system fields
parentWdgMod
string | Widget mode for parent widget: list: widget is a list form: widget is a form bvb: widget is opened by bvb userexit
reserveFlag
string | Allow insert only if parent record is reserved. on: parent record must be reserved off: parent record need not to be reserved reset: parent record need not be reserved but reset reservation at end of function
actionMode
string | Action mode: int: interactive mode bat: batch mode
parentSelFld
stringlist | Field names for selection of parent record
parentSelVal
stringlist | Query values for selection of parent record
cnsNam
string | Name of constraint
cnsWdgNam
string | Name of constraint widget (or "" to use default)
cnsWdgExt
string | Activate system fields on constraint list: on: activate system fields off: no system fields
cnsWdgMod
string | Widget mode for constraint widget: list: widget is a list form: widget is a form
selFldNam
stringlist | Field names for selection of relation record
selFldVal
stringlist | Query values for selection of relation record
updFldNam
stringlist | Names of fields to update
updFldVal
stringlist | Values for fields to update
retFldNam
stringlist | Names of return fields
### Output parameter
retFldVal
stringlist | Values of return fields of inserted record