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)

Display the stock min/max from the released item site specific order settings to "InventonhandItem" form

(0) ShareShare
ReportReport
Posted on by

Hi,

I would like to show the stock min/max from the released item site specific order settings to "InventonhandItem" form.suggest me the solution.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    just create display method in the inventsum table to retrieve your required data and show it in this form

  • Community Member Profile Picture
    on at

    There is no relation between the invent sum and InventitemInventsetup table.

  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    you can use itemid and inventdimid at the same time

  • Community Member Profile Picture
    on at

    Hi Mahmoud,

    I have written code in invnetsum table but min and max data is not retrieved correctly.Am I doing wrong.

    display Qty displayInventHigh()

    {

       InventTable InventTable;

       InventItemInventSetup   InventItemInventSetup;

       ;

        select HighestQty from InventItemInventSetup  join InventTable

           where InventItemInventSetup.ItemId == InventTable.ItemId;

         return InventItemInventSetup.HighestQty;

    }

  • Community Member Profile Picture
    on at

    Hi Mahmoud,

    Can you help me to display min and max value in the "InventOnhandItem" form.

  • Community Member Profile Picture
    on at

    Hi Muhammad,

    Can you give me sample code for min/max qty.I am not able to display the min/max qty in "InventOnhandItem" form.

  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    I have displayed the Stock Min and Max qty in "InventOnHandItem" form using Display in "Invent Sum" Data source.

    display Qty displayStockMinQty(InventSum _inventSum)

    {

       InventItemInventSetup   InventItemInventSetup;

       InventDimId inventDimIdBalnk;

       ;

       inventDimIdBalnk = InventDim::inventDimIdBlank();

       select  InventItemInventSetup

           where InventItemInventSetup.ItemId == _inventSum.ItemId

               && InventItemInventSetup.InventDimId == inventDimIdBalnk;

       return InventItemInventSetup.LowestQty;

    }

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans