Hello-
I am using Dynamics NAV Web Services in C# .net. Some records are inserted fine with this. Some records, depending on the posting date, throws this error on insert of records in the Purchase Invoice page.
Error: Microsoft Dynamics NAV Business Web Services attempted to issue a client callback to show a confirmation dialog box: Do you want to update the exchange rate? (Table 38 Purchase Header). Client callbacks are not supported on Microsoft Dynamics NAV Business Web Services.
I have done some research and it seems there is a dialog being thrown, but when I enter all this information via the UI, I never get any dialog to pop open? I am a bit confused.
1) What is making this happen? When I don't set the posting date and document date, then the insert works with no error.
2) It seems the current date works fine, but when I go back a few days, this is when the error happens. How are we supposed to handle this? What if a customer wants to enter a date that causes this? Is there a way to suppress this error so it will never happen? Or is this something to be expected via web services? Seems like a bug?
thank you
*This post is locked for comments
Yes, that is the odd thing, I get no confirmation or message dialog when manually entering the same data. I will take a look at this GUIALLOWED option. Thank you Stefano.
This problems occurs because in your NAV code you have a confirmation or message dialog that appears on screen, and this behavior cannot occour when using web services.
You can avoid field validation or you can modify existing code by adding the following instruction before the message:
IF GUIALLOWED THEN
//Here show the message
Thank you for your reply Olister. I can't seem to make this dialog to show when I enter the data on the Page manually. I would assume it should behave the same with the same data? I must be missing something here. Without this modifying, are you saying the web services just simply cannot handle inserts of these records?
thank you kindly.
Hi,
This error occurs when the Purchase Order changes. Actually its not an error but a confirmation dialog that asks whether you want to modify the existing PO. You can disable by some debugging and modifying some of the code in the Purchase Header table.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156