use of edu.cornell.kfs.fp.batch.xml.AccountingXmlDocumentNote in project cu-kfs by CU-CommunityApps.
the class AccountingDocumentGeneratorBase method buildDocumentNote.
protected Note buildDocumentNote(AccountingXmlDocumentNote xmlNote) {
Person systemUser = personService.getPersonByPrincipalName(KFSConstants.SYSTEM_USER);
Note note = emptyNoteGenerator.get();
note.setNoteText(xmlNote.getDescription());
note.setAuthorUniversalIdentifier(systemUser.getPrincipalId());
note.setNotePostedTimestampToCurrent();
return note;
}
Aggregations