<?xml version="1.0" encoding="UTF-8"?> <action-sequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <name>Group Level Time Series Charting.xaction</name> <title>%title</title> <version>1</version> <documentation> <author/> <description>%description</description> <icon>PentahoReporting.png</icon> <help>This action-sequence was generated by the Report Design Wizard. To edit this action-sequence use the Pentaho Design Studio.</help> <result-type>report</result-type> </documentation> <inputs> <output-type type="string"> <default-value/> <sources> <request>type</request> </sources> </output-type> </inputs> <outputs> <report type="content"> <destinations> <response>content</response> </destinations> </report> </outputs> <resources> <!-- use this section to identify any files that the component needs to execute the report --> <report-definition> <solution-file> <location>group-level-time-series-charting.xml</location> <mime-type>text/xml</mime-type> </solution-file> </report-definition> </resources> <actions> <action-definition> <component-name>SQLLookupRule</component-name> <action-type>rule</action-type> <action-inputs/> <action-outputs> <rule-result type="result-set"/> </action-outputs> <component-definition> <jndi>SampleData</jndi> <query><![CDATA[SELECT PRODUCTLINE, PRODUCTNAME, CUSTOMERNAME, ORDERS.ORDERDATE, SUM(ORDERDETAILS.QUANTITYORDERED*ORDERDETAILS.PRICEEACH) SOLD_PRICE FROM ORDERS INNER JOIN ORDERDETAILS ON ORDERS.ORDERNUMBER = ORDERDETAILS.ORDERNUMBER INNER JOIN PRODUCTS ON ORDERDETAILS.PRODUCTCODE =PRODUCTS.PRODUCTCODE INNER JOIN CUSTOMERS ON ORDERS.CUSTOMERNUMBER =CUSTOMERS.CUSTOMERNUMBER INNER JOIN EMPLOYEES ON CUSTOMERS.SALESREPEMPLOYEENUMBER = EMPLOYEES.EMPLOYEENUMBER INNER JOIN OFFICES ON EMPLOYEES.OFFICECODE=OFFICES.OFFICECODE WHERE (ORDERS.ORDERDATE >= '2005-01-01' AND ORDERS.ORDERDATE <= '2005-06-30') AND PRODUCTLINE IN ('Classic Cars', 'Motorcycles', 'Planes', 'Ships') GROUP BY PRODUCTLINE, PRODUCTNAME, CUSTOMERNAME, ORDERS.ORDERDATE ORDER BY PRODUCTLINE desc, PRODUCTNAME, CUSTOMERNAME, ORDERS.ORDERDATE]]></query> </component-definition> </action-definition> <action-definition> <component-name>JFreeReportComponent</component-name> <action-type>report</action-type> <action-inputs> <data type="result-set" mapping="rule-result"/> </action-inputs> <action-resources> <report-definition type="resource"/> </action-resources> <action-outputs> <report type="content"/> </action-outputs> <component-definition> <output-type><![CDATA[html]]></output-type> </component-definition> </action-definition> </actions> </action-sequence>