use of org.kuali.kfs.sys.service.NonTransactional in project cu-kfs by CU-CommunityApps.
the class CuPaymentRequestServiceImpl method removeHoldOnPaymentRequest.
/**
* @see org.kuali.kfs.module.purap.document.service.PaymentRequestService#removeHoldOnPaymentRequest(org.kuali.kfs.module.purap.document.PaymentRequestDocument)
*/
@Override
@NonTransactional
public PaymentRequestDocument removeHoldOnPaymentRequest(PaymentRequestDocument document, String note) throws Exception {
// save the note
Note noteObj = documentService.createNoteFromDocument(document, note);
document.addNote(noteObj);
noteService.save(noteObj);
document.setHoldIndicator(false);
document.setLastActionPerformedByPersonId(null);
purapService.saveDocumentNoValidation(document);
// force reindexing
reIndexDocument(document);
return document;
}
Aggregations