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 :
Microsoft Dynamics NAV (Archived)

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    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.

  • Moon Profile Picture
    215 on at

    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
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    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
    215 on at

    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.

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans