Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Preventing multiple users processing the same order?

(0) ShareShare
ReportReport
Posted on by 20

Hi all,

I have a customer requirement, which is that only one user is allowed in a specific sales order at any one time, to prevent issues when processing. This is due to them having numerous orders coming in at the same time, and do not want users adjusting price/confirming ect. when another user may be active in that order.

Just wondered if there is there any standard functionality in the system which could be used to block/prevent entry into a sales order if another user is in it?

Thanks,

Dan

*This post is locked for comments

  • Dan_AX Profile Picture
    Dan_AX 20 on at
    RE: Preventing multiple users processing the same order?

    Hi Declan,

    Thanks for your response.

    We have tested it in a few different scenarios, and that error does appear if, for example, two users try to edit a sales order line, and enter different quantities. However, if for example 2 users are in an order at the same time, and both select to add a new sales order line (the same line for instance), when they both refresh both lines will have been added to the order, without error.

    The error you mentioned would prevent a large proportion of the problems occurring though.

    Dan

  • Suggested answer
    feelyd Profile Picture
    feelyd 260 on at
    RE: Preventing multiple users processing the same order?

    Have you tested the scenario your are referring to.

    Normally what happens, when you open a sales order and make some changes, another person who has also opened the same sales order, will get an error if they try and save any details.

    You normally get an error, "the current values are not up to date". This prevents two persons changing the same order at the same time.

    The second person would have to refresh the form to get the most recent changes.

    Declan

  • Verified answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Preventing multiple users processing the same order? AX R3

    Not anything that I can think of, from Standard AX.

    However you may replicate the Journals locking functionality, which locks a journal as soon as a user opens the lines. Meanwhile if a user tries to retrieve such lines, it is not allowed to do so. The lock is released as soon as release the journal. In the standard AX it keeps the lock information within the Journal Header table. To improve that you may want to maintain the information in a separate table for the sales orders, or else SalesTable.UpdatedDateTime may go wrong.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans