Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
How to check if record is selected in form CustTrans. I used this method to calculate to of marked records of form.
your code looks correct.
Can you compare with what's mentioned in link above from Joris. Also see if you are getting any extra transaction in your loop and then try to see why sum may be wrong.
Try to rephrase what you are asking as now it's not quite clear.
The code should work if you are trying to get a total amount of selected records.
You already started one discussion about the topic: community.dynamics.com/.../multiselection-in-ax-dynamics-2012-r3
I suggest that we continue the discussion there.
Business Applications communities