Hello all,
I am using AX 2009 and I am trying to make a sum of all the transactions made in the QtyOrdered field. I want to make that sum and display it in the footer. It seems like the report already have some Sum Methods but it doesn't work they don't appear in the footer, I don't know why so I decided to create my own display method that would display the sum of that particular field and here it is:
Display InventQty SumQtyOrd()
{
Select Sum(QtyOrdered) From SalesLine;
Return SalesLine.QtyOrdered;
}
No errors on it, but it doesn't display on my report either. I guess I did something wrong but I don't know why. And I don't know why some valid (System) display methods like the ones used on this report do not display. They are good and they were made by Microsoft, but the footer is still empty.
Thanks in advance for your help and advices.
Cheers.