Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
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
I created a new field which has several options (A,B,C,D) in the customer table. If option is A then, change the salesperson code from x to y.
"Account Type" := Customer."Account Type";
If "Account Type" := "Account Type":: A Thenxxxxx
The salesperson code has changed, but it also change the type which is B,C,D.
Please advise! Thank you
Then you have to put the code in the OnValidate trigger of your account type field.
Hi, please delete first line, "Account Type" := Customer."Account Type";
And try the following.
If Rec."Account Type" := Rec."Account Type":: A Thenxxxxx
Hope this helps.
Please remove the below marked line from your code.
If "Account Type" := "Account Type":: A Then
No, it does not work even though the line was removed. Thank you!
Hi, because of the limited information you have given, we may not be able to give the correct answer.
From your code, this code can be placed in the OnValidate (Field) Trigger of "Account Type" field, please make sure it is in the right place.
Hope this helps as well.
Business Applications communities