|
![]() |
#1 |
Участник
|
axcoder: customization: do it smarter
Источник: http://axcoder.blogspot.com/2007/01/...t-smarter.html
============== If you haven't watched the video Dynamics AX 4.0 - Smart customizations - watch it! (especally if you are novice Dynamics Ax developer). I can just add few thoughts: First of all - this sceencast recommends to subclass existing class, but i thing there asre some cases when it is better to tweak existing class. The most often case - when existing class has bad structure (for example LedgerJournalCheckPost in 3.0 - i don't know about 4.0 so much). If you have one large method which does all you can not just overide it to add some functionality - you often have to copy all it's body to the child and tweak it. I you do so you will have more problems when upgrading to the next version: you have not only to upgrade method of existing parent, but to modify all copied parts of the child and there is no obvious clues to find what parts to modify. Second, what can be done to make upgrades less painful:
Источник: http://axcoder.blogspot.com/2007/01/...t-smarter.html |
|
|
|