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: 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.
D365: Get financial dimension value owner
This content demonstrates how to obtain the financial dimension value owner in X++ for Dynamics 365 for Finance and Operations. It provides a solution using the "ATLAS_LedgerDimensionHelper" class to retrieve the owner of the dimension attribute value. The "getDimensionAttributeValueOwner" method retrieves and displays the financial dimension value owner in an inquiry screen.
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.
D365FO: Submit pending vendor invoice to workflow in X++
Purpose: In this post we're going to learn how can we submit a pending vendor invoice to approval workflow in X++. Application: Dynamics 365 for Finance and Operations Business requirement: Submit a pending vendor invoice to approval workflow in X++. Solution: We can use the code below to submit a pending vendor invoice to approval... Continue Reading →
D365FO: Get last workflow approver for purchase orders in X++
Purpose: In this post we're going to see how can we get last workflow approver for purchase orders in X++. Application: Dynamics 365 for Finance and Operations. Business requirement: Get the last purchase order approver in X++. Solution: Please use the code below to get the last purchase order approver. Tip: Take a note that... Continue Reading →
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 →
D365: Azure build pipeline failed
Purpose: The purpose of this post is to share how can we resolve Azure build pipeline errors. Application: Dynamics 365 Finance and Operations Problem: Recently I faced an issue while running build pipeline in Azure DevOps. The pipeline failed with errors like: The ExtendsOfAttribute specification is invalid. Please specify an existing element to extend. The... Continue Reading →