Hey Midhun,
Thank for reply,
I tried the same code:
function customBeforeReportErrorFromNative(errorString) {
var screenKey = getCurrentScreen();
// Screen where the error comes
if (screenKey == "PDF"){
if(errorString.indexOf("Missing%2520required%2520parameter") != -1){
showAlertDialog("There is no attachment available for this order."); // Your custom message.
}
return false;
}
else{
return true;
}
}