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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AR Parameters Not Saving

(0) ShareShare
ReportReport
Posted on by

When I make an accidental change in the AR parameters form, the Escape key is not working.

For example, if the default order type is set to 'sales order' but I accidentally change it to 'journal.'  I hit the Escape key, and an Infolog comes up asking 'Do you want to save the changes?'  I clicked the option 'no.'  When I reopen the AR parameters, the order type is set to 'journal.'  It did NOT revert back to 'sales order.'

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: AR Parameters Not Saving

    Yes I also find same issue..

    let us check, why?

    Seems like bug...

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: AR Parameters Not Saving

    This because,

    there are some code in close() method of the form CustParameters

    custParameters_ds.write()

    salesParameters_ds.write()

    I commented above lines and its working fine.

    as per my understanding these are invalid code and needs to be removed.

    I suggest if you can log a bug with Microsoft related to this.

  • Douglas Noel Profile Picture
    3,905 on at
    RE: AR Parameters Not Saving

    Hi all,

    yes it is definitely a bug. (DEEP dark in the kernel). Starting with 2012R0RTM and still in 2012R3RTM.

    At least in In my opion - maybe its a feature or a "by design" ?

    The problem is that starting with 2012 the ESC key DOES NOT trigger a closeCancel (as described)

    msdn.microsoft.com/.../aa674599.aspx

    The important thing on that is that the close Cancel sets an internally flag within formrun which influenced most of the kernel methods (even FormDataSource.Write)

    So you can comment out the write calls within form close but this is not a solution. The same code runs in 2009 like a charm. If you close CustParameters form with ESC, a close Cancel is triggered, so the fals is set internally. And even if you have an "dirty" unsaved record, the write call on the datasource will simply do nothing.

    So if you comment out the lines it will work in that case, but you are going to have similar problems in ALL forms.

    Maybe someone of MS can give an comment

    sorry

    Douglas

  • Kyle Andrich Profile Picture
    on at
    RE: AR Parameters Not Saving

    Nitesh, there appears to be a hotfix that might resolve the issue.  I will provide an additional update once my development team installs the hotfix.

  • Kyle Andrich Profile Picture
    on at
    RE: AR Parameters Not Saving

    Douglas, there appears to be a hotfix that might resolve the issue.  I will provide an additional update once my development team installs the hotfix.

  • Verified answer
    Kyle Andrich Profile Picture
    on at
    RE: AR Parameters Not Saving

    All, the hotfix I referenced earlier does resolve this issue.  The hotfix number is KB2914760.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans