Hi all of u!
I'm trying to import permissions from an Excel sheet using a Dataport.
The Permission Table (2000000005) is defined as follows
Field No. Field Name Data Type Length Description
1 Role ID Code 20
2 Role Name Text 30
3 Object Type Option
4 Object ID Integer
5 Object Name Text 249
6 Read Permission Option
7 Insert Permission Option
8 Modify Permission Option
9 Delete Permission Option
10 Execute Permission Option
11 Security Filter TableFilter
My poblem is precisely the Security Filter. I cannot use it in a Dataport.
The error states that the data type TableFilter is invalid for the Source expression.
How can we solve this problem?
Aditional info: NAV 3.70 SQL Server Dataport works fine if Security Filter is not used (BY I NEED IT BAD)
Txs in advance 4 your time
0
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
If you use it, you have to use a text-variable in the dataport and
in the "OnBeforeExportRecord()" put
and in the "OnBeforeImportRecord()" put
and in the "OnAfterImportRecord()" put
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
It works just fine (And it was very simple to do with your tips).
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
How bout if we put filter on it? I tried but can't work for imported the filtering.
CMIIW
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
But i have worked with it.
I added Clear then it's worked
Thx