web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Issue while Product Creation

(0) ShareShare
ReportReport
Posted on by 49,668 Super User 2026 Season 2

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

  • Guy Terry Profile Picture
    29,028 Moderator on at

    Hi Sohaib,

    If I go to the Form EcoResProductDetailsExtended and hit New -> Product, the EcoResProductCreate Form opens. Does this code skip the validation in this case?

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 2 on at

    yes, correct.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans