I'm currently working my way through "Creating dialogs using the SysOperation framework" in Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition.
While the authors are generally good at providing step-by-step information, sometimes they make assumptions about our knowledge, experience, the environment we are working in, etc. which are not entirely correct.
I've just created class CustBalanceUIBuilder extends SysOperationAutomaticUIBuilder
and added a new action menu item called CustBalanceController
.
Next, they cryptically tell us to "Place the menu item at Accounts receivable | Customers | All Customers | Customer | Balance | Display balance, as shown in the following screenshot", without actually telling us how to do such a thing.
I've figured out that I don't currently have any extension "CustTable.Extension1", but that I can create an extension by browsing the AOT, finding "CustTable" under "Form" and then clicking "Create extension.
I was then able to browse the design dialog and insert a menu item button with the name "CustBalanceController", as displayed.
By setting the "Text" property to "Display Balance", I can see the button on the menu, but the preview does not display either the account list nor the form. Also, there is some strange tool-tip artifact that rapidly rotates through countless seemingly random phrases whenever I try to interact with the preview.
If I try viewing in my local instance of D365, the menu item is missing. I've confirmed that I do have the role which is associated with the duty which is associated with the privilege which is associated with the menu item.