Enterprise Communication Interface (ECI)

eci_rea_ent

Description

Read record in an entity list.

  • Open mask to entity.
  • Check if record exists:

    Record does not exist:

    • Return error code.

    Record exists:

    • Return values of return fields.
    • Close mask.

Input parameter

ent_nam

string name of entity

wdg_nam

string name of mask

wdg_ext

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

wdg_mod

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

act_mod

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

sel_fld_nam

stringlist names of fields for selection

sel_fld_val

stringlist values of fields for selection

ret_fld_nam

stringlist names of fields to return

Output parameter

ret_fld_val

stringlist values of fields to return

 

Example

Read an item record

Input parameter:

ent_nam "EDB-ARTICLE"
wdg_nam "EDB-ART-SFR"
wdg_ext "off"
wdg_mod "form"
act_mod "bat"
sel_fld_nam "T_MASTER_DAT.C_ID"
sel_fld_val "1900300400"
ret_fld_nam "T_MASTER_DAT.PART_ID"
 
"T_MASTER_DAT.PART_NAME"