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 365 | Integration, Dataverse...
Suggested Answer

Purch Order - Update invoice quantity do not refresh data

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

After updating to PU45, some users are having problems updating the quantity on purchase order invoices. 
When they select the quantity in the dropdown, the form does not refresh, it does nothing.

We have tried deleting usage data, deleting browser cookies, using different browsers (Edge and chrome) and nothing has worked.
We have also tried to put the same roles and permissions to other users, and they can update the amount without problem, so apparently the problem is not caused by security.
Has anyone experienced anything similar? Do you have any advice on where to look for the problem? Keep in mind that it is not an error that can be reproduced from another user.

Thanks in advance.
 
UPDATE: This only happens on PROD environment, on UAT its works fine.
 
I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi,

    Would you please specify which application you're using in Dynamics?

  • Suggested answer
    ACECORP Profile Picture
    1,589 on at

    Sounds like some kind of bug, but you may be able to fix it using the following JavaScript code. 

    Put the code on the Lookup Field or Option Set On Change Event and it will save the data and then force refresh and reload the form inline. 

    function SaveRefreshNReloadForm(executionContext) {
            var formContext = executionContext.getFormContext();
                formContext.data.save(true).then(function () {
                    formContext.data.refresh(save);
                });
           }
    

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans