Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Dynamics NAV Web Services Client Callback Do you want to update the exchange rate? (Table 38 Purchase Header)

Posted on by 215

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

  • Moon Profile Picture
    Moon 215 on at
    RE: Dynamics NAV Web Services Client Callback Do you want to update the exchange rate? (Table 38 Purchase Header)

    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.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Dynamics NAV Web Services Client Callback Do you want to update the exchange rate? (Table 38 Purchase Header)

    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

  • Moon Profile Picture
    Moon 215 on at
    RE: Dynamics NAV Web Services Client Callback Do you want to update the exchange rate? (Table 38 Purchase Header)

    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.

  • Suggested answer
    Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: Dynamics NAV Web Services Client Callback Do you want to update the exchange rate? (Table 38 Purchase Header)

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans