Sales Person should only see the customers he is responsible
WinfriedBarz
Member Posts: 38
Hallo
I need to customize the security system of navison, so that a Sales Person only can see the customers, he is responsible for?
I use in every customer and every contact the "sales person code". I use the navison database.
Best regards
Winfried
I need to customize the security system of navison, so that a Sales Person only can see the customers, he is responsible for?
I use in every customer and every contact the "sales person code". I use the navison database.
Best regards
Winfried
Best Regards
Winfried Barz
Winfried Barz
0
Comments
-
take a look at how responsibility center is filtering on sales order. Apply the same thing to sales person code.0
-
One could buy resp. center granule, put every sperson a different resp center, and then just copy the code from sales order to customer. It is a good idea because usually the next request will be to see only own orders, invoices etc. and resp. center does it out of the box.
Do It Yourself is they key. Standard code might work - your code surely works.0 -
ditto, that is great advice, use built in code when ever possible. You will only create additional work during even minor upgrades with custom code.Shenpen wrote:One could buy resp. center granule, put every sperson a different resp center, and then just copy the code from sales order to customer. It is a good idea because usually the next request will be to see only own orders, invoices etc. and resp. center does it out of the box.0 -
Thank you for the idea. I am a beginner and my problem is now to find the code in sales order I must apply to sales person code.
Could anybody help me?
Best regards
Winfried
Best Regards
Winfried Barz0 -
Yes, it is in the form, in the onopenform trigger:
IF UserMgt.GetSalesFilter() <> '' THEN BEGIN FILTERGROUP(2); SETRANGE("Responsibility Center",UserMgt.GetSalesFilter()); FILTERGROUP(0); END;
where UserMgt is a codeunit variable to codeunit User Setup Management
Do It Yourself is they key. Standard code might work - your code surely works.0 -
Thank you for your tip an the explanation.
I tried it in Order Processing - reports - Customer-Order Details without any change
and
in Order Processing - Contacts with a little change "Salesperson Code" instead of "Responsibility Center" and it works fine too.
Now I think I can make all neccessary changes for my customer.
Best Regards
WinfriedBest Regards
Winfried Barz0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
