Previous Topic: Select the StereotypeNext Topic: Selection List Stereotype


Entity Maintenance Stereotype

An entity maintenance stereotype synthesizes a procedure for entity maintenance actions. You select an action block for each of the four entity actions (create, read, update, and delete). You must select an action block to display (read) records. In an online system, you should read a record before you can update or delete it.

You also select a screen identifier from the import attribute views of the process that you selected to read records. CA Gen uses the screen identifier as the criteria for record searches.

Procedure Action Diagrams that result from entity maintenance stereotyping contain NOTE statements that signal you where to add custom validation logic.

A need for common logic often occurs at the end of a Procedure Action Diagram. To allow for this, error conditions found before the main CASE OF COMMAND statement do not escape out of the procedure. Instead, the condition sets the command to the value of BYPASS and stores away the actual command. A case of BYPASS occurs in the main CASE OF COMMAND statement to set the command back to the original value.

In addition, any ESCAPE statement in the main CASE OF COMMAND construct escapes only to the outside of the case structure. You can put any common logic at the bottom of the Procedure Action Diagram after the CASE OF COMMAND construct.

All views that Procedure Synthesis generates are set to optional. In addition, Procedure Synthesis generates a local work set attribute view named IEF_SUPPLIED that stores the COMMAND.