SBX - Search With Button

SBX - Forum Post Title

Restricting Item Sales to Cashiers

Microsoft Dynamics NAV Forum

NCoulbeck asked a question on 17 Oct 2017 5:10 AM

Question Status

Suggested Answer

Hi, my company wants to restrict the sale of certain items through some of our cashiers. For example, we have cashiers who are under 18, and those members of staff should not be allowed to sell alcohol. Is there a way to stop them from selling these items at tills?

Thanks

Reply
Mouli kaku responded on 27 Oct 2017 6:57 PM
My Badges
Suggested Answer

What you are requesting could be categorized under what's called "Data Level Security If you want to stop only specific group of items to restrict from the sale when specific users are using the system the i'm afraid you need to do a customization , your partner may help you to address the issue.

Reply
Amol Salvi responded on 28 Oct 2017 7:33 PM
My Badges
Suggested Answer

You need to have customization .Kindly take help of developer or partner

Reply
Chris D'silva responded on 29 Oct 2017 7:43 PM
My Badges
Suggested Answer

Hi,

I had customized for a similar scenario, you can refer my blog. Here I had to restrict users other than the CEO to sign off.

www.cloudfronts.com/restrict-action-button-particular-user-nav-2017

Reply
Tina Menezes responded on 31 Oct 2017 6:42 AM
My Badges
Suggested Answer

Hi,

You need to create a checkbox on user card or user setup. You can select the checkbox when the user is above 18. Now you need to add IF statement before the action code which checks if the current user checkbox is TRUS or FALSE. If TRUE only then the user should be allowed to sell items else an error should pop up

Reply
Mouli kaku responded on 27 Oct 2017 6:57 PM
My Badges
Suggested Answer

What you are requesting could be categorized under what's called "Data Level Security If you want to stop only specific group of items to restrict from the sale when specific users are using the system the i'm afraid you need to do a customization , your partner may help you to address the issue.

Reply
Amol Salvi responded on 28 Oct 2017 7:33 PM
My Badges
Suggested Answer

You need to have customization .Kindly take help of developer or partner

Reply
Chris D'silva responded on 29 Oct 2017 7:43 PM
My Badges
Suggested Answer

Hi,

I had customized for a similar scenario, you can refer my blog. Here I had to restrict users other than the CEO to sign off.

www.cloudfronts.com/restrict-action-button-particular-user-nav-2017

Reply
Tina Menezes responded on 31 Oct 2017 6:42 AM
My Badges
Suggested Answer

Hi,

You need to create a checkbox on user card or user setup. You can select the checkbox when the user is above 18. Now you need to add IF statement before the action code which checks if the current user checkbox is TRUS or FALSE. If TRUE only then the user should be allowed to sell items else an error should pop up

Reply

SBX - Two Col Forum

SBX - Migrated JS