web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Dual-Write - Empty Lookup field - Null

(6) ShareShare
ReportReport
Posted on by 447
Hi all, 
 
I have an F&O (FSCM) environment and a D365 Sales (Dataverse) environment linked with Dual Write. 
The Accounts table in Dataverse and the Customers table in FO are syncing to each other via DW. 
In both Dataverse and FO, I have a custom table called Mandates which is also synced via Dual Write. 
 
In the Accounts Table, I have a look up field called Mandate ID which is a a look up to the mandates table. The same is in FO in the customer card. 
 
When the mandate field in the customer record in FO is updated (i.e. assign it a value the first time or update the value of the field), DW works well i.e. the change is successfully reflected in dataverse. 
The problem is when the mandate field in the customer in FO has a value and the user blanks it out i.e. clears the value of the field. This change is not being reflected in Dataverse via DW. 
 
How can we pass a null value via DW in order to clear out (empty) the field in the Dataverse record (Account)? 
 
Any help would be greatly appreciated! 
Thanks in advance! 
I have the same question (0)
  • Suggested answer
    ArchitectMadhan Profile Picture
    458 on at
    Hi,
     
    This issues seems to be common, but please check whether you are following the below steps:
     
    1. Check Dual Write Mapping: Ensure that the field mappings between Dynamics 365 F&O and Dataverse are correctly set up to handle null values. You might need to adjust the mapping settings to allow null values to be synchronized.

    2. Modify Data Events: In some cases, you may need to modify the data events in Dynamics 365 F&O to explicitly handle null values. This can involve customizing the data entity to ensure that null values are correctly passed through the integration.

    3. Use Custom Logic: Implement custom logic in the Dual Write integration to handle null values. This can be done by creating a custom plugin or workflow in Dataverse that listens for changes and updates the corresponding field to null when necessary.

    4. Review Error Logs: Check the Dual Write error logs to see if there are any errors or warnings related to the null value synchronization. This can provide insights into what might be going wrong and help you troubleshoot the issue.

    5. Consult Documentation: Refer to the official Dual Write documentation for detailed guidance on handling null values and other synchronization scenarios

    If you find this solution useful, please like it and accept it as answer.


    -ArchitectMadhan

  • DGA205 Profile Picture
    61 on at
    Hi, I have the same issue. When the field is nulled in FO, in Dataverse ignore the change.
     
    For the point 1, where I might need to adjust the mapping settings to allow null values to be synchronized?? 
     
     
     
  • Bilal Hussain Profile Picture
    67 on at
    @DGA205 did you manage to resolve it? we are having the similar problem and would like to see how did you fix it?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans