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
Hi, I have a date field in the salestable. When this is changed, I need to update other date fields to the same value in the salestable and the salesline.
I'm new the 365, how do I access the update method on the sales table?
Thanks in Advance!
You can use Chain of Command, or event handlers to run your code when the standard update method of SalesTable table is triggered.
Chain of Command is the recommended way.
You can check this documentation to understand how to use it: docs.microsoft.com/.../method-wrapping-coc
Use chain of command. Using event handler is an option but COC is preferred way.
Is this the correct Syntax?
final class MySalesTable_Extension
public void update()
// put my new code here
The syntax is correct. However if you test it you will notice that it will not update your fields.
You need to put your code before the "next" call, otherwise it's executed only after the standard update method, and that would be too late.
So, my code will be called before the standard code is called?
yes , if you put it before calling next.
Business Applications communities