Created
July 24, 2022 16:01
-
-
Save mygeekdaddy/03b0d07f0aaec04686e3866d2b59772a to your computer and use it in GitHub Desktop.
WO Backlog Heat Map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1"> | |
<property name="author">Jason Verly</property> | |
<property name="comments">Copyright 2022 - Jason Verly | |
| |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| |
09-19764@000</property> | |
<property name="createdBy">Eclipse BIRT Designer Version 4.3.1.v201309091055 Build <4.3.1.v20130917-1035></property> | |
<text-property name="title">Work Order Aging Heat Map</text-property> | |
<html-property name="description">Matrix summary of work order backlog by date range with gradient heat map to identify areas of concern.</html-property> | |
<property name="units">in</property> | |
<method name="initialize"><![CDATA[importPackage(Packages.com.ibm.tivoli.maximo.report.script); | |
//rem | |
mxReportScriptContext = MXReportScriptContext.initialize(reportContext); | |
mxReportScriptContext.setDefaultLogLevel("DEBUG"); | |
mxReportScriptContext.setDefaultLogFile("c:/temp/aging_heat_map.log");]]></method> | |
<method name="beforeFactory"><![CDATA[// Remove page break intervals from PDF output | |
if ( (reportContext.getParameterValue("usepagebreaks") == "false")|| reportContext.getOutputFormat() == "pdf" ) { | |
// Give each table in the report a name, and add the names to the list below, e.g. ["mainTable", "childTable1"] | |
var tableListing = ["mainTable"]; | |
for each(var tableName in tableListing) { | |
var table = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement(tableName) | |
if (table != null) | |
{ | |
table.setProperty("pageBreakInterval", 0); | |
} | |
} | |
}]]></method> | |
<method name="afterFactory"><![CDATA[MXReportScriptContext.close();]]></method> | |
<property name="theme">MaximoSystemLibrary.maximoTheme</property> | |
<property name="layoutPreference">auto layout</property> | |
<property name="bidiLayoutOrientation">ltr</property> | |
<list-property name="libraries"> | |
<structure> | |
<property name="fileName">MaximoSystemLibrary.rptlibrary</property> | |
<property name="namespace">MaximoSystemLibrary</property> | |
</structure> | |
</list-property> | |
<parameters> | |
<scalar-parameter name="where" id="25"> | |
<property name="valueType">static</property> | |
<property name="isRequired">false</property> | |
<property name="dataType">string</property> | |
<simple-property-list name="defaultValue"> | |
<value type="constant">1=1</value> | |
</simple-property-list> | |
<property name="controlType">text-box</property> | |
<structure name="format"> | |
<property name="category">Unformatted</property> | |
</structure> | |
</scalar-parameter> | |
<scalar-parameter name="appname" id="200"> | |
<property name="valueType">static</property> | |
<property name="isRequired">false</property> | |
<property name="dataType">string</property> | |
<property name="controlType">text-box</property> | |
<structure name="format"> | |
<property name="category">Unformatted</property> | |
</structure> | |
</scalar-parameter> | |
<scalar-parameter name="paramdelimiter" id="202"> | |
<property name="hidden">true</property> | |
<property name="valueType">static</property> | |
<property name="isRequired">false</property> | |
<property name="dataType">string</property> | |
<property name="controlType">text-box</property> | |
<structure name="format"> | |
<property name="category">Unformatted</property> | |
</structure> | |
</scalar-parameter> | |
<scalar-parameter name="paramstring" id="201"> | |
<property name="hidden">true</property> | |
<property name="valueType">static</property> | |
<property name="isRequired">false</property> | |
<property name="dataType">string</property> | |
<property name="controlType">text-box</property> | |
<structure name="format"> | |
<property name="category">Unformatted</property> | |
</structure> | |
</scalar-parameter> | |
<scalar-parameter name="usepagebreaks" id="342"> | |
<property name="hidden">true</property> | |
<property name="valueType">static</property> | |
<property name="isRequired">false</property> | |
<property name="dataType">string</property> | |
<property name="distinct">true</property> | |
<simple-property-list name="defaultValue"> | |
<value type="constant">true</value> | |
</simple-property-list> | |
<property name="paramType">simple</property> | |
<property name="controlType">text-box</property> | |
<structure name="format"> | |
<property name="category">Unformatted</property> | |
</structure> | |
</scalar-parameter> | |
</parameters> | |
<data-sources> | |
<script-data-source name="maximoDataSource" id="64" extends="MaximoSystemLibrary.maximoDataSource"/> | |
</data-sources> | |
<data-sets> | |
<script-data-set name="dataSet" id="5"> | |
<list-property name="resultSetHints"> | |
<structure> | |
<property name="position">1</property> | |
<property name="name">wonum</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">2</property> | |
<property name="name">worktype</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">3</property> | |
<property name="name">siteid</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">4</property> | |
<property name="name">status</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">5</property> | |
<property name="name">pmnum</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">6</property> | |
<property name="name">reportdate</property> | |
<property name="dataType">date-time</property> | |
</structure> | |
<structure> | |
<property name="position">7</property> | |
<property name="name">targstartdate</property> | |
<property name="dataType">date-time</property> | |
</structure> | |
</list-property> | |
<list-property name="columnHints"> | |
<structure> | |
<property name="columnName">wonum</property> | |
</structure> | |
<structure> | |
<property name="columnName">worktype</property> | |
</structure> | |
<structure> | |
<property name="columnName">siteid</property> | |
</structure> | |
<structure> | |
<property name="columnName">status</property> | |
</structure> | |
<structure> | |
<property name="columnName">pmnum</property> | |
</structure> | |
<structure> | |
<property name="columnName">reportdate</property> | |
</structure> | |
<structure> | |
<property name="columnName">targstartdate</property> | |
</structure> | |
</list-property> | |
<structure name="cachedMetaData"> | |
<list-property name="resultSet"> | |
<structure> | |
<property name="position">1</property> | |
<property name="name">wonum</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">2</property> | |
<property name="name">worktype</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">3</property> | |
<property name="name">siteid</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">4</property> | |
<property name="name">status</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">5</property> | |
<property name="name">pmnum</property> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="position">6</property> | |
<property name="name">reportdate</property> | |
<property name="dataType">date-time</property> | |
</structure> | |
<structure> | |
<property name="position">7</property> | |
<property name="name">targstartdate</property> | |
<property name="dataType">date-time</property> | |
</structure> | |
</list-property> | |
</structure> | |
<property name="dataSource">maximoDataSource</property> | |
<method name="open"><![CDATA[maximoDataSet = MXReportDataSetProvider.create(this.getDataSource().getName(), this.getName()); | |
maximoDataSet.open(); | |
var sqlText = new String(); | |
// Add query to sqlText variable. | |
sqlText = "select workorder.wonum, workorder.worktype, workorder.siteid, workorder.status, " | |
+ " workorder.pmnum, workorder.reportdate, workorder.targstartdate " | |
+ " from workorder " | |
// Include the Maximo where clause | |
+ " where " + params["where"] | |
+ " and istask=0 and historyflag=0 and (status <> 'COMP' and status <> 'WPCOND' and status <> 'W-MGR') " | |
+ " and (workorder.wrtype is null or workorder.wrtype <> 'QA') " | |
+ " and ( (workorder.pmnum is not null and workorder.targstartdate < dateadd(d,0,datediff(d,-1,getdate())) )" | |
+ " or (workorder.pmnum is null and workorder.reportdate < dateadd(d,0,datediff(d,-1,getdate())) ) )" | |
; | |
maximoDataSet.setQuery(sqlText);]]></method> | |
<method name="fetch"><![CDATA[if (!maximoDataSet.fetch()) | |
return (false); | |
// Add a line for each output column | |
// The specific get method should match the data type of the output column. | |
row["wonum"] = maximoDataSet.getString("wonum"); | |
row["worktype"] = maximoDataSet.getString("worktype"); | |
row["siteid"] = maximoDataSet.getString("siteid"); | |
row["status"] = maximoDataSet.getString("status"); | |
row["pmnum"] = maximoDataSet.getString("pmnum"); | |
row["reportdate"] = maximoDataSet.getTimestamp("reportdate"); | |
row["targstartdate"] = maximoDataSet.getTimestamp("targstartdate"); | |
return (true);]]></method> | |
</script-data-set> | |
</data-sets> | |
<styles> | |
<style name="crosstab-cell" id="370"> | |
<property name="borderBottomColor">#CCCCCC</property> | |
<property name="borderBottomStyle">solid</property> | |
<property name="borderBottomWidth">1pt</property> | |
<property name="borderLeftColor">#CCCCCC</property> | |
<property name="borderLeftStyle">solid</property> | |
<property name="borderLeftWidth">1pt</property> | |
<property name="borderRightColor">#CCCCCC</property> | |
<property name="borderRightStyle">solid</property> | |
<property name="borderRightWidth">1pt</property> | |
<property name="borderTopColor">#CCCCCC</property> | |
<property name="borderTopStyle">solid</property> | |
<property name="borderTopWidth">1pt</property> | |
</style> | |
<style name="crosstab" id="371"> | |
<property name="borderBottomColor">#CCCCCC</property> | |
<property name="borderBottomStyle">solid</property> | |
<property name="borderBottomWidth">1pt</property> | |
<property name="borderLeftColor">#CCCCCC</property> | |
<property name="borderLeftStyle">solid</property> | |
<property name="borderLeftWidth">1pt</property> | |
<property name="borderRightColor">#CCCCCC</property> | |
<property name="borderRightStyle">solid</property> | |
<property name="borderRightWidth">1pt</property> | |
<property name="borderTopColor">#CCCCCC</property> | |
<property name="borderTopStyle">solid</property> | |
<property name="borderTopWidth">1pt</property> | |
</style> | |
</styles> | |
<page-setup> | |
<simple-master-page name="maximoPortrait" id="343" extends="MaximoSystemLibrary.maximoPortrait"> | |
<overridden-values> | |
<ref-entry baseId="342" name="NewGrid21" id="344"/> | |
<ref-entry baseId="343" id="345"/> | |
<ref-entry baseId="344" id="346"/> | |
<ref-entry baseId="345" id="347"/> | |
<ref-entry baseId="346" id="348"/> | |
<ref-entry baseId="348" id="350"/> | |
<ref-entry baseId="349" name="NewImage2" id="351"/> | |
<ref-entry baseId="350" name="NewGrid3" id="352"> | |
<property name="verticalAlign">middle</property> | |
</ref-entry> | |
<ref-entry baseId="351" id="353"/> | |
<ref-entry baseId="352" id="354"/> | |
<ref-entry baseId="353" id="355"> | |
<property name="verticalAlign">middle</property> | |
</ref-entry> | |
<ref-entry baseId="354" id="356"/> | |
<ref-entry baseId="355" name="NewText2" id="357"/> | |
<ref-entry baseId="356" id="358"/> | |
<ref-entry baseId="357" name="NewGrid11" id="359"/> | |
<ref-entry baseId="358" id="360"/> | |
<ref-entry baseId="359" id="361"/> | |
<ref-entry baseId="360" id="362"/> | |
<ref-entry baseId="361" id="363"> | |
<property name="verticalAlign">middle</property> | |
</ref-entry> | |
<ref-entry baseId="362" id="364"/> | |
<ref-entry baseId="363" name="NewAutoText2" id="365"/> | |
<ref-entry baseId="364" id="366"/> | |
<ref-entry baseId="365" name="NewText11" id="367"> | |
<property name="textAlign">center</property> | |
</ref-entry> | |
<ref-entry baseId="366" id="368"/> | |
<ref-entry baseId="367" name="NewAutoText11" id="369"> | |
<property name="textAlign">left</property> | |
</ref-entry> | |
</overridden-values> | |
</simple-master-page> | |
</page-setup> | |
<body> | |
<table name="mainTable" id="7"> | |
<property name="comments">09-19764@000</property> | |
<property name="fontFamily">sans-serif</property> | |
<property name="width">100%</property> | |
<property name="dataSet">dataSet</property> | |
<list-property name="boundDataColumns"> | |
<structure> | |
<property name="name">total_rec</property> | |
<expression name="expression">Total.count()</expression> | |
<property name="dataType">any</property> | |
</structure> | |
<structure> | |
<property name="name">wonum</property> | |
<text-property name="displayName">wonum</text-property> | |
<expression name="expression">dataSetRow["wonum"]</expression> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="name">worktype</property> | |
<text-property name="displayName">worktype</text-property> | |
<expression name="expression">dataSetRow["worktype"]</expression> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="name">wo_age</property> | |
<text-property name="displayName">wo_age</text-property> | |
<expression name="expression">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) } else {BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) }</expression> | |
<property name="dataType">decimal</property> | |
</structure> | |
<structure> | |
<property name="name">pmnum</property> | |
<text-property name="displayName">pmnum</text-property> | |
<expression name="expression">dataSetRow["pmnum"]</expression> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="name">reportdate</property> | |
<text-property name="displayName">reportdate</text-property> | |
<expression name="expression">dataSetRow["reportdate"]</expression> | |
<property name="dataType">date-time</property> | |
</structure> | |
<structure> | |
<property name="name">targstartdate</property> | |
<text-property name="displayName">targstartdate</text-property> | |
<expression name="expression">dataSetRow["targstartdate"]</expression> | |
<property name="dataType">date-time</property> | |
</structure> | |
<structure> | |
<property name="name">0d_7d</property> | |
<text-property name="displayName">0d_7d</text-property> | |
<property name="dataType">integer</property> | |
<simple-property-list name="aggregateOn"> | |
<value>worktypeGrp</value> | |
</simple-property-list> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 7} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 7 }</expression> | |
</structure> | |
<structure> | |
<property name="name">tot_0d_7d</property> | |
<text-property name="displayName">tot_0d_7d</text-property> | |
<property name="dataType">integer</property> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 7} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 7 }</expression> | |
</structure> | |
<structure> | |
<property name="name">7d_14d</property> | |
<text-property name="displayName">7d_14d</text-property> | |
<property name="dataType">integer</property> | |
<simple-property-list name="aggregateOn"> | |
<value>worktypeGrp</value> | |
</simple-property-list> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value" type="javascript">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr" type="javascript">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 7 && BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 15} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 7 && BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 15 }</expression> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">tot_7d_14d</property> | |
<text-property name="displayName">tot_7d_14d</text-property> | |
<property name="dataType">integer</property> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 7 && BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 14} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 7 && BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 14 }</expression> | |
</structure> | |
<structure> | |
<property name="name">14d_30d</property> | |
<text-property name="displayName">14d_30d</text-property> | |
<property name="dataType">integer</property> | |
<simple-property-list name="aggregateOn"> | |
<value>worktypeGrp</value> | |
</simple-property-list> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value" type="javascript">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr" type="javascript">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 15 && BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 31} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 15 && BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 31 }</expression> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">tot_14d_30d</property> | |
<text-property name="displayName">tot_14d_30d</text-property> | |
<property name="dataType">integer</property> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 14 && BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 30} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 14 && BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 30 }</expression> | |
</structure> | |
<structure> | |
<property name="name">30d_60d</property> | |
<text-property name="displayName">30d_60d</text-property> | |
<property name="dataType">integer</property> | |
<simple-property-list name="aggregateOn"> | |
<value>worktypeGrp</value> | |
</simple-property-list> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value" type="javascript">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr" type="javascript">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 31 && BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 61} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 31 && BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 61 }</expression> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">tot_30d_60d</property> | |
<text-property name="displayName">tot_30d_60d</text-property> | |
<property name="dataType">integer</property> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 30 && BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) < 60} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 30 && BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) < 60 }</expression> | |
</structure> | |
<structure> | |
<property name="name">60d+</property> | |
<text-property name="displayName">60d+</text-property> | |
<property name="dataType">integer</property> | |
<simple-property-list name="aggregateOn"> | |
<value>worktypeGrp</value> | |
</simple-property-list> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value" type="javascript">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr" type="javascript">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 61 } else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 61 }</expression> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">tot_60d+</property> | |
<text-property name="displayName">tot_60d+</text-property> | |
<property name="dataType">integer</property> | |
<property name="aggregateFunction">COUNT</property> | |
<list-property name="arguments"> | |
<structure> | |
<property name="name">Expression</property> | |
<expression name="value">row["wonum"]</expression> | |
</structure> | |
</list-property> | |
<expression name="filterExpr">if (dataSetRow["pmnum"] == null) {BirtDateTime.diffDay(dataSetRow["reportdate"], BirtDateTime.now()) >= 60} else { BirtDateTime.diffDay(dataSetRow["targstartdate"], BirtDateTime.now()) >= 60 }</expression> | |
</structure> | |
<structure> | |
<property name="name">siteid</property> | |
<text-property name="displayName">siteid</text-property> | |
<expression name="expression">dataSetRow["siteid"]</expression> | |
<property name="dataType">string</property> | |
</structure> | |
<structure> | |
<property name="name">0_7cnt</property> | |
<text-property name="displayName">0_7cnt</text-property> | |
<expression name="expression" type="javascript">if (row["0d_7d"] == 0) {0} | |
else if (row["0d_7d"] <=15) {1} | |
else if (row["0d_7d"] <=45) {2} | |
else if (row["0d_7d"] <=90) {3} | |
else if (row["0d_7d"] <=135) {4} | |
else {5}</expression> | |
<property name="dataType">integer</property> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">7_14cnt</property> | |
<text-property name="displayName">7_14cnt</text-property> | |
<expression name="expression" type="javascript">if (row["7d_14d"] == 0) {0} | |
else if (row["7d_14d"] <=15) {1} | |
else if (row["7d_14d"] <= 45) {2} | |
else if (row["7d_14d"] <= 90) {3} | |
else if (row["7d_14d"] <=135) {4} | |
else {5}</expression> | |
<property name="dataType">string</property> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">14_30cnt</property> | |
<text-property name="displayName">14_30cnt</text-property> | |
<expression name="expression" type="javascript">if (row["14d_30d"] == 0) {0} | |
else if (row["14d_30d"] <=15) {1} | |
else if (row["14d_30d"] <=45) {2} | |
else if (row["14d_30d"] <=90) {3} | |
else if (row["14d_30d"] <=135) {4} | |
else {5}</expression> | |
<property name="dataType">integer</property> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">30_60cnt</property> | |
<text-property name="displayName">30_60cnt</text-property> | |
<expression name="expression" type="javascript">if (row["30d_60d"] == 0) {0} | |
else if (row["30d_60d"] <=15) {1} | |
else if (row["30d_60d"] <=45) {2} | |
else if (row["30d_60d"] <=90) {3} | |
else if (row["30d_60d"] <=135) {4} | |
else {5}</expression> | |
<property name="dataType">integer</property> | |
<property name="allowExport">true</property> | |
</structure> | |
<structure> | |
<property name="name">60_cnt</property> | |
<text-property name="displayName">60_cnt</text-property> | |
<expression name="expression" type="javascript">if (row["60d+"] == 0) {0} | |
else if (row["60d+"] <=15) {1} | |
else if (row["60d+"] <=45) {2} | |
else if (row["60d+"] <=90) {3} | |
else if (row["60d+"] <=135) {4} | |
else {5}</expression> | |
<property name="dataType">integer</property> | |
<property name="allowExport">true</property> | |
</structure> | |
</list-property> | |
<property name="pageBreakInterval">0</property> | |
<column id="83"> | |
<property name="width">1in</property> | |
</column> | |
<column id="79"> | |
<property name="width">1in</property> | |
</column> | |
<column id="91"> | |
<property name="width">1in</property> | |
</column> | |
<column id="87"> | |
<property name="width">1in</property> | |
</column> | |
<column id="17"> | |
<property name="width">1in</property> | |
</column> | |
<column id="18"> | |
<property name="width">1in</property> | |
</column> | |
<column id="429"/> | |
<header> | |
<row id="180"> | |
<property name="style">title</property> | |
<property name="fontSize">12pt</property> | |
<cell id="181"> | |
<property name="colSpan">6</property> | |
<property name="rowSpan">1</property> | |
<text-data id="571"> | |
<expression name="valueExpr">'Work Order Aging Summary - ' + row["siteid"]</expression> | |
<property name="contentType">html</property> | |
</text-data> | |
</cell> | |
<cell id="418"/> | |
</row> | |
<row id="173"> | |
<property name="height">0.08in</property> | |
<cell id="174"> | |
<property name="colSpan">6</property> | |
<property name="rowSpan">1</property> | |
<property name="borderBottomColor">#000000</property> | |
<property name="borderBottomStyle">solid</property> | |
<property name="borderBottomWidth">thin</property> | |
</cell> | |
<cell id="419"> | |
<property name="borderBottomColor">#000000</property> | |
<property name="borderBottomStyle">solid</property> | |
<property name="borderBottomWidth">thin</property> | |
</cell> | |
</row> | |
<row id="144"> | |
<property name="height">0.06in</property> | |
<cell id="145"> | |
<property name="colSpan">6</property> | |
<property name="rowSpan">1</property> | |
</cell> | |
<cell id="421"/> | |
</row> | |
<row id="8"> | |
<property name="style">tabledetailslabel</property> | |
<property name="fontSize">9pt</property> | |
<property name="textAlign">center</property> | |
<cell id="80"> | |
<property name="style">tabledetailslabelcell</property> | |
<label id="96"> | |
<text-property name="text">WO Type</text-property> | |
</label> | |
</cell> | |
<cell id="76"> | |
<property name="style">tabledetailslabelcell</property> | |
<label id="394"> | |
<text-property name="text">< 7d</text-property> | |
</label> | |
</cell> | |
<cell id="88"> | |
<property name="style">tabledetailslabelcell</property> | |
<label id="395"> | |
<text-property name="text">7d - 14d</text-property> | |
</label> | |
</cell> | |
<cell id="84"> | |
<property name="style">tabledetailslabelcell</property> | |
<label id="396"> | |
<text-property name="text">15d - 30d</text-property> | |
</label> | |
</cell> | |
<cell id="9"> | |
<property name="style">tabledetailslabelcell</property> | |
<label id="397"> | |
<text-property name="text">31d - 60d</text-property> | |
</label> | |
</cell> | |
<cell id="10"> | |
<property name="style">tabledetailslabelcell</property> | |
<label id="398"> | |
<text-property name="text">60d +</text-property> | |
</label> | |
</cell> | |
<cell id="422"> | |
<property name="style">tabledetailslabelcell</property> | |
</cell> | |
</row> | |
</header> | |
<group id="378"> | |
<property name="groupName">worktypeGrp</property> | |
<property name="interval">none</property> | |
<property name="sortDirection">asc</property> | |
<expression name="keyExpr">row["worktype"]</expression> | |
<structure name="toc"> | |
<expression name="expressionValue">row["worktype"]</expression> | |
</structure> | |
<property name="repeatHeader">true</property> | |
<property name="hideDetail">false</property> | |
<property name="pageBreakAfter">auto</property> | |
<property name="pageBreakBefore">auto</property> | |
<property name="pageBreakInside">auto</property> | |
<header> | |
<row id="447"> | |
<property name="fontSize">8pt</property> | |
<property name="textAlign">center</property> | |
<property name="pageBreakBefore">avoid</property> | |
<cell id="448"> | |
<property name="paddingTop">1px</property> | |
<property name="paddingLeft">1px</property> | |
<property name="paddingBottom">1px</property> | |
<property name="paddingRight">1px</property> | |
<data id="393"> | |
<property name="resultSetColumn">worktype</property> | |
</data> | |
</cell> | |
<cell id="449"> | |
<property name="paddingTop">1px</property> | |
<property name="paddingLeft">1px</property> | |
<property name="paddingBottom">1px</property> | |
<property name="paddingRight">1px</property> | |
<list-property name="highlightRules"> | |
<structure> | |
<property name="operator">eq</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">0</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#DDDDDD</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">1</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">2</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00BFFF</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">3</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#007FFF</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">4</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#003FFF</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">5</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000DF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["0_7cnt"]*1</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">6</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
<data id="400"> | |
<method name="onRender"><![CDATA[if( this.getValue() < 41) | |
{ | |
this.getStyle().color = "#000000" | |
} | |
else this.getStyle().color = "#ffffff"]]></method> | |
<property name="resultSetColumn">0d_7d</property> | |
<list-property name="action"> | |
<structure> | |
<property name="linkType">drill-through</property> | |
<property name="reportName">open_wo_list_overall-linked.rptdesign</property> | |
<property name="targetWindow">_self</property> | |
<property name="targetFileType">report-design</property> | |
<list-property name="paramBindings"> | |
<structure> | |
<property name="paramName">where</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">" workorder.historyflag=0 and (workorder.status <> 'COMP' and workorder.status <> 'WPCOND' and workorder.status <> 'W-MGR') and workorder.worktype = '" + row["worktype"] + "' " + " and workorder.siteid = '" + row["siteid"] + "'" + " and ( (workorder.pmnum is null and cast((getdate()-workorder.reportdate) as int) < 7) or (workorder.pmnum is not null and (cast((getdate()-workorder.targstartdate) as int) < 7) and (cast((getdate()-workorder.targstartdate) as int) >= 0) ) ) "</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="paramName">appname</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">params["appname"]</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
</structure> | |
</list-property> | |
</data> | |
</cell> | |
<cell id="450"> | |
<property name="backgroundAttachment">scroll</property> | |
<property name="backgroundImageType">url</property> | |
<property name="backgroundPositionX">0%</property> | |
<property name="backgroundPositionY">0%</property> | |
<property name="backgroundRepeat">repeat</property> | |
<property name="backgroundSizeHeight">auto</property> | |
<property name="backgroundSizeWidth">auto</property> | |
<property name="fontFamily">sans-serif</property> | |
<property name="fontSize">8pt</property> | |
<property name="fontWeight">normal</property> | |
<property name="fontStyle">normal</property> | |
<property name="fontVariant">normal</property> | |
<property name="color">#000000</property> | |
<property name="textLineThrough">none</property> | |
<property name="textOverline">none</property> | |
<property name="textUnderline">none</property> | |
<property name="borderBottomColor">black</property> | |
<property name="borderBottomStyle">none</property> | |
<property name="borderBottomWidth">medium</property> | |
<property name="borderLeftColor">black</property> | |
<property name="borderLeftStyle">none</property> | |
<property name="borderLeftWidth">medium</property> | |
<property name="borderRightColor">black</property> | |
<property name="borderRightStyle">none</property> | |
<property name="borderRightWidth">medium</property> | |
<property name="borderTopColor">black</property> | |
<property name="borderTopStyle">none</property> | |
<property name="borderTopWidth">medium</property> | |
<property name="marginTop">0pt</property> | |
<property name="marginLeft">0pt</property> | |
<property name="marginBottom">0pt</property> | |
<property name="marginRight">0pt</property> | |
<property name="paddingTop">1px</property> | |
<property name="paddingLeft">1px</property> | |
<property name="paddingBottom">1px</property> | |
<property name="paddingRight">1px</property> | |
<property name="textAlign">center</property> | |
<property name="textIndent">0em</property> | |
<property name="letterSpacing">normal</property> | |
<property name="lineHeight">normal</property> | |
<property name="orphans">2</property> | |
<property name="textTransform">none</property> | |
<property name="whiteSpace">normal</property> | |
<property name="widows">2</property> | |
<property name="wordSpacing">normal</property> | |
<property name="display">block</property> | |
<property name="pageBreakAfter">auto</property> | |
<property name="pageBreakBefore">auto</property> | |
<property name="pageBreakInside">auto</property> | |
<property name="showIfBlank">false</property> | |
<property name="canShrink">false</property> | |
<property name="overflow">hidden</property> | |
<property name="width">1in</property> | |
<list-property name="highlightRules"> | |
<structure> | |
<property name="operator">eq</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">0</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">1</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">2</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00BFFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">3</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#007FFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">4</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#003FFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">5</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000DF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">6</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000BF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">8</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00009F</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["7_14cnt"]*2</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">10</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
<data id="409"> | |
<method name="onRender"><![CDATA[if( this.getValue() < 31) | |
{ | |
this.getStyle().color = "#000000" | |
} | |
else this.getStyle().color = "#ffffff"]]></method> | |
<property name="resultSetColumn">7d_14d</property> | |
<list-property name="action"> | |
<structure> | |
<property name="linkType">drill-through</property> | |
<property name="reportName">open_wo_list_overall-linked.rptdesign</property> | |
<property name="targetWindow">_self</property> | |
<property name="targetFileType">report-design</property> | |
<list-property name="paramBindings"> | |
<structure> | |
<property name="paramName">where</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">" workorder.historyflag=0 and (workorder.status <> 'COMP' and workorder.status <> 'WPCOND' and workorder.status <> 'W-MGR') and workorder.worktype = '" + row["worktype"] + "' " + " and workorder.siteid = '" + row["siteid"] + "'" + " and ( (workorder.pmnum is null and (cast((getdate()-workorder.reportdate) as int) >= 7) and (cast((getdate()-workorder.reportdate) as int) < 15) ) or (workorder.pmnum is not null and (cast((getdate()-workorder.targstartdate) as int) >= 7) and (cast((getdate()-workorder.targstartdate) as int) < 15) ) ) "</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="paramName">appname</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">params["appname"]</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
</structure> | |
</list-property> | |
</data> | |
</cell> | |
<cell id="451"> | |
<property name="paddingTop">1px</property> | |
<property name="paddingLeft">1px</property> | |
<property name="paddingBottom">1px</property> | |
<property name="paddingRight">1px</property> | |
<list-property name="highlightRules"> | |
<structure> | |
<property name="operator">eq</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">0</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">1</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">2</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00BFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">3</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#007FFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">4</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#003FFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">5</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000DF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">6</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00007F</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">8</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#3F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">12</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#7F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">15</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#9F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">16</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#FF005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["14_30cnt"]*3</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">20</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
<data id="411"> | |
<method name="onRender"><![CDATA[if( this.getValue() < 1) | |
{ | |
this.getStyle().color = "#000000" | |
} | |
else this.getStyle().color = "#ffffff"]]></method> | |
<property name="resultSetColumn">14d_30d</property> | |
<list-property name="action"> | |
<structure> | |
<property name="linkType">drill-through</property> | |
<property name="reportName">open_wo_list_overall-linked.rptdesign</property> | |
<property name="targetWindow">_blank</property> | |
<property name="targetFileType">report-design</property> | |
<list-property name="paramBindings"> | |
<structure> | |
<property name="paramName">where</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">" workorder.historyflag=0 and (workorder.status <> 'COMP' and workorder.status <> 'WPCOND' and workorder.status <> 'W-MGR') and workorder.worktype = '" + row["worktype"] + "' " + " and workorder.siteid = '" + row["siteid"] + "'" + " and ( (workorder.pmnum is null and (cast((getdate()-workorder.reportdate) as int) >= 15) and (cast((getdate()-workorder.reportdate) as int) < 31) ) or (workorder.pmnum is not null and (cast((getdate()-workorder.targstartdate) as int) >= 15) and (cast((getdate()-workorder.targstartdate) as int) < 31) ) ) "</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="paramName">appname</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">params["appname"]</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
</structure> | |
</list-property> | |
</data> | |
</cell> | |
<cell id="452"> | |
<property name="paddingTop">1px</property> | |
<property name="paddingLeft">1px</property> | |
<property name="paddingBottom">1px</property> | |
<property name="paddingRight">1px</property> | |
<list-property name="highlightRules"> | |
<structure> | |
<property name="operator">eq</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">0</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">1</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">2</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00BFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">3</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#007FFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">4</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#003FFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">5</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000DF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">6</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000BF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">8</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00007F</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">10</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#3F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">12</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#7F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">15</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#9F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">16</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#FF005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["30_60cnt"]*4</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">20</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
<data id="412"> | |
<method name="onRender"><![CDATA[if( this.getValue() < 1) | |
{ | |
this.getStyle().color = "#000000" | |
} | |
else this.getStyle().color = "#ffffff"]]></method> | |
<property name="resultSetColumn">30d_60d</property> | |
<list-property name="action"> | |
<structure> | |
<property name="linkType">drill-through</property> | |
<property name="reportName">open_wo_list_overall-linked.rptdesign</property> | |
<property name="targetWindow">_self</property> | |
<property name="targetFileType">report-design</property> | |
<list-property name="paramBindings"> | |
<structure> | |
<property name="paramName">where</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">" workorder.historyflag=0 and (workorder.status <> 'COMP' and workorder.status <> 'WPCOND' and workorder.status <> 'W-MGR') and workorder.worktype = '" + row["worktype"] + "' " + " and workorder.siteid = '" + row["siteid"] + "'" + " and ( (workorder.pmnum is null and (cast((getdate()-workorder.reportdate) as int) >= 31) and (cast((getdate()-workorder.reportdate) as int) < 61) ) or (workorder.pmnum is not null and (cast((getdate()-workorder.targstartdate) as int) >= 31) and (cast((getdate()-workorder.targstartdate) as int) < 61) ) ) "</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="paramName">appname</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">params["appname"]</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
</structure> | |
</list-property> | |
</data> | |
</cell> | |
<cell id="453"> | |
<property name="paddingTop">1px</property> | |
<property name="paddingLeft">1px</property> | |
<property name="paddingBottom">1px</property> | |
<property name="paddingRight">1px</property> | |
<list-property name="highlightRules"> | |
<structure> | |
<property name="operator">eq</property> | |
<property name="backgroundColor">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">0</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">1</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#D9D9D9</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">2</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00BFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">3</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#007FFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">4</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#003FFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">5</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000DF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">6</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#0000BF</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">8</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00009F</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">9</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#00007F</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">10</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#3F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">12</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#7F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">15</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#9F005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">16</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#FF005B</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">20</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="operator">ge</property> | |
<property name="backgroundColor">#FF003F</property> | |
<property name="color">#FFFFFF</property> | |
<expression name="testExpr" type="javascript">row["60_cnt"]*5</expression> | |
<simple-property-list name="value1"> | |
<value type="javascript">25</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
<data id="416"> | |
<method name="onRender"><![CDATA[if( this.getValue() < 1) | |
{ | |
this.getStyle().color = "#000000" | |
} | |
else this.getStyle().color = "#ffffff"]]></method> | |
<property name="resultSetColumn">60d+</property> | |
<list-property name="action"> | |
<structure> | |
<property name="linkType">drill-through</property> | |
<property name="reportName">open_wo_list_overall-linked.rptdesign</property> | |
<property name="targetWindow">_self</property> | |
<property name="targetFileType">report-design</property> | |
<list-property name="paramBindings"> | |
<structure> | |
<property name="paramName">where</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">" workorder.historyflag=0 and (workorder.status <> 'COMP' and workorder.status <> 'WPCOND' and workorder.status <> 'W-MGR') and workorder.worktype = '" + row["worktype"] + "' " + " and workorder.siteid = '" + row["siteid"] + "'" + " and ( (workorder.pmnum is null and (cast((getdate()-workorder.reportdate) as float) >= 61) ) or (workorder.pmnum is not null and (cast((getdate()-workorder.targstartdate) as float) >= 61) ) ) "</value> | |
</simple-property-list> | |
</structure> | |
<structure> | |
<property name="paramName">appname</property> | |
<simple-property-list name="expression"> | |
<value type="javascript">params["appname"]</value> | |
</simple-property-list> | |
</structure> | |
</list-property> | |
</structure> | |
</list-property> | |
</data> | |
</cell> | |
<cell id="454"/> | |
</row> | |
</header> | |
<footer> | |
<row id="386"> | |
<property name="fontSize">8pt</property> | |
<property name="textAlign">center</property> | |
<property name="height">0.05in</property> | |
<cell id="387"/> | |
<cell id="388"/> | |
<cell id="389"/> | |
<cell id="390"/> | |
<cell id="391"/> | |
<cell id="392"/> | |
<cell id="425"/> | |
</row> | |
</footer> | |
</group> | |
<detail> | |
<row id="11"> | |
<property name="style">tabledetailsdatarow</property> | |
<list-property name="visibility"> | |
<structure> | |
<property name="format">all</property> | |
<expression name="valueExpr" type="javascript">true</expression> | |
</structure> | |
</list-property> | |
<cell id="81"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
<data id="372"> | |
<property name="resultSetColumn">wonum</property> | |
</data> | |
<data id="417"> | |
<property name="resultSetColumn">siteid</property> | |
</data> | |
</cell> | |
<cell id="77"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
<data id="373"> | |
<property name="resultSetColumn">worktype</property> | |
</data> | |
</cell> | |
<cell id="89"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
<data id="374"> | |
<property name="resultSetColumn">wo_age</property> | |
</data> | |
</cell> | |
<cell id="85"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
<data id="375"> | |
<property name="resultSetColumn">pmnum</property> | |
</data> | |
</cell> | |
<cell id="12"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
<data id="376"> | |
<structure name="dateTimeFormat"> | |
<property name="category">Short Date</property> | |
<property name="pattern">Short Date</property> | |
</structure> | |
<property name="resultSetColumn">reportdate</property> | |
</data> | |
</cell> | |
<cell id="13"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
<data id="377"> | |
<structure name="dateTimeFormat"> | |
<property name="category">Short Date</property> | |
<property name="pattern">Short Date</property> | |
</structure> | |
<property name="resultSetColumn">targstartdate</property> | |
</data> | |
</cell> | |
<cell id="424"> | |
<property name="style">tabledetailsdatacell</property> | |
<property name="borderBottomStyle">solid</property> | |
</cell> | |
</row> | |
</detail> | |
<footer> | |
<row id="522"> | |
<property name="fontSize">8pt</property> | |
<property name="textAlign">center</property> | |
<property name="verticalAlign">middle</property> | |
<property name="height">0.2in</property> | |
<cell id="523"/> | |
<cell id="524"> | |
<text id="561"> | |
<property name="fontSize">7pt</property> | |
<property name="textAlign">right</property> | |
<property name="contentType">auto</property> | |
<text-property name="content"><![CDATA[Severity Scale:]]></text-property> | |
</text> | |
</cell> | |
<cell id="525"> | |
<property name="colSpan">3</property> | |
<property name="rowSpan">1</property> | |
<grid id="530"> | |
<column id="531"/> | |
<column id="532"/> | |
<column id="533"/> | |
<column id="534"/> | |
<column id="535"/> | |
<column id="536"/> | |
<column id="537"/> | |
<column id="538"/> | |
<column id="539"/> | |
<column id="540"/> | |
<column id="541"/> | |
<column id="542"/> | |
<column id="543"/> | |
<column id="544"/> | |
<row id="545"> | |
<property name="height">0.075in</property> | |
<cell id="546"/> | |
<cell id="547"> | |
<property name="backgroundColor">#D9D9D9</property> | |
</cell> | |
<cell id="548"> | |
<property name="backgroundColor">#00BFFF</property> | |
</cell> | |
<cell id="549"> | |
<property name="backgroundColor">#007FFF</property> | |
</cell> | |
<cell id="550"> | |
<property name="backgroundColor">#003FFF</property> | |
</cell> | |
<cell id="551"> | |
<property name="backgroundColor">#0000DF</property> | |
</cell> | |
<cell id="552"> | |
<property name="backgroundColor">#0000BF</property> | |
</cell> | |
<cell id="553"> | |
<property name="backgroundColor">#00009F</property> | |
</cell> | |
<cell id="554"> | |
<property name="backgroundColor">#00007F</property> | |
</cell> | |
<cell id="555"> | |
<property name="backgroundColor">#3F005B</property> | |
</cell> | |
<cell id="556"> | |
<property name="backgroundColor">#7F005B</property> | |
</cell> | |
<cell id="557"> | |
<property name="backgroundColor">#9F005B</property> | |
</cell> | |
<cell id="558"> | |
<property name="backgroundColor">#FF005B</property> | |
</cell> | |
<cell id="559"> | |
<property name="backgroundColor">#FF003F</property> | |
</cell> | |
</row> | |
</grid> | |
</cell> | |
<cell id="528"/> | |
<cell id="529"/> | |
</row> | |
<row id="402"> | |
<property name="fontSize">8pt</property> | |
<property name="textAlign">center</property> | |
<list-property name="visibility"> | |
<structure> | |
<property name="format">all</property> | |
<expression name="valueExpr" type="javascript">true</expression> | |
</structure> | |
</list-property> | |
<cell id="403"/> | |
<cell id="404"> | |
<data id="401"> | |
<property name="resultSetColumn">tot_0d_7d</property> | |
</data> | |
</cell> | |
<cell id="405"> | |
<data id="410"> | |
<property name="resultSetColumn">tot_7d_14d</property> | |
</data> | |
</cell> | |
<cell id="406"> | |
<data id="413"> | |
<property name="resultSetColumn">tot_14d_30d</property> | |
</data> | |
</cell> | |
<cell id="407"> | |
<data id="414"> | |
<property name="resultSetColumn">tot_30d_60d</property> | |
</data> | |
</cell> | |
<cell id="408"> | |
<data id="415"> | |
<property name="resultSetColumn">tot_60d+</property> | |
</data> | |
</cell> | |
<cell id="426"/> | |
</row> | |
<row id="14"> | |
<property name="height">0.12in</property> | |
<cell id="82"> | |
<property name="colSpan">6</property> | |
<property name="rowSpan">1</property> | |
</cell> | |
<cell id="427"/> | |
</row> | |
<row id="207"> | |
<property name="fontSize">8pt</property> | |
<cell id="208"> | |
<property name="colSpan">6</property> | |
<property name="rowSpan">1</property> | |
<property name="borderBottomColor">#000000</property> | |
<property name="borderBottomStyle">solid</property> | |
<property name="borderBottomWidth">thin</property> | |
<property name="borderTopColor">#000000</property> | |
<property name="borderTopStyle">solid</property> | |
<property name="borderTopWidth">thin</property> | |
<grid id="216"> | |
<property name="width">100%</property> | |
<column id="217"> | |
<property name="style">summarylabel</property> | |
<property name="width">1.4in</property> | |
</column> | |
<column id="218"> | |
<property name="style">summarydata</property> | |
<property name="width">5.99in</property> | |
</column> | |
<row id="219"> | |
<cell id="220"> | |
<label id="222"> | |
<text-property name="text">Number of Records:</text-property> | |
</label> | |
</cell> | |
<cell id="221"> | |
<data id="223"> | |
<property name="resultSetColumn">total_rec</property> | |
</data> | |
</cell> | |
</row> | |
</grid> | |
</cell> | |
<cell id="428"> | |
<property name="borderBottomColor">#000000</property> | |
<property name="borderBottomStyle">solid</property> | |
<property name="borderBottomWidth">thin</property> | |
<property name="borderTopColor">#000000</property> | |
<property name="borderTopStyle">solid</property> | |
<property name="borderTopWidth">thin</property> | |
</cell> | |
</row> | |
</footer> | |
</table> | |
</body> | |
</report> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi I'm impressed with the report, but could you also add the open_wo_list_overall-linked.rptdesign