Hi Navision Gurus!
I have the followins structure of a table, having only three fields.
1) Item No.
2) Description
3) Unit Cost
In this table, items are repeated with different Unit cost. I need a report which will get me the "Average Unit Cost" (as fourth column) if the item is repeated in this table and the Unit Cost is different, if the Unit Cost is not different, nothing should be done.
Hope you guys will support a newcommer.
All the best.
Do to others as you wish others to do to you.
0
Comments
I hope it helps.... O:)
Technical Consultant, MS Dynamics NAV
1) Group by Item color=blue]propperty : GroupTotalFields[/color (So Item should be a field in active key)
2) Total for the Quantity color=blue]propperty : TotalFields[/color
3) keep counting the the no. of records in table with a Item No. (say NoOfItems)
4) In the group footer -- put source expression of your textBox showing average as color=blue]Quantity/NoOfItems[/color
5) Once group footer is printed- means, Item chnages now. So initialize the [NoOfItems] and then again count the [NoOfItems] for the next Item.
This is the whole idea. Implement as you want.
The above sample report may give you some help. :P
Technical Consultant, MS Dynamics NAV
Take care