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)

List of all released products with dimensions in AX 2012

(0) ShareShare
ReportReport
Posted on by

Is there an easy way to extract a list of all released product variants with dimensions (Config, size, color) for a company in AX 2012?.

If not, if there is any job, which could help do so, please share. Requirement is to get a list of Item ID, Config ID, Color ID, Size ID for all the released products in a company.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ivan (Vanya) Kashperuk Profile Picture
    on at

    static void Job1(Args _args)

    {

       InventDimCombination    releasedProductVariants;

       InventDim               inventDim;

       while select releasedProductVariants

           join inventDim

               where inventDim.inventDimId == releasedProductVariants.InventDimId

       {

           info(strFmt('%1 : %2 : %3 : %4 : %5', releasedProductVariants.ItemId, inventDim.configId, inventDim.InventColorId, inventDim.InventSizeId, inventDim.InventStyleId));      

       }

    }

  • Community Member Profile Picture
    on at

    Thanks Ivan. That did the job. But it turns out it brings only the items that have variants, and not the product subtype as product. Any clue?

  • Ivan (Vanya) Kashperuk Profile Picture
    on at

    Well, that's what you asked for in the original post - all product variants + dimensions.

    distinct products do not have variants, thus are not shown.

    if you want to also show the distinct products, please clarify what exactly and how you want displayed

    it should be relatively easy to change the above job, looping on inventtable before looping on inventdimcombination

  • BINAY KUMAR PANDEY Profile Picture
    135 on at

    Can you please let me know how to get the list of all Released Product both product and product mster .

    Inshort , I need to loop all Item which is  showing in releasedproduct list page .

    I have to save all those Item in a Temp table.

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