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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans