This is something that my brother and I have both done before, but neither of us can remember how the (*&% we did it:
Let's say my Dim. Values for DEPT are:
10
20
30
40
50
How do I restrict postings to an account to just 10,30, and 50 (or any combination)? This isn't dependent on any other dimension's value.
Thanks in advance!
"OMG ALL MY DATA IS GONE"
"Show All..."
"Oh..."
0
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
That's what I was afraid of... what's really scary is I may have written it myself though looking back I don't know how I would have done that...
Anyone else have any ideas?
"Show All..."
"Oh..."
One thing that is guaranteed in NAV is that somebody else will read your code. Business requirements change every day. Clients upgrade.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
And I can't take all my objects with me, that would violate my employment agreement(s)
"Show All..."
"Oh..."
I've been with my company for 7 years now, and I haven't found anything that is better.
I could go solo but it comes with risks.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Dig your brain a little deeper and find that modification.
You can modify codeunit 408 to accomplish your goals. However, the dimension restrictions would need to be a separate table since Default Dimension table only has will not allow you to ahve more than 1 dimension.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Edited to add: Post 100! Woot! \:D/
"Show All..."
"Oh..."
I think if you spend enough time with posting routines, you'll learn that certain are easy and other ones are hard, and you try to steer clients away from the hard/ high risk ones.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n