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.