use of edu.cornell.kfs.fp.businessobject.ProcurementCardTransactionDetailExtendedAttribute in project cu-kfs by CU-CommunityApps.
the class ProcurementCardCreateDocumentServiceImpl method createProcurementCardTransactionDetailExtension.
protected void createProcurementCardTransactionDetailExtension(ProcurementCardTransaction transaction, ProcurementCardTransactionDetail transactionDetail) {
ProcurementCardTransactionDetailExtendedAttribute detailExtension = buildTransactionDetailExtensionObject(transactionDetail);
if (ObjectUtils.isNotNull(transaction.getExtension())) {
ProcurementCardTransactionExtendedAttribute extension = (ProcurementCardTransactionExtendedAttribute) transaction.getExtension();
detailExtension.setDocumentNumber(transactionDetail.getDocumentNumber());
detailExtension.setFinancialDocumentTransactionLineNumber(transactionDetail.getFinancialDocumentTransactionLineNumber());
createPurchasingDataDetails(extension, detailExtension);
}
transactionDetail.setExtension(detailExtension);
}
Aggregations