Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2020
Read More about New TechTalks for 2020
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 2 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 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