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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Error message: Do you want to update the exchange rate?

(0) ShareShare
ReportReport
Posted on by

We received an error message:

{"error":{"code":"Application_CallbackNotAllowed","message":"Microsoft Dynamics 365 Business Central Data Services attempted to issue a client callback to show a confirmation dialog box: Do you want to update the exchange rate? (Table 36 Sales Header). Client callbacks are not supported on Microsoft Dynamics 365 Business Central Data Services."}} 

Not sure how we can fix it?

Many thanks!

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Are you calling a page or a codeunit published as web service?

    Here the code shows a confirmation dialog and you cannot have a confirm on a web service call. You can fix this by using IF GUIALLOWED THEN or change what you're doing.

  • Community Member Profile Picture
    on at

    Hello  Stefano Demiliani ,

    Thank you for answer, we use odata to save sale order into Dynamic365 and get such error, may I know how to use 'IF GUIALLOWED THEN or change' in Odata??

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Are you posting a Sales Order via OData and do you receive this message? I think because you're posting some fields that triggers the exchange rate service. This code opens a confirmation dialog box in the UI and this is not possible via a web service call. This is the cause of your error.

    Can you post here your JSON code that you're posting?

  • Community Member Profile Picture
    on at

    Hello  Stefano Demiliani, thank you for reply, following is the json data we post

    {"Sell_to_Customer_No":"C000005","Sell_to_Customer_Name":"Test Company - Bluesky Imaging Technology Ltd","Quote_No":null,"Posting_Description":"","Sell_to_Address":"302 3\/F Kowloon Plaza485 Castle Peak","Sell_to_Address_2":null,"Sell_to_City":"Lai Chi Kok","Sell_to_County":null,"Sell_to_Post_Code":"","Sell_to_Country_Region_Code":"CA","Sell_to_Contact_No":"CR005454","Sell_to_Phone_No":"+85294376482","Sell_to_E_Mail":"leon_liang@foxitsoftware.com","Document_Date":"2019-02-01","Posting_Date":"2019-02-01","Order_Date":"2019-02-01","Due_Date":"2019-03-03","External_Document_No":"rjty676utyrehjmuryt","Salesperson_Code":"LL","Status":"Open","WorkDescription":"","Shortcut_Dimension_1_Code":null,"Shortcut_Dimension_2_Code":"CNNSDK","Shipment_Date":"2019-02-01","Prepmt_Payment_Terms_Code":null,"Currency_Code":"USD","Payment_Terms_Code":"30 DAYS","Document_Type":"Order"}

  • Community Member Profile Picture
    on at

    following is json I post, I find when I delete post date, it work, may you explain why

    {"Sell_to_Customer_No":"C000005","Sell_to_Customer_Name":"Test Company - Bluesky Imaging Technology Ltd","Quote_No":null,"Posting_Description":"","Sell_to_Address":"302 3\/F Kowloon Plaza485 Castle Peak","Sell_to_Address_2":null,"Sell_to_City":"Lai Chi Kok","Sell_to_County":null,"Sell_to_Post_Code":"","Sell_to_Country_Region_Code":"CA","Sell_to_Contact_No":"CR005454","Sell_to_Phone_No":"+85294376482","Sell_to_E_Mail":"leon_liang@foxitsoftware.com","Document_Date":"2019-02-01","Posting_Date":"2019-02-01","Order_Date":"2019-02-01","Due_Date":"2019-03-03","External_Document_No":"rjty676utyrehjmuryt","Salesperson_Code":"LL","Status":"Open","WorkDescription":"","Shortcut_Dimension_1_Code":null,"Shortcut_Dimension_2_Code":"CNNSDK","Shipment_Date":"2019-02-01","Prepmt_Payment_Terms_Code":null,"Currency_Code":"USD","Payment_Terms_Code":"30 DAYS","Document_Type":"Order"}

  • slashtechllc Profile Picture
    25 on at

    Having a similar problem.  Any solution?

  • slashtechllc Profile Picture
    25 on at

    Did you ever find a solution to this problem?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans