D365: How to set form control value in X++

This post demonstrates setting a form control value, controlling visibility of form controls, and getting the reference of a form control in X++. It addresses the business requirement of defaulting vendor account from Purchase Order to Add Products form in Dynamics 365 for Finance and Operations. The provided code accomplishes this task effectively and elegantly.

D365: How to get workflow assignee in X++

This content demonstrates how to retrieve the user assigned to the workflow for purchase orders in Dynamics 365 for Finance and Operations using X++ code. The given code extends the PurchTable table and includes a method to get the workflow assignee based on the pending status of the workflow work item.

D365: How to get last workflow approver in X++

This X++ code demonstrates how to retrieve the last workflow approver in Dynamics 365 for Finance and Operations using the getLastWorkflowApprover method. It joins tables to select the appropriate workflow tracking information and user details, returning the user ID of the last workflow approver.

D365FO: Get dimension display value in X++

This content demonstrates how to retrieve dimension display values in X++ for Dynamics 365 Finance and Operations. By utilizing the provided code, users can access dimension display values for custom forms or SSRS reports. The function 'getDimensionDisplayValue' accepts default dimension RecId and dimension name string, facilitating the retrieval of specific dimension values.

D365: When and how to use postLoad() method

This post discusses the usage of the postLoad method in data management for Dynamics 365 for Finance and Operations. It explains how the postLoad() method can be used to provide values for unmapped fields in export scenarios. A code example demonstrates populating a custom field added to a standard data entity to export additional information from released products.

D365: How to get caller form name in Form extension class

This code demonstrates how to retrieve the caller form name and use it to run business logic in a Form extension class in X++ for Dynamics 365 for Finance and Operations. The provided example adds a display method to the RetailAddItems form to display the Site, retrieving it from the PurchTable caller form data source.

D365FO: Add query ranges to form data sources in X++

Purpose: In this post we're going to learn about how can we add ranges to form data sources using event handlers. Application: Dynamics 365 for Finance and Operations Business requirement: The requirement goes like business wants to restrict access to Purchase order confirmations such that user should only be able to see confirmations for their... Continue Reading →

D365FO: Read CSV file from Azure File Share

Purpose: The purpose of this post is to demonstrate how we can read a CSV file from Azure File Share in X++. Application: Dynamics 365 Finance and Operations Prerequisites: Azure file storage account must be configured in Azure PortalFile shares must be configured under this Azure file storage accountAccess permissions must be configured for this... Continue Reading →

Blog at WordPress.com.

Up ↑