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)

Table to Create a report with Price and Cost per article, with Addin for excel

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am trying to search the name of the table for wich I could create a report showing the price and cost per article for a determinated Sale, using the addin for excel.

Thanks 

Jose

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    InventTableModule holds the sales/purchase/average inventory cost price, based on the inventory model group's price calculation and other setups related to the modules above. If that is not what you have meant, please provide additional details with screenshots in order to identify your requirements better.

  • Community Member Profile Picture
    on at

    something like that, but with the option to filter by product line.

    Thanks

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    I am not sure what "product line" is, but in AX terminology we do have ItemId on InventTableModule which is the unique identifier for a specific product.

  • Community Member Profile Picture
    on at

    Product Line as the financial dimension

  • Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    You can use the following job to filter the products based on financial dimension ProductLine.

    So main tables are InventTable, DimensionAttributeValueSetItem, DimensionAttributeValue and DimensionAttribute, EcoResProduct along with InventTableModule.

    static void ProductLine(Args _args)

    {

       InventTable                     inventTable;

       DimensionAttributeValueSetItem  dimensionAttributeValueSetItem;

       DimensionAttributeValue         dimensionAttributeValue;

       DimensionAttribute              dimensionAttribute;

       while select inventTable

         //  where inventTable.ItemId == "XYZ"

           join RecId, DisplayValue from dimensionAttributeValueSetItem

           where dimensionAttributeValueSetItem.DimensionAttributeValueSet == inventTable.DefaultDimension

           && dimensionAttributeValueSetItem.DisplayValue == "001" // Specify dimension value here

           join RecId from dimensionAttributeValue

               where dimensionAttributeValue.RecId == dimensionAttributeValueSetItem.DimensionAttributeValue

               join RecId, Name from dimensionAttribute

                   where dimensionAttribute.RecId == dimensionAttributeValue.DimensionAttribute

                   && dimensionAttribute.Name == "ProductLine" // specify dimension name here

       {

           info(strFmt("%1-%2", dimensionAttribute.Name, dimensionAttributeValueSetItem.DisplayValue));

       }

    }

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
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
GL-01081504-0 Profile Picture

GL-01081504-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans