|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ar.batch.service.impl.LockboxServiceImpl
@Transactional public class LockboxServiceImpl
Lockbox Iterators are sorted by processedInvoiceDate and batchSequenceNumber. Potentially there could be many batches on the same date. For each set of records with the same processedInvoiceDate and batchSequenceNumber, there will be one Cash-Control document. Each record within this set will create one Application document.
Constructor Summary | |
---|---|
LockboxServiceImpl()
|
Method Summary | |
---|---|
protected void |
deleteProcessedLockboxEntry(Lockbox lockboxEntry)
|
AccountsReceivableDocumentHeaderService |
getAccountsReceivableDocumentHeaderService()
|
CashControlDocumentService |
getCashControlDocumentService()
|
org.kuali.rice.kns.service.DocumentService |
getDocumentService()
Gets the documentService attribute. |
LockboxDao |
getLockboxDao()
|
Long |
getMaxLockboxSequenceNumber()
Returns the highest (numerically) value for the Lockbox invoiceSequenceNumber. |
protected com.lowagie.text.Document |
getPdfDoc()
|
protected org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> |
getPersonService()
|
SystemInformationService |
getSystemInformationService()
|
boolean |
processLockbox()
|
protected String |
rightPad(String valToPad,
int sizeToPadTo)
|
protected String |
rightPad(String valToPad,
int sizeToPadTo,
String padChar)
|
protected void |
routePayAppWithoutBusinessRules(String payAppDocNumber,
String annotation)
|
void |
setAccountsReceivableDocumentHeaderService(AccountsReceivableDocumentHeaderService accountsReceivableDocumentHeaderService)
|
void |
setBoService(org.kuali.rice.kns.service.BusinessObjectService boService)
|
void |
setCashControlDocumentService(CashControlDocumentService cashControlDocumentService)
|
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value. |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
Sets the documentService attribute value. |
void |
setLockboxDao(LockboxDao lockboxDao)
|
void |
setPaymentApplicationDocumentService(PaymentApplicationDocumentService paymentApplicationDocumentService)
|
void |
setReportsDirectory(String reportsDirectory)
|
void |
setSystemInformationService(SystemInformationService systemInformationService)
|
protected void |
writeBatchGroupSectionTitle(com.lowagie.text.Document pdfDoc,
String batchSeqNbr,
Date procInvDt,
String cashControlDocNumber)
|
protected void |
writeCashControlDetailLine(com.lowagie.text.Document pdfDoc,
org.kuali.rice.kns.util.KualiDecimal amount,
String description)
|
protected void |
writeDetailLine(com.lowagie.text.Document pdfDoc,
String detailLineText)
|
protected void |
writeExceptionStackTrace(com.lowagie.text.Document pdfDoc,
Exception e)
|
protected void |
writeInvoiceDetailLine(com.lowagie.text.Document pdfDoc,
String invoiceNumber,
boolean open,
String customerNumber,
org.kuali.rice.kns.util.KualiDecimal openAmount)
|
protected void |
writeLockboxRecordLine(com.lowagie.text.Document pdfDoc,
String lockboxNumber,
String customerNumber,
String invoiceNumber,
org.kuali.rice.kns.util.KualiDecimal invoiceTotalAmount,
String paymentMediumCode,
String bankCode)
|
protected void |
writePayAppLine(com.lowagie.text.Document pdfDoc,
String payAppDocNbr,
String description)
|
protected void |
writeSummaryDetailLine(com.lowagie.text.Document pdfDoc,
String summary)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockboxServiceImpl()
Method Detail |
---|
public boolean processLockbox() throws org.kuali.rice.kew.exception.WorkflowException
processLockbox
in interface LockboxService
org.kuali.rice.kew.exception.WorkflowException
protected void routePayAppWithoutBusinessRules(String payAppDocNumber, String annotation)
protected void deleteProcessedLockboxEntry(Lockbox lockboxEntry)
protected com.lowagie.text.Document getPdfDoc()
protected String rightPad(String valToPad, int sizeToPadTo)
protected String rightPad(String valToPad, int sizeToPadTo, String padChar)
protected void writeBatchGroupSectionTitle(com.lowagie.text.Document pdfDoc, String batchSeqNbr, Date procInvDt, String cashControlDocNumber)
protected void writeLockboxRecordLine(com.lowagie.text.Document pdfDoc, String lockboxNumber, String customerNumber, String invoiceNumber, org.kuali.rice.kns.util.KualiDecimal invoiceTotalAmount, String paymentMediumCode, String bankCode)
protected void writeInvoiceDetailLine(com.lowagie.text.Document pdfDoc, String invoiceNumber, boolean open, String customerNumber, org.kuali.rice.kns.util.KualiDecimal openAmount)
protected void writeCashControlDetailLine(com.lowagie.text.Document pdfDoc, org.kuali.rice.kns.util.KualiDecimal amount, String description)
protected void writeSummaryDetailLine(com.lowagie.text.Document pdfDoc, String summary)
protected void writePayAppLine(com.lowagie.text.Document pdfDoc, String payAppDocNbr, String description)
protected void writeExceptionStackTrace(com.lowagie.text.Document pdfDoc, Exception e)
protected void writeDetailLine(com.lowagie.text.Document pdfDoc, String detailLineText)
public Long getMaxLockboxSequenceNumber()
LockboxService
getMaxLockboxSequenceNumber
in interface LockboxService
public LockboxDao getLockboxDao()
public void setLockboxDao(LockboxDao lockboxDao)
public SystemInformationService getSystemInformationService()
public void setSystemInformationService(SystemInformationService systemInformationService)
public AccountsReceivableDocumentHeaderService getAccountsReceivableDocumentHeaderService()
public void setAccountsReceivableDocumentHeaderService(AccountsReceivableDocumentHeaderService accountsReceivableDocumentHeaderService)
public void setPaymentApplicationDocumentService(PaymentApplicationDocumentService paymentApplicationDocumentService)
protected org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
public org.kuali.rice.kns.service.DocumentService getDocumentService()
public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
documentService
- The documentService to set.public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService
- The dataDictionaryService to set.public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
public CashControlDocumentService getCashControlDocumentService()
public void setCashControlDocumentService(CashControlDocumentService cashControlDocumentService)
public void setReportsDirectory(String reportsDirectory)
public void setBoService(org.kuali.rice.kns.service.BusinessObjectService boService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |