Source:
<code>private PdpFeedFileBaseEntry buildPdpFeedFileBaseEntry(ConcurStandardAccountingExtractFile concurStandardAccountingExtractFile, ConcurStandardAccountingExtractBatchReportData reportData) { PdpFeedFileBaseEntry pdpFeedFileBaseEntry = new PdpFeedFileBaseEntry(); pdpFeedFileBaseEntry.setVersion(ConcurConstants.FEED_FILE_ENTRY_HEADER_VERSION); pdpFeedFileBaseEntry.setHeader(getConcurStandardAccountExtractPdpEntryService().buildPdpFeedHeaderEntry(concurStandardAccountingExtractFile.getBatchDate())); int totalReimbursementLineCount = 0; KualiDecimal totalReimbursementDollarAmount = KualiDecimal.ZERO; for (ConcurStandardAccountingExtractDetailLine line : concurStandardAccountingExtractFile.getConcurStandardAccountingExtractDetailLines()) { if (shouldProcessSAELineToPDP(line)) { totalReimbursementLineCount++; <START> totalReimbursementDollarAmount = totalReimbursementDollarAmount.add(line.getJournalAmount()); <END> logJournalAccountCodeOverridden(line, reportData); if (getConcurStandardAccountingExtractValidationService().validateConcurStandardAccountingExtractDetailLine(line, reportData)) { buildAndUpdateAccountingEntryFromLine(pdpFeedFileBaseEntry, line, concurStandardAccountingExtractFile); } } } reportData.getReimbursementsInExpenseReport().setRecordCount(totalReimbursementLineCount); reportData.getReimbursementsInExpenseReport().setDollarAmount(totalReimbursementDollarAmount); pdpFeedFileBaseEntry.setTrailer(getConcurStandardAccountExtractPdpEntryService().buildPdpFeedTrailerEntry(pdpFeedFileBaseEntry, reportData)); return pdpFeedFileBaseEntry; }</code><technical_language>conditions for entering this code block changed, need update code calculates total reimbursement count amount. I cash advances corp-card personal expenses included in total for item in report</technical_language>

Target:
private PdpFeedFileBaseEntry buildPdpFeedFileBaseEntry(ConcurStandardAccountingExtractFile concurStandardAccountingExtractFile, ConcurStandardAccountingExtractBatchReportData reportData) { PdpFeedFileBaseEntry pdpFeedFileBaseEntry = new PdpFeedFileBaseEntry(); pdpFeedFileBaseEntry.setVersion(ConcurConstants.FEED_FILE_ENTRY_HEADER_VERSION); pdpFeedFileBaseEntry.setHeader(getConcurStandardAccountExtractPdpEntryService().buildPdpFeedHeaderEntry(concurStandardAccountingExtractFile.getBatchDate())); int totalReimbursementLineCount = 0; KualiDecimal totalReimbursementDollarAmount = KualiDecimal.ZERO; for (ConcurStandardAccountingExtractDetailLine line : concurStandardAccountingExtractFile.getConcurStandardAccountingExtractDetailLines()) { if (shouldProcessSAELineToPDP(line)) { if (shouldLineTotalsBeAddedToReimbursementReportTotals(line)) { totalReimbursementLineCount++; totalReimbursementDollarAmount = totalReimbursementDollarAmount.add(line.getJournalAmount()); } logJournalAccountCodeOverridden(line, reportData); if (getConcurStandardAccountingExtractValidationService().validateConcurStandardAccountingExtractDetailLine(line, reportData)) { buildAndUpdateAccountingEntryFromLine(pdpFeedFileBaseEntry, line, concurStandardAccountingExtractFile); } } } reportData.getReimbursementsInExpenseReport().setRecordCount(totalReimbursementLineCount); reportData.getReimbursementsInExpenseReport().setDollarAmount(totalReimbursementDollarAmount); pdpFeedFileBaseEntry.setTrailer(getConcurStandardAccountExtractPdpEntryService().buildPdpFeedTrailerEntry(pdpFeedFileBaseEntry, reportData)); return pdpFeedFileBaseEntry; }