How To Validate Dimension 1 filter
                
                    gadi99                
                
                    Member Posts: 3                
            
                        
            
                    Hi all,
I have an Issue with filtering the Account Schedule overview with Dimension 1 filter ,.But the dimension 1 filter which i am enetring should be dynamically entered i.e I am filtering at the back end..Is there any way way to insert the value of dimension 1 filter through code
i.e I have written at the backend as dimension 1 filter = rec.field
when i put a message down it is showing the value
but it is neither filtering the acc schedule overview nor is visible in dimenison 1 filter
Is there any solution too insert the value in a flow filter
Thanks in Advance
                I have an Issue with filtering the Account Schedule overview with Dimension 1 filter ,.But the dimension 1 filter which i am enetring should be dynamically entered i.e I am filtering at the back end..Is there any way way to insert the value of dimension 1 filter through code
i.e I have written at the backend as dimension 1 filter = rec.field
when i put a message down it is showing the value
but it is neither filtering the acc schedule overview nor is visible in dimenison 1 filter
Is there any solution too insert the value in a flow filter
Thanks in Advance
0                
            Comments
- 
            To set a flow filter you need to do SETFILTER. There should be examples of this in the C/SIDE Help Menu.0
 - 
            Hi mattrax,
Thanx for the reply,
For all the forms SetFilter is working Good if it written on the on open form
But for Account Schedule Overview I am having the problem
Let me explain it,
I have multiple locations in my implementation and each location is taken as dimenison in GD1 so I have dimenison 1 filter populated,
Each user is allocated to alocation that is a dimension
Now i want Account schedule overview to be filtered as per the Users location
So On Open form I have written code as
Code in brief
FILTERGROUP(0);
SETFILTER("Dimension 1 Filter",'%1',Usersetup."Sales Resp. Ctr. Filter");
FILTERGROUP(2);
This is working for all other forms and data is getting filtered
but in account schedule Overview form it is not getting filtered
This is my Issue,
Thanks in Advance0 - 
            ColumnValue is calculated in AccSchedMatrix - OnAfterGetRecord() trigger by passing rec. You can not pass filters applied in filtergroup statement so it does not affect calculation.
You can apply filters just before passing rec to the AccSchedManagement codeunit or do your filtering in that codeunit.Ufuk Asci
Pargesoft0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.6K Microsoft Dynamics NAV
 - 18.7K 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
 - 323 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
 
