D365: Integrate with Azure File Share

This post demonstrates how to read and write text files to Azure File Share using C# code. The solution includes using the ATLAS_AzureFileShareService class in Dynamics 365 for Finance and Operations to connect with Azure File Share. Methods for getting, moving, and uploading files are provided within the code.

D365: Refresh entity list batch job failing

Summary: Encountered error in DEV box during Refresh Entity List batch job after modifying data entity in Dynamics 365 for Finance and Operations. Error message indicates lack of change tracking in SQL database. Solution involves enabling change tracking with a specific SQL command on the database.

D365: Get worker email address by purpose in X++

This content demonstrates how to obtain a worker's email address based on a specific purpose, such as "Purchase Order," within Dynamics 365 for Finance and Operations. It includes a solution involving an extension class of the HcmWorker table to achieve this, using a provided code example for reference. The method can be called to initialize a temporary table buffer.

D365: Get dimension value owner name in X++

This X++ code demonstrates how to retrieve the owner name of a dimension value in Dynamics 365 for Finance and Operations. The business requirement is to show the cost center owner name in a report. By using the provided code, the cost center dimension value owner can be obtained and used to initialize the temp table buffer.

D365: Download multiple files in X++

This content provides a solution for downloading multiple files in X++ for Dynamics 365 for Finance and Operations. The class "ATLAS_Vend_File_Export" demonstrates the code to achieve this by using the "SendStringAsFileToUserNewTab" method. This helps meet the business requirement of allowing users to download multiple files within a single browser session.

D365: How to make a standard field mandatory on a form in X++

This post explains how to make a standard field mandatory on a form in X++ within Dynamics 365 for Finance and Operations. The business requirement is to enforce a field that is optional in Standard Dynamics. The solution involves extending the PurchCreateOrder form using chain-of-command to make the Buyer group field mandatory on the form datasource.

D365: How to write event handler for QueryExecuting event

This content demonstrates writing an event handler for the QueryExecuting form datasource event in Dynamics 365 for Finance and Operations. The business requirement is to hide records in a form based on a given condition. The provided code dynamically adds ranges to a form datasource using the event handler.

D365: Create default dimension in X++

This X++ code creates default dimension records for specific dimension values in Dynamics 365 for Finance and Operations. The solution involves using a class called ATLAS_LedgerDimensionHelper, which includes a method named getDefaultDimension. This method takes dimension values as input and creates default dimension records using the provided values.

D365: Get financial dimension value description in X++

This content demonstrates how to obtain financial dimension value descriptions in X++ for Dynamics 365 for Finance and Operations. The business requirement is to display these descriptions in an inquiry screen. The provided solution involves using a specific code to achieve this functionality.

Blog at WordPress.com.

Up ↑