org.kuali.kfs.module.purap.businessobject
Class CreditMemoItem

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.module.purap.businessobject.PurApItemBase
              extended by org.kuali.kfs.module.purap.businessobject.AccountsPayableItemBase
                  extended by org.kuali.kfs.module.purap.businessobject.CreditMemoItem
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, ExternalPurApItem, AccountsPayableItem, PurapEnterableItem, PurApItem, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.ExternalizableBusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class CreditMemoItem
extends AccountsPayableItemBase

Item line Business Object for Credit Memo Document.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
CreditMemoItem()
          Default constructor.
CreditMemoItem(VendorCreditMemoDocument cmDocument, PaymentRequestItem preqItem, PurchaseOrderItem poItem, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
          Constructs a CreditMemoItem object from an existing Payment Request Item, and check and process expired or closed accounts item might contain.
CreditMemoItem(VendorCreditMemoDocument cmDocument, PurchaseOrderItem poItem)
          Constructs a CreditMemoItem object from an existing Purchase Order Item.
CreditMemoItem(VendorCreditMemoDocument cmDocument, PurchaseOrderItem poItem, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
          Constructs a CreditMemoItem object from an existing Purchase Order Item, and check and process expired or closed accounts item might contain.
 
Method Summary
 Class<CreditMemoAccount> getAccountingLineClass()
           
 org.kuali.rice.kns.util.KualiDecimal getPoInvoicedTotalQuantity()
           
 org.kuali.rice.kns.util.KualiDecimal getPoTotalAmount()
           
 BigDecimal getPoUnitPrice()
           
 org.kuali.rice.kns.util.KualiDecimal getPreqInvoicedTotalQuantity()
           
 org.kuali.rice.kns.util.KualiDecimal getPreqTotalAmount()
           
 BigDecimal getPreqUnitPrice()
           
 PurchaseOrderItem getPurchaseOrderItem()
           
 Class getUseTaxClass()
           
 VendorCreditMemoDocument getVendorCreditMemo()
           
 void setPoInvoicedTotalQuantity(org.kuali.rice.kns.util.KualiDecimal poInvoicedTotalQuantity)
           
 void setPoTotalAmount(org.kuali.rice.kns.util.KualiDecimal poTotalAmount)
           
 void setPoUnitPrice(BigDecimal poUnitPrice)
           
 void setPreqInvoicedTotalQuantity(org.kuali.rice.kns.util.KualiDecimal preqInvoicedTotalQuantity)
           
 void setPreqTotalAmount(org.kuali.rice.kns.util.KualiDecimal preqTotalAmount)
           
 void setPreqUnitPrice(BigDecimal preqUnitPrice)
           
 
Methods inherited from class org.kuali.kfs.module.purap.businessobject.AccountsPayableItemBase
getCapitalAssetTransactionType, getCapitalAssetTransactionTypeCode, getExtendedPrice, getSummaryItem, isConsideredEntered, isConsideredEnteredWithoutZero, isConsideredEnteredWithZero, isEligibleDisplay, isNonZeroAmount, setCapitalAssetTransactionTypeCode, setExtendedPrice, setItemDescription
 
Methods inherited from class org.kuali.kfs.module.purap.businessobject.PurApItemBase
buildListOfDeletionAwareLists, calculateExtendedPrice, fixAccountReferences, getBaselineSourceAccountingLine, getBaselineSourceAccountingLines, getExternalOrganizationB2bProductReferenceNumber, getExternalOrganizationB2bProductTypeName, getItemAssignedToTradeInIndicator, getItemAuxiliaryPartIdentifier, getItemCatalogNumber, getItemDescription, getItemIdentifier, getItemIdentifierString, getItemLineNumber, getItemQuantity, getItemSalesTaxAmount, getItemTaxAmount, getItemType, getItemTypeCode, getItemUnitOfMeasureCode, getItemUnitPrice, getNewSourceLine, getPurapDocument, getPurapDocumentIdentifier, getSourceAccountingLine, getSourceAccountingLines, getTotalAmount, getTotalRemitAmount, getUseTaxItems, isAccountListEmpty, refreshNonUpdateableReferences, resetAccount, setBaselineSourceAccountingLines, setExternalOrganizationB2bProductReferenceNumber, setExternalOrganizationB2bProductTypeName, setItemAssignedToTradeInIndicator, setItemAuxiliaryPartIdentifier, setItemCatalogNumber, setItemIdentifier, setItemLineNumber, setItemQuantity, setItemSalesTaxAmount, setItemTaxAmount, setItemType, setItemTypeCode, setItemUnitOfMeasureCode, setItemUnitPrice, setNewSourceLine, setPurapDocument, setPurapDocumentIdentifier, setSourceAccountingLines, setTotalAmount, setUseTaxItems, toString, toStringMapper
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.module.purap.businessobject.PurApItem
calculateExtendedPrice, fixAccountReferences, getBaselineSourceAccountingLines, getExternalOrganizationB2bProductReferenceNumber, getExternalOrganizationB2bProductTypeName, getItemAssignedToTradeInIndicator, getItemAuxiliaryPartIdentifier, getItemCatalogNumber, getItemDescription, getItemIdentifier, getItemIdentifierString, getItemLineNumber, getItemQuantity, getItemTaxAmount, getItemType, getItemTypeCode, getItemUnitOfMeasureCode, getItemUnitPrice, getNewSourceLine, getPurapDocument, getPurapDocumentIdentifier, getSourceAccountingLines, getTotalAmount, getTotalRemitAmount, getUseTaxItems, resetAccount, setExternalOrganizationB2bProductReferenceNumber, setExternalOrganizationB2bProductTypeName, setItemAssignedToTradeInIndicator, setItemAuxiliaryPartIdentifier, setItemCatalogNumber, setItemIdentifier, setItemLineNumber, setItemQuantity, setItemTaxAmount, setItemType, setItemTypeCode, setItemUnitOfMeasureCode, setItemUnitPrice, setNewSourceLine, setPurapDocument, setPurapDocumentIdentifier, setSourceAccountingLines, setTotalAmount, setUseTaxItems
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 

Constructor Detail

CreditMemoItem

public CreditMemoItem()
Default constructor.


CreditMemoItem

public CreditMemoItem(VendorCreditMemoDocument cmDocument,
                      PurchaseOrderItem poItem)
Constructs a CreditMemoItem object from an existing Purchase Order Item. - Delegate

Parameters:
cmDocument - the Credit Memo Document this item belongs to.
poItem - the Purchase Order Item to copy from.

CreditMemoItem

public CreditMemoItem(VendorCreditMemoDocument cmDocument,
                      PurchaseOrderItem poItem,
                      HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Constructs a CreditMemoItem object from an existing Purchase Order Item, and check and process expired or closed accounts item might contain.

Parameters:
cmDocument - the Credit Memo Document this item belongs to.
poItem - the Purchase Order Item to copy from.
expiredOrClosedAccountList - the list of expired or closed accounts to check against.

CreditMemoItem

public CreditMemoItem(VendorCreditMemoDocument cmDocument,
                      PaymentRequestItem preqItem,
                      PurchaseOrderItem poItem,
                      HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Constructs a CreditMemoItem object from an existing Payment Request Item, and check and process expired or closed accounts item might contain.

Parameters:
cmDocument - the Credit Memo Document this item belongs to.
preqItem - the Payment Request Item to copy from.
poItem - the Purchase Order Item to copy from.
expiredOrClosedAccountList - the list of expired or closed accounts to check against.
Method Detail

getAccountingLineClass

public Class<CreditMemoAccount> getAccountingLineClass()
Specified by:
getAccountingLineClass in interface PurApItem
Specified by:
getAccountingLineClass in class PurApItemBase
See Also:
PurApItemBase.getAccountingLineClass()

getPoTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getPoTotalAmount()

setPoTotalAmount

public void setPoTotalAmount(org.kuali.rice.kns.util.KualiDecimal poTotalAmount)

getPoInvoicedTotalQuantity

public org.kuali.rice.kns.util.KualiDecimal getPoInvoicedTotalQuantity()

setPoInvoicedTotalQuantity

public void setPoInvoicedTotalQuantity(org.kuali.rice.kns.util.KualiDecimal poInvoicedTotalQuantity)

getPoUnitPrice

public BigDecimal getPoUnitPrice()

setPoUnitPrice

public void setPoUnitPrice(BigDecimal poUnitPrice)

getPreqTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getPreqTotalAmount()

setPreqTotalAmount

public void setPreqTotalAmount(org.kuali.rice.kns.util.KualiDecimal preqTotalAmount)

getPreqInvoicedTotalQuantity

public org.kuali.rice.kns.util.KualiDecimal getPreqInvoicedTotalQuantity()

setPreqInvoicedTotalQuantity

public void setPreqInvoicedTotalQuantity(org.kuali.rice.kns.util.KualiDecimal preqInvoicedTotalQuantity)

getPreqUnitPrice

public BigDecimal getPreqUnitPrice()

setPreqUnitPrice

public void setPreqUnitPrice(BigDecimal preqUnitPrice)

getUseTaxClass

public Class getUseTaxClass()
Specified by:
getUseTaxClass in interface PurApItem
Specified by:
getUseTaxClass in class PurApItemBase

getPurchaseOrderItem

public PurchaseOrderItem getPurchaseOrderItem()

getVendorCreditMemo

public VendorCreditMemoDocument getVendorCreditMemo()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.