Following is about standard code of Dynamics AX:
caught eye on something fishy which is not making sense to me. in validatewrite method of InventTable I can see following code.
if (this.isFormDataSource() && this.dataSource().formRun().args().name() == formStr(EcoResProductDetailsExtended)) { _skipProductVariantUnitConversionValidation = true; }
Why validation is being skipped, if I create product using form named as EcoResProductDetailsExtended whereas validation is in place if product is created from any other form. please note that a product can be created from different forms.
if its a business validation, it should happen around from all entry points.
I would appreciate, if someone can have their say, on this. to me it does not makes sense.
*This post is locked for comments