Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Manager override on POS when giving discounts

Posted on by Microsoft Employee

Hi, 

I am setting up POS permissions in AX 2012. The cashiers can only give e.g. 15% line discount and if they need to give more discount they have to get the manager over. In AX the cashier permission group is set to give max. 15% line discount and on the POS operation the manager privilege is selected. The manager permission group is set to give max. 100% line discount.

If I log into the POS as the cashier and give 20% line discount, I get a notification saying the user does not have permission to do this. Then a log in screen appears. I log in with the manager username and password and get asked to enter the discount percentage. I enter 20% and get a notification saying that I don't have permission to do this as I can only give max. 15% discount, which is the cashiers permission so it does not seem to check the permission of the manager who is logging in.

Is there any way to set this up?

Is the only workaround to suspend the transaction, log out, log back in as the manager, retrieve the transaction and finish it?

I found the following blog on this. Is this the way to do this or have any changes been made to AX to enable this?: https://community.dynamics.com/ax/b/axsupport/archive/2012/08/27/ax-for-retail-2012-adding-manager-approval-to-custom-operations

Best regards,

Ragnhildur

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Manager override on POS when giving discounts

    Thank you for the answer!

  • Verified answer
    Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,595 on at
    RE: Manager override on POS when giving discounts

    Hi Ragnhildur,

    POS shows "Manager login" form for you, because you configured 'Manager' permission for 'Discount' operation - this means, cashier will always need to enter manager credentials to apply any discount (even less than 15%). But this "Manager login" does not change disc. percent limit - it only allows any discount operation to be executed.

    So if you need to implement the following scenario:
    1) Cashier enters 10% discount -> discount is applied without any Manager credentials;
    2) Cashier enters 20% discount -> POS asks to enter manager credentials. If manager credentials are entered => discount is applied.

    You can do the following:
    1) remove permissions from Discount operations:

    2016_2D00_03_2D00_30_5F00_0_2D00_36_2D00_32.png

    2) Modify Discount project of POS SDK as described in the article you attached to question. This is POS code change, not AX.
    Changes will be in Discount project from Retail SDK in the following methods:

    1. AuthorizeLineDiscountAmount();
    2. AuthorizeLineDiscountPercent();
    3. AuthorizeTotalDiscountAmount();
    4. AuthorizeTotalDiscountPercent().

    Regards,
    Oksana

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 Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans