Tuesday, August 25, 2015

AX 2012 | Main account & Dimension value mask


Most likely that you notice the Dimension value mask and Main account mask fields during the setup of financial dimension and the chart of account. These fields give you the ability to enter a format mask to use for creating financial dimension values and main accounts. A format mask limits the amount and type of information that you can enter for dimension values.
the following steps illustrate how to setup and use this functionality :




1- Go to General ledger > Setup > Financial dimension > Create new dimension >  select Custom dimension in the Use values from field.


2- in the Dimension value mask field, enter a format mask to use when financial dimension values are created. A format mask limits the amount and type of information that you can enter for dimension values.You can also enter number signs (#)  and (&) signs  for letters  for example To limit the dimension value to the letters PRO and four numbers, you enter PRO-### as the format mask.



3- now click the  Dimension value button and try to add new Dimension value different from the mask format. AX will throw error message to inform you that The dimension value does not match the dimension mask PRO-###



4- To do the same with the main accounts go to general ledger > setup > chart of accounts > chart of accounts > Select chart of account then enter the main account mask. for example To limit the main account to six letters , you enter &&&&&& as the format mask.



5- Go to  general ledger > Main accounts > create new account and try to add new main account different from the mask format. AX will throw error message to inform you that The main account does not match the dimension mask &&&&&&.



That's all for today. enjoy :) 

See Also