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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

ERROR DUAL WRITE INTEGRATION SALESORDER HEADER (VATNUM IN TAXVATNUMTABLE)

(1) ShareShare
ReportReport
Posted on by 59

We have a bi-directional Integration Dual Write  Finance and Operation/Dataverse . I am trying to create an Salesorder. When I create a Quote header I don't get this error, so when I create an SalesOrder header I do.

The TaxVATNumTable table contains the value:H99999999 When I try to convert from a Quote to an Order, I get the following error:

Error:

Dual Write core application error-Dual Write core application error-Unable to write to Finance and Operations apps due to following error(s): {"Write failed for entity CDS sales order headers with unknown exceptionFor information on troubleshooting see https://go.microsoft.com/fwlink/?linkid=2244045. - Matching record with key 'VATNum': H99999999 for the data source 'TaxVATNumTable' does not exist"} Please rectify your data and try again. If issue persists after multiple retries, please contact your system administrator.

Returns the same error for all the VaTNum

We stoped the syncronization. Update Dual Write version.

Pluggin that show the error: Microsoft.Dynamics.Integrator.DualWriteFpRuntime.Plugins.PreCommitPlugin,

 

Categories:
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,919 Most Valuable Professional on at
    Have you checked that the VAT number exists in F&O?
    The field contains validation that a record exists in the VAT number table, so that's most likely why it fails.
  • GRA Profile Picture
    59 on at
    Hello Jonas,
    thank you for your response. We check the VAT exist in F&O, so the issue is with every VAT...
  • GRA Profile Picture
    59 on at
    Show you the error in Dataverse
     

     
     
     
    and the check in FO:
     
     
     
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    4,919 Most Valuable Professional on at
    Last time I configured Dual-Write, we had to change the ISO codes of the country on the accounts, since they didn't match the code in F&O.
    That might be the reason why it's not matching. Can you check that?
  • Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi,
     
    Did u run the map for VAT with initial sync?
  • GRA Profile Picture
    59 on at
    Thank you Jonas! we mapped this field correctly and the syncronization is running right.
     
    Thanks a lot
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    4,919 Most Valuable Professional on at
    No problem, I'm glad to hear it got fixed (-:
     
    If it's okay, can you mark this reply as confirmed?
    I've fixed this in most of my implementations, and I think it would be good if this thread popped up when you search the error.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans