How to add fields to the report dynamically

Hello Guys,

Can you please explain how to add fields to the existing report dynamically in ax 2009?


To add fields to existing report, you can modify the report datasource or using display methods

try modify the fetch() method or executeSection() in section group, the field you want to add must have autoDeclaration property set to yes

can you give more details?