Java Doc for PurapAccountingService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » purap » service » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.purap.service 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.purap.service.PurapAccountingService

All known Subclasses:   org.kuali.module.purap.service.impl.PurapAccountingServiceImpl,
PurapAccountingService
public interface PurapAccountingService (Code)
This class is used to generate Account Summaries for the Purchasing Accounts Payable Module account lists as well as to generate account lists that can be used for distribution to below the line items or any other items that may require distribution




Method Summary
public  List<PurApAccountingLine>generateAccountDistributionForProration(List<SourceAccountingLine> accounts, KualiDecimal totalAmount, Integer percentScale)
    
public  List<PurApAccountingLine>generateAccountDistributionForProration(List<SourceAccountingLine> accounts, KualiDecimal totalAmount, Integer percentScale, Class clazz)
     Determines an appropriate account distribution for a particular Purchasing Accounts Payable list of Accounts.
public  List<PurApAccountingLine>generateAccountDistributionForProrationWithZeroTotal(List<PurApAccountingLine> accounts, Integer percentScale)
     Determines an appropriate account distribution for a particular Purchasing Accounts Payable list of Accounts.
public  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.
public  List<SummaryAccount>generateSummaryAccounts(PurchasingAccountsPayableDocument document)
     This creates summary accounts based on a list of items.
public  List<SourceAccountingLine>generateSummaryExcludeItemTypes(List<PurApItem> items, Set excludedItemTypeCodes)
    
public  List<SourceAccountingLine>generateSummaryExcludeItemTypesAndNoZeroTotals(List<PurApItem> items, Set excludedItemTypeCodes)
    
public  List<SourceAccountingLine>generateSummaryIncludeItemTypes(List<PurApItem> items, Set includedItemTypeCodes)
    
public  List<SourceAccountingLine>generateSummaryIncludeItemTypesAndNoZeroTotals(List<PurApItem> items, Set includedItemTypeCodes)
    
public  List<SourceAccountingLine>generateSummaryWithNoZeroTotals(List<PurApItem> items)
    
public  List<SourceAccountingLine>generateSummaryWithNoZeroTotalsUsingAlternateAmount(List<PurApItem> items)
    
public  List<PurApAccountingLine>getAccountsFromItem(PurApItem item)
    
public  voidupdateAccountAmounts(PurchasingAccountsPayableDocument document)
     This method updates account amounts based on the percents.
public  voidupdateItemAccountAmounts(PurApItem item)
    



Method Detail
generateAccountDistributionForProration
public List<PurApAccountingLine> generateAccountDistributionForProration(List<SourceAccountingLine> accounts, KualiDecimal totalAmount, Integer percentScale)(Code)
unused see other generateAccountDistribution methods
Parameters:
  accounts -
Parameters:
  totalAmount -
Parameters:
  percentScale -



generateAccountDistributionForProration
public List<PurApAccountingLine> generateAccountDistributionForProration(List<SourceAccountingLine> accounts, KualiDecimal totalAmount, Integer percentScale, Class clazz)(Code)
Determines an appropriate account distribution for a particular Purchasing Accounts Payable list of Accounts. It does this by looking at the accounts that were provided which should be generated from a generateSummary method. It then builds up a list of PurApAccountingLines (specified by the Class variable) and tries to determine the appropriate percents to use on the new accounts, this may require some moving of percents to the last account as a slush.
Parameters:
  accounts - the incoming source accounts from generateSummary
Parameters:
  totalAmount - the total amount of the document
Parameters:
  percentScale - the scale to round to
Parameters:
  clazz - the class of the Purchasing Accounts Payable Account a list of new Purchasing Accounts Payable Accounts



generateAccountDistributionForProrationWithZeroTotal
public List<PurApAccountingLine> generateAccountDistributionForProrationWithZeroTotal(List<PurApAccountingLine> accounts, Integer percentScale)(Code)
Determines an appropriate account distribution for a particular Purchasing Accounts Payable list of Accounts. It does this by looking at the accounts that were provided which should be generated from a generateSummary method. It then builds up a list of PurApAccountingLines (specified by the Class variable) and tries to determine the appropriate percents to use on the new accounts, this may require some moving of percents to the last account as a slush. This is called when a document has a zero dollar total
Parameters:
  accounts - the incoming source accounts from generateSummary
Parameters:
  percentScale - the scale to round to
Parameters:
  clazz - the class of the Purchasing Accounts Payable Account a list of new Purchasing Accounts Payable Accounts



generateSummary
public List<SourceAccountingLine> generateSummary(List<PurApItem> items)(Code)
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.
Parameters:
  document - the document to generate the summary from a list of source accounts



generateSummaryAccounts
public List<SummaryAccount> generateSummaryAccounts(PurchasingAccountsPayableDocument document)(Code)
This creates summary accounts based on a list of items.
Parameters:
  document - the document to generate the summary accounts from a list of summary accounts.



generateSummaryExcludeItemTypes
public List<SourceAccountingLine> generateSummaryExcludeItemTypes(List<PurApItem> items, Set excludedItemTypeCodes)(Code)
convenience method that generates a list of source accounts while excluding items with the specified item types
Parameters:
  items - the items to generate source accounts from
Parameters:
  excludedItemTypeCodes - the item types to exclude a list of source accounts "rolled up" from the purap accounts



generateSummaryExcludeItemTypesAndNoZeroTotals
public List<SourceAccountingLine> generateSummaryExcludeItemTypesAndNoZeroTotals(List<PurApItem> items, Set excludedItemTypeCodes)(Code)
convenience method that generates a list of source accounts while excluding items with the specified item types and not including items with zero totals
Parameters:
  items - the items to generate source accounts from
Parameters:
  excludedItemTypeCodes - the item types to exclude a list of source accounts "rolled up" from the purap accounts



generateSummaryIncludeItemTypes
public List<SourceAccountingLine> generateSummaryIncludeItemTypes(List<PurApItem> items, Set includedItemTypeCodes)(Code)
convenience method that generates a list of source accounts while only including items with the specified item types
Parameters:
  items - the items to generate source accounts from
Parameters:
  excludedItemTypeCodes - the item types to include a list of source accounts "rolled up" from the purap accounts



generateSummaryIncludeItemTypesAndNoZeroTotals
public List<SourceAccountingLine> generateSummaryIncludeItemTypesAndNoZeroTotals(List<PurApItem> items, Set includedItemTypeCodes)(Code)
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
Parameters:
  items - the items to generate source accounts from
Parameters:
  excludedItemTypeCodes - the item types to include a list of source accounts "rolled up" from the purap accounts



generateSummaryWithNoZeroTotals
public List<SourceAccountingLine> generateSummaryWithNoZeroTotals(List<PurApItem> items)(Code)
convenience method that generates a list of source accounts while excluding items with $0 amounts
Parameters:
  items - the items to generate source accounts from a list of source accounts "rolled up" from the purap accounts



generateSummaryWithNoZeroTotalsUsingAlternateAmount
public List<SourceAccountingLine> generateSummaryWithNoZeroTotalsUsingAlternateAmount(List<PurApItem> items)(Code)
convenience method that generates a list of source accounts while excluding items with $0 amounts and using the alternate amount
Parameters:
  items - the items to generate source accounts from a list of source accounts "rolled up" from the purap accounts



getAccountsFromItem
public List<PurApAccountingLine> getAccountsFromItem(PurApItem item)(Code)



updateAccountAmounts
public void updateAccountAmounts(PurchasingAccountsPayableDocument document)(Code)
This method updates account amounts based on the percents.
Parameters:
  document - the document



updateItemAccountAmounts
public void updateItemAccountAmounts(PurApItem item)(Code)
This method updates a single items account amounts
Parameters:
  item -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.