# Code Combinations Add on in Nav 5.0

**URL:** <https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267>\
**Category:** User Forum\
**Created:** [January 26, 2012, 7:47pm UTC](https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267 "2012-01-26T19:47:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mistyq](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mistyq](https://www.dynamicsuser.net/u/mistyq)\
**Post date:** [January 26, 2012, 7:47pm UTC](https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267/1 "2012-01-26T19:47:46Z")

</div>

Hi

I am looking into setting up the code combinations add on in our system. This will restrict the ability to code to specific dimensions as per the rules I set up.

Has anyone set these up before? Any comments on pitfalls, hints to make it easier, thoughts etc?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![MattTrax](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/matttrax/32/9408_2.png) [@MattTrax](https://www.dynamicsuser.net/u/MattTrax)\
**Post date:** [January 26, 2012, 8:19pm UTC](https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267/2 "2012-01-26T20:19:27Z")

</div>

Dimension Combination are pretty straight forward. Just as you would when turning anything on, test as much as possible in a test database so that you don’t kill your production environment.

---

<div class="post-metadata">

**Author:** ![mistyq](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mistyq](https://www.dynamicsuser.net/u/mistyq)\
**Post date:** [February 13, 2012, 1:06am UTC](https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267/3 "2012-02-13T01:06:39Z")

</div>

Hi Matt

Yes, I do plan to test (a LOT!) prior to going live. Do you know the hierarchy NAV uses to sort the rules?

For example, we have multiple companies, some of which then have multiple departments within (using GD1 for companies & GD2 for departments). There are already restrictions in place on what GL codes can be used for specific companies (which are stored in the Dimension Combinations), but am now looking to restrict the departments from using certain GL codes.

This can be done on the code combination rule card (table 50425). At this point I am assuming that it uses the dimension combinations as the first set of rules, then progresses down til it hits the code combinations. Is that correct?

---

<div class="post-metadata">

**Author:** ![MattTrax](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/matttrax/32/9408_2.png) [@MattTrax](https://www.dynamicsuser.net/u/MattTrax)\
**Post date:** [February 13, 2012, 2:39pm UTC](https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267/4 "2012-02-13T14:39:36Z")

</div>

If you have an object that is numbered between 50,000 and 99,999 then it is a custom object for your company. Only a developer or your existing partner would be able to tell you how it works.

---

<div class="post-metadata">

**Author:** ![mistyq](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mistyq](https://www.dynamicsuser.net/u/mistyq)\
**Post date:** [February 13, 2012, 7:16pm UTC](https://www.dynamicsuser.net/t/code-combinations-add-on-in-nav-5-0/35267/5 "2012-02-13T19:16:39Z")

</div>

Handy to know - thanks Matt! 🙂
