Workaround for existing scripts:
Modification of the Axapta model script to treat error -1 by changing the condition:
from
if %RETURN_CODE% GTR 0 GOTO TRT_ERR
to
if %RETURN_CODE% NEQ 0 GOTO TRT_ERR
Changing the variables:
UNI_AX_BYPASSAOSCHECK
UAX_JOBCTLCYCLE
UAX_JOBEXECTIMEOUT
Prevents that the error code becomes -1
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Application Server
Dollar Universe 6.9.41 - Available