Interactive Program Flow Example

This is an example of an implementing transaction master business functions during single-record processing in an interactive application:

  1. Post Dialog is Initialized (optional)

    Call Begin Document.

  2. Set Focus on Grid

  3. Row is Exited and Changed or Row is Exited and Changed ASYNC

    Call Edit Line.

  4. Delete Grid Record Verify- After

    Call Edit Line to perform delete for one record.

    Call Edit Document to perform deletes on a group of records.

  5. OK Button Clicked

    Call Begin Doc.

    Call Edit Document.

  6. OK Post Button Clicked

    Call End Document.

Master Business Functions usually perform all table I/O for the given table. Therefore, these actions must be disabled:

  • Add Grid Record to DB - before

    Suppress Add.

  • Update Grid Record to DB - before

    Suppress Update.

  • Delete Grid Record to DB - before

    Suppress Delete.