function GetCpaSegmentmasterObjectModel_OnSOAPFault(eventObject)
{
eventObject.showError=false;
if(eventObject.faultString.lastIndexOf("ORA-00001")!=-1 || eventObject.faultString.lastIndexOf("Duplicate")!=-1)
{
application.showError("Duplicate record exists!");
return;
}
if(eventObject.faultString.lastIndexOf("ORA-02292")!=-1)
application.showError("Not able to modify/delete as Child Records Exists");
else
application.showError("Data not saved, Please reload the form");
}
No comments:
Post a Comment