Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
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 copied the eventhandlers method to a new public static method for the GeneralJournalAccountEntry_onInserted(Common sender, DataEventArgs e)
However, I could not compile the solution, and the compiler always shows an error below:
"The 'GeneralJournalAccountEntry' argument of the 'tableStr' compile-time function does not specify a known table/map/view/data entity."
Seems that the package where you develop doesn't have reference to the package where GeneralJournalAcocuntEntry is defined. The code in your package can only see objects in other packages if you add a reference.
You can add the dependency in Visual Studio in Dynamics 365 menu - Update model parameters - Select referenced packages
Resolved by adding the reference to "General ledger".
The GeneralAccountEntry table is actually a part of standard GeneralLedger package. So, make sure your model attached to your solution has a reference to this standard package "GeneralLedger" by reviewing your model parameters as shown in the below screenshot.
Business Applications communities