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

All Known Implementing Classes:
BatchExtractServiceImpl

public interface BatchExtractService

Declares the service methods used by CAB batch program


Method Summary
 void allocateAdditionalCharges(HashSet<PurchasingAccountsPayableDocument> purApDocuments)
          Allocate additional charges during batch.
 Collection<Entry> findElgibleGLEntries(ExtractProcessLog processLog)
          Returns the list of CAB eligible GL entries, filter parameters are pre-configured
 Collection<PurchaseOrderAccount> findPreTaggablePOAccounts()
          Implementation will retrieve all eligible Purchase Order account lines from a Purchase order that matches criteria required by pre-asset tagging, using these account lines, batch process can identify the eligible purchase order line items to be saved for pre-tagging screen
 Collection<PurApAccountingLineBase> findPurapAccountRevisions()
          This method collects account line history using batch parameters
 void saveFPLines(List<Entry> fpLines, ExtractProcessLog processLog)
          Saves financial transaction lines which dont have Purchase Order number associated with it
 HashSet<PurchasingAccountsPayableDocument> savePOLines(List<Entry> poLines, ExtractProcessLog processLog)
          Saved purchasing line transactions, this method implementation internally uses ReconciliationService to QA the data before saving
 void savePreTagLines(Collection<PurchaseOrderAccount> preTaggablePOAccounts)
          Implementation will identify eligible purchase oder line items eligible for pre-tagging screen
 void separatePOLines(List<Entry> fpLines, List<Entry> purapLines, Collection<Entry> elgibleGLEntries)
          Separates out transaction lines associated with purchase order from the rest
 void updateLastExtractDate(Date date)
          Updates the last extract date parameter for Pre Asset Tagging Step
 void updateLastExtractTime(Timestamp time)
          Updates the last extract time stamp system parameter, usually done when a batch process is finished successfully.
 

Method Detail

allocateAdditionalCharges

void allocateAdditionalCharges(HashSet<PurchasingAccountsPayableDocument> purApDocuments)
Allocate additional charges during batch.

Parameters:
purApDocuments -

findElgibleGLEntries

Collection<Entry> findElgibleGLEntries(ExtractProcessLog processLog)
Returns the list of CAB eligible GL entries, filter parameters are pre-configured

Parameters:
process - log
Returns:
Eligible GL Entries meeting batch parameters configured under parameter group KFS-CAB:Batch

saveFPLines

void saveFPLines(List<Entry> fpLines,
                 ExtractProcessLog processLog)
Saves financial transaction lines which dont have Purchase Order number associated with it

Parameters:
fpLines - Financial transaction lines
processLog - Process Log

savePOLines

HashSet<PurchasingAccountsPayableDocument> savePOLines(List<Entry> poLines,
                                                       ExtractProcessLog processLog)
Saved purchasing line transactions, this method implementation internally uses ReconciliationService to QA the data before saving

Parameters:
poLines - Eligible GL Lines
processLog - Process Log

separatePOLines

void separatePOLines(List<Entry> fpLines,
                     List<Entry> purapLines,
                     Collection<Entry> elgibleGLEntries)
Separates out transaction lines associated with purchase order from the rest

Parameters:
fpLines - Non-purchasing lines
purapLines - Purchasing lines
elgibleGLEntries - Full list of eligible GL entries

updateLastExtractTime

void updateLastExtractTime(Timestamp time)
Updates the last extract time stamp system parameter, usually done when a batch process is finished successfully.

Parameters:
time - Last extract start time

findPurapAccountRevisions

Collection<PurApAccountingLineBase> findPurapAccountRevisions()
This method collects account line history using batch parameters

Returns:
Collection Purchasing Accounts Payable Account Line History

findPreTaggablePOAccounts

Collection<PurchaseOrderAccount> findPreTaggablePOAccounts()
Implementation will retrieve all eligible Purchase Order account lines from a Purchase order that matches criteria required by pre-asset tagging, using these account lines, batch process can identify the eligible purchase order line items to be saved for pre-tagging screen

Returns:
Pre-taggable PO Account lines

savePreTagLines

void savePreTagLines(Collection<PurchaseOrderAccount> preTaggablePOAccounts)
Implementation will identify eligible purchase oder line items eligible for pre-tagging screen

Parameters:
preTaggablePOAccounts - List of pre-taggable account lines

updateLastExtractDate

void updateLastExtractDate(Date date)
Updates the last extract date parameter for Pre Asset Tagging Step

Parameters:
date - Date value


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