How to Navigate to External Browser on a Button Click

Enhancing the User Experience: Navigating to external browser on a button click. High level resolution steps · Create a Class and Implement Code for External Browser Navigation. · Create a button in the form and Use clicked method to call the class. Detailed resolution steps Step1: Create a class using appropriate naming conventions and incorporate […]
How To Get Selected Query Range Value

How to get selected query range value. The findQueryFilter method is used to find and retrieve a specific query filter criterion from a query. Scenario How to get selected query value from the below screenshot. For example, I need the value given for the criteria of ‘Journal lines’ from the query. High level resolution steps […]
Video blog: Sys Operation framework batch job with parameter X++

Sys Operation Framework: The Sys Operation framework in Microsoft Dynamics AX and D365 Finance and Operations enables efficient batch processing and automation of tasks. Sys Operation framework supports synchronous and asynchronous operations, integrates business logic via service classes, provides user input dialogs, and allows background batch jobs with robust error handling. Sys Operation framework is […]
How to Create Parm Method and access it

A developer needs to access the current Args buffer to determine the menu item name within anobject method in a dialog class. The Args buffer is currently accessible only in the main() method ofthe class.Scenario: The requirement is to display the “Worker Name” field on a dialog screen only whenopening the form through the “Project […]
How to write a modified method for a Dialog field?

When a user modifies the Worker field in a dialog form, then the Worker Name should be auto-populated in another dialog field within the same dialog form. High level resolution steps Detailed resolution steps Step 1: In the dialog class, write a common method that uses the buffer from control to update the Worker Name […]
Video Blog: How to create a simple runbase dialog with lookup field

RunBase Dialog: A RunBase dialog class in Dynamics 365 Finance and Operations is a framework used to create a user interface which enables users to input parameters and options for running processes. The RunBase framework manages the lifecycle of a batch job, including its execution, querying, and validation. By using this framework, developers can create […]
Lookup method for reference field in Dynamics 365 for Operations

How to write a Lookup method for reference field in Dynamics 365 Finance and Operations. Problem statement Created a customized Enum field in the employee master in the HR module. Enums are Active employees, Inactive employees & Resigned employees. The requirement is that only active employees should filter in the “Owner” field in the Department […]
How to use String split function in Dynamics 365 for Operations

How to use String split function in Dynamics 365 for Finance and Operations: How to get the string values one by one from a set of strings separated by a comma in a textbox control. Problem statement Example: If string values are Apple, Orange, Banana, Grapes, etc. Expected Output: Apple Orange Banana Grapes Code snippet List […]
Downloading document attachment file as BASE64 string in D365

How to Download Document Attachment as Base64 in D365 F&O In Dynamics 365 for Finance and Operations, files are stored as containers of data. We had a scenario to download this file and convert it into a base64 encoded string for transferring the data through the web service API. Detailed resolution steps refrenceRecId – RecId […]
How To Get Color Change Option Into Legal Entity

Users don’t have the option to change the color theme for an individual legal entity. High Resolution Steps Get Color Change Option in Legal Entity, same as user options -> preferences Create a base enum Extend the CompanyInfo (Standard table) Extend the OMLegalEntiy(Standard form) Detailed Resolution Steps Step 1 Create a new enum field named […]
