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
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 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 | Upcoming TechTalks
On Job Planning Line page, corresponding to the Resource No, I have to auto-fill the 'Employee No' field corresponding to the particular resource.
I wrote the following code on OnValidate trigger of 'No.' field on Job Planning Line table, but it is not meeting the requirement.
How to modify it !
Your code doesn't make any sense since you want to get the value from the Resource table, you need to get the Resouce record based on the type and then populate it.
Please check below
If Type = Type:: Resource then being
If Resouce.Get("No.") then
"Employee No." := Resource."Employee No."
Create Resource in the variables of type record for Resource table.
What about the setrange statement written. Do I have to keep it as it is?
No, you don’t need any of those just the code I have added
Shouldn't it be JobPlanningLine.Get(No.) instead of Resouce.Get("No.") ?
It is displaying the same Employee No. even if different resource is selected.
Send the screenshot of the code you have written
Business Applications communities