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

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 →

Blog at WordPress.com.

Up ↑