Fund Allocation Form Misfiring WHEN-VALIDATE-RECORD Event (Doc ID 2060618.1)

Last updated on JANUARY 06, 2017

Applies to:

Oracle Project Contracts - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

User is in the Fund Allocation block and they click the "X" in the upper right to exit the form it appears that the WHEN-VALIDATE-RECORD event fires even if there is no fund allocation line entered. We have implemented a form personalization on the FUND_ALLOCATION block that fires on the WHEN-VALIDATE-RECORD event fires. It checks to make sure that the Project field is not NULL if you are trying to save the fund allocation record because standard form functionality allows this. This causes issues because if you click the Create/Update Agreement button this fund allocation will be copied to PA but it is not valid to have a project funding line in PA with no project.
When the 'X' to exit the Fund Allocation form is clicked, the code should check to see if a save is required and only fire the WHEN-VALIDATE-RECORD event if a new record exists that requires a Save.

And we are still getting the popup form with the message:

"Please save your pending changes before proceeding."

When the "X" on the Fund Allocation form is clicked. Even though we have not entered any allocation records.
It appears that this behavior is due to the fact that the form Fund Allocation block form is opened in Insert Record mode by default. This shouldn't be the case or there should be a way of exiting the insert record mode to allow users to exit the fund allocation block without having to do a save.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms