Показать сообщение отдельно
Старый 18.02.2011, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
sumitax: AX2009 – Best Practice Check for Classes
Источник: http://sumitax.wordpress.com/2011/02...k-for-classes/
==============

During my current Project , while doing code review we found the following Best practice for Classes .These BP checkswill be useful in othe Project so I will include a list here :

  1. Make sure Class has a construct method , the standard one that is present for all AX Classes.
  2. Do not write to variables passed in  a Class method as Parameter. Typically values passed in parameter are for read purpose and writing to those variables is not recommeded and gives a BP Deviation warning.
  3. All the label Ids used in X++ code should be enclosed in double quotes as specifying them in single quotes is a BP Deviation warning.



Источник: http://sumitax.wordpress.com/2011/02...k-for-classes/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.