Skip to Content
0
Dec 08, 2009 at 09:38 PM

Best Practice for a given Scenario

30 Views

Hi all,

Suppose I've a following scenario:

Show in a page, a list of materials and in this same page to show a line with informations based on agregated functions (Count, Average and other calculations).

Initially I thought in declare a OutputMaterialsXML parameter that contains the material list and others OutputConsolidationXML parameters that contains the average, count based on material list, so using XPath I can populate all output on once.

If I want to use XAcuteQuery I need to decide what the output I will show, so I will need to create tow XAcuteQuery, but it will impact on performance, because I'll need to execute the same transaction two times.

Does anybody has a good approach to this case?

Best regards