Enterprise Communication Interface (ECI)

eci_cnt_rel

Description

Count records in relation list.

  • Opens mask of entity 1.
  • Opens relation list.
  • Select records.
  • Returns number of selected records.

 

Input parameter

fat_ent_nam

string name of entity 1 ("father")

fat_wdg_nam

string name of mask of entity 1

fat_wdg_ext

string activate system fields on list of entity 1 {"on", "off"}

fat_wdg_mod

string mode of widget of entity 1 {"list","form","bvb"}

act_mod

string mode of interaction {"int","bat"}

fat_sel_nam

stringlist names of fields for selection of parent record

fat_sel_val

stringlist values of fields for selection of parent record

son_ent_nam

string name of entity 2 ("son")

rel_vie_nam

string view name of relation

rel_ref_agg

string direction of relation {"ref", "agg"}

rel_wdg_nam

string name of relation list

rel_wdg_ext

string activate system fields on relation list {"on", "off"}

rel_wdg_mod

string mode of relation widget {"list","form","bvb"}

sel_fld_nam

stringlist names of fields for selection of relation record

sel_fld_val

stringlist values of fields for selection of relation record

Output parameter

num_del

string number of deleted relation records

num_sel

string number of selected relation records

 

Example

Count item-document records

Input parameter:

fat_ent_nam "EDB-ARTICLE"
fat_wdg_nam "EDB-ART-SLI"
fat_wdg_ext "off"
fat_wdg_mod "list"
act_mod "bat"
fat_sel_nam "T_MASTER_DAT.PART_ID"
fat_sel_val "art001"
son_ent_nam "EDB-DOCUMENT"
rel_vie_nam "STR"
rel_ref_agg "ref"
rel_wdg_nam "EDB-ART-DOC-RLI"
rel_wdg_ext "off"
rel_wdg_mod "list"
sel_fld_nam "T_MASTER_DOC.POS_NO"
sel_fld_val "1"