public class InvoiceItem extends AccountsPayableItemBase
Modifier and Type | Field and Description |
---|---|
protected Integer |
accountsPayablePurchasingDocumentLinkIdentifier |
protected boolean |
closePurchaseOrderIndicator |
protected Integer |
poLineNumber |
protected Integer |
postingYear |
protected PurchaseOrderDocument |
purchaseOrderDocument |
protected boolean |
receivingDocumentRequiredIndicator |
protected RecurringPaymentType |
recurringPaymentType |
protected String |
recurringPaymentTypeCode |
protected boolean |
reopenPurchaseOrderIndicator |
Constructor and Description |
---|
InvoiceItem()
Default constructor.
|
InvoiceItem(PurchaseOrderItem poi,
InvoiceDocument inv)
inv item constructor - Delegate
|
InvoiceItem(PurchaseOrderItem poi,
InvoiceDocument inv,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Constructs a new payment request item, but also merges expired accounts.
|
Modifier and Type | Method and Description |
---|---|
void |
addToExtendedPrice(org.kuali.rice.core.api.util.type.KualiDecimal addThisValue) |
void |
addToUnitPrice(BigDecimal addThisValue)
Added for electronic invoice
|
void |
generateAccountListFromPoItemAccounts(List<PurApAccountingLine> accounts) |
Class |
getAccountingLineClass() |
Integer |
getAccountsPayablePurchasingDocumentLinkIdentifier() |
InvoiceDocument |
getInvoice() |
Integer |
getInvoiceIdentifier() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemOutstandingInvoiceAmount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemOutstandingInvoiceQuantity() |
BigDecimal |
getOriginalAmountfromPO() |
PurchaseOrderItem |
getPoItem() |
Integer |
getPoLineNumber() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getPoOriginalAmount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getPoOutstandingAmount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getPoOutstandingQuantity() |
Integer |
getPostingYear() |
PurchaseOrderDocument |
getPurchaseOrderDocument() |
Integer |
getPurchaseOrderIdentifier() |
PurchaseOrderItem |
getPurchaseOrderItem()
Retrieves a purchase order item by inspecting the item type to see if its above the line or below the line and returns the
appropriate type.
|
BigDecimal |
getPurchaseOrderItemUnitPrice() |
RecurringPaymentType |
getRecurringPaymentType() |
String |
getRecurringPaymentTypeCode() |
Class |
getUseTaxClass() |
boolean |
isClosePurchaseOrderIndicator() |
boolean |
isDisplayOnPreq() |
boolean |
isEnableReceivingDocumentRequiredIndicator()
Decides whether receivingDocumentRequiredIndicator functionality shall be enabled according to the controlling parameter.
|
boolean |
isReceivingDocumentRequiredIndicator()
Gets the receivingDocumentRequiredIndicator attribute.
|
boolean |
isReopenPurchaseOrderIndicator() |
void |
resetAccount()
sets account line percentage to zero.
|
void |
setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier) |
void |
setClosePurchaseOrderIndicator(boolean closePurchaseOrderIndicator) |
void |
setInvoice(InvoiceDocument invoice) |
void |
setInvoiceIdentifier(Integer invoiceIdentifier) |
void |
setItemOutstandingInvoiceAmount(org.kuali.rice.core.api.util.type.KualiDecimal itemOutstandingInvoiceAmount) |
void |
setItemOutstandingInvoiceQuantity(org.kuali.rice.core.api.util.type.KualiDecimal itemOutstandingInvoiceQuantity) |
void |
setOriginalAmountfromPO(BigDecimal purchaseOrderItemUnitPrice) |
void |
setPoItem(PurchaseOrderItem poItem) |
void |
setPoLineNumber(Integer poLineNumber) |
void |
setPoOutstandingAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
Deprecated.
|
void |
setPoOutstandingQuantity(org.kuali.rice.core.api.util.type.KualiDecimal qty)
Deprecated.
|
void |
setPostingYear(Integer postingYear) |
void |
setPurchaseOrderDocument(PurchaseOrderDocument purchaseOrderDocument) |
void |
setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) |
void |
setPurchaseOrderItemUnitPrice(BigDecimal purchaseOrderItemUnitPrice) |
void |
setReceivingDocumentRequiredIndicator(boolean receivingDocumentRequiredIndicator)
Sets the receivingDocumentRequiredIndicator attribute value.
|
void |
setRecurringPaymentType(RecurringPaymentType recurringPaymentType) |
void |
setRecurringPaymentTypeCode(String recurringPaymentTypeCode) |
void |
setReopenPurchaseOrderIndicator(boolean reopenPurchaseOrderIndicator) |
getCapitalAssetTransactionType, getCapitalAssetTransactionTypeCode, getExtendedPrice, getSummaryItem, isConsideredEntered, isConsideredEnteredWithoutZero, isConsideredEnteredWithZero, isEligibleDisplay, isNonZeroAmount, setCapitalAssetTransactionTypeCode, setExtendedPrice, setItemDescription
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_RICE20_REFACTORME
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
protected Integer accountsPayablePurchasingDocumentLinkIdentifier
protected Integer poLineNumber
protected boolean closePurchaseOrderIndicator
protected boolean reopenPurchaseOrderIndicator
protected Integer postingYear
protected String recurringPaymentTypeCode
protected RecurringPaymentType recurringPaymentType
protected boolean receivingDocumentRequiredIndicator
protected PurchaseOrderDocument purchaseOrderDocument
public InvoiceItem()
public InvoiceItem(PurchaseOrderItem poi, InvoiceDocument inv)
poi
- - purchase order iteminv
- - payment request documentpublic InvoiceItem(PurchaseOrderItem poi, InvoiceDocument inv, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
poi
- - purchase order iteminv
- - payment request documentexpiredOrClosedAccountList
- - list of expired or closed accounts to mergepublic PurchaseOrderItem getPurchaseOrderItem()
public org.kuali.rice.core.api.util.type.KualiDecimal getPoOutstandingAmount()
public org.kuali.rice.core.api.util.type.KualiDecimal getPoOriginalAmount()
@Deprecated public void setPoOutstandingAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
amount
- - po outstanding amountpublic org.kuali.rice.core.api.util.type.KualiDecimal getPoOutstandingQuantity()
@Deprecated public void setPoOutstandingQuantity(org.kuali.rice.core.api.util.type.KualiDecimal qty)
qty
- - po outstanding quantitypublic BigDecimal getPurchaseOrderItemUnitPrice()
public Integer getAccountsPayablePurchasingDocumentLinkIdentifier()
public void setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier)
public Integer getPoLineNumber()
public void setPoLineNumber(Integer poLineNumber)
public Integer getPurchaseOrderIdentifier()
public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier)
public Integer getInvoiceIdentifier()
public void setInvoiceIdentifier(Integer invoiceIdentifier)
public BigDecimal getOriginalAmountfromPO()
public void setOriginalAmountfromPO(BigDecimal purchaseOrderItemUnitPrice)
public Integer getPostingYear()
public void setPostingYear(Integer postingYear)
public void setPurchaseOrderItemUnitPrice(BigDecimal purchaseOrderItemUnitPrice)
public org.kuali.rice.core.api.util.type.KualiDecimal getItemOutstandingInvoiceAmount()
public void setItemOutstandingInvoiceAmount(org.kuali.rice.core.api.util.type.KualiDecimal itemOutstandingInvoiceAmount)
public org.kuali.rice.core.api.util.type.KualiDecimal getItemOutstandingInvoiceQuantity()
public void setItemOutstandingInvoiceQuantity(org.kuali.rice.core.api.util.type.KualiDecimal itemOutstandingInvoiceQuantity)
public InvoiceDocument getInvoice()
public void setInvoice(InvoiceDocument invoice)
public boolean isClosePurchaseOrderIndicator()
public void setClosePurchaseOrderIndicator(boolean closePurchaseOrderIndicator)
public boolean isReopenPurchaseOrderIndicator()
public void setReopenPurchaseOrderIndicator(boolean reopenPurchaseOrderIndicator)
public String getRecurringPaymentTypeCode()
public void setRecurringPaymentTypeCode(String recurringPaymentTypeCode)
public RecurringPaymentType getRecurringPaymentType()
public void setRecurringPaymentType(RecurringPaymentType recurringPaymentType)
public void generateAccountListFromPoItemAccounts(List<PurApAccountingLine> accounts)
public Class getAccountingLineClass()
getAccountingLineClass
in interface PurApItem
getAccountingLineClass
in class PurApItemBase
PurApItem.getAccountingLineClass()
public boolean isDisplayOnPreq()
public void resetAccount()
resetAccount
in interface PurApItem
resetAccount
in class PurApItemBase
PurApItem.resetAccount()
public void addToUnitPrice(BigDecimal addThisValue)
public void addToExtendedPrice(org.kuali.rice.core.api.util.type.KualiDecimal addThisValue)
public Class getUseTaxClass()
getUseTaxClass
in interface PurApItem
getUseTaxClass
in class PurApItemBase
public boolean isReceivingDocumentRequiredIndicator()
public void setReceivingDocumentRequiredIndicator(boolean receivingDocumentRequiredIndicator)
receivingDocumentRequiredIndicator
- The receivingDocumentRequiredIndicator to set.public boolean isEnableReceivingDocumentRequiredIndicator()
public PurchaseOrderDocument getPurchaseOrderDocument()
public void setPurchaseOrderDocument(PurchaseOrderDocument purchaseOrderDocument)
public PurchaseOrderItem getPoItem()
public void setPoItem(PurchaseOrderItem poItem)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.