reconStats.js revision 7f7ad9a29f845f1d003e3dfa99f44fb20eb8e38f
// Jscript example for the "result" script that deals with the recon stats
// First build the HTML body with the recon statistics
// Then use the external email service to email the report
// 3 objects are passed to the script:
//
// global: contains general information about reconciliation (mapping name,
// recon id, start date, end date)
//
// source: contains detailed information about source system processing
// (system name, start date, end date, duration, situations/entries)
//
// target: contains detailed information about target system processing
// (system name, start date, end date, duration, situations/entries)
var globalSummary = "<h2>Global Statistics</h2><p>\n"+
var sourceSummary = "<h2>Source System Statistics</h2><p>\n"+
"<h4> SITUATIONS </h4>\n"+
" </ul><br><br>";
var targetSummary = "<h2>Target System Statistics</h2><p>\n"+
"<h4> SITUATIONS </h4>\n"+
" </ul><br><br>";
var sourceIds = "<hr><h2>Detailed Source Statistics</h2><p>\n";
sourceIds+= "<b><u>Confirmed ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Missing ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Found ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Absent ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Unqualified ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Unassigned ids:</b></u><br>\n";
}
}
var targetIds = "<hr><h2>Detailed Target Statistics</h2><p>\n";
targetIds+= "<b><u>Confirmed ids:</b></u><br>\n";
}
}
targetIds+= "</p><p><b><u>Unqualified ids:</b></u><br>\n";
}
}
var params = new Object();