I would like to modify a custom value on a SalesLine either during or after it is imported by Dual Write. My preference is to make the change in D365 SCM vs Dataverse. (The value is calculated from a D365 table)
I created a SalesLine_Inserted event handler that works when lines are manually created, but it doesn't execute when Dual Write runs. I also tried just adding it to the initialize method of the SalesLine. Again, it worked when records were added manually, but not via Dual Write. I know there are events on the entity itself, but I am not sure exactly which events are triggered by Dual Write.
How do perform this update?
Thanks,!
Categories: