Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Update SalesLine during or after Dual Write Import

(2) ShareShare
ReportReport
Posted on by 128
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,!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans