How to do it...

Carry out the following steps in order to complete this recipe:

  1. In the AOT, create a new class called CustGroupDynamicForm with the following code snippet.
  2. We will run this class directly to get output. So, just for ease, we will write all code in the main method of this class:
class CustGroupDynamicForm { public static void main(Args _args) { // Object declarations DictTable dictTable; Form form; FormBuildDesign design; FormBuildDataSource ds; FormBuildActionPaneControl actionPane; FormBuildActionPaneTabControl actionPaneTab; FormBuildButtonGroupControl btngrp1; FormBuildButtonGroupControl btngrp2; FormBuildCommandButtonControl cmdNew; FormBuildCommandButtonControl cmdDel; FormBuildMenuButtonControl mbPosting; FormBuildFunctionButtonControl ...

Get Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.