My Oracle Support Banner

R12 AP: appay.odf Fails with ORA-04009: MAXVALUE cannot be made to be less than the current value Trying to ALTER SEQUENCE AP.AP_INVOICE_PAYMENTS_S MAXVALUE (Doc ID 2024145.1)

Last updated on JANUARY 12, 2023

Applies to:

Oracle Payables - Version 12.2 to 12.2.4 [Release 12.2]
Information in this document applies to any platform.

Symptoms


During R12.2.0 upgrade driver, there are four "alter sequence" commands which try to assign the maxvalue to less than the current value.
This error causes upgrade worker failure.

These 4 sequences are:
ALTER SEQUENCE AP.AP_INVOICE_PAYMENTS_S MAXVALUE 2147483647 CACHE 1000
ALTER SEQUENCE AP.AP_INVOICES_S MAXVALUE 2147483647
ALTER SEQUENCE AP.AP_ACCOUNTING_EVENTS_S MAXVALUE 2147483647
ALTER SEQUENCE AP.AP_INVOICES_INTERFACE_S MAXVALUE 2147483647

The above commands failed with the following error.

 




Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
 Standard Patching Process
 Patch Wizard
 Have more questions?
References


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