コード例 #1
0
 // fill the gl entry report writer with the collected data
 protected void fillGlEntryReportWriter(Map<String, Integer> glEntryReportSummary) {
   laborGlEntryStatisticsReportWriterService.writeStatisticLine(
       "NUMBER OF RECORDS READ              %,9d",
       glEntryReportSummary.get(ORIGN_ENTRY + "," + KFSConstants.OperationType.READ));
   laborGlEntryStatisticsReportWriterService.writeStatisticLine(
       "NUMBER OF RECORDS BYPASSED          %,9d",
       glEntryReportSummary.get(ORIGN_ENTRY + "," + KFSConstants.OperationType.BYPASS));
   laborGlEntryStatisticsReportWriterService.writeStatisticLine(
       "NUMBER OF RECORDS SELECTED          %,9d",
       glEntryReportSummary.get(ORIGN_ENTRY + "," + KFSConstants.OperationType.SELECT));
   laborGlEntryStatisticsReportWriterService.writeStatisticLine(
       "NUMBER OF RECORDS IN ERROR          %,9d",
       glEntryReportSummary.get(ORIGN_ENTRY + "," + KFSConstants.OperationType.REPORT_ERROR));
   laborGlEntryStatisticsReportWriterService.writeStatisticLine(
       "NUMBER OF RECORDS INSERTED          %,9d",
       glEntryReportSummary.get(
           laborGLLedgerEntryPoster.getDestinationName()
               + ","
               + KFSConstants.OperationType.INSERT));
 }
コード例 #2
0
 // construct a poster report summary object
 protected void fillPosterReportWriter(
     int lineNumber,
     Map<String, Integer> reportSummary,
     Map<String, Integer> glEntryReportSummary) {
   reportWriterService.writeStatisticLine(
       "SEQUENTIAL RECORDS READ                    %,9d", lineNumber);
   reportWriterService.writeStatisticLine(
       "LLEN RECORDS INSERTED (LD_LDGR_ENTR_T)     %,9d",
       reportSummary.get(
           laborLedgerEntryPoster.getDestinationName() + "," + KFSConstants.OperationType.INSERT));
   reportWriterService.writeStatisticLine(
       "LLBL RECORDS INSERTED (LD_LDGR_BAL_T)      %,9d",
       reportSummary.get(
           laborLedgerBalancePoster.getDestinationName()
               + ","
               + KFSConstants.OperationType.INSERT));
   reportWriterService.writeStatisticLine(
       "LLBL RECORDS UPDATED  (LD_LDGR_BAL_T)      %,9d",
       reportSummary.get(
           laborLedgerBalancePoster.getDestinationName()
               + ","
               + KFSConstants.OperationType.UPDATE));
   reportWriterService.writeStatisticLine(
       "LLGL RECORDS INSERTED (LD_LBR_GL_ENTRY_T)  %,9d",
       glEntryReportSummary.get(
           laborGLLedgerEntryPoster.getDestinationName()
               + ","
               + KFSConstants.OperationType.INSERT));
   reportWriterService.writeStatisticLine(
       "WARNING RECORDS WRITTEN                    %,9d", numberOfErrorOriginEntry);
 }