Interactive Program Flow Example
This is an example of an implementing transaction master business functions during single-record processing in an interactive application:
Post Dialog is Initialized (optional)
Call Begin Document.
Set Focus on Grid
Row is Exited and Changed or Row is Exited and Changed ASYNC
Call Edit Line.
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.
OK Button Clicked
Call Begin Doc.
Call Edit Document.
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.