public class OlePurapAccountingServiceImpl extends PurapAccountingServiceImpl implements OlePurapAccountingService
ALTERNATE_AMOUNT_NOT_USED, ALTERNATE_AMOUNT_USED, BIG_DECIMAL_ROUNDING_MODE, BIG_DECIMAL_SCALE, businessObjectService, ITEM_TYPES_EXCLUDED_VALUE, ITEM_TYPES_INCLUDED_VALUE, ONE_HUNDRED, parameterService, purApAccountingDao, SCALE, USE_TAX_EXCLUDED, USE_TAX_INCLUDED, ZERO_TOTALS_NOT_RETURNED_VALUE, ZERO_TOTALS_RETURNED_VALUE| Constructor and Description | 
|---|
| OlePurapAccountingServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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> | generateAccountDistributionForProrationByManual(List<SourceAccountingLine> accounts,
                                                                                              Class clazz) | 
| List<PurApAccountingLine> | generateAccountDistributionForProrationByQty(List<SourceAccountingLine> accounts,
                                                                                        org.kuali.rice.core.api.util.type.KualiDecimal totatQty,
                                                                                        Integer percentScale,
                                                                                        Class clazz) | 
| 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. | 
| protected List<SourceAccountingLine> | generateAccountSummaryForManual(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<SourceAccountingLine> | generateSummaryForManual(List<PurApItem> items) | 
| void | setPurapService(PurapService purapService) | 
| <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 | 
calculateSumTotal, convertAmtToTax, convertMoneyToPercent, convertMoneyToPercent, deleteSummaryAccounts, generateAccountDistributionForProration, generateAccountDistributionForProrationWithZeroTotal, generatePercentSummary, generateSourceAccountsForVendorRemit, generateSummary, generateSummaryAccounts, generateSummaryAccounts, generateSummaryAccountsWithNoZeroTotals, generateSummaryAccountsWithNoZeroTotalsNoUseTax, generateSummaryExcludeItemTypes, generateSummaryExcludeItemTypesAndNoZeroTotals, generateSummaryIncludeItemTypes, generateSummaryIncludeItemTypesAndNoZeroTotals, generateSummaryTaxableAccounts, generateSummaryWithNoZeroTotals, generateSummaryWithNoZeroTotalsNoUseTax, generateSummaryWithNoZeroTotalsUsingAlternateAmount, generateUseTaxAccount, getAccountsFromItem, getAccountsPayableSummaryAccounts, getLowestPossibleRoundUpNumber, getProcessablePurapItems, getSummaryAccountsbyCreditMemoIdentifier, getSummaryAccountsbyInvoiceIdentifier, getSummaryAccountsbyPaymentRequestIdentifier, isTaxAccount, mergeAccountingLineLists, setBusinessObjectService, setParameterService, setPurApAccountingDao, throwRuntimeException, updateAccountAmounts, updateAccountAmountsWithTotal, updateAccountAmountsWithTotal2, updateAccountAmountsWithTotalForAdditionalCharge, updateItemAccountAmounts, updateItemAccountAmountsForAdditionalCharge, updateItemAccountAmountsForAdditionalCharge, updatePreqAccountAmountsWithTotal, updatePreqItemAccountAmounts, updatePreqProporationalAccountAmountsWithTotal, updatePreqProportionalItemAccountAmountsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertMoneyToPercent, convertMoneyToPercent, deleteSummaryAccounts, generateAccountDistributionForProration, generateAccountDistributionForProrationWithZeroTotal, generateSourceAccountsForVendorRemit, generateSummary, generateSummaryAccounts, generateSummaryAccountsWithNoZeroTotals, generateSummaryAccountsWithNoZeroTotalsNoUseTax, generateSummaryExcludeItemTypes, generateSummaryExcludeItemTypesAndNoZeroTotals, generateSummaryIncludeItemTypes, generateSummaryIncludeItemTypesAndNoZeroTotals, generateSummaryTaxableAccounts, generateSummaryWithNoZeroTotals, generateSummaryWithNoZeroTotalsNoUseTax, generateSummaryWithNoZeroTotalsUsingAlternateAmount, generateUseTaxAccount, getAccountsFromItem, getAccountsPayableSummaryAccounts, getSummaryAccountsbyCreditMemoIdentifier, getSummaryAccountsbyInvoiceIdentifier, getSummaryAccountsbyPaymentRequestIdentifier, isTaxAccount, mergeAccountingLineLists, updateAccountAmounts, updateAccountAmountsWithTotal, updateItemAccountAmounts, updatePreqAccountAmountsWithTotal, updatePreqItemAccountAmounts, updatePreqProporationalAccountAmountsWithTotal, updatePreqProportionalItemAccountAmountspublic OlePurapAccountingServiceImpl()
public void setPurapService(PurapService purapService)
setPurapService in class PurapAccountingServiceImplpublic <T extends PurApAccountingLine> void updateAccountAmountsWithTotal(List<T> sourceAccountingLines, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
updateAccountAmountsWithTotal in interface PurapAccountingServiceupdateAccountAmountsWithTotal in class PurapAccountingServiceImplsourceAccountingLines - totalAmount - public List<PurApAccountingLine> generateAccountDistributionForProration(List<SourceAccountingLine> accounts, org.kuali.rice.core.api.util.type.KualiDecimal totalAmount, Integer percentScale, Class clazz)
PurapAccountingServicegenerateAccountDistributionForProration in interface PurapAccountingServicegenerateAccountDistributionForProration in class PurapAccountingServiceImplaccounts - 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)protected List<SourceAccountingLine> generateAccountSummary(List<PurApItem> items, Set<String> itemTypeCodes, Boolean itemTypeCodesAreIncluded, Boolean useZeroTotals, Boolean useAlternateAmount, Boolean useTaxIncluded, Boolean taxableOnly)
generateAccountSummary in class PurapAccountingServiceImplitems - 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<SourceAccountingLine> generateAccountSummaryForManual(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 entrypublic List<PurApAccountingLine> generateAccountDistributionForProrationByQty(List<SourceAccountingLine> accounts, org.kuali.rice.core.api.util.type.KualiDecimal totatQty, Integer percentScale, Class clazz)
generateAccountDistributionForProrationByQty in interface OlePurapAccountingServicepublic List<SourceAccountingLine> generateSummaryForManual(List<PurApItem> items)
generateSummaryForManual in interface OlePurapAccountingServicepublic List<PurApAccountingLine> generateAccountDistributionForProrationByManual(List<SourceAccountingLine> accounts, Class clazz)
generateAccountDistributionForProrationByManual in interface OlePurapAccountingServiceCopyright © 2004–2015 The Kuali Foundation. All rights reserved.