# LogiView

## Example

Procedure 1 tries to insert an item

> insert_ent("EDB-ARTICLE EDB-ART-SLI")
> var(EP_PART_ID)
> RES = execute(1)

Procedure 2 is a pre-action-userexit at the mask 'EDB-ART-SLI' and selects an item; it will be triggered by the insert operation:

> select_ent("EDB-ARTICLE EDB-ART-SLI")
> var(EP_CID)
> where("T_MASTER_DAT.PART_ID"=EP_ITEM)
> RES = execute(1)

Here, the insert will not be performed. The insert operation is prepared but not yet performed when the select operation takes place.

This can be bypassed in the following ways:

- Select...exec_select can be used instead of select_ent...execute
- Different parameter strings can be used:
  - an other mask, e.g. "EDB-ART-STR-RLI-C" instead of "EDB-ART-STR-RLI"
  - no mask, the standard mask will then be used
  - an additional space character, e.g. "EDB-ARTICLE EDB-ART-SLI"