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 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 at WordPress.com.

Up ↑