RE: Multiselect Dropdown field in D365 Finance and Operation
Hello Nikolaos,
As you advised i am following "LogisticsPostalAddress" class to implement my multiselect dropdown. The field "purposes" is the exact same example what i want to make my multiselect field.
while i am following this , i found in form design there is a string control name "Roles" overriding modified method in "LogisticsPostalAddress" class.
Control field code below:
[Control("String")]
class Roles
{
public boolean modified()
{
boolean ret;
ret = super();
if (ret)
{
element.forceWriteDS();
element.updateDeliveryTab(rolesCtrl);
}
return ret;
}
}
Here two method " element.forceWriteDS()" and "updateDeliveryTab(rolesCtrl)" are referenced , can you please brief me what is the role of these method and in my scenario what method i need to referenced if any.
Also there are two EDT.
- DirPartyAddressLocationRoleNames: Referenced in the “Roles” field properties.
- DirPartyLocationRoleNames: Extends in the properties of DirPartyAddressLocationRoleNames.
what is the purpose of these two EDT. please mention your valuable comments.
Thanks in advance