using entity Name we can set plural name Manually in MS CRM

   var result = ename.slice(-1);
    if (result == "s") {
        result = ename + "es";

    } else if (result == "y") {
        result = ename.replace(entName.slice(-1), "ies");
    } else {
        result = ename + "s";
    }

Comments

Popular posts from this blog

Basic Plugin Code in D365 using C#

CURD (Create, Update, Retrieve and Delete) Operation in D365 using Power Shell Script

Meta Data Using WebApiRequest