Troubleshooting the "RUN0000050" Error in Logs for EnterpriseOne Batch Applications (Related to API AllocatePOVersionData)

Purpose of Document

This document is intended to help troubleshoot the RUN0000050 error in the jde.log in running Batch Applications. This error, in general, occurs when a batch application is copied to modify certain routine(s) and when a special version is not created for the original batch application.  This error occurs when the batch 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 R42800, Version TEST03 from F983051.

What Causes the Error?

This error occurs when a batch application calls a business function that retrieves Processing Option data from a specific object and version. When this batch application is copied to a new object name in order to modify the application, if a version is not created for the original batch 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 batch 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 do I Resolve the Error?

To resolve the error caused by copying a standard batch 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 R12807 and named it R5512807):

  1. Study the version you have created for R5512807 (if the Version ID is CUST001)
  2. Create the exact same version ID for the source application (R12807)
  3. Synchronize the processing options between R12807|CUST001 and R5512807|CUST001

 

NOTE: When running the batch application R5512807|CUST001, the business function will actually read the processing option values from R12807|CUST001.

What are the List of Applications which May End in Error when Copied?

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

ApplicationBSFNError
Code
How Error is SetDefault
Version
R01BDWRD (Word Search Build) B0100068   return ER_ERROR XJDE0001
R048101 (Recycle Recurring Vouchers) B0400030 080S idReturnCode = ER_ERROR  
R078310X (Florida SUI XML Format (10)) B0702250   idReturn = ER_ERROR  
R12807 (Update PM Schedule Status) B1300250 016K idReturnCode = ER_ERROR  
R1312 (Condition-Based Alerts Processor) B1301090 072J idReturnCode = ER_ERROR  
R15110 (Expense Participation Calculation Generation) B15L0330 1243 idReturnCode = ER_ERROR  
R1736 (Service Contract Cancel) B1702460 1243   XJDE0001
R30450 (Kanban Size Calculation) B3003980 1243   XJDE0001
R31410 (Order Processing) B34A1150
B34A2400
     
R31422 (W.O. Hours and Quantity Update) B3102120 072J idReturnCode = ER_ERROR XJDE0001
R31P100 - OBSOLETE B31P0310 072J idReturnCode = ER_ERROR  
R31P800 (Upload Job Cost Budgets) B31P0300 072J idReturnCode = ER_ERROR  
R3465 (Refresh Actuals) B40R2005
B3402000
B3402010
 
idReturnCode = ER_ERROR
XJDE0003

XJDE0003
R34A740 (SCBM Beginning Inventory Package) B34A2180      
R34A800 (SCBM Sales Order (F42119) History Package) B34A2240      
R37900 (Certificate of Analysis (COA) Extract) B3700350 072J    
R40400 (Preference Processing Options)
 
B4002060
B4002300
B4002660
B4200850
B4600880
 
idReturnCode = ER_ERROR
idReturnCode = ER_ERROR

idReturnCode = ER_ERROR
 
R40R010 (Create Demand Schedule) B40R0980 1243 bCrossRefFound = FALSE XJDE0003
R41310 (Usage Processing (FUTURE)) B4103030      
R42071 (Batch Shipment Edit) B4201510 1243 idReturnValue = ER_ERROR  
R42118 (Backorder Release and Report) B4201190 0002 return(ER_ERROR)  
R42750 (Order and Basket Level Pricing) B4500120   idReturnValue = ER_ERROR  
R42800 (Sales Update) B4201460
B4208020
4363
1243
jdeStrcpy (lpDS->szErrorMessageID, _J("0002")) XJDE0002
R43500 (Purchase Order Print) B4303510   idReturnValue = ER_ERROR  
R45720Z (Live Promotions Interface Processing) B4501000
B4572010
4363
idErrorFlag = 2
 
R47500 (Inbound Transaction Processor) B4700360 1243 idReturnValue = ER_ERROR ZJDE0003
R48199 (Create A/R Entries) B48S0590   idReturnCode = ER_ERROR  
R49118 (Transportation Bill of Lading Print) B4902440 1243 idReturnCode = ER_ERROR  
R49T10 (Sales Freight Request Export) B49T0080   idReturnCode = ER_ERROR  
R49T100 (Procurement Freight Request) B49T0780 1243 idReturnCode = ER_ERROR  
R49T20 (Sales Transportation Arranged Import) B49T0020 1243 idReturnCode = ER_ERROR  
R49T40 (Sales Transportation Confirmation Import) B49T0390 1243 idReturnCode = ER_ERROR  
R801600 - OBSOLETE B8000121 1243 idReturnCode = ER_ERROR  
R80D010 (Sales Order Fact Data Load) B80D0400 1243 eReturn=ER_ERROR  

 

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 1450327.1>.  If your topic is not currently scheduled please suggest it.