|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.cab.batch.service.impl.ReconciliationServiceImpl
@Transactional public class ReconciliationServiceImpl
Default implementation of ReconciliationService
| Field Summary | |
|---|---|
protected org.kuali.rice.kns.service.BusinessObjectService |
businessObjectService
|
protected List<Entry> |
duplicateEntries
|
protected HashMap<GlAccountLineGroup,GlAccountLineGroup> |
glEntryGroupMap
|
protected List<Entry> |
ignoredEntries
|
protected Collection<GlAccountLineGroup> |
matchedGroups
|
protected Collection<GlAccountLineGroup> |
misMatchedGroups
|
protected HashMap<PurApAccountLineGroup,PurApAccountLineGroup> |
purapAcctGroupMap
|
| Constructor Summary | |
|---|---|
ReconciliationServiceImpl()
|
|
| Method Summary | |
|---|---|
protected void |
checkGroupByContinuationAccount()
This method will run through all PO Accounting lines and Pending GL Lines for which a match was not found. |
protected Account |
findAccount(AccountLineGroup acctLineGroup)
Finds an account object using its primary key |
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
List<Entry> |
getDuplicateEntries()
Gets the duplicateEntries attribute. |
List<Entry> |
getIgnoredEntries()
Gets the ignoredEntries attribute. |
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 |
protected void |
groupGLEntries(Collection<Entry> glEntries)
Groups GL entries by fields by univ_fiscal_yr, fin_coa_cd, account_nbr, sub_acct_nbr, fin_object_cd, fin_sub_obj_cd, univ_fiscal_prd_cd, fdoc_nbr, fdoc_ref_nbr |
protected void |
groupPurapAccountEntries(Collection<PurApAccountingLineBase> purapAcctEntries)
Groups Purap Account Line entries by fields by univ_fiscal_yr, fin_coa_cd, account_nbr, sub_acct_nbr, fin_object_cd, fin_sub_obj_cd, univ_fiscal_prd_cd, fdoc_nbr, fdoc_ref_nbr |
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) |
protected void |
reconcileGroups(Collection<GlAccountLineGroup> glKeySet)
Identify and separate the matching and mismatching account line groups |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute. |
void |
setDuplicateEntries(List<Entry> duplicateEntries)
Sets the duplicateEntries attribute. |
void |
setIgnoredEntries(List<Entry> ignoredEntries)
Sets the ignoredEntries attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService
protected List<Entry> ignoredEntries
protected List<Entry> duplicateEntries
protected Collection<GlAccountLineGroup> matchedGroups
protected Collection<GlAccountLineGroup> misMatchedGroups
protected HashMap<GlAccountLineGroup,GlAccountLineGroup> glEntryGroupMap
protected HashMap<PurApAccountLineGroup,PurApAccountLineGroup> purapAcctGroupMap
| Constructor Detail |
|---|
public ReconciliationServiceImpl()
| Method Detail |
|---|
public void reconcile(Collection<Entry> glEntries,
Collection<PurApAccountingLineBase> purapAcctEntries)
ReconciliationService
reconcile in interface ReconciliationServiceglEntries - Purap GL EntriespurapAcctEntries - Purap Account Entriesorg.kuali.kfs.module.cab.batch.service.ReconciliationService#reconcile(java.util.Collection, java.util.Collection,
java.util.Collection)protected void checkGroupByContinuationAccount()
protected Account findAccount(AccountLineGroup acctLineGroup)
acctLineGroup - AcctLineGroup
protected void reconcileGroups(Collection<GlAccountLineGroup> glKeySet)
glKeySet - GL Account Line groupsprotected void groupGLEntries(Collection<Entry> glEntries)
glEntries - GL Entriesprotected void groupPurapAccountEntries(Collection<PurApAccountingLineBase> purapAcctEntries)
purapAcctEntries - Purap account entriespublic boolean isDuplicateEntry(Entry glEntry)
ReconciliationService
isDuplicateEntry in interface ReconciliationServiceglEntry - GL Line entry
ReconciliationService.isDuplicateEntry(org.kuali.kfs.gl.businessobject.Entry)public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public List<Entry> getIgnoredEntries()
getIgnoredEntries in interface ReconciliationServicepublic void setIgnoredEntries(List<Entry> ignoredEntries)
ignoredEntries - The ignoredEntries to set.public List<Entry> getDuplicateEntries()
getDuplicateEntries in interface ReconciliationServicepublic void setDuplicateEntries(List<Entry> duplicateEntries)
duplicateEntries - The duplicateEntries to set.public Collection<GlAccountLineGroup> getMatchedGroups()
ReconciliationService
getMatchedGroups in interface ReconciliationServicepublic Collection<GlAccountLineGroup> getMisMatchedGroups()
ReconciliationService
getMisMatchedGroups in interface ReconciliationService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||