Enterprise Communication Interface (ECI)

eci_rea_doc_his_trn

Description

Read history of life cycle of a document.

  • Selection of requested document in batch mode
  • Call appropriate history widget of the selected document (via CID).
  • Select all NON MEMO-fields.
  • If entries exist:
    • Return the desired max. number of newest NON-MEMO entries
  • Return appropriate return code.

The document history is referenced by the document master data. Therefore, the document type is here not required.

All NON-MEMO-entries of the history are returned (i.e. INSERT, TRANSITION, VERS_NEW etc.), therefore, the user must differentiate himself by interpreting the data fields!

This function is still supported due to the upward compatibility. The general function eci_rea_rel (Entity1=EDB-DOCUMENT, Entity2=EDB-HISTORY, view=STR) supplies the same result.

 

Input parameter

wdg_mod

string mode of widget {"list"}

act_mod

string mode of interaction {"bat"}

sel_fld_nam

string names of fields of document for selection

sel_fld_val

string values of fields of document for selection

ret_rec_max

string max. number of newest modification text entries to return

ret_fld_nam

stringlist names of fields of history for return

Output parameter

n

string count of selected data records

ret_fld_val_1 ... ret_fld_val_n

stringlist values of fields of history-record 1
... ...
stringlist values of fields of history-record n