x3 Error - Return not corresponding to Gosub

SOLVED

Dear all

Was trying to run the Fixed Assets Accounting interface.

Then encountered this error. Any ideas to resolve this on a functional level please?

Regards

Daniel