Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

Group By clause on Table Methods (AX 2009)

$
0
0

Hi all,

                I am working on WrkCtrUtilizationTable . I have developed one report which will give me output as Item wise quantity production.

Following fields are there in the report:

ItemId

ProducedQty

ProductionTime etc.

The table contains methods as dispSalesValue and dispTonnage, I want summation of these 2 also.

For itemwise summation of Quantity and Time, I have used GroupBy clause in Data Source of the report as below.

1) Groupby --> itemid

2) Fields --> sum(ProducedQty)

3) Fields --> sum(ProductionTime)

By this,I got correct output as itemwise sum of ProducedQty and ProdutionTime.

Problem here is that I am unable to club the salesValue and tonnage as these are methods of the table.

So please tell me that how can I club or get sum of the methods of the table when I am using Group by ItemId clause?

I want output as:

Item Number    Quantity              Prod Time           Sales Value         Tonnage(Wt in Ton)

Item 123            -                                       -                             -                                           -

Item 456            -                                       -                             -                                           -

Item 789            -                                       -                             -                                           -

 

Please help me out on this soon.

Thanks in advance.

 


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>