Security Filter for Field in Transfer Header
johanna
Member Posts: 369
Dear all,
I have set security filter for tabledata "Transfer Header" : "Transfer Header: In-Transit Code=XXXXX" for user A. Then I open Transfer Order with user A. When I lookup In-Transit Code, it shows all (not just XXXXX). Why is this happen? And when I create new Transfer Order, the error "You don't have permission to insert Transfer Header table." is appeared. Why is this happen? How to solve this case?
Thanks before
I have set security filter for tabledata "Transfer Header" : "Transfer Header: In-Transit Code=XXXXX" for user A. Then I open Transfer Order with user A. When I lookup In-Transit Code, it shows all (not just XXXXX). Why is this happen? And when I create new Transfer Order, the error "You don't have permission to insert Transfer Header table." is appeared. Why is this happen? How to solve this case?
Thanks before
Best regards,
Johanna
Johanna
0
Answers
-
It is common problem of the security filters and why I do not recommend to use them. Regarding the permission problem:
When you create new header, there is no In-transit location filled in yet, and if you set permissions only to insert header with some specific in-transit location,you cannot create the header because that.
The security filter is not filtering the lookup on the field, you need to filter it in different way if you need it.0 -
When the transfer order is created the field In-Transit Code is empty. To make it work you have to add the empty value to your security filter also (In-Transit Code=XXXXX or '').johanna wrote:I have set security filter for tabledata "Transfer Header" : "Transfer Header: In-Transit Code=XXXXX" for user A. When I create new Transfer Order, the error "You don't have permission to insert Transfer Header table." is appeared. Why is this happen?
You have placed a filter on the field In-Transit Code of the table Transfer Header. The lookup opens the list of locations from table 14 "Location" therefore this list is not filtered. If it needs to be filtered you will have to add a security filter to the table Location, FIeld Code also.johanna wrote:When I lookup In-Transit Code, it shows all (not just XXXXX). Why is this happen?Frank Dickschat
FD Consulting0 -
@Kine & Frank : thank you ^^
As Kine and Frank said :
1.
- Case : When I create new Transfer Order, the error "You don't have permission to insert Transfer Header table." is appeared
- Caused by : There is no In-transit location filled in yet and user A just can see In-Transit Code = XXXXX
- Solution : Add security filter for tabledata Transfer Header: In-Transit Code=XXXXX|''
2.
- Case : When I lookup In-Transit Code, it shows all (not just XXXXX)
- Caused by : The security filter is not filtering the lookup on the field. The lookup opens the list of locations from table 14 "Location" therefore this list is not filtered.
- Solution : If it needs to be filtered you will have to add a security filter to the table Location, FIeld Code also.
Then, this topic is solved! Thanks to Kine and Frank again!
Best regards,
Johanna0
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
