Tuesday, 26 November 2019

COC on a FORM DATASOURCE FIELD IN D365

CHAIN OF COMMAND ON A FORM DATASOURCE FIELDS
Yes with the new version it is possible to have a COC on a form datasource FIELDS .
It has the similar syntax as we use to follow as shown below.

[ExtensionOf(formdatafieldstr(FormToExtend, DataSource1, Field1))]
final class FormDataField1_Extension
{
    public boolean validate()
    {
        boolean ret
        //...
        ret = next validate();
        //...
        return ret;
    }
}

DataSource1 - > is the datasource which needs to be customized .

No comments:

Post a Comment

Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++

Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++  Introduction In our previous posts, we explored what Copilot can do o...