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
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
I'm trying to post Sales order and I want one of the fields in sales order posted to the G/L entry. I don't see reference for the General Journal Line table (in PostGLAndCustomer function) in codeunit 80 to assign that field value from sales order table. How can we assign sales order field value to the general journal line field?
You need to subscribe to table 81 to function "OnAfterCopyGenJnlLineFromSalesHeader(SalesHeader,Rec);"
I don't have event type OnAfterCopyGenJnlLineFromSalesHeader inside table 81. Is there an alternative?
There is a CopyFromSalesHeader function in table 81
Where can I use CopyFromSalesHeader to assign a field from Sales header to General Journal line?
You can add your code inside the CopyFromSalesHeader function.
I have added GenJnlLine.OriginalDocNo := SalesHeader.OriginalDocNo inside the function but I still see the Original Doc No as blank in G/L entry.
It worked. Thank you.
Business Applications communities