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 tried many time to add BankChequePaymTrans to BankPositivePayExportEntity.Extension under table BankChequeTable, but I always failed because sync failed. I test it by creating new data entity, when I add BankAccountTable and BankChequeTable, everything is good. When I add BankChequePaymTrans, sync will failed.
Is there any other way I add add filed from BankChequePaymTrans to BankPositivePayExportEntity.Extension?
Could I use code to achieve this function?
Have you tried by duplicating the entity 'BankPositivePayExportEntity' and add BankChequePaymTrans table?
You're just saying that synchronization fails. Are there any other errors?
For the first time, I added BankChequePaymTrans to BankChequeTable without adding Relations. Build reported this error, which clearly indicated no relations.
Then I added a relation, and then Build succeeded.
So I was confused about your specific error, can you take a screenshot?
Sorry for replay late. I did it before, however, when I run this Entity, it has no response, after few mints, it gives me Excution status failed.
In the table BankChequePaymTrans , it has relation table BankAccountTable and BankChequeTable, in Table BankChequeTable, it has one more relation, is BankChequeTable.ChequeNum = BankChequePaymTrans.ChequeNum . If I add this relation, the sync will failed with errors. I full build everything success, but sync still failed.
If I remove that relation, sync will be good, but Entity run with failed.
That is reason, I want to try to use code to add fields for Entity.
Thank you All
So, is your question what you said in this thread?
Hi Blue Wang
Yes. I spend a lot of time to link those tables, but I always failed. That is the reason I give up to link tables, and try to use code to add filed to DataEntity.
Okay, I'll try it and see if I can get some way to help you.
Business Applications communities