SEARCH THE COMMUNITY

Find an existing answer

14 results for “research”

CommunityHow do I refresh a form datasource after updating a record in X++?I’m updating a record in X++ outside of the form datasource. The update is saved to the database, but the form continues to show the old value until I manually refresh it. What is the correct way to refresh the datasource after the update? I’ve seen refresh(), reread(), researCommunityWhat is the difference between `refresh()`, `reread()`, `research()`, and `executeQuery()`?What is the difference between refresh(), reread(), research(), and executeQuery()?CommunityD365FO form datasource extension: safe CoC for modified/active/executeQuery without recursionIn Dynamics 365 Finance and Operations (D365FO), I’m extending a form datasource using Chain of Command (CoC). I need to add logic around these methods on the datasource: - `modified()` - `active()` - `executeQuery()` (or a refresh method that ends up calling `executeQuery`) WhCommunityD365FO form datasource refresh/research: avoiding recursion and preserving modified field values in postRunIn D365FO, I’m extending a form via an override of `postRun()` and manipulating datasource fields. When the user changes values on an existing record, my overridden logic calls `ds.research()` / `ds.refresh()` to update UI controls and re-run calculations. However, I’m seeing twCommunityHow can I diagnose and fix slow D365FO form grid queries from QueryBuildDataSource (missing indexes, unbounded ranges, over-fetching fields)?In D365FO, I have a Form with a Grid bound to a data source whose underlying Query is built/modified in the `QueryBuildDataSource` (e.g., adding joins, `addRange`, `addLink`, and selecting fields). The grid is noticeably slow—CPU is fine, but SQL shows high logical reads and longCommunitySales Insights Add-on deprecated; consolidate to primary Sales Insights solution in Dynamics 365 Sales## What changed Microsoft states that the **standalone Sales Insights Add-on** package in **Dynamics 365 Sales** was **deprecated in 2023** and is **no longer supported**. Microsoft also states that **Sales Insights capabilities** should be obtained via the **primary Sales InsigCommunityD365 Sales: Deprecation of rank optimization for insight cards (ranking rules no longer apply)## What changed Microsoft states that **the “rank optimization” feature of insights cards is deprecated** effective **October 1, 2023**. As a result: - **Any ranking rules that you set up are no longer available and won’t apply to insight cards.** - To optimize and prioritize theCommunityDeprecation in Dynamics 365 Sales: Set seller availability using Outlook calendar is deprecated (effective April 1, 2024)## What changed Microsoft states that **effective April 1, 2024**, the **feature allowing configuration of seller availability through the Outlook calendar in work assignments** is **deprecated**. Microsoft also states the reason is to **enhance the safety and security of your orCommunityDynamics 365 Sales forecasting snapshots deprecated (effective June 30, 2024)## What changed Microsoft states that **the “snapshot” capability in Sales forecasting has been deprecated** effective **June 30, 2024**. Microsoft further states that **snapshots and related charts are no longer available**, explicitly including: - **Deal flow** - **Trend chartArticleHow to safely refresh a D365FO form datasource after you update data in X++A practical guide to the difference between refresh(), reread(), research(), and executeQuery() on form datasources, and how to choose the right one after an X++ update.ArticleWhy `executeQuery()` wipes user filters on a D365FO form datasource`executeQuery()` is the right call when you changed a form datasource query in code, but it also rebuilds the datasource query run and can drop user-applied filters. If you only need to re-read data while preserving filters and sort order, `research()` is usually the safer choice.ArticleD365FO form datasource refresh(): when to use refresh, reread, research, and executeQueryIf a D365FO form shows stale data after an X++ update, the fix is usually not to call refresh() by itself. This article explains when to use refresh(), reread(), research(), and executeQuery(), why each one behaves differently, and the practical pattern that avoids empty grids, stale fields, and lost filters.ArticleHow to refresh a D365FO form after updating data in X++ without losing filtersWhen you update a record in X++ and the form still shows old values, the problem is usually not the database update itself — it’s choosing the wrong form datasource method. Learn when to use refresh(), reread(), research(), and executeQuery() so the grid updates correctly without wiping user filters.ArticleX++ refresh(), reread(), research(), and executeQuery(): when to use each on a form datasourceUse the right form datasource method in D365FO. `reread()` reloads the current record, `refresh()` redraws the cached record, `research()` reruns the query without rebuilding it, and `executeQuery()` rebuilds the datasource query and can drop user filters if you are not careful.