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 1 Discover 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 Timeline
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
ear guys, i need to make code to check value for External Document No. in enter the value in journals or while posting the journal line to checks the value if its already posted in G/L Entry or not. Best Regards,
You need to add the subscriber to the OnBeforePostGenJnlLine event in the codeunit 12 and add the check.
im new in coding can you help on building the condition code for this issue
There is an External Document No Mandatory setup in Sales & Receivables Setup and Purchases & Payable Setup. Is that not enough ?
Check this link how events work and how to subscribe
In your case, you need to subscribe to the event in the codeunit 12 or codeunit 11, either before posting or after checking the lines in the codeunit 11.
Also, check the function CheckPurchExtDocNo in the codeunit 12 which has similar logic but it looks at Vendor Ledger Entry, in your case you need to check GLEntry.
Dear @Suresh Kulla ,
Thanks for your guidance was very helpful to me, i really appreciate that.
*Regarding verifying the discussion i cant find the "Yes" to verify it.
When you do a post you need to select it as a question. I changed it you so can check now a link on every post which says
Did this answer your question?
Business Applications communities