Security Filters

mccizmt2
Member Posts: 21
Hi,
I'm trying to set security filters and I have the following problem. On the sales receipt journal it allows users to post to five different types of account: G/L, Bank, Customer, Vendor and Fixed Asset... I want only a certain group to be able to use the options Bank Account and Customer. I can filter so that they can use one, but can't seem to filter for two.
Is this possible?
Thanks
I'm trying to set security filters and I have the following problem. On the sales receipt journal it allows users to post to five different types of account: G/L, Bank, Customer, Vendor and Fixed Asset... I want only a certain group to be able to use the options Bank Account and Customer. I can filter so that they can use one, but can't seem to filter for two.
Is this possible?
Thanks
0
Comments
-
How do you apply security filters in the selection?
If you use SETFILTER the you can use the | to seperate two values of the filter, it is used as an OR expression.
i.e. on OpenFormRec.FILTERGROUP(6); Rec.SETFILTER("Bal. Account Type",'G/L Account|Customer'); Rec.FILTERGROUP(0);
0 -
I am setting the security filters through Tools--> Security--> Roles--> Permissions--> Set Filter Column.
Not through any programming as we don't have a developers license.0 -
Hi,
Why don't you enter to the security filter:Gen. Journal Batch: Bal. Account Type=Bank Account|Customer
instead ofGen. Journal Batch: Bal. Account Type=Bank Account
0 -
Hi,
This does not work either as it reads thebank account|customer
as one validation not an or statement. I tried to write is as follows"Bank account"|"Customer"
and now it reads the | as an invalid character.0 -
Hi,
I tried it at the srvice item group code in the SM-ServiceItem role and picked two values and seperated them with '|'.
I also tried it at the G/L-JOURNAL role at the Gen. Journal Batch table data and setted Security filter (copy/pasted here):
Gen. Journal Batch: Bal. Account Type=G/L Account|Customer
and when the user looks up in the Batch Name through the G/L - General Journal, it shows only the Batches of type G/L Account and Customer.
why don't you copy paste the green statement above to your security filter... Remember that the user that has the role, must Logoff/Logon.
I am using ver GR 3.70.A (3.70.A).0 -
:idea:
I just tried and it works well like Arhontis said.
This could be a case sensitive in your db setting.0 -
Warning! Security filters for flowfilter is not working as far as 3.70B! (in NA 4.00 it is not OK too but I don't know from which build it is corrected)
I know, that you are not using it, but only for your information (the security filter example from the documentation is not working...)0 -
Hi Kine,
Thanks for the info...
Since Security Filter is not working, is there a replacing functionality or is it a bug?
MBS know about that? :roll:
(In Greece we haven't got 3.70 SP2 yet)0 -
Yes, it is a bug. I sent it to MS... they sent me the finsql.exe from 3.70B and it is working now...
Try to use only finsql.exe from SP2... there are no other changes (we don't have SP2 in Czech too)0 -
I did synchronise the first time and I was also careful with the syntax, however i've just tried applying the filter in a slightly different way and it now works.
It didn't work when I typed it straight into the filter field, but if I use the assist button, select the field and the first value that I wish to filter by then type | and the second, it now works.
Fustrating, but I can't see what I did wrong the first time, i've not really done anything differently in terms of syntax used this time round.
Cheers for the help0
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
- 320 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