public class PurapAccountingServiceImpl extends Object implements PurapAccountingService
| Modifier and Type | Field and Description | 
|---|---|
| protected static Boolean | ALTERNATE_AMOUNT_NOT_USED | 
| protected static Boolean | ALTERNATE_AMOUNT_USED | 
| protected static int | BIG_DECIMAL_ROUNDING_MODE | 
| protected static int | BIG_DECIMAL_SCALE | 
| protected org.kuali.rice.krad.service.BusinessObjectService | businessObjectService | 
| protected static Boolean | ITEM_TYPES_EXCLUDED_VALUE | 
| protected static Boolean | ITEM_TYPES_INCLUDED_VALUE | 
| protected static BigDecimal | ONE_HUNDRED | 
| protected org.kuali.rice.coreservice.framework.parameter.ParameterService | parameterService | 
| protected PurApAccountingDao | purApAccountingDao | 
| protected PurapService | purapService | 
| protected static int | SCALE | 
| protected static Boolean | USE_TAX_EXCLUDED | 
| protected static Boolean | USE_TAX_INCLUDED | 
| protected static Boolean | ZERO_TOTALS_NOT_RETURNED_VALUE | 
| protected static Boolean | ZERO_TOTALS_RETURNED_VALUE | 
| Constructor and Description | 
|---|
| PurapAccountingServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.kuali.rice.core.api.util.type.KualiDecimal | calculateSumTotal(List<SourceAccountingLine> accounts)gets sum total of accounts | 
| protected void | convertAmtToTax(List<PurApAccountingLine> accounts,
                              org.kuali.rice.core.api.util.type.KualiDecimal useTax,
                              List<SourceAccountingLine> newSourceLines)Replaces amount field with prorated tax amount in list | 
| void | convertMoneyToPercent(InvoiceDocument inv)Converts the amount to percent and updates the percent field on the CreditMemoAccount | 
| void | convertMoneyToPercent(PaymentRequestDocument pr)Converts the amount to percent and updates the percent field on the CreditMemoAccount | 
| void | deleteSummaryAccounts(Integer purapDocumentIdentifier,
                                          String docType)Deletes the ap summary accounts by the id of the doc type (Payment Request - PREQ or Credit Memo - CM) | 
| List<PurApAccountingLine> | generateAccountDistributionForProration(List<SourceAccountingLine> accounts,
                                                                              org.kuali.rice.core.api.util.type.KualiDecimal totalAmount,
                                                                              Integer percentScale)Deprecated.   | 
| List<PurApAccountingLine> | generateAccountDistributionForProration(List<SourceAccountingLine> accounts,
                                                                              org.kuali.rice.core.api.util.type.KualiDecimal totalAmount,
                                                                              Integer percentScale,
                                                                              Class clazz)Determines an appropriate account distribution for a particular Purchasing Accounts Payable list of Accounts. | 
| List<PurApAccountingLine> | generateAccountDistributionForProrationWithZeroTotal(PurchasingAccountsPayableDocument purapDoc)Determines an appropriate account distribution for a particular Purchasing Accounts Payable list of Accounts. | 
| protected List<SourceAccountingLine> | generateAccountSummary(List<PurApItem> items,
                                            Set<String> itemTypeCodes,
                                            Boolean itemTypeCodesAreIncluded,
                                            Boolean useZeroTotals,
                                            Boolean useAlternateAmount,
                                            Boolean useTaxIncluded,
                                            Boolean taxableOnly)Generates an account summary, that is it creates a list of source accounts by rounding up the purap accounts off of the purap
 items. | 
| List<PurApAccountingLine> | generatePercentSummary(PurchasingAccountsPayableDocument purapDoc) | 
| List<SourceAccountingLine> | generateSourceAccountsForVendorRemit(PurchasingAccountsPayableDocument document)This method generates summary accounts for a vendor payment. | 
| List<SourceAccountingLine> | generateSummary(List<PurApItem> items)Generates an account summary, that is it creates a list of source accounts
 by rounding up the Purchasing Accounts Payable accounts off of the Purchasing Accounts Payable items. | 
| protected List<SummaryAccount> | generateSummaryAccounts(List<PurApItem> items,
                                              Boolean useZeroTotals,
                                              Boolean useTaxIncluded)This creates summary accounts based on a list of items. | 
| List<SummaryAccount> | generateSummaryAccounts(PurchasingAccountsPayableDocument document)This creates summary accounts based on a list of items. | 
| List<SummaryAccount> | generateSummaryAccountsWithNoZeroTotals(PurchasingAccountsPayableDocument document)This creates summary accounts based on a list of items excluding zero totals. | 
| List<SummaryAccount> | generateSummaryAccountsWithNoZeroTotalsNoUseTax(PurchasingAccountsPayableDocument document)This creates summary accounts based on a list of items excluding zero totals and use tax. | 
| List<SourceAccountingLine> | generateSummaryExcludeItemTypes(List<PurApItem> items,
                                                              Set excludedItemTypeCodes)convenience method that generates a list of source accounts while excluding items with
 the specified item types | 
| List<SourceAccountingLine> | generateSummaryExcludeItemTypesAndNoZeroTotals(List<PurApItem> items,
                                                                                            Set excludedItemTypeCodes)convenience method that generates a list of source accounts while excluding items with
 the specified item types and not including items with zero totals | 
| List<SourceAccountingLine> | generateSummaryIncludeItemTypes(List<PurApItem> items,
                                                              Set includedItemTypeCodes)convenience method that generates a list of source accounts while only including items with
 the specified item types | 
| List<SourceAccountingLine> | generateSummaryIncludeItemTypesAndNoZeroTotals(List<PurApItem> items,
                                                                                            Set includedItemTypeCodes)convenience method that generates a list of source accounts while only including items with
 the specified item types and not including items with zero totals | 
| List<SourceAccountingLine> | generateSummaryTaxableAccounts(List<PurApItem> items)Generates an account summary with only taxable accounts. | 
| List<SourceAccountingLine> | generateSummaryWithNoZeroTotals(List<PurApItem> items)convenience method that generates a list of source accounts while excluding items with
 $0 amounts | 
| List<SourceAccountingLine> | generateSummaryWithNoZeroTotalsNoUseTax(List<PurApItem> items)calls generateSummary with no use tax included | 
| List<SourceAccountingLine> | generateSummaryWithNoZeroTotalsUsingAlternateAmount(List<PurApItem> items)convenience method that generates a list of source accounts while excluding items with
 $0 amounts and using the alternate amount | 
| List<UseTaxContainer> | generateUseTaxAccount(PurchasingAccountsPayableDocument document)Generates use tax helper class for a purap document | 
| List<PurApAccountingLine> | getAccountsFromItem(PurApItem item) | 
| List | getAccountsPayableSummaryAccounts(Integer purapDocumentIdentifier,
                                                                  String docType)Retrieves the ap summary accounts by the id of the doc type (Payment Request - PREQ or Credit Memo - CM) | 
| protected BigDecimal | getLowestPossibleRoundUpNumber()gets the lowest possible number for rounding, it works for ROUND_HALF_UP | 
| protected List<PurApItem> | getProcessablePurapItems(List<PurApItem> items,
                                                Set itemTypeCodes,
                                                Boolean itemTypeCodesAreIncluded,
                                                Boolean useZeroTotals)This method takes a list of  PurchasingApItemobjects and parses through them to see if each one should be processed
 according the the other variables passed in.Example 1: items = "ITEM", "SITM", "FRHT", "SPHD" itemTypeCodes = "FRHT" itemTypeCodesAreIncluded = ITEM_TYPES_EXCLUDED_VALUE return items "ITEM", "SITM", "FRHT", "SPHD" Example 2: items = "ITEM", "SITM", "FRHT", "SPHD" itemTypeCodes = "ITEM","FRHT" itemTypeCodesAreIncluded = ITEM_TYPES_INCLUDED_VALUE return items "ITEM", "FRHT" | 
| List | getSummaryAccountsbyCreditMemoIdentifier(Integer creditMemoIdentifier)Retrieves the summary accounts by credit memo document id. | 
| List | getSummaryAccountsbyInvoiceIdentifier(Integer invoiceIdentifier)Retrieves the summary accounts by Invoice document id. | 
| List | getSummaryAccountsbyPaymentRequestIdentifier(Integer paymentRequestIdentifier)Retrieves the summary accounts by payment request document id. | 
| boolean | isTaxAccount(PurchasingAccountsPayableDocument document,
                        SourceAccountingLine account)Checks whether the specified accounting line in the specified PurAP document is used for tax withholding. | 
| List<SourceAccountingLine> | mergeAccountingLineLists(List<SourceAccountingLine> accountingLines1,
                                                List<SourceAccountingLine> accountingLines2)Merges list 2 into list 1 | 
| void | setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)Sest the businessObjectService. | 
| void | setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) | 
| void | setPurApAccountingDao(PurApAccountingDao purApAccountingDao) | 
| void | setPurapService(PurapService purapService) | 
| protected void | throwRuntimeException(String methodName,
                                          String errorMessage)Helper method to log and throw an error | 
| void | updateAccountAmounts(PurchasingAccountsPayableDocument document)Updates account amounts based on the percents. | 
| <T extends PurApAccountingLine>  | updateAccountAmountsWithTotal(List<T> sourceAccountingLines,
                                                          org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)calculates values for a list of accounting lines based on an amount | 
| <T extends PurApAccountingLine>  | updateAccountAmountsWithTotal(List<T> sourceAccountingLines,
                                                          org.kuali.rice.core.api.util.type.KualiDecimal totalAmount,
                                                          org.kuali.rice.core.api.util.type.KualiDecimal discountAmount)calculates values for a list of accounting lines based on an amount taking discount into account | 
| <T extends PurApAccountingLine>  | updateAccountAmountsWithTotal2(List<T> sourceAccountingLines,
                                                            org.kuali.rice.core.api.util.type.KualiDecimal totalAmount) | 
| <T extends PurApAccountingLine>  | updateAccountAmountsWithTotalForAdditionalCharge(List<T> sourceAccountingLines,
                                                                                                org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)calculates values for a list of accounting lines based on an amount | 
| void | updateItemAccountAmounts(PurApItem item)Updates a single items account amounts | 
| void | updateItemAccountAmountsForAdditionalCharge(PurApItem item,
                                                                                      OleInvoiceDocument document) | 
| void | updateItemAccountAmountsForAdditionalCharge(PurApItem item,
                                                                                      OlePaymentRequestDocument document) | 
| <T extends PurApAccountingLine>  | updatePreqAccountAmountsWithTotal(List<T> sourceAccountingLines,
                                                                  org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)calculates values for a list of accounting lines based on an amount. | 
| void | updatePreqItemAccountAmounts(PurApItem item)Updates a single preq item accounts amounts | 
| <T extends PurApAccountingLine>  | updatePreqProporationalAccountAmountsWithTotal(List<T> sourceAccountingLines,
                                                                                            org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)calculates values for a list of accounting lines based on an amount for proportional method | 
| void | updatePreqProportionalItemAccountAmounts(PurApItem item)Updates a single preq item accounts amounts | 
protected static final BigDecimal ONE_HUNDRED
protected static final int SCALE
protected static final int BIG_DECIMAL_ROUNDING_MODE
protected static final int BIG_DECIMAL_SCALE
protected static final Boolean ITEM_TYPES_INCLUDED_VALUE
protected static final Boolean ITEM_TYPES_EXCLUDED_VALUE
protected static final Boolean ZERO_TOTALS_RETURNED_VALUE
protected static final Boolean ZERO_TOTALS_NOT_RETURNED_VALUE
protected static final Boolean ALTERNATE_AMOUNT_USED
protected static final Boolean ALTERNATE_AMOUNT_NOT_USED
protected static final Boolean USE_TAX_INCLUDED
protected static final Boolean USE_TAX_EXCLUDED
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
protected PurapService purapService
protected PurApAccountingDao purApAccountingDao
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
public PurapAccountingServiceImpl()
protected BigDecimal getLowestPossibleRoundUpNumber()
protected void throwRuntimeException(String methodName, String errorMessage)
methodName - the method it's coming fromerrorMessage - the actual error@Deprecated public List<PurApAccountingLine> generateAccountDistributionForProration(List<SourceAccountingLine> accounts, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount, Integer percentScale)
PurapAccountingServicegenerateAccountDistributionForProration in interface PurapAccountingServiceorg.kuali.ole.module.purap.service.PurapAccountingService#generateAccountDistributionForProration(java.util.List,
      org.kuali.rice.kns.util.KualiDecimal, java.lang.Integer)public List<PurApAccountingLine> generateAccountDistributionForProration(List<SourceAccountingLine> accounts, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount, Integer percentScale, Class clazz)
PurapAccountingServicegenerateAccountDistributionForProration in interface PurapAccountingServiceaccounts - the incoming source accounts from generateSummarytotalAmount - the total amount of the documentpercentScale - the scale to round toclazz - the class of the Purchasing Accounts Payable Accountorg.kuali.ole.module.purap.service.PurapAccountingService#generateAccountDistributionForProration(java.util.List,
      org.kuali.rice.kns.util.KualiDecimal, java.lang.Integer)public List<PurApAccountingLine> generateAccountDistributionForProrationWithZeroTotal(PurchasingAccountsPayableDocument purapDoc)
PurapAccountingServicegenerateAccountDistributionForProrationWithZeroTotal in interface PurapAccountingServiceorg.kuali.ole.module.purap.service.PurapAccountingService#generateAccountDistributionForProrationWithZeroTotal(java.util.List,
      java.lang.Integer)public List<SourceAccountingLine> generateSummary(List<PurApItem> items)
PurapAccountingServicegenerateSummary in interface PurapAccountingServicePurapAccountingService.generateSummary(java.util.List)public List<SourceAccountingLine> generateSummaryTaxableAccounts(List<PurApItem> items)
PurapAccountingServicegenerateSummaryTaxableAccounts in interface PurapAccountingServicepublic List<SummaryAccount> generateSummaryAccounts(PurchasingAccountsPayableDocument document)
PurapAccountingServicegenerateSummaryAccounts in interface PurapAccountingServicedocument - the document to generate the summary accounts fromPurapAccountingService.generateSummaryAccounts(org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument)public List<SummaryAccount> generateSummaryAccountsWithNoZeroTotals(PurchasingAccountsPayableDocument document)
PurapAccountingServicegenerateSummaryAccountsWithNoZeroTotals in interface PurapAccountingServicedocument - the document to generate the summary accounts fromPurapAccountingService.generateSummaryAccountsWithNoZeroTotals(org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument)public List<SummaryAccount> generateSummaryAccountsWithNoZeroTotalsNoUseTax(PurchasingAccountsPayableDocument document)
PurapAccountingServicegenerateSummaryAccountsWithNoZeroTotalsNoUseTax in interface PurapAccountingServicedocument - the document to generate the summary accounts fromPurapAccountingService.generateSummaryAccountsWithNoZeroTotals(org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument)protected List<SummaryAccount> generateSummaryAccounts(List<PurApItem> items, Boolean useZeroTotals, Boolean useTaxIncluded)
items - a list of PurAp Items.public List<SourceAccountingLine> generateSummaryWithNoZeroTotals(List<PurApItem> items)
PurapAccountingServicegenerateSummaryWithNoZeroTotals in interface PurapAccountingServiceitems - the items to generate source accounts fromPurapAccountingService.generateSummaryWithNoZeroTotals(java.util.List)public List<SourceAccountingLine> generateSummaryWithNoZeroTotalsNoUseTax(List<PurApItem> items)
generateSummaryWithNoZeroTotalsNoUseTax in interface PurapAccountingServiceitems - the items to generate source accounts frompublic List<SourceAccountingLine> generateSummaryWithNoZeroTotalsUsingAlternateAmount(List<PurApItem> items)
PurapAccountingServicegenerateSummaryWithNoZeroTotalsUsingAlternateAmount in interface PurapAccountingServiceitems - the items to generate source accounts fromPurapAccountingService.generateSummaryWithNoZeroTotalsUsingAlternateAmount(java.util.List)public List<SourceAccountingLine> generateSummaryExcludeItemTypes(List<PurApItem> items, Set excludedItemTypeCodes)
PurapAccountingServicegenerateSummaryExcludeItemTypes in interface PurapAccountingServiceitems - the items to generate source accounts fromexcludedItemTypeCodes - the item types to excludePurapAccountingService.generateSummaryExcludeItemTypes(java.util.List, java.util.Set)public List<SourceAccountingLine> generateSummaryIncludeItemTypesAndNoZeroTotals(List<PurApItem> items, Set includedItemTypeCodes)
PurapAccountingServicegenerateSummaryIncludeItemTypesAndNoZeroTotals in interface PurapAccountingServiceitems - the items to generate source accounts fromPurapAccountingService.generateSummaryIncludeItemTypesAndNoZeroTotals(java.util.List,
      java.util.Set)public List<SourceAccountingLine> generateSummaryIncludeItemTypes(List<PurApItem> items, Set includedItemTypeCodes)
PurapAccountingServicegenerateSummaryIncludeItemTypes in interface PurapAccountingServiceitems - the items to generate source accounts fromPurapAccountingService.generateSummaryIncludeItemTypes(java.util.List, java.util.Set)public List<SourceAccountingLine> generateSummaryExcludeItemTypesAndNoZeroTotals(List<PurApItem> items, Set excludedItemTypeCodes)
PurapAccountingServicegenerateSummaryExcludeItemTypesAndNoZeroTotals in interface PurapAccountingServiceitems - the items to generate source accounts fromexcludedItemTypeCodes - the item types to excludePurapAccountingService.generateSummaryExcludeItemTypesAndNoZeroTotals(java.util.List,
      java.util.Set)protected List<SourceAccountingLine> generateAccountSummary(List<PurApItem> items, Set<String> itemTypeCodes, Boolean itemTypeCodesAreIncluded, Boolean useZeroTotals, Boolean useAlternateAmount, Boolean useTaxIncluded, Boolean taxableOnly)
items - the items to determitemTypeCodes - the item types to determine whether to look at an item in combination with itemTypeCodesAreIncludeditemTypeCodesAreIncluded - value to tell whether the itemTypeCodes parameter lists inclusion or exclusion variablesuseZeroTotals - whether to include items with a zero dollar totaluseAlternateAmount - an alternate amount used in certain cases for GL entryprotected List<PurApItem> getProcessablePurapItems(List<PurApItem> items, Set itemTypeCodes, Boolean itemTypeCodesAreIncluded, Boolean useZeroTotals)
PurchasingApItem objects and parses through them to see if each one should be processed
 according the the other variables passed in.items - - list of PurchasingApItem objects that need to be parseditemTypeCodes - - list of ItemType codes used in conjunction with
                                 itemTypeCodesAreIncluded parameteritemTypeCodesAreIncluded - - value to tell whether the itemTypeCodes parameter lists inclusion or exclusion variables
                                 (see ITEM_TYPES_INCLUDED_VALUE)useZeroTotals - - value to tell whether to include zero dollar items (see ZERO_TOTALS_RETURNED_VALUE)PurchasingApItem objects that should be used for processing by calling methodpublic void updateAccountAmounts(PurchasingAccountsPayableDocument document)
PurapAccountingServiceupdateAccountAmounts in interface PurapAccountingServicedocument - the documentPurapAccountingService.updateAccountAmounts(org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument)public void updateItemAccountAmountsForAdditionalCharge(PurApItem item, OlePaymentRequestDocument document)
public void updateItemAccountAmountsForAdditionalCharge(PurApItem item, OleInvoiceDocument document)
public void updateItemAccountAmounts(PurApItem item)
PurapAccountingServiceupdateItemAccountAmounts in interface PurapAccountingServicePurapAccountingService.updateItemAccountAmounts(org.kuali.ole.module.purap.businessobject.PurApItem)public <T extends PurApAccountingLine> void updateAccountAmountsWithTotalForAdditionalCharge(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
sourceAccountingLines - totalAmount - public <T extends PurApAccountingLine> void updateAccountAmountsWithTotal2(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
public <T extends PurApAccountingLine> void updateAccountAmountsWithTotal(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
updateAccountAmountsWithTotal in interface PurapAccountingServicesourceAccountingLines - totalAmount - public <T extends PurApAccountingLine> void updateAccountAmountsWithTotal(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount, org.kuali.rice.core.api.util.type.KualiDecimal discountAmount)
updateAccountAmountsWithTotal in interface PurapAccountingServicesourceAccountingLines - totalAmount - discountAmount - public void updatePreqProportionalItemAccountAmounts(PurApItem item)
PurapAccountingServicepublic <T extends PurApAccountingLine> void updatePreqProporationalAccountAmountsWithTotal(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
updatePreqProporationalAccountAmountsWithTotal in interface PurapAccountingServicesourceAccountingLines - totalAmount - public void updatePreqItemAccountAmounts(PurApItem item)
PurapAccountingServicepublic <T extends PurApAccountingLine> void updatePreqAccountAmountsWithTotal(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
updatePreqAccountAmountsWithTotal in interface PurapAccountingServicesourceAccountingLines - totalAmount - public List<PurApAccountingLine> generatePercentSummary(PurchasingAccountsPayableDocument purapDoc)
public void convertMoneyToPercent(PaymentRequestDocument pr)
PurapAccountingServiceconvertMoneyToPercent in interface PurapAccountingServicepr - The payment request document containing the accounts whose percentage would be set.PurapAccountingService.convertMoneyToPercent(org.kuali.ole.module.purap.document.PaymentRequestDocument)public void convertMoneyToPercent(InvoiceDocument inv)
PurapAccountingServiceconvertMoneyToPercent in interface PurapAccountingServicepublic void deleteSummaryAccounts(Integer purapDocumentIdentifier, String docType)
PurapAccountingServicedeleteSummaryAccounts in interface PurapAccountingServicepurapDocumentIdentifier - The purapDocumentIdentifier of the document whose summary accounts are to be deleted.PurapAccountingService.deleteSummaryAccounts(java.lang.Integer, java.lang.String)public List getAccountsPayableSummaryAccounts(Integer purapDocumentIdentifier, String docType)
PurapAccountingServicegetAccountsPayableSummaryAccounts in interface PurapAccountingServicepurapDocumentIdentifier - The purapDocumentIdentifier of the document.public List<PurApAccountingLine> getAccountsFromItem(PurApItem item)
getAccountsFromItem in interface PurapAccountingServicepublic List<SourceAccountingLine> generateSourceAccountsForVendorRemit(PurchasingAccountsPayableDocument document)
PurapAccountingServicegenerateSourceAccountsForVendorRemit in interface PurapAccountingServiceprotected org.kuali.rice.core.api.util.type.KualiDecimal calculateSumTotal(List<SourceAccountingLine> accounts)
accounts - protected void convertAmtToTax(List<PurApAccountingLine> accounts, org.kuali.rice.core.api.util.type.KualiDecimal useTax, List<SourceAccountingLine> newSourceLines)
accounts - list of accountsuseTax - tax to be allocated to these accountsnewSourceLines - rewrites the source account linespublic List<UseTaxContainer> generateUseTaxAccount(PurchasingAccountsPayableDocument document)
PurapAccountingServicegenerateUseTaxAccount in interface PurapAccountingServicePurapAccountingService.generateUseTaxAccount(org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument)public boolean isTaxAccount(PurchasingAccountsPayableDocument document, SourceAccountingLine account)
PurapAccountingServiceisTaxAccount in interface PurapAccountingServicedocument - the specified PurAP documentaccount - the specified accounting linePurapAccountingService.isTaxAccount(org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument,
      org.kuali.ole.sys.businessobject.SourceAccountingLine)public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public void setPurApAccountingDao(PurApAccountingDao purApAccountingDao)
public void setPurapService(PurapService purapService)
public List<SourceAccountingLine> mergeAccountingLineLists(List<SourceAccountingLine> accountingLines1, List<SourceAccountingLine> accountingLines2)
PurapAccountingServicemergeAccountingLineLists in interface PurapAccountingServicepublic List getSummaryAccountsbyPaymentRequestIdentifier(Integer paymentRequestIdentifier)
PurapAccountingServicegetSummaryAccountsbyPaymentRequestIdentifier in interface PurapAccountingServicepaymentRequestIdentifier - - payment request document idPurapAccountingService.getSummaryAccountsbyPaymentRequestIdentifier(java.lang.Integer)public List getSummaryAccountsbyInvoiceIdentifier(Integer invoiceIdentifier)
PurapAccountingServicegetSummaryAccountsbyInvoiceIdentifier in interface PurapAccountingServiceinvoiceIdentifier - - payment request document idPurapAccountingService.getSummaryAccountsbyInvoiceIdentifier(java.lang.Integer)public List getSummaryAccountsbyCreditMemoIdentifier(Integer creditMemoIdentifier)
PurapAccountingServicegetSummaryAccountsbyCreditMemoIdentifier in interface PurapAccountingServicecreditMemoIdentifier - - credit memo document idPurapAccountingService.getSummaryAccountsbyCreditMemoIdentifier(java.lang.Integer)public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - Copyright © 2004–2015 The Kuali Foundation. All rights reserved.