use of edu.cornell.kfs.concur.batch.xmlObjects.PdpFeedAccountingEntry in project cu-kfs by CU-CommunityApps.
the class ConcurCashAdvancePdpFeedFileServiceImpl method buildPdpFeedAccountingEntry.
private PdpFeedAccountingEntry buildPdpFeedAccountingEntry(ConcurRequestExtractRequestDetailFileLine detailFileLine) {
PdpFeedAccountingEntry pdpAccountingEntry = new PdpFeedAccountingEntry();
pdpAccountingEntry.setCoaCd(detailFileLine.getChart());
pdpAccountingEntry.setAccountNbr(detailFileLine.getAccountNumber());
pdpAccountingEntry.setSubAccountNbr(detailFileLine.getSubAccountNumber());
pdpAccountingEntry.setObjectCd(getConcurBatchUtilityService().getConcurParameterValue(ConcurParameterConstants.DEFAULT_TRAVEL_REQUEST_OBJECT_CODE));
pdpAccountingEntry.setSubObjectCd(detailFileLine.getSubObjectCode());
pdpAccountingEntry.setOrgRefId(detailFileLine.getOrgRefId());
pdpAccountingEntry.setProjectCd(detailFileLine.getProjectCode());
pdpAccountingEntry.setAmount(detailFileLine.getRequestAmount());
return pdpAccountingEntry;
}
Aggregations