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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Minor flaw in Quality Orders in AX2009?

(0) ShareShare
ReportReport
Posted on by 9

 Situation:

 

When setting up quality association for a production order (before report as finished), the first time you invoke the "update status -> report as finished" button in axapta, it reports "Quality orders are generated" . It will not show any content in the report as finished screen until you finish the qualtity orders "fail/pass".

However, when you close the "report as finished" form and open it again, You get a warning "Open Qualtity Orders for this record", but it shows you the production order and you can report it finished.

When looking in the method "checkQualityAssociation" in the class "InventQualtityOrderType", the class documentation (comment) sounds  correct, but is not in line with the code itself.

 

COMMENT:

"/// <returns>
/// true if no open quality orders are found and no new quality order has been created; otherwise, false.
/// </returns> 

 

EXPECTS FOLLOWING LINE IS MISSING:

        orderTable = this.findOpenQualityOrder(associationTable.TestGroupId);
        if (orderTable)
        {
            warning("@SYS113925");
            ret = false;       //         <=== IN THIS CASE, I guess it must return false (it has an open qualtity order).
        }

 

Warm regards,

Dick de Jong

 

*This post is locked for comments

I have the same question (0)

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 July 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