org.kuali.kfs.module.cab.batch.service
Interface ReconciliationService

All Known Implementing Classes:
ReconciliationServiceImpl

public interface ReconciliationService

This class declares the service method for CAB Reconciliation service. Expected to be used by BatchExtractService. This service should be not be implemented as singleton.


Method Summary
 List<Entry> getDuplicateEntries()
          Returns the list of duplicate entries found after reconciliation
 List<Entry> getIgnoredEntries()
          Returns the list of ignored entries found after reconciliation
 Collection<GlAccountLineGroup> getMatchedGroups()
          Returns the list of account groups that found match to account line history
 Collection<GlAccountLineGroup> getMisMatchedGroups()
          Returns the list of unmatched account line groups
 boolean isDuplicateEntry(Entry glEntry)
          Returns true is a GL entry is already available in CAB
 void reconcile(Collection<Entry> glEntries, Collection<PurApAccountingLineBase> purapAcctEntries)
          Main reconciliation service which will apply the formula where PURAP transaction amounts are compared using GL_ENTRY_T = (AP_PMT_RQST_ACCT_CHG_T or AP_CRDT_MEMO_ACCT_CHG_T)
 

Method Detail

getDuplicateEntries

List<Entry> getDuplicateEntries()
Returns the list of duplicate entries found after reconciliation

Returns:
Duplicate GL Entries

getIgnoredEntries

List<Entry> getIgnoredEntries()
Returns the list of ignored entries found after reconciliation

Returns:
Ignored GL Entries

getMatchedGroups

Collection<GlAccountLineGroup> getMatchedGroups()
Returns the list of account groups that found match to account line history

Returns:
List of valid matched account groups

getMisMatchedGroups

Collection<GlAccountLineGroup> getMisMatchedGroups()
Returns the list of unmatched account line groups

Returns:
List of mismatches

isDuplicateEntry

boolean isDuplicateEntry(Entry glEntry)
Returns true is a GL entry is already available in CAB

Parameters:
glEntry - GL Line entry
Returns:
true if matching GL entry found in CAB

reconcile

void reconcile(Collection<Entry> glEntries,
               Collection<PurApAccountingLineBase> purapAcctEntries)
Main reconciliation service which will apply the formula where PURAP transaction amounts are compared using
  • GL_ENTRY_T = (AP_PMT_RQST_ACCT_CHG_T or AP_CRDT_MEMO_ACCT_CHG_T)
  • Parameters:
    glEntries - Purap GL Entries
    purapAcctEntries - Purap Account Entries


    Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.