# Enterprise Communication Interface (ECI)

## eci_dbi_get_rel

### Description
REads the refine and aggregate relation definitions for an entity definition.
### Input parameter
#### ca_EntNam
string | Name of entity
### Output parameter
#### ca_RefNum
string | Number of refine relations for the entity.
#### ca_Ref_1 ... ca_Ref_n
stringlist | First refine relation: C_ID of the refine relation C_ID of the entity 2 Name of entity 2 View name Table name Name of default list Name of the default form Check flag1 Check flag 2 Delete flag 1 Delete flag 2 Title of relation (in current system language)
... | ...
stringlist | Last refine relation: C_ID of the refine relation C_ID of the entity 2 Name of entity 2 View name Table name Name of default list Name of the default form Check flag1 Check flag 2 Delete flag 1 Delete flag 2 Title of relation (in current system language)
#### ca_AggNum
string | Number of aggregate relations for the entity
#### ca_Agg_1 ... ca_Agg_m
stringlist | First aggregate relation: C_ID of the aggregate relation C_ID of entity 2 Name of entity 2 View name Table name Name of default list Name of default form Check flag1 Check flag2 Delete flag1 Delete flag 2 Title of relation (in current system language)
... | ...
stringlist | Last aggregate relation: C_ID of the aggregate relation C_ID of entity 1 Name of entity 1 View name Table name Name of default list Name of default form Check flag1 Check flag2 Delete flag1 Delete flag 2 Title of relation (in current system language