Technical (D365FO)

blog 02
Development (D365FO), Dynamics 365 for Finance and Operations, Technical (D365FO)

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.

blog 02
Development (D365FO), Dynamics 365 for Finance and Operations, Technical (D365FO)

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.

blog 02
Development (D365FO), Dynamics 365 for Finance and Operations, Technical (D365FO)

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.

blog 02
Dynamics 365 for Finance and Operations, Technical (D365FO)

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.

blog 02
Dynamics 365 for Finance and Operations, Technical (D365FO), X++

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.

blog 02
Dynamics 365 for Finance and Operations, Technical (D365FO), X++

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.

Scroll to Top