Change joinSource using event-handlers on form datasource

Recently, I came across a requirement where I needed to change the join source on the RetailPackagePurch datasource of the PurchTable form from PurchLine to PurchTable.

Standard showed the product package based on the selected purchase order line. Our goal was to show all product packages associated with the purchase order.

This is the code that did the job:


Comments

Popular posts from this blog

Override a System Defined Refresh button in D365O

Printing PDF Attachments in MSDyn365FO