I defind one Global Dimension as Site and defind dimension values as different site names.
My database is Nav 4.0 SP2 SQL option.
I want to apply sequrity filter for Dimension values , but I am not getting the result.
What I have done
Object table Object ID ObjectName Read SequrityFilter
Field Filter
Tabledata 349 DimensionValue Y code onoo2
How can I apply the sequrity filter for a perticular dimension value?
And How can I apply sequrity filter for a Ge. Jnl. Batch?
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Can I apply sequrity filter on Gen.Jnl.Batch name?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Anybody please ...............
You'll also create a role for every site. For every role you'll insert 232 table and in the security filter you'll enter the filter for that batch.
That's should do it. If the user gets error that they don' thave permission for the record, you have to modify the code and use SETPERMISSIONFILTER before the find('-')
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I write code there as
But nothing is happend.
What I have do more to solve this problem?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Codunit 230 GenJnlManagement
In checktempletname function before following code
IF NOT genjnlbatch.find('-')
I got error at
What I have to do to restrict user for perticular batch?
Anybody got this type of problem before ?please suggest.
Gen. Journal Batch.
You need to also insert new records into the Gen. Journal Template table
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Which new records?
Hi, ara3n..
So, do you mean that I cannot set security filter to filter dimension field? What code I must add to implement it? Could you give me some example?
Thank you
Johanna
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I'll try it... ^^
Johanna