OM Extension Redwood Mass Sales order Lines update errors are not custamizable
Summary:
In OM Extension we have a script to validate the mass update of Sales order lines based on the user role, say XX_ABC
if the logged in user has the role (XX_ABC) allowed to update only AccountingRule(standared filed) and few EFF's fileds
but when the same user tries to update otherthan above 2 fileds then a custom error message has to be displayed on the Redwood screen.
The issue is we are unable to display the custom error message from script rather the extension is diplaying a standard api error as below.
'An error occurred: Cannot invoke "oracle.apps.scm.fom.resources.omSalesOrders.restModel.api.massActions.massUpdateOfLines.MassUpdateLinesOutput.setStatus(String)" because "this.mMassUpdateLinesOutput" is null. Contact your help desk.