Hello All,
I am confused from where this line of code is containing that.
if (opportunityId != null && opportunityId != '') {
oDataSelect = "/card_opportunitytypesSet?$select=card_name&$filter=card_opportunityId/Id eq guid\'" + opportunityId + "\'";
var OppTypeName = opusUtilities.queryMultipleEntities(oDataSelect); ////// This line making confusion, from where this method is getting loaded.
if (OppTypeName != null && OppTypeName.length != 0) {
for (var i = 0; i < OppTypeName.length; i++) {
if (OppTypeName[i].card_name == "MOL Sale" || OppTypeName[i].card_name == "Ownership Change") {
returnValue = true;
break;
}
else {
returnValue = false;
}
}
}
}
*This post is locked for comments