CO ERROR when inser record to a temp table!

kai zhou

Member
I created a temp table with one P-Key (UKID). But when I use Table IO to insert record into this table (UKID is generated by using NN and BF X0010), the File_IO_Status is always equal to 2 (CO ERROR). Any advise? Thanks!
 
Your using the wrong bsfn to get the UKID. you should use X00022.Values for the bsfn are input OBNM would be table name and output will be UKID. Your UKID value will be stored in table F00022 application to browse this is P00022.
X0010 is used to get the next numbers.
 
Kai Zhou,

I will ask a dumb question first....did you generate the table?

Barry
 
Hi Kai Zhou,

Other dumb questions this time from me:

Q1.) Have you debugged you code? Has UKID a non-existing value really?
Q2.) Have you checked your jde.log?
Q3.) What kind of object issue the insert? (UBE, APPL, BSFN, TBLE Trigger)
Q4.) At last, but (maybe) not least, if this an UBE, is this UBE by accident a "Non-Update Report"?
cool.gif


Read you later & Regards,

Zoltán
 
Back
Top