All,
While testing the CG Invoices (CINV) during our fiscal year end testing, we found that KFS has an edit that requires the Last Billed Date's FY to match the current date's FY. Why is this edit in the code? This will not work for invoices that cross over to the new FY. Grants do not operate on FY time periods. In our case, we are trying to generate 'June' invoices in 'July' where June is in the prior FY (2018) and July is in the new FY (2019). KFS returns an error '
Award is not eligible to be invoiced in the current billing period. '
This edit was not in the pre-release version of CGB that we were running. This is the code in our KFS6 version:
protected boolean canThisBeBilledByBillingFrequency() {
if (StringUtils.equals(billingFrequency, ArConstants.ANNUALLY_BILLING_SCHEDULE_CODE) && accountingPeriodService.getByDate(lastBilledDate).getUniversityFiscalYear() >= accountingPeriodService.getByDate(currentDate).getUniversityFiscalYear()) {
return false;
} else if (StringUtils.equals(findPreviousAccountingPeriod(currentDate).getUniversityFiscalPeriodCode(), findPreviousAccountingPeriod(lastBilledDate).getUniversityFiscalPeriodCode()) &&
accountingPeriodService.getByDate(lastBilledDate).getUniversityFiscalYear().equals(accountingPeriodService.getByDate(currentDate).getUniversityFiscalYear())) {
return false;
}
return true;
}
We believe this is a bug and plan to remove the FY check. But I would like to understand why the edit is the code.
Thanks in advance.
tammy
--
Tammy Vandevender | Director | University of Hawaii System | Financial Management Office - Fiscal Services Office
1406 Lower Campus Road, Room 43 | Honolulu, HI 96822
phone: 808-956-0383 | ta...@hawaii.edu