I have a requirement to capture the time taken for some data entities to export files from D365 to Excel/3rdParty System for example.
Consider a scenario where I have Purchase Order Header and Purchase Order Line data entities which export data to 3rd Party system.
I need to create another data entity which does the below actions.
Every time Purchase Order header or Line data entity is run, I would like to capture information and time stamp on how many records were exported,From Date time and To Date time stamp of time it took to export the data. Time when the export process started.
How can I capture this information to a view or a form from a data entity like Purchase order header or line when it is run.