End of mainstream support for Microsoft Dynamics AX 2009, 2012, and 2012Mainstream support for Dynamics AX 2009 Service Pack 1 (SP1), Dynamics AX 2012, and Dynamics AX 2012 R2 ended Oct. 9, 2018. After that date, only security hotfixes will be provided for these three versions through the extended support period that until Oct. 12, 2021. Read more
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
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 and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
The custom table has about 50 records. When the form is opened, number of loaded record is 50. After a call to the execute query to same datasource, the number of loaded records gets reduced 24. I need all records in the cache. So i can display in the grid.
What is your exact question here?
1:Custom form and Custom DS/ Custom Tmp DS which gets data from CustdomDS via code. CustomTmpDS displays data in a grid. With just over 50 records for testing purpose. In future there could 100's of the thousands of records.
2: i update customDS.field from draft to activated. Once that operation is complete, i need the activated status displayed in the grid. i re-execute the code to population customtmpds.
3: problem arises, when i do execute query for customDS. originally it holds 50 records in record cache, after call to execute query only 24 record is there.
4: So populated record in Customtmpds does not have all the records as desired and in desired state that is transfered.
How to force custom DS to load all records. instead of just 24.
I referred the link, and yes customDS.findrecord(customDS:find(customds.primarykey)); does fix the problem for me. However i dont want to use find() or findrecord() call here. as the form contains very large volume of data.
Is there any workaround here?
What do you mean with the cache?
Are you sure there are still 50 records in the table instead of 24?
Business Applications communities