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, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
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
Hi, currently I'm trying to link the GeneralJournalAccountEntry table with LedgerJournalTrans table. I have SQL script as below to link this two: select GENERALJOURNALENTRY.RECID, * from GENERALJOURNALENTRYinner join GENERALJOURNALACCOUNTENTRYon GENERALJOURNALENTRY.RECID = GENERALJOURNALACCOUNTENTRY.GENERALJOURNALENTRYinner join SUBLEDGERVOUCHERGENERALJOURNALENTRYon SUBLEDGERVOUCHERGENERALJOURNALENTRY.GENERALJOURNALENTRY = GENERALJOURNALENTRY.RECIDleft join LEDGERJOURNALTRANSon LEDGERJOURNALTRANS.VOUCHER = GENERALJOURNALENTRY.SUBLEDGERVOUCHER
Now I'm just using voucher as their key to link but It seems like I need another key to make them more unique and specific since my expected result is they're going to have one to one relationship. Is it possible? Is there anyone here who could help me or give me some ideas on this issue? Your help greatly appreciated. Thanks!
Have you already checked out the discussions and answers provided in previous posts?
See e.g. community.dynamics.com/.../relationship-between-generaljournalaccountentry-and-ledgerjournaltrans
Also, please have look at the following whitepaper: download.microsoft.com/.../Updating the Uses of the Ledger Posting Framework for Microsoft Dynamics AX 2012.pdf
You can use Voucher, transDate and DataAreaId of ledgerJournalTrans and SubledgerVoucher,AccountingDate and SubledgerVoucherDataAreaId from GeneralJournalEntry.
Hello nadiah sukerman,
Have you been able to get this issue resolved in the meantime?
Not able yet. I still cannot get one to one even I already add another link using Ajit Srivastava suggestion answer. they still duplicate. Expected result should only show 3 lines under that certain voucher but currently it shows 9 lines. Is it not possible to achieve my objective (one-to-one)?
Business Applications communities