Friday, May 19, 2017

AX POS Permission Groups and Leading Zeros - Solved!

In my previous blog post, AX Modern POS Retail Channel Reports missing and setup, I discussed an issue I hit where I would go into the Retail Channel Report Configuration form and setup permission groups. These groups would immediately not save the values in the form. The form field is a multi-select field so it won't save invalid values.

The values were invalid as the leading zeros in the POS Permission group were being dropped by the code in Figure 2 below. Changing these names to something other than a value with a leading zero fixed the issue (Figure 1).



Figure 1 - Need to start the POS Permission Group name with NOT a zero

Figure 2 - AX will drop leading zeros

4 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Well, your blog is very informative, thank you for posting such useful blog as it is very accurate. But i have another website with much better detail than this you must visitwww.helpadya.com Post Free Ads.

    ReplyDelete
    Replies
    1. With much more detail than this? You dig into the str2con() function and discuss 'Why' it doesn't look at leading zeros? And you Post Free Ads in the same article?

      You sir, are a brilliant magician...

      Delete

  3. Wonderful blog.. Thanks for sharing informative Post. Its very useful to me.

    Installment loans
    Payday loans
    Title loans

    ReplyDelete