Java Doc for CreditMemoService.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.CreditMemoService

All known Subclasses:   org.kuali.module.purap.service.impl.CreditMemoServiceImpl,
CreditMemoService
public interface CreditMemoService extends AccountsPayableDocumentSpecificService(Code)
Defines methods that must be implemented by a CreditMemoService implementation.




Method Summary
public  voidaddHoldOnCreditMemo(CreditMemoDocument cmDocument, String note)
     Marks a credit memo as on hold.
public  voidcalculateCreditMemo(CreditMemoDocument cmDocument)
     Performs the credit memo item extended price calculation.
public  booleancanCancelCreditMemo(CreditMemoDocument cmDocument, UniversalUser user)
     Determines if the document can be canceled and if the given user has permission to do so. Document can be canceled if not in canceled status already, extracted date is null, hold indicator is false, and user is member of the accounts payable workgroup.
Parameters:
  cmDocument - - credit memo document to cancel.
Parameters:
  user - - user requesting the cancel.
public  booleancanHoldCreditMemo(CreditMemoDocument cmDocument, UniversalUser user)
     Determines if the document can be put on hold and if the user has permission to do so. Must be an Accounts Payable user, credit memo not already on hold, extracted date is null, and credit memo status approved or complete.
Parameters:
  cmDocument - - credit memo document to hold.
Parameters:
  user - - user requesting the hold.
public  booleancanRemoveHoldCreditMemo(CreditMemoDocument cmDocument, UniversalUser user)
     Determines if the document can be taken off hold and if the given user has permission to do so. Must be person who put credit memo on hold or accounts payable supervisor and credit memo must be on hold.
Parameters:
  cmDocument - - credit memo document that is on hold.
Parameters:
  user - - user requesting to remove the hold.
public  voidcancelExtractedCreditMemo(CreditMemoDocument cmDocument, String note)
    
public  StringcreditMemoDuplicateMessages(CreditMemoDocument cmDocument)
     Makes call to dao to check for duplicate credit memos, and if one is found a message is returned.
public  CreditMemoDocumentgetCreditMemoByDocumentNumber(String documentNumber)
     Get a credit memo by document number.
Parameters:
  documentNumber - The document number of the credit memo to be retrieved.
public  CreditMemoDocumentgetCreditMemoDocumentById(Integer purchasingDocumentIdentifier)
     Retrieves the Credit Memo document by the purapDocumentIdentifier.
Parameters:
  purchasingDocumentIdentifier - The purapDocumentIdentifier of the credit memo to be retrieved.
public  Iterator<CreditMemoDocument>getCreditMemosToExtract(String chartCode)
     Gets the Credit memos that can be extracted.
Parameters:
  chartCode - Chart to select from.
public  Iterator<CreditMemoDocument>getCreditMemosToExtractByVendor(String chartCode, VendorGroupingHelper vendor)
     Pulls all extractable credit memo documents for a given vendor.
public  List<PurchaseOrderItem>getPOInvoicedItems(PurchaseOrderDocument poDocument)
     Iterates through the items of the purchase order document and checks for items that have been invoiced.
Parameters:
  poDocument - - purchase order document containing the lines to check.
public  Set<VendorGroupingHelper>getVendorsOnCreditMemosToExtract(String chartCode)
     Pulls a distinct list of all vendors on CM documents which are ready for extraction.
public  voidmarkPaid(CreditMemoDocument cm, Date processDate)
    
public  voidpopulateAndSaveCreditMemo(CreditMemoDocument creditMemoDocument)
     Persists the credit memo with business rule checks.
public  voidremoveHoldOnCreditMemo(CreditMemoDocument cmDocument, String note)
     Removes a hold on the credit memo document.
public  voidreopenClosedPO(CreditMemoDocument cmDocument)
     Reopens the purchase order document related to the given credit memo document if it is closed.
public  voidresetExtractedCreditMemo(CreditMemoDocument cmDocument, String note)
    
public  voidsaveDocumentWithoutValidation(CreditMemoDocument creditMemoDocument)
     Persists the credit memo without business rule checks.



Method Detail
addHoldOnCreditMemo
public void addHoldOnCreditMemo(CreditMemoDocument cmDocument, String note) throws Exception(Code)
Marks a credit memo as on hold.
Parameters:
  cmDocument - - credit memo document to hold.
Parameters:
  note - - note explaining why the document is being put on hold.
throws:
  Exception -



calculateCreditMemo
public void calculateCreditMemo(CreditMemoDocument cmDocument)(Code)
Performs the credit memo item extended price calculation.
Parameters:
  cmDocument - - credit memo document to calculate.



canCancelCreditMemo
public boolean canCancelCreditMemo(CreditMemoDocument cmDocument, UniversalUser user)(Code)
Determines if the document can be canceled and if the given user has permission to do so. Document can be canceled if not in canceled status already, extracted date is null, hold indicator is false, and user is member of the accounts payable workgroup.
Parameters:
  cmDocument - - credit memo document to cancel.
Parameters:
  user - - user requesting the cancel. boolean - true if document can be canceled, false if it cannot be.



canHoldCreditMemo
public boolean canHoldCreditMemo(CreditMemoDocument cmDocument, UniversalUser user)(Code)
Determines if the document can be put on hold and if the user has permission to do so. Must be an Accounts Payable user, credit memo not already on hold, extracted date is null, and credit memo status approved or complete.
Parameters:
  cmDocument - - credit memo document to hold.
Parameters:
  user - - user requesting the hold. boolean - true if hold can occur, false if not allowed.



canRemoveHoldCreditMemo
public boolean canRemoveHoldCreditMemo(CreditMemoDocument cmDocument, UniversalUser user)(Code)
Determines if the document can be taken off hold and if the given user has permission to do so. Must be person who put credit memo on hold or accounts payable supervisor and credit memo must be on hold.
Parameters:
  cmDocument - - credit memo document that is on hold.
Parameters:
  user - - user requesting to remove the hold. boolean - true if user can take document off hold, false if they cannot.



cancelExtractedCreditMemo
public void cancelExtractedCreditMemo(CreditMemoDocument cmDocument, String note)(Code)
This is called by PDP to cancel a CreditMemoDocument that has already been extracted
Parameters:
  cmDocument - The credit memo document to be canceled.
Parameters:
  note - The note to be added to the document to be canceled.



creditMemoDuplicateMessages
public String creditMemoDuplicateMessages(CreditMemoDocument cmDocument)(Code)
Makes call to dao to check for duplicate credit memos, and if one is found a message is returned. A duplicate error happens if there is an existing credit memo with the same vendor number and credit memo number as the one which is being created, or same vendor number and credit memo date.
Parameters:
  cmDocument - - CreditMemoDocument to run duplicate check on. String - message indicating a duplicate was found.



getCreditMemoByDocumentNumber
public CreditMemoDocument getCreditMemoByDocumentNumber(String documentNumber)(Code)
Get a credit memo by document number.
Parameters:
  documentNumber - The document number of the credit memo to be retrieved. The credit memo document whose document number matches the input parameter.



getCreditMemoDocumentById
public CreditMemoDocument getCreditMemoDocumentById(Integer purchasingDocumentIdentifier)(Code)
Retrieves the Credit Memo document by the purapDocumentIdentifier.
Parameters:
  purchasingDocumentIdentifier - The purapDocumentIdentifier of the credit memo to be retrieved. The credit memo document whose purapDocumentIdentifier matches the input parameter.



getCreditMemosToExtract
public Iterator<CreditMemoDocument> getCreditMemosToExtract(String chartCode)(Code)
Gets the Credit memos that can be extracted.
Parameters:
  chartCode - Chart to select from. Iterator of credit memos.



getCreditMemosToExtractByVendor
public Iterator<CreditMemoDocument> getCreditMemosToExtractByVendor(String chartCode, VendorGroupingHelper vendor)(Code)
Pulls all extractable credit memo documents for a given vendor.
Parameters:
  chartCode -
Parameters:
  vendor -



getPOInvoicedItems
public List<PurchaseOrderItem> getPOInvoicedItems(PurchaseOrderDocument poDocument)(Code)
Iterates through the items of the purchase order document and checks for items that have been invoiced.
Parameters:
  poDocument - - purchase order document containing the lines to check. List - list of invoiced items found.



getVendorsOnCreditMemosToExtract
public Set<VendorGroupingHelper> getVendorsOnCreditMemosToExtract(String chartCode)(Code)
Pulls a distinct list of all vendors on CM documents which are ready for extraction.
Parameters:
  chartCode -



markPaid
public void markPaid(CreditMemoDocument cm, Date processDate)(Code)
Mark a credit memo is being used on a payment
Parameters:
  cm - The credit memo document to be marked as paid.
Parameters:
  processDate - The date to be set as the credit memo's paid timestamp.



populateAndSaveCreditMemo
public void populateAndSaveCreditMemo(CreditMemoDocument creditMemoDocument)(Code)
Persists the credit memo with business rule checks.
Parameters:
  creditMemoDocument - - credit memo document to save.



removeHoldOnCreditMemo
public void removeHoldOnCreditMemo(CreditMemoDocument cmDocument, String note) throws Exception(Code)
Removes a hold on the credit memo document.
Parameters:
  cmDocument - - credit memo document to remove hold on.
Parameters:
  note - - note explaining why the credit memo is being taken off hold.



reopenClosedPO
public void reopenClosedPO(CreditMemoDocument cmDocument)(Code)
Reopens the purchase order document related to the given credit memo document if it is closed.
Parameters:
  cmDocument - The credit memo document to be used to obtained the purchase order document to be closed.



resetExtractedCreditMemo
public void resetExtractedCreditMemo(CreditMemoDocument cmDocument, String note)(Code)
This is called by PDP to cancel a CreditMemoDocument that has already been extracted
Parameters:
  cmDocument - The credit memo document to be resetted.
Parameters:
  note - The note to be added to the credit memo document.



saveDocumentWithoutValidation
public void saveDocumentWithoutValidation(CreditMemoDocument creditMemoDocument)(Code)
Persists the credit memo without business rule checks.
Parameters:
  creditMemoDocument - - credit memo document to save.



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