public class PurapAccountRevisionServiceImpl extends Object implements PurapAccountRevisionService
Constructor and Description |
---|
PurapAccountRevisionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected Map<PurapAccountRevisionGroup,PurapAccountRevisionGroup> |
buildAccountHistoryGroups(AccountsPayableItemBase item,
Integer postingYear,
String postingPeriodCode,
Class<? extends PurApAccountingLineBase> clazz)
Builds account history group based on existing account history lines
|
protected Map<PurapAccountRevisionGroup,PurapAccountRevisionGroup> |
buildAccountLineGroups(AccountsPayableItemBase item,
Integer postingYear,
String postingPeriodCode)
Builds account history grouping data based on given list of purap account lines
|
void |
cancelCreditMemoAccountRevisions(List<CreditMemoItem> creditMemoItems,
Integer postingYear,
String postingPeriodCode)
This method will negate all existing credit memo account revision lines
|
void |
cancelInvoiceAccountRevisions(List<InvoiceItem> invoiceItems,
Integer postingYear,
String postingPeriodCode)
This method will negate all existing payment request account line revisions
|
void |
cancelPaymentRequestAccountRevisions(List<PaymentRequestItem> paymentRequestItems,
Integer postingYear,
String postingPeriodCode)
This method will negate all existing payment request account line revisions
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute.
|
org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute.
|
void |
saveCreditMemoAccountRevisions(List<CreditMemoItem> creditMemoItems,
Integer postingYear,
String postingPeriodCode)
This method will identify the changes happened to existing credit memo accounting lines and update the account change history
table.
|
void |
saveInvoiceAccountRevisions(List<InvoiceItem> invoiceItems,
Integer postingYear,
String postingPeriodCode)
This method will identify the changes happened to existing payment request accounting lines and update the account change
history table.
|
void |
savePaymentRequestAccountRevisions(List<PaymentRequestItem> paymentRequestItems,
Integer postingYear,
String postingPeriodCode)
This method will identify the changes happened to existing payment request accounting lines and update the account change
history table.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.
|
public PurapAccountRevisionServiceImpl()
public void savePaymentRequestAccountRevisions(List<PaymentRequestItem> paymentRequestItems, Integer postingYear, String postingPeriodCode)
PurapAccountRevisionService
savePaymentRequestAccountRevisions
in interface PurapAccountRevisionService
paymentRequestItems
- Items from payment request documentpostingYear
- Posting yearpostingPeriodCode
- Posting period codeorg.kuali.ole.module.purap.service.PurapAccountHistoryService#savePaymentRequestAccountHistories(java.util.List,
java.lang.Integer, java.lang.String)
public void cancelPaymentRequestAccountRevisions(List<PaymentRequestItem> paymentRequestItems, Integer postingYear, String postingPeriodCode)
PurapAccountRevisionService
cancelPaymentRequestAccountRevisions
in interface PurapAccountRevisionService
paymentRequestItems
- Items from payment request documentpostingYear
- Posting yearpostingPeriodCode
- Posting period codepublic void saveInvoiceAccountRevisions(List<InvoiceItem> invoiceItems, Integer postingYear, String postingPeriodCode)
PurapAccountRevisionService
saveInvoiceAccountRevisions
in interface PurapAccountRevisionService
invoiceItems
- Items from payment request documentpostingYear
- Posting yearpostingPeriodCode
- Posting period codeorg.kuali.ole.module.purap.service.PurapAccountHistoryService#savePaymentRequestAccountHistories(java.util.List,
java.lang.Integer, java.lang.String)
public void cancelInvoiceAccountRevisions(List<InvoiceItem> invoiceItems, Integer postingYear, String postingPeriodCode)
PurapAccountRevisionService
cancelInvoiceAccountRevisions
in interface PurapAccountRevisionService
invoiceItems
- Items from payment request documentpostingYear
- Posting yearpostingPeriodCode
- Posting period codepublic void saveCreditMemoAccountRevisions(List<CreditMemoItem> creditMemoItems, Integer postingYear, String postingPeriodCode)
PurapAccountRevisionService
saveCreditMemoAccountRevisions
in interface PurapAccountRevisionService
postingYear
- Posting yearpostingPeriodCode
- Posting period codeorg.kuali.ole.module.purap.service.PurapAccountHistoryService#saveCreditMemoAccountHistories(java.util.List,
java.lang.Integer, java.lang.String)
public void cancelCreditMemoAccountRevisions(List<CreditMemoItem> creditMemoItems, Integer postingYear, String postingPeriodCode)
PurapAccountRevisionService
cancelCreditMemoAccountRevisions
in interface PurapAccountRevisionService
postingYear
- Posting yearpostingPeriodCode
- Posting period codeprotected Map<PurapAccountRevisionGroup,PurapAccountRevisionGroup> buildAccountLineGroups(AccountsPayableItemBase item, Integer postingYear, String postingPeriodCode)
item
- PurAp ItempostingYear
- Posting yearpostingPeriodCode
- Posting periodprotected Map<PurapAccountRevisionGroup,PurapAccountRevisionGroup> buildAccountHistoryGroups(AccountsPayableItemBase item, Integer postingYear, String postingPeriodCode, Class<? extends PurApAccountingLineBase> clazz)
item
- PurAp itempostingYear
- Posting yearpostingPeriodCode
- Posting period codeclazz
- History classpublic org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.Copyright © 2004–2016 The Kuali Foundation. All rights reserved.