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)

Closed and closedQty in inventsum table

(0) ShareShare
ReportReport
Posted on by 420

 Hi,

I would like to ask, do anyone know what AX mean for the  Closed and closedQty in inventsum table?

When Ax will update it?

If a record show Closed = no and CloseQty = Yes, this mean what?

 

Pls advice. Thanks very much.

Regards,

kongyu

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    Hi ! The closedQty flag informs that all quantities for given inventory item and inventory dimension set to zero. No item in stock, no item in process of receiving/shipping, also item is not expected to be sold/purchased/produced. The closed flag informs that the monetary balance for given item and inventory dimension is zero. Basically it means that all the costs related to given item was written-of from inventory account to COGS/WIP etc. Usually, the closed flag is set by inventory closing. (But in simple cases it can be set immediately during posting of inventory issue). Regards, Denis
  • Community Member Profile Picture
    on at

    Hello Fedotenko,

    Could you please explain that what do you mean by all quantities. If you mentioned quantity fileds name so it will be very helpful for me. Thanks.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    ClosesQty is true if all qty fields are zero.

    The qty fields are shown in InventSum.isAllQtyFieldsZero() method:

    public boolean isAllQtyFieldsZero()

    {

       return (this.PostedQty          == 0  &&

               this.Deducted           == 0  &&

               this.Picked             == 0  &&

               this.Received           == 0  &&

               this.Registered         == 0  &&

               this.ReservPhysical     == 0  &&

               this.ReservOrdered      == 0  &&

               this.OnOrder            == 0  &&

               this.Arrived            == 0  &&

               this.Ordered            == 0  &&

               this.QuotationReceipt   == 0  &&

               this.QuotationIssue     == 0 );

    }

    Closed is true if ClosesQty is true and all value fields are zero.

    The value fields are shown in InventSum.isAllValueFieldsZero() method:

    public boolean isAllValueFieldsZero()

    {

       return (this.PostedValue        == 0  &&

               this.PhysicalValue      == 0);

    }

    Regards, Dirk

  • Community Member Profile Picture
    on at

    Thanks both for the valuable answers.  Now its more clear.

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