Breaking news from around the world
Get the Bing + MSN extension
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 | View virtual launch event
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 | Talent TechTalks | Upcoming TechTalks
Want to compare the to fields as soon as the data is entered or updated in first field and show the info message after that. Where to write code to do so.
I have written code on data source < field< modified
If you want to validate entered value you can write your code on validate method of the data source field for form specific functionality. If this logic should work for all form that use this field you can use validatefield method on the table.
If this I have to do in the D365FO, What will be the line of code in that.
I have written this in D365FO for same.
final class SalesTable_Form_Extension
[PostHandlerFor(tableStr(SalesTable), formMethodStr(SalesTable, validate))]
public void validate()
info("The date of arrival of the packaging agreed with the customer is greater than the delivery date indicated in the order. Check the dates before proceeding");
First of all you don't do pre\post event handler anymore, that's and old style. You use CoC instead, here is an example in docs how to override validate for a form data source field https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/extensibility/method-wrapping-coc#form-data-fields
Business Applications communities