My Oracle Support Banner

Unexpected Error When Using the Create Agreement Option on the G-Invoicing Dashboard: java.sql.SQLException: ORA-01086: savepoint 'CREATE_AUTO_AGREEMENT', ORA-06512: at "APPS.PA_IGT_AUTO_AGREEMENT_PVT", line 1053 (Doc ID 2894987.1)

Last updated on NOVEMBER 08, 2022

Applies to:

Oracle Project Billing - Version 12.2.9 and later
Information in this document applies to any platform.

Symptoms

Unexpected error received when creating agreement from ECC G-Invoicing dashboard after fixing a customer account setup issue:

Error Page
Exception Details.
 oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-01086: savepoint 'CREATE_AUTO_AGREEMENT' never established in this session or is invalid
ORA-06512: at "APPS.PA_IGT_AUTO_AGREEMENT_PVT", line 1053
ORA-01086: savepoint 'ORDER_LEVEL_POINT' never established in this session or is invalid
ORA-06512: at "APPS.PA_IGT_AUTO_AGREEMENT_PVT", line 1006
ORA-01403: no data found
ORA-06512: at "APPS.PA_IGT_AUTO_AGREEMENT_PVT", line 762
ORA-06512: at "APPS.PA_IGT_AUTO_AGREEMENT_PVT", line 2082
ORA-06512: at line 1


Steps to Reproduce:

1. Customer account is either not setup in Oracle, or the site is not setup for the customer account for the operating unit (OU).
2. Using the Project Super User responsibility, run the 'Intragovernmental Orders Interface Program' concurrent request to pull the order from G-Invoicing.
3. Order is pulled in, but a rejection message is received stating that the customer doesn’t exist and the agreement is not created.
4. Customer account is either setup, or the site is added to the existing customer for the OU.
5. Using the Project Super User responsibility, open the G-Invoicing dashboard.
6. Select the order, click on the 'Options' and click on 'Create Agreement'.
7. An error page is returned (see above)
8. Run the 'Intragovernmental Orders Interface Program' concurrent request to pull the order from G-Invoicing again and then run the incremental load for ECC, the error message changes to “The term ID is missing”, even though agreement type that was setup for G-Invoicing has been assigned default terms
9. Using the option to create the agreement results in the same error message reported above. The only difference is the error message has changed from missing customer to missing terms id.

Changes

Setup was incorrect

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
References


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