Thanks Satish,
I think this link is the closest to answering my question but it still doesn't specifically say that you can edit the CustAccountStatementExtModern template somehow in VS to add the function of conditions around the Customer Group
This link comment I think pretty well sums up the lack of complete function across both legacy and Modern:
Why aren't these designs the default designs for the application suite reports?
We are maintaining the legacy solutions for two primary reasons:
Modern designs don't include code. Although the legacy solutions use embedded Microsoft Visual Basic (VB) code to recognize configuration keys and honor regulatory requirements that vary by region, the modern report designs offer much less flexibility. The benefit of a simple design that has minimal code behind it comes at the expense of reusability across regions.
Modern designs aren't available for all business documents. There is a gap between the supported business documents and the availability of modern report designs. Although the legacy designs aren't as aesthetically pleasing, they provide a sense of consistency.
I've proven this by setting the Forms > Print Management setup > Customer account statement to both Ext and ExtModern
There also has to be a Branding setup using CustAccountStatementExt
CustAccountStatementExt: This doesn't show the logo but does allow the Condition for Customer Group
CustAccountStatementExtModern: This shows the logo but doesn't allow the Condition for Customer Group
So this function of Dynamics 365 Finance is really rubbish. It seems to be out of a 1994 easy listening music song book.
The complicated route to modify a statement to show some extra text is beyond painful and I've wasted so much time to get here.
thanks,
Dave