Breaking news from around the world
Get the Bing + MSN extension
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
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
I tried to Customize the sales lines Page (516) Using the NAV Developer to add the Bill To name And Sell To Name to the sales Line list as below
when i open the sales line the values did not populated
but when i chose one order and press on show order and close the screen the system take the values of the order that i opened and populated for all the lines which is not correct
any idea the reason of that ?
Bill To name And Sell To Name are fields from Sales Line table or Item table?
if Item table then what code and where did you write?
i added from the Sales Header As below screen shots
Where did you put the code to get the sales header ? OnAfterGetCurrRecord ?
i did not write any code i just added in the page designer
It will not work. Currently, the SalesHeader record will only be retrieved when you click the Show Document.
You will need to put the code to retrieve the SalesHeader record under OnAfterGetCurrRecord.
If you add any fields other then the source of the page you need to retrieve that record in the OnAfterGetRecord of that page, check the page 10010 for example where it show fields from the Sales Header table but the source of the table is Sales Line. Check the code added in the OnAfterGetRecord trigger.
Business Applications communities