My Oracle Support Banner

Can the Duplicate Invoice Number Check in the AP Project be Moved to the UserExitInvoiceNumberValidate Event as to set the InvoiceNumber Field to Invalid when Validating that Field instead of Document Validation? (Doc ID 2335262.1)

Last updated on OCTOBER 23, 2019

Applies to:

Oracle WebCenter Forms Recognition - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Goal

In the AP 1007G project, the duplicate invoice number check has been implemented and it works.  To change the behavior, the code to call the duplicate invoice number check has been moved from the UserExitDocumentValidate event to the UserExitInvoiceNumberValidate event in order to perform the duplicate check whenever the InvoiceNumber field is validated - instead of when all fields have been validated.  However when validating the InvoiceNumber field remains valid even after throwing an error message.  How can the duplicate Invoice Number check be moved in the code so that the check will leave the Invoice Number field as invalid after the check finds a duplicate record?
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.