A couple of months ago I encountered a bug on one of my customer’s environment on the RMA Form.
I encountered it again yesterday on a different environment:
Every time I opened an RMA form, the Sub Status of the RMA was reset to the default Sub Status of the System Status (or blank if there was no default Sub Status).
In order to access this js file, you can open the solution or access it from the Form Properties.
Since the code will pretty much be unreadable I use a website to automatically indent it: http://jsbeautifier.org/
Once your code is readable, just comment line 37 “RMAs.Lib.SetSubStatus(); save and publish the solution.
The issue should be fixed now!
Hope it helps you and don’t hesitate to leave a comment if you need extra help!