Filtering Cue Groups
Troubles_In_Paradise
Member Posts: 588
Hi guys!
I'm wondering someone has already faced a problem like this.
I've to filter cue groups of the Role Center, according to the Responsiblity Center chosen by the user during the login.
To do this I created a FlowFilter in the table "Sales Cue"
PS: I saw a colleague of mine that use this method and it works, but I can't find what is the difference.
Thx a lot in advance!
I'm wondering someone has already faced a problem like this.
I've to filter cue groups of the Role Center, according to the Responsiblity Center chosen by the user during the login.
To do this I created a FlowFilter in the table "Sales Cue"
Enabled Field No. Field Name Data Type Length Description Yes 50000 RC Filter Code 10Now I placed this code in the trigger OnOpenPage() of the part "SO Processor Activities"
CLEAR(UserSetup);
SETFILTER("RC Filter",UserSetup.GetSalesFilter);
but it doesn't work. have you got an idea about what I missed?PS: I saw a colleague of mine that use this method and it works, but I can't find what is the difference.
Thx a lot in advance!
~Rik~
It works as expected... More or Less...
It works as expected... More or Less...
0
Answers
-
Where are you getting usersetup?
UserSetup.GET;0 -
Hi Mohana, I found the solution.mohana_cse06 wrote:Where are you getting usersetup?
UserSetup.GET;
It was my fault :oops:. I forgot to change the calcformula to all FlowFileds in the SO Activieties.
Here an exampleSales Orders - Open CalcFormula Count("Sales Header" WHERE (Document Type=FILTER(Order),Status=FILTER(Open),Responsibility Center=FIELD(RC Filter)))Now works!
Thx~Rik~
It works as expected... More or Less...0 -
Can you confirm whether this is required or not? :-k
UserSetup.GET;
0 -
I confirm that isn't required :thumbsup:mohana_cse06 wrote:Can you confirm whether this is required or not? :-kUserSetup.GET;
~Rik~
It works as expected... More or Less...0 -
From where do you get UserSetup.GetSalesFilter?0
-
It's the function GetSalesFilter defined in the codeunit User Setup Management.mohana_cse06 wrote:From where do you get UserSetup.GetSalesFilter?~Rik~
It works as expected... More or Less...0 -
ahh..I thought userSetup is a Record Variable..
Now I got it..
0 -
I'm sorry, maybe I had to explain better.mohana_cse06 wrote:ahh..I thought userSetup is a Record Variable..
Now I got it..
~Rik~
It works as expected... More or Less...0 -
I posted this on both the NAV Forum and the NAV Connect site. We shouldn't have to re-invent the wheel with responsibility centers. MS should correct this in the next version.
https://connect.microsoft.com/dynamicssuggestions/feedback/details/621970/responsibility-center-filter-in-the-rtc
See the link from that site for the forum page.0
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
