Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Minor flaw in Quality Orders in AX2009?

Posted on by 90

 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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans