Developer forum

Forum » Integration » Live integration overwrites customer data

Live integration overwrites customer data

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
We have an old project running on DW 9.9.8 integrated with NAV.
Most of the functionality and integration seem to work very well, but it seems that we have some situations where order data is overwritten.
It's hard to tell how often it happens, as it is only visible if someone notices the admin.
The behavior is that the order is placed correctly, the receipt is sent with the correct data but the data in DW is wrong.
I have checked the log and it seems that we have an error when asking for Update of the order:

DebugInfo: Updating order with ID: ORDER48308. Complete: True. Order submitted from the backend: False
DebugInfo: Request CalculateOrder (ID: ORDER48308, CreateOrder: True) sent:'<?xml ..... </xml>'
DebugInfo: Response CalculateOrder (ID: ORDER48308, CreateOrder: True) received: 'An error occurred processing the request. Exception: The field Country/Region Code of table Ship-to Address contains a value (AL) that cannot be found in the related table (Country/Region).'.
9/21/2025 2:57:04 PM: ResponseError: Response is not valid XML format: 'Data at the root level is invalid. Line 1, position 1.'.
Has anybody experienced anything similar before?
I know it is an old solution running on an old LiveIntegration code, and that ideally we should upgrade the solution and the Live Integration version, but I was hoping that this had been encountered before and that someone knows the root cause of it.

Thank you,
Adrian


Replies

 
Michael Knudsen
Reply

Hello Adrian,

- based on the error message "Code of table Ship-to Address contains a value (AL) that cannot be found in the related table (Country/Region)" would I assume it's because NAV dosen't contains a country code for 'AL'.

Br. Michael Knudsen

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Michael,

I understand the reason for the error, I don't understand if that error could have triggered a wrong update back to DW.

 Adrian

 

You must be logged in to post in the forum