Extending a Transaction Boundary by Using Business Functions

You can include a business function in a transaction boundary. If the parent form uses automatic commit, the business function to which you extend the transaction boundary also uses automatic commit. Any business function that is not marked as Include in Transaction uses auto-commit. Business functions that process asynchronously can also be included in a transaction.

Access the Form Design Aid.

  1. Select the parent form with which you are working.

  2. From the Form menu, select Menu, Toolbar Exits.

  3. Select the OK row and click the Event Rules button.

  4. From Event Rules Design, select the Button Clicked event, and click the Business Functions button.

  5. From Business Function Search, select the business function that you want to include in the transaction boundary.

  6. On Business Function, click the Include in Transaction Transaction Processing option.

    Business Functions marked for both Asynchronous and Include in Transaction are included in the Transaction Boundary.