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 MARCH 08, 2017

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.

 




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