D365: How to get caller form name in Event Handler class

This post explains how to retrieve the caller form name in an event handler class in Dynamics 365 for Finance and Operations. It addresses the business requirement of adding a query range based on the caller form. The provided X++ code demonstrates how to implement the OnInitialized event handler for a form datasource.

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: 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: 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: 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.

D365: How to filter procurement categories in X++

This X++ code demonstrates how to filter procurement categories in Dynamics 365 for Finance and Operations. The business requirement is to only allow tangible procurement categories to be selected. The provided solution uses a custom class extension to filter and display only tangible categories when selecting procurement categories or adding products to a purchase order line.

D365: Get PO total amount in X++

In Dynamics 365 for Finance and Operations, the business requirement to display the total amount of a purchase order can be met using X++ code. By extending the PurchTable class, the getPurchTotalAmount method can be implemented to calculate and return the total dollar amount of a specific purchase order.

Blog at WordPress.com.

Up ↑