use of edu.cornell.kfs.module.ld.document.CuSalaryExpenseTransferDocument in project cu-kfs by CU-CommunityApps.
the class CuLaborPendingEntryConverterServiceImplTest method testGetBenefitClearingPendingEntry.
public void testGetBenefitClearingPendingEntry() throws IllegalAccessException, InstantiationException, WorkflowException {
CuSalaryExpenseTransferDocument document = CuSalaryExpenseTransferDocumentFixture.GOOD_ST.createSalaryExpenseDocument();
AccountingDocumentTestUtils.saveDocument(document, documentService);
GeneralLedgerPendingEntrySequenceHelper sequenceHelper = new GeneralLedgerPendingEntrySequenceHelper();
LaborLedgerPendingEntry laborLedgerPendingEntry = ((CuLaborPendingEntryConverterServiceImpl) laborPendingEntryConverterService).getBenefitClearingPendingEntry(document, sequenceHelper, "R704750", "IT", "MX", new KualiDecimal(6916.68), "5200");
assertEquals("1", laborLedgerPendingEntry.getEmplid());
}
Aggregations