Troubleshooting the "RUN0000050" Error in Logs for EnterpriseOne Interactive Applications

Purpose of Document

E1: FDA: Form Design Aid Information Center > Troubleshooting > Note 1090533.1

This document is intended to help troubleshoot the RUN0000050 error in the jde.log. This error, in general, occurs when a standard EnterpriseOne interactive application is copied to modify certain routine(s) and when a special version is not created for the original interactive application. This error occurs when the interactive application is designed to call a business function that retrieves Processing Option data from a specific object and version in the F983051 Versions List table.

Example of Error message in jde.log

RUN0000050 - Unable to retrieve DB Record for Application P4210, Version TEST03 from F983051.

What causes the error?

This error occurs when an interactive application calls a business function that retrieves Processing Option data from a specific object and version.  When this interactive application is copied to a new object name in order to modify the application, if a version is not created for the original interactive application, this error will occur when the application attempts to retrieve the processing option information through the business function.  For example, if a new version CUST001 is created for the new interactive application, but this version does not exist for the original, copied application, the application will fail with the RUN0000050 error. 


How does EnterpriseOne get the version data?

EnterpriseOne gets the version data through the API AllocatePOVersionData as below,

lpdsProcOptions = (LPDST4210)AllocatePOVersionData(hUser,_J("P4210"),
                                                   lpDS->szCMVersion,
                                                   sizeof(DST4210));


For this example,


 

What is the default version when an input version is not specified?

ZJDE0001


What are the error codes and messages?


 

How is the error set?

 

NOTE:  The way to describe can vary:

 

How can I resolve the issue?

When this issue is encountered, there are a couple possible scenarios:

To minimize any issue caused by copying a standard application that meets this criteria, define a version with the same name and appropriate processing option values for the standard object.  (For example if you have copied P4210 and named it P554210):

  1. Study the version you have created for P554210 (if the Version ID is CUST001)
  2. Create the exact same version ID for the source application (P4210)
  3. Synchronize the processing options between P4210|CUST001 and P554210|CUST001
NOTE:  When running the application P554210|CUST001, the business function will actually read the processing option values from P4210|CUST001.

 

What applications are designed in this manner and may end in error when copied?

The following table contains standard EnterpriseOne interactive applications which have been designed to get processing option template information through a business function.

Apps IDBSFNErrorHow to Set ErrorDefault
P03B102 B03B0182 1243 idReturnCode = ER_ERROR  
P03B11 B03B0189 1243 idReturnCode = ER_ERROR  
P0411








B40G1020
B40G3030
B74H419
B75I418
B76A0490
B76A4018
B76A4019
B76M416
B76V401
B7600340
B76A0030
1243
1243


1243
3143
idReturnCode = ER_ERROR
idReturnCode = ER_ERROR


idReturnCode = ER_ERROR
 
P042002 B76A0030      
P07210 B0700009
B0701760
     
P07311 B0702140      
P0911 B4101430 1243 idReturnValue = ER_ERROR  
P17201 B1700580
B1701075
016F
1243
iFatalError++
idReturnValue = ER_ERROR
 
P17500 B90CG504
B1700600
1243
1243
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P17710 B1702580 1243 idReturnValue = ER_ERROR  
P17712 B1702590 1243 idReturnValue = ER_ERROR  
P17714 B1702450 016K idReturnValue = ER_ERROR  
P17715 B1700680 1243 idReturnValue = ER_ERROR  
P17732 B1703140 1243 idReturnValue = ER_ERROR  
P1777 B4800220 072J idReturnValue = ER_ERROR  
P3002 B3000360   idReturnValue = ER_ERROR  
P3003 B3003420 1243    
P3109 B3101870 072J idReturnValue = ER_ERROR  
P31113 B3101520 078J idReturnValue = ER_ERROR  
P31114


B3100770
B3101480
B3102080
B3102320


072J
072I
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR

ZJDE0003
ZJDE0003
P311221 B3101040
B3101980

4363
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P31123 B3101060
B3101540

078J
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P3157 B3101810 072J idReturnValue = ER_ERROR  
P31P001 B31P0170
B31P0311
016F
016K

idReturnValue = ER_ERROR
 
P3210 B3202410 1243 return ER_ERROR  
P32942 B3201240 1243 return ER_ERROR  
P3411 B3401360   idErrorFlag = 2  
P3711 B3700380 072J jdeTraceSz(NULL, _J("B3402010 - R3465 Version Not Found: ")  
P40G02 B40G0610      
P40G03




B40G0150
B40G0180
B40G0190
B40G0831
B40G1200
B40G2230
40G0067

40G05
1243

40G0067
lpDS->nErrorCount += 1

idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P40G030 B40G3040 1243 idReturnValue = ER_ERROR  
P4112 B46L0430   idReturnValue = ER_ERROR  
P4113 B4101300 072J idReturnValue = ER_ERROR  
P4205 B4201250   jdeStrcpy (lpDS->szErrorMessageID, _J("0002"))  
P4210 B3200790
B3201590
P1008001
B4200190
B4200310
B4200312
B4201070
B4201610
B4203192
B4203194
B4204110
B4205000
B4205010
B4205030
B4205180
B4205210

B4206010
B4210390
B4277710
B4300930






096O

072J


072T
072T





E42B4


idErrorFlag = 2

idReturnCode = ER_ERROR

idErrorFlag = 2

idReturnCode = ER_ERROR
idReturnValue = ER_ERROR
idErrorFlag = ER_ERROR
jdeErrorSet ()


lpDS->cErrorCode = _J('1')
lpDS->cErrorCode = _J('1')
jdeTraceSz(NULL, _J("B4205030 - Processing options not retrieved"))
idReturn = ER_ERROR
idReturnValue = ER_ERROR

idReturnValue = ER_ERROR
 
P42101 B4208260
B4210420
B4210440
B4210450
B4210610
B4210620
B4210670
B4218010
B4902660
  idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
idReturn = ER_ERROR
Ref#1
idReturn = ER_ERROR
Ref#2


idReturnValue = ER_ERROR
 
P42117 B4201180 0002    
P4310

B3102380
B4200311
B4301710


1243

idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P4312



B40G1100
B46L0470
B4300750
B4301470
XT4312Z2


1234
1243
1243

idReturnCode = ER_ERROR
idReturnCode = ER_ERROR
bIsError = TRUE
return (ER_ERROR)
 
P4314

B74H447
B74P4475
B4302740


1243
iCriticalError= B74H447_ERROR
iCriticalError= B74P4475_ERROR
idReturnValue = ER_ERROR
 
P43214 XT4312Z1
XT4312Z2
1243
1243

iReturnValue = 0
 
P43250 B4300950 1243 idReturnCode = ER_ERROR  
P43291 B4301640 1243 idReturnValue = ER_ERROR  
P46100 B4600750 008S lpDS->cErrorCode = _J('1')  
P4614 B4601280 1243    
P4617 B4600730 008S idReturnValue = ER_ERROR  
P4620 B4601010 008S    
P48013



B34A2480
B3101250
B3104470
B3104510
B4800210

48I
072J
078J
48I

idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P48020 B3004100 080S idReturnValue = ER_ERROR  
P480200 B4800280 1243 idReturnValue = ER_ERROR  
P4915 B4900900 1243 idReturnValue = ER_ERROR  
P4960 B4901160 1243 idReturnValue = ER_ERROR  
P49640 B4900800 1243 idReturnValue = ER_ERROR  
P49645 B4901850 1243 idReturnValue = ER_ERROR  
P49650 B4900660 1243    
P49655 B4900740 1243 idReturnValue = ER_ERROR  
P49660 B4900950 1243 idReturnValue = ER_ERROR  
P5310 B5300013
B5300030
1243
1243
idReturnValue = ER_ERROR
idReturnValue = ER_ERROR
 
P5314 B5300020 1243 idReturnValue = ER_ERROR  

 

Reference:

 

NOTE: 

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the Design Tools & Output Technologies - JDE1 Community.

To look at upcoming or archived Advisor Webcasts please see Advisor Webcast Details <Document 548764.1>.  If your topic is not currently scheduled please suggest it.