PL/SQL (MOSC)

MOSC Banner

How to deal with ORA-08002: sequence AP_SUPPLIERS_INT_S.CURRVAL is not yet defined in this session

edited Jul 30, 2015 10:03AM in PL/SQL (MOSC) 4 commentsAnswered

Hi there,

We are upgrading EBS from 11i to 12.2.4 and we have to enter suppliers thru AP Supplier Interface.  In the past, we inserted suppliers directly into po_vendors and vendor_sites_all tables since when we got Oracle EBS, there was no supplier interface yet.  Anyway, I created a package, compiled it without problem and put it into a concurrent process.  However, when I run it, I got error ORA-08002: sequence AP_SUPPLIERS_INT_S.CURRVAL is not yet defined in this session.  Here is the situation:

-  we have a series of procedures in the package body.

-  in procedure to insert data into ap_suppliers_int table, for column vendor_interface_id, I used ap_suppliers_int_s.nextval.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center