filtering order by salesperson
julkifli33
Member Posts: 1,100
hi all...
can we filtering order by sales person
for example salesperson A can only open the order which are created by himself,
salesperson B can only open the order which are created by himself... and so on
but their manager can open order from salesperson A and B
but cannot open salesperson C and D which are not his staffs
do we have standard function from NAV like that?
thanks
can we filtering order by sales person
for example salesperson A can only open the order which are created by himself,
salesperson B can only open the order which are created by himself... and so on
but their manager can open order from salesperson A and B
but cannot open salesperson C and D which are not his staffs
do we have standard function from NAV like that?
thanks
0
Comments
-
There is no standard functionality like this..you need to customize..
something likeIF UserMgt.GetSalesPersFilter <> '' THEN BEGIN FILTERGROUP(2); SETRANGE("Sales Person",UserMgt.GetSalesPersFilter); FILTERGROUP(0); END;0 -
that's what i'm afraid of...mohana_cse06 wrote:There is no standard functionality like this..you need to customize..
something likeIF UserMgt.GetSalesPersFilter <> '' THEN BEGIN FILTERGROUP(2); SETRANGE("Sales Person",UserMgt.GetSalesPersFilter); FILTERGROUP(0); END;
so every page and table should add customization like this0 -
julkifli33 wrote:
that's what i'm afraid of...mohana_cse06 wrote:There is no standard functionality like this..you need to customize..
something likeIF UserMgt.GetSalesPersFilter <> '' THEN BEGIN FILTERGROUP(2); SETRANGE("Sales Person",UserMgt.GetSalesPersFilter); FILTERGROUP(0); END;
so every page and table should add customization like this
Unfortunately, Yes
0 -
mohana_cse06 wrote:julkifli33 wrote:
that's what i'm afraid of...mohana_cse06 wrote:There is no standard functionality like this..you need to customize..
something likeIF UserMgt.GetSalesPersFilter <> '' THEN BEGIN FILTERGROUP(2); SETRANGE("Sales Person",UserMgt.GetSalesPersFilter); FILTERGROUP(0); END;
so every page and table should add customization like this
Unfortunately, Yes
it must be a huge customization then
i though we can create new role or something like that
by the way thanks for your share0 -
Hi,
"huge" is something else...
Just add a filter in OnOpenForm and OnOpenPage. In User Setup, add a Field for the Team leader. Less than a day, even with written documentation.
With best regards
Jens0 -
What you can do is create a role per salesperson.
Within these roles add table Sales Header with a value in the Column "Security Filter". The value should be "Salesheader: Salesperson=[here you enter the code of the salesperson] "
I guess this should work0 -
ok thanks for the advice0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
