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 JUNE 07, 2021
Applies to:Oracle WebCenter Forms Recognition - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
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?
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