Previous Topic: Procedure Synthesis to Build an Action DiagramNext Topic: Selection List


Entity Maintenance

This is used to synthesize a procedure that uses action diagrams for the entity actions read, update, delete and create. CA Gen can add extra logic to the action diagram if required, for instance:

The following sample code shows the type and sequence of logic that CA Gen will synthesize.

Synthesized Procedure Action Diagram

 

SYNTHESIZED PROCEDURE
     IMPORTS:  POPULATED
     EXPORTS:  POPULATED
SET INITIAL EXIT STATE
CLEAR SCREEN LOGIC
REFRESH SCREEN IF COMMAND IS EQUAL TO CLEAR
IS EQUAL TO CLEAR
MOVE IMPORTS TO EXPORTS
SECOND STAGE UPDATE/DELETE LOGIC
VALIDATION LOGIC
MAIN CASE OF COMMAND
USE ACTION BLOCKS

The synthesized groups of actions form the starting point for designing the detailed logic. For more information, see Refining Synthesized Procedure Action Diagrams.