Tuesday, August 17, 2021

Based on User group enable/disable the form controls in D365FO using X++

Based on User group enable /disable the form controls

    UserGroupList userGroupList; ; select firstonly RecId from userGroupList where userGroupList.groupId == VendParameters::find().UserGroupId && userGroupList.userId == curUserId(); this.form().design().showNewButton(userGroupList.RecId ? 1 :0);


Keep Daxing !!

No comments:

Post a Comment