Gen 8.6 Call External runtime error TIRXMGTX with TIRM305E
search cancel

Gen 8.6 Call External runtime error TIRXMGTX with TIRM305E

book

Article ID: 282593

calendar_today

Updated On:

Products

Gen

Issue/Introduction

On execution of Gen 8.6 CALL EXTERNAL statement receiving this runtime error:

TIRM149E: Error occurred in CA Gen supplied function: TIRXMGTX
TIRM305E: Error could not locate value trying to perform external call

 

Cause

The definition of TIRM305E - Error could not locate value trying to perform external call is:
This message indicates that Gen does not locate a required value. This occurs if a remote API returns null or does not return an expected value.
Check that all nullable values are correctly indicated in your views and regenerate the code.

Resolution

One or more of the SOAP server response fields is probably empty or missing. So for any fields that might apply to, the corresponding matched view attribute needs to be marked as "Nullable" in View Maintenance i.e. at the export view name level select "Detail -> View Maintenance" and then in that Window right click on the view attribute name & use "Edit" to set "Nullable". To cover all possibilities "Nullable" could of course be set for all matched export view attribute views.

After making the changes and regenerating/rebuilding the application the problem was resolved.