Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
In the report init() method getting the table buffer values based on some conditions. When i try to print the values in display method() , here the table buffer is showing null .
value = element.args().parm();
select a where a.filed1==value;// here the table buffer contains value
display Name custName()
return a.custName; // here while dubugging the table buffer (shows null) and printing the empty
values in the report.
Note : I am using AX 4.0.
Is this is the correct way or please do suggest the alternate way.
Thanks in Advance !
Your variable a is declared in the init() method, therefore it doesn't exist outside init(). You could put it into classDeclaration, initialize it in init() and then use it in other methods.
Thanks for the prompt reply.
Apologizes !! Actually variable a was declared in class declaration only not in init() method. I mentioned above that wrongly.
Assuming that there is no other code changing the value of the variable, the problem may be in packing and unpacking the object. Can you please check whether you aren't setting and reading the value on different tiers (such as setting the value on client and reading it on server)?
In either case, I encourage you to use debugger to identify where exactly the value disappears.
Business Applications communities