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)

Released product report with unit of measure?

(0) ShareShare
ReportReport
Posted on by 105

Hello,

We are curious if there is a way to pull a report that would show us the following:

- Item Number
- Product  Name
- Inventory unit of measure 

We have searched through the released products section under Product Information Management and attempted to customize the report view, but could not find a definite resolution. 

*This post is locked for comments

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please use the following job to get the intended data and let me know if anything is missing.

    static void AXC_UnitOfMeasure(Args _args)
    {
        InventTableModule inventTableModule;
        InventTable       inventTable;
        EcoResProduct     ecoResProduct;
        
        while select inventTable
        //where inventTable.itemid == "XYZ" // Specify your required ItemId/product        
        join ecoResProduct         
        where inventTable.Product == ecoResProduct.RecId        
        join inventTableModule
        where inventTableModule.ItemId == InventTable.ItemId
        {
            info(strFmt("Item Number: %1, Product Name:%2, Module: %3, UnitOfMeasure:%4", inventTable.itemid, ecoResProduct.productName(), inventTableModule.ModuleType, inventTableModule.UnitId));
        }
    }

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

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans