|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.document.DocumentBase
org.kuali.rice.kns.document.TransactionalDocumentBase
org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
org.kuali.kfs.sys.document.LedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocumentBase
org.kuali.kfs.module.purap.document.AccountsPayableDocumentBase
org.kuali.kfs.module.purap.document.VendorCreditMemoDocument
public class VendorCreditMemoDocument
Credit Memo Document Business Object. Contains the fields associated with the main document table.
Field Summary | |
---|---|
protected org.kuali.rice.kns.util.KualiDecimal |
creditMemoAmount
|
protected Date |
creditMemoDate
|
protected String |
creditMemoNumber
|
protected Timestamp |
creditMemoPaidTimestamp
|
protected String |
itemMiscellaneousCreditDescription
|
protected static org.apache.log4j.Logger |
LOG
|
protected PaymentRequestDocument |
paymentRequestDocument
|
protected Integer |
paymentRequestIdentifier
|
protected Date |
purchaseOrderEndDate
|
protected String |
vendorAttentionName
|
Fields inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase |
---|
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines |
Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase |
---|
generalLedgerPendingEntries |
Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
---|
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear |
Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
---|
documentHeader |
Fields inherited from class org.kuali.rice.kns.document.DocumentBase |
---|
documentBusinessObject, documentNumber |
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
VendorCreditMemoDocument()
Default constructor. |
Method Summary | |
---|---|
boolean |
answerSplitNodeQuestion(String nodeName)
Provides answers to the following splits: RequiresInvoiceAttachment |
void |
clearInitFields()
Clear out the initially populated fields. |
void |
customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
Forces GL entries to be approved before document final approval. |
boolean |
documentHasNoImagesAttached()
Checks all documents notes for attachments. |
void |
doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
Override to call super and then iterate over all GLPEs and update the approved code appropriately. |
org.kuali.rice.kns.util.KualiDecimal |
getCreditMemoAmount()
|
Date |
getCreditMemoDate()
|
String |
getCreditMemoNumber()
|
Timestamp |
getCreditMemoPaidTimestamp()
|
String |
getCreditMemoType()
Returns the type of the Credit Memo that was selected on the init screen. |
protected String |
getCustomDocumentTitle()
Returns a custom document title based on the workflow document title. |
AccountsPayableDocumentSpecificService |
getDocumentSpecificService()
|
String |
getDocumentTitle()
|
org.kuali.rice.kns.util.KualiDecimal |
getGrandPreTaxTotal()
Calculates the credit memo pretax total: Sum of above the line - restocking fees + misc amount |
org.kuali.rice.kns.util.KualiDecimal |
getGrandPreTaxTotalExcludingRestockingFee()
|
org.kuali.rice.kns.util.KualiDecimal |
getGrandTaxAmount()
Calculates the credit memo tax amount: Sum of above the line - |
org.kuali.rice.kns.util.KualiDecimal |
getGrandTotal()
Calculates the credit memo total: Sum of above the line - restocking fees + misc amount |
org.kuali.rice.kns.util.KualiDecimal |
getGrandTotalExcludingRestockingFee()
|
org.kuali.rice.kns.util.KualiDecimal |
getInitialAmount()
Returns the amount entered on the initial screen. |
Class<CreditMemoItem> |
getItemClass()
Returns the Item Class. |
String |
getItemMiscellaneousCreditDescription()
|
Class |
getItemUseTaxClass()
|
org.kuali.rice.kns.util.KualiDecimal |
getLineItemPreTaxTotal()
Calculates the pretax total of the above the line items |
org.kuali.rice.kns.util.KualiDecimal |
getLineItemTotal()
Calculates the total of the above the line items |
PurapWorkflowConstants.NodeDetails |
getNodeDetailEnum(String nodeName)
Retrieves node details object based on name. |
String |
getPaidIndicatorForResult()
|
PaymentRequestDocument |
getPaymentRequest()
Deprecated. |
PaymentRequestDocument |
getPaymentRequestDocument()
|
Integer |
getPaymentRequestIdentifier()
|
String |
getPoDocumentTypeForAccountsPayableDocumentCancel()
Helper method to be called from custom prepare for save and to be overriden by sub class. |
PurchasingAccountsPayableDocument |
getPurApSourceDocumentIfPossible()
Returns the source of this Purchasing Accounts Payable Document if exists. |
String |
getPurApSourceDocumentLabelIfPossible()
Returns the label of the source of this Purchasing Accounts Payable Document if exists. |
PurchaseOrderDocument |
getPurchaseOrder()
Deprecated. |
Date |
getPurchaseOrderEndDate()
|
boolean |
getPurchaseOrderNotes()
Determines if the purchase order has notes, using the note service. |
String |
getStatusDescription()
Deprecated. |
protected String |
getTitleIndicator()
Determines the indicator text that will appear in the workflow document title |
Date |
getTransactionTaxDate()
|
String |
getVendorAttentionName()
|
void |
initiateDocument()
Initializes the values for a new document. |
protected boolean |
isAttachmentRequired()
Checks whether an attachment is required |
boolean |
isBoNotesSupport()
|
boolean |
isInquiryRendered()
Overrides the method in PurchasingAccountsPayableDocumentBase to add the criteria specific to Credit Memo Document. |
boolean |
isSourceDocumentPaymentRequest()
|
boolean |
isSourceDocumentPurchaseOrder()
|
boolean |
isSourceVendor()
|
void |
prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
Credit Memo document is first populated on Continue AP Event, and then prepareForSave continues. |
boolean |
processNodeChange(String newNodeName,
String oldNodeName)
Hook point for performing actions that occur after a route level change, in this case; Performs logic necessary after full entry has been completed when past Adhoc Review, or sets the AP approval date when past AP review. |
void |
saveDocumentFromPostProcessing()
Hook point to allow processing after a save. |
void |
setCreditMemoAmount(org.kuali.rice.kns.util.KualiDecimal creditMemoAmount)
|
void |
setCreditMemoDate(Date creditMemoDate)
|
void |
setCreditMemoNumber(String creditMemoNumber)
|
void |
setCreditMemoPaidTimestamp(Timestamp creditMemoPaidTimestamp)
|
void |
setItemMiscellaneousCreditDescription(String itemMiscellaneousCreditDescription)
|
void |
setPaymentRequest(PaymentRequestDocument paymentRequest)
Deprecated. |
void |
setPaymentRequestDocument(PaymentRequestDocument paymentRequestDocument)
|
void |
setPaymentRequestIdentifier(Integer paymentRequestIdentifier)
|
void |
setPurchaseOrder(PurchaseOrderDocument purchaseOrder)
Deprecated. |
void |
setPurchaseOrderEndDate(Date purchaseOrderEndDate)
|
void |
setStatusDescription(String statusDescription)
Deprecated. |
void |
setVendorAttentionName(String vendorAttentionName)
|
Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
---|
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode |
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
---|
getDocumentHeader, prepareForSave, setDocumentHeader |
Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase |
---|
getAllowsCopy, isSessionDocument |
Methods inherited from class org.kuali.rice.kns.document.DocumentBase |
---|
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isNewCollectionRecord, linkEditableUserFields, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
---|
prepareForWorkflow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPostingDocument |
---|
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries |
Methods inherited from interface org.kuali.kfs.sys.document.LedgerPostingDocument |
---|
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument |
---|
getDocumentHeader |
Methods inherited from interface org.kuali.rice.kns.document.Document |
---|
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
---|
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
---|
prepareForWorkflow, refresh |
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware |
---|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource |
---|
addPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected Integer paymentRequestIdentifier
protected String creditMemoNumber
protected Date creditMemoDate
protected org.kuali.rice.kns.util.KualiDecimal creditMemoAmount
protected Timestamp creditMemoPaidTimestamp
protected String itemMiscellaneousCreditDescription
protected Date purchaseOrderEndDate
protected String vendorAttentionName
protected PaymentRequestDocument paymentRequestDocument
Constructor Detail |
---|
public VendorCreditMemoDocument()
Method Detail |
---|
public boolean isSourceDocumentPaymentRequest()
public boolean isSourceDocumentPurchaseOrder()
public boolean isSourceVendor()
public boolean isInquiryRendered()
isInquiryRendered
in interface PurchasingAccountsPayableDocument
isInquiryRendered
in class PurchasingAccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.isInquiryRendered()
public void initiateDocument()
public void clearInitFields()
public String getCreditMemoType()
public boolean isBoNotesSupport()
isBoNotesSupport
in interface org.kuali.rice.kns.bo.PersistableBusinessObject
isBoNotesSupport
in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
PersistableBusinessObjectBase.isBoNotesSupport()
public boolean getPurchaseOrderNotes()
protected String getTitleIndicator()
public void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
GeneralLedgerPostingDocumentBase
doRouteStatusChange
in interface org.kuali.rice.kns.document.Document
doRouteStatusChange
in class GeneralLedgerPostingDocumentBase
org.kuali.rice.kns.document.DocumentBase#doRouteStatusChange()
public boolean processNodeChange(String newNodeName, String oldNodeName)
processNodeChange
in class AccountsPayableDocumentBase
newNodeName
- - current route leveloldNodeName
- - previous route level
org.kuali.kfs.module.purap.document.AccountsPayableDocumentBase#preProcessNodeChange(java.lang.String, java.lang.String)
public String getDocumentTitle()
getDocumentTitle
in interface org.kuali.rice.kns.document.Document
getDocumentTitle
in class org.kuali.rice.kns.document.DocumentBase
DocumentBase.getDocumentTitle()
protected String getCustomDocumentTitle()
public PurapWorkflowConstants.NodeDetails getNodeDetailEnum(String nodeName)
AccountsPayableDocumentBase
getNodeDetailEnum
in class AccountsPayableDocumentBase
nodeName
- - route level
AccountsPayableDocumentBase.getNodeDetailEnum(java.lang.String)
public void saveDocumentFromPostProcessing()
AccountsPayableDocumentBase
saveDocumentFromPostProcessing
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.saveDocumentFromPostProcessing()
public Class<CreditMemoItem> getItemClass()
PurchasingAccountsPayableDocument
getItemClass
in interface PurapItemOperations
getItemClass
in interface PurchasingAccountsPayableDocument
getItemClass
in class AccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.getItemClass()
public Class getItemUseTaxClass()
getItemUseTaxClass
in class PurchasingAccountsPayableDocumentBase
public PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentIfPossible
in interface PurchasingAccountsPayableDocument
getPurApSourceDocumentIfPossible
in class AccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.getPurApSourceDocumentIfPossible()
public String getPurApSourceDocumentLabelIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentLabelIfPossible
in interface PurchasingAccountsPayableDocument
getPurApSourceDocumentLabelIfPossible
in class AccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.getPurApSourceDocumentLabelIfPossible()
public org.kuali.rice.kns.util.KualiDecimal getLineItemPreTaxTotal()
public org.kuali.rice.kns.util.KualiDecimal getLineItemTotal()
public org.kuali.rice.kns.util.KualiDecimal getGrandTotal()
getGrandTotal
in interface AccountsPayableDocument
getGrandTotal
in class AccountsPayableDocumentBase
AccountsPayableDocument.getGrandTotal()
public org.kuali.rice.kns.util.KualiDecimal getGrandPreTaxTotal()
public org.kuali.rice.kns.util.KualiDecimal getGrandTaxAmount()
public org.kuali.rice.kns.util.KualiDecimal getGrandPreTaxTotalExcludingRestockingFee()
public org.kuali.rice.kns.util.KualiDecimal getGrandTotalExcludingRestockingFee()
public Integer getPaymentRequestIdentifier()
public void setPaymentRequestIdentifier(Integer paymentRequestIdentifier)
public String getCreditMemoNumber()
public void setCreditMemoNumber(String creditMemoNumber)
public Date getCreditMemoDate()
public void setCreditMemoDate(Date creditMemoDate)
public org.kuali.rice.kns.util.KualiDecimal getCreditMemoAmount()
public void setCreditMemoAmount(org.kuali.rice.kns.util.KualiDecimal creditMemoAmount)
public String getItemMiscellaneousCreditDescription()
public void setItemMiscellaneousCreditDescription(String itemMiscellaneousCreditDescription)
public Timestamp getCreditMemoPaidTimestamp()
public void setCreditMemoPaidTimestamp(Timestamp creditMemoPaidTimestamp)
public PaymentRequestDocument getPaymentRequestDocument()
public void setPaymentRequestDocument(PaymentRequestDocument paymentRequestDocument)
public PaymentRequestDocument getPaymentRequest()
public void setPaymentRequest(PaymentRequestDocument paymentRequest)
public PurchaseOrderDocument getPurchaseOrder()
public void setPurchaseOrder(PurchaseOrderDocument purchaseOrder)
public Date getPurchaseOrderEndDate()
public void setPurchaseOrderEndDate(Date purchaseOrderEndDate)
public String getStatusDescription()
public void setStatusDescription(String statusDescription)
public String getPoDocumentTypeForAccountsPayableDocumentCancel()
AccountsPayableDocumentBase
getPoDocumentTypeForAccountsPayableDocumentCancel
in class AccountsPayableDocumentBase
org.kuali.kfs.module.purap.document.AccountsPayableDocumentBase#getPoDocumentTypeForAccountsPayableDocumentApprove()
public org.kuali.rice.kns.util.KualiDecimal getInitialAmount()
AccountsPayableDocument
getInitialAmount
in interface AccountsPayableDocument
getInitialAmount
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.getInitialAmount()
public void prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
prepareForSave
in interface org.kuali.rice.kns.document.Document
prepareForSave
in class AccountsPayableDocumentBase
Document.prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent)
protected boolean isAttachmentRequired()
AccountsPayableDocumentBase
isAttachmentRequired
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.isAttachmentRequired()
public AccountsPayableDocumentSpecificService getDocumentSpecificService()
getDocumentSpecificService
in interface AccountsPayableDocument
getDocumentSpecificService
in class AccountsPayableDocumentBase
AccountsPayableDocument.getDocumentSpecificService()
public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntry explicitEntry)
customizeExplicitGeneralLedgerPendingEntry
in class AccountingDocumentBase
org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(org.kuali.kfs.sys.document.AccountingDocument, org.kuali.kfs.sys.businessobject.AccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntry)
public Date getTransactionTaxDate()
public String getVendorAttentionName()
getVendorAttentionName
in class PurchasingAccountsPayableDocumentBase
public void setVendorAttentionName(String vendorAttentionName)
setVendorAttentionName
in class PurchasingAccountsPayableDocumentBase
public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion
in interface FinancialSystemTransactionalDocument
answerSplitNodeQuestion
in class FinancialSystemTransactionalDocumentBase
UnsupportedOperationException
FinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)
public String getPaidIndicatorForResult()
public boolean documentHasNoImagesAttached()
documentHasNoImagesAttached
in class AccountsPayableDocumentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |