Posts

Showing posts with the label dynamics365fo

Understanding Data Entities and Integration Patterns in D365 F&O

Image
Data entities are the foundation of data management and integration in Dynamics 365 Finance & Operations (F&O). They simplify data import/export, enable integrations with external systems, and support automation through APIs. This guide helps developers and consultants understand how to use data entities effectively and design robust integration patterns. What Are Data Entities? Data entities are abstractions that represent business data in a structured format. They combine multiple tables into a single view, making it easier to work with complex data models. Common Use Cases Importing master data (customers, vendors, products). Exporting transactional data (sales orders, invoices). Integrating with Power Platform or external APIs. Types of Data Entities Standard Entities – Provided by Microsoft for common business scenarios. Custom Entities – Created by developers to meet specific business needs. Composite Entities – Combine multiple entities for complex integrations. Integ...

Resolving Performance Counter Error on D365 FSCM version 10.0.46

Image
When working with a local virtual machine (VM) downloaded from the LCS portal (VHD image), I encountered an issue despite completing all installation and build steps successfully. Problem Description During the creation of a Purchase Order or Free Text Invoice, the system immediately displayed the following error message and prevented record creation: “The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.” Root Cause This error occurs due to improper initialization of performance counters within the AOSService environment. The counters are expected to be read-only, but the system attempts to access them incorrectly. Resolution The issue can be resolved by executing a PowerShell script that reinitializes the performance counters for the AOSService. Steps: Backup your code, data, any pending works. Stop all the related services. Open PowerShell with administrative privileges. Note : If your AOSService folder is located on a different drive, upda...

Overview of unified ERP provisioning in Power Platform (Dynamics 365 F&O/D365 FSCM)

Image
Dynamics 365 Finance and operations apps are now hosted on Microsoft Dataverse, so you can provision ERP alongside other Dynamics 365 and low‑code apps directly in the Power Platform admin center or via API/PowerShell.  Templates streamline environment creation by preinstalling ERP workloads, and a dedicated Provisioning app adds ERP capabilities to existing environments that already have Dynamics 365 apps enabled. 1. Prerequisites and licensing Licenses : You must have a related Dynamics 365 ERP license (e.g., Finance, Supply Chain Management, Project Operations, Commerce) or the Dynamics 365 Operations Application Partner Sandbox. Admins with the Power Platform Administrator or Dynamics 365 Administrator role can create/manage environments without a full user license, subject to a ~12‑hour cache delay after role assignment. Capacity : At least 1 GB available in both Operations and Dataverse database capacities is required. Environment type: Use Sandbox or Trial (subscription‑bas...

How to use X++ macro in Dynamics 365 F&O (D365 FSCM)?

Image
Macros in X++ are precompiler directives that let you define reusable symbols, values, or code fragments before compilation. They are powerful but considered legacy, so Microsoft recommends using language constructs instead. 🔑 Key Points About X++ Macros What Are Macros? Macros are processed before compilation: The compiler never sees the directive itself, only the expanded characters. Legacy feature: They may be deprecated in future releases. Prefer constants or constructs like SysDa for queries. Defining Macros Syntax: #define.MyMacro(Value)   // macro with value #define.AnotherMacro()   // macro without value Case-insensitive: Macro names and directives are not case-sensitive, but best practice is to start names with uppercase. Conditional checks: #if.MyMacro // Code included if defined #endif #ifnot.MyMacro // Code included if not defined #endif Removing Macros #undef removes a macro definition: #undef.MyMacro Using Macro Values Macros can hold character...
Image
🚀 Upgrading Dynamics 365 FSCM (F&O) Dev local VM (VHD) to the Latest Service Pack - December 2025 Recently, Microsoft has released the new service update (10.0.40) for Dynamics 365 FSCM (F&O). K eeping your Dynamics 365 FSCM (F&O) development VM up to date is necessary as each service update brings bug fixes, performance improvements, and new features. In this guide, I’ll walk you through upgrading your local VHD to the latest service pack. Prerequisites Before starting, make sure you: Backup your VM (snapshot or export the VHD). Check your current version under System Administration > About. Access Lifecycle Services (LCS) with appropriate permissions. Step 1: Download the Latest Service Update Log in to Lifecycle Services.  Navigate to Shared Asset Library. Select Software deployable package. Download the latest service update (e.g., First Release Service Update 10.0.46) Step 2: Apply the Update on the Dev VM (VHD) Copy the .zip package into your VM (e.g., C:...
Image
What's new or changed in Dynamics 365 FSCM (F&O) 10.0.46  (December 2025) As enterprise architects, we know that ERP upgrades are not just about new features—they’re about aligning business processes with evolving technology standards. Microsoft’s Dynamics 365 Finance & Supply Chain Management (F&SCM) 10.0.46 release (GA December 2025, auto-update February 2026) is a significant milestone. It strengthens compliance, operational resilience, and extensibility across Finance and Supply Chain workloads. Features included in this release (Microsoft's official page): Finance 10.0.46 Supply Chain Management  10.0.46