|
||||||||||
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
public abstract class PurchasingAccountsPayableDocumentBase
Base class for Purchasing-Accounts Payable Documents.
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 | |
---|---|
PurchasingAccountsPayableDocumentBase()
Default constructor to be overridden. |
Method Summary | |
---|---|
void |
addItem(PurApItem item)
Adds the specified item to this document. |
protected String |
buildDocumentTitle(String title)
build document title based on the properties of current document |
List |
buildListOfDeletionAwareLists()
|
void |
customPrepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
Allows child PO classes to customize the prepareForSave method. |
void |
deleteItem(int lineNum)
Deletes the specified item from this document. |
boolean |
documentPerformsSufficientFundsCheck()
PURAP documents are all overriding this method to return false because sufficient funds checking should not be performed on route of any PURAP documents. |
void |
fixItemReferences()
This method fixes the item references in this document if it's new |
List<SourceAccountingLine> |
getAccountsForRouting()
|
Integer |
getAccountsPayablePurchasingDocumentLinkIdentifier()
|
String[] |
getBelowTheLineTypes()
Gets all below the line item types. |
protected List |
getDeletionAwareAccountingLines()
Build deletion list of accounting lines for PurAp generic use. |
protected GeneralLedgerPendingEntry |
getFirstPendingGLEntry()
|
boolean |
getIsATypeOfPODoc()
Determines whether the document is a type of PurchseOrderDocument (including its subclass documents). |
boolean |
getIsATypeOfPurAPRecDoc()
Always returns true. |
boolean |
getIsATypeOfPurDoc()
Determines whether the document is a type of PurchasingDocument. |
boolean |
getIsPODoc()
Determines whether the document is a PurchaseOrderDocument (excluding its subclass documents). |
boolean |
getIsReqsDoc()
Determines whether the document is a RequisitionDocument. |
PurApItem |
getItem(int pos)
Gets the item at the specified index. |
PurApItem |
getItemByItemIdentifier(Integer itemID)
Find the item in the document via its identifier. |
PurApItem |
getItemByLineNumber(int lineNumber)
Iterates through the items of the document and returns the item with the line number equal to the number given, or null if a match is not found. |
PurApItem |
getItemByStringIdentifier(String itemStrID)
Find the item in the document via its string identifier. |
abstract Class |
getItemClass()
Returns the Item Class. |
int |
getItemLinePosition()
Determines the item line position if the user did not specify the line number on an above the line items before clicking on the add button. |
List |
getItems()
|
abstract Class |
getItemUseTaxClass()
|
boolean |
getNeedWarningRelatedPOs()
Checks whether the related purchase order views need a warning to be displayed, i.e. |
Boolean |
getOverrideWorkflowButtons()
|
protected List |
getPersistedSourceAccountingLinesForComparison()
Accounting lines that are read-only should skip validation |
String |
getPostingPeriodCodeFromPendingGLEntries()
|
Integer |
getPostingYearFromPendingGLEntries()
|
Integer |
getPostingYearNextOrCurrent()
If posting year on document is set to use NEXT fiscal year, then return NEXT. |
Integer |
getPurapDocumentIdentifier()
|
abstract PurchasingAccountsPayableDocument |
getPurApSourceDocumentIfPossible()
Returns the source of this Purchasing Accounts Payable Document if exists. |
abstract String |
getPurApSourceDocumentLabelIfPossible()
Returns the label of the source of this Purchasing Accounts Payable Document if exists. |
PurApRelatedViews |
getRelatedViews()
|
List |
getSourceAccountingLines()
Overridden to return the source lines of all of the items |
protected List |
getSourceAccountingLinesForComparison()
Accounting lines that are read-only should skip validation |
Status |
getStatus()
|
String |
getStatusCode()
|
String |
getStatusCodeForMultiboxSearching()
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmount()
Since one side of the document should match the other and the document should balance, the total dollar amount for the document should either be the expense line or the income line. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmountAboveLineItems()
Computes the total dollar amount of all above the line items. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmountAboveLineItems(String[] excludedTypes)
Computes the total dollar amount of all above the line items with the specified item types excluded. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmountAllItems(String[] excludedTypes)
Computes the total dollar amount with the specified item types excluded. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmountForTradeIn()
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmountWithExclusions(String[] excludedTypes,
boolean includeBelowTheLine)
Computes the total dollar amount with the specified item types and possibly below the line items excluded. |
protected org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmountWithExclusionsSubsetItems(String[] excludedTypes,
boolean includeBelowTheLine,
List<PurApItem> itemsForTotal)
This method... |
org.kuali.rice.kns.util.KualiDecimal |
getTotalPreTaxDollarAmount()
Computes the pre tax total dollar amount of all items. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalPreTaxDollarAmountAboveLineItems()
Computes the total dollar amount of all above the line items. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalPreTaxDollarAmountAboveLineItems(String[] excludedTypes)
Computes the total dollar amount of all above the line items with the specified item types excluded. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalPreTaxDollarAmountAllItems(String[] excludedTypes)
Computes the pre tax total dollar amount with the specified item types excluded. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalPreTaxDollarAmountWithExclusions(String[] excludedTypes,
boolean includeBelowTheLine)
Computes the total dollar amount with the specified item types and possibly below the line items excluded. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalTaxAmount()
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalTaxAmountAboveLineItems()
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalTaxAmountAboveLineItems(String[] excludedTypes)
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalTaxAmountAllItems(String[] excludedTypes)
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalTaxAmountWithExclusions(String[] excludedTypes,
boolean includeBelowTheLine)
|
PurApItem |
getTradeInItem()
Returns the trade in item of the document. |
List<PurApItem> |
getTradeInItems()
This method... |
Integer |
getVendorAddressGeneratedIdentifier()
|
String |
getVendorAddressInternationalProvinceName()
|
String |
getVendorAttentionName()
|
String |
getVendorCityName()
|
org.kuali.rice.kns.bo.Country |
getVendorCountry()
|
String |
getVendorCountryCode()
|
String |
getVendorCustomerNumber()
|
VendorDetail |
getVendorDetail()
|
Integer |
getVendorDetailAssignedIdentifier()
|
Integer |
getVendorHeaderGeneratedIdentifier()
|
String |
getVendorLine1Address()
|
String |
getVendorLine2Address()
|
String |
getVendorName()
|
String |
getVendorNumber()
Returns the vendor number for this document. |
String |
getVendorPostalCode()
|
String |
getVendorStateCode()
|
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether the account is debit. |
boolean |
isDocumentStoppedInRouteNode(PurapWorkflowConstants.NodeDetails nodeDetails)
Returns true if this document is stopped in the specified route node. |
boolean |
isInquiryRendered()
Determines whether the inquiry links should be rendered for Object Code and Sub Object Code. |
boolean |
isPostingYearNext()
Returns true if posting year on document is set to use NEXT fiscal year. |
boolean |
isPostingYearPrior()
Returns true if posting year on document is set to use PRIOR fiscal year. |
boolean |
isSensitive()
|
boolean |
isUseTaxIndicator()
|
void |
itemSwap(int positionFrom,
int positionTo)
Swaps the specified two items based on their item line numbers (which are one higher than the item positions in the list). |
protected void |
logAndThrowRuntimeException(String errorMessage)
Records the specified error message into the Log file and throws a runtime exception. |
protected void |
logAndThrowRuntimeException(String errorMessage,
Exception e)
Records the specified error message into the Log file and throws the specified runtime exception. |
protected void |
populateAccountsForRouting()
Makes sure that accounts for routing has been generated, so that other information can be retrieved from that |
void |
prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
|
void |
processAfterRetrieve()
This is the default implementation which ensures that document note attachment references are loaded. |
void |
refreshNonUpdateableReferences()
|
void |
renumberItems(int start)
Renumbers the item starting from the specified index. |
void |
setAccountsForRouting(List<SourceAccountingLine> accountsForRouting)
|
void |
setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier)
|
void |
setItems(List items)
|
void |
setOverrideWorkflowButtons(Boolean overrideWorkflowButtons)
|
void |
setPostingYear(Integer postingYear)
Overriding the parent method so that we can just set the posting year without the other stuff that the parent does to the accounting period. |
void |
setPurapDocumentIdentifier(Integer identifier)
|
void |
setRelatedViews(PurApRelatedViews relatedViews)
|
void |
setStatus(Status status)
|
void |
setStatusCode(String statusCode)
|
void |
setTotalDollarAmount(org.kuali.rice.kns.util.KualiDecimal amount)
Sets the total dollar amount to the specified amount. |
void |
setTotalPreTaxDollarAmount(org.kuali.rice.kns.util.KualiDecimal amount)
Sets the pre tax total dollar amount to the specified amount. |
void |
setTotalTaxAmount(org.kuali.rice.kns.util.KualiDecimal amount)
|
void |
setUseTaxIndicator(boolean useTaxIndicator)
|
void |
setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)
|
void |
setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName)
|
void |
setVendorAttentionName(String vendorAttentionName)
|
void |
setVendorCityName(String vendorCityName)
|
void |
setVendorCountry(org.kuali.rice.kns.bo.Country vendorCountry)
Deprecated. |
void |
setVendorCountryCode(String vendorCountryCode)
|
void |
setVendorCustomerNumber(String vendorCustomerNumber)
|
void |
setVendorDetail(VendorDetail vendorDetail)
|
void |
setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
|
void |
setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
|
void |
setVendorLine1Address(String vendorLine1Address)
|
void |
setVendorLine2Address(String vendorLine2Address)
|
void |
setVendorName(String vendorName)
|
void |
setVendorNumber(String vendorNumber)
|
void |
setVendorPostalCode(String vendorPostalCode)
|
void |
setVendorStateCode(String vendorStateCode)
|
void |
templateVendorAddress(VendorAddress vendorAddress)
Sets vendor address fields based on a given VendorAddress. |
protected LinkedHashMap |
toStringMapper()
|
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 |
---|
answerSplitNodeQuestion, 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, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, 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, isBoNotesSupport, 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.module.purap.document.PurchasingAccountsPayableDocument |
---|
getTransactionTaxDate, shouldGiveErrorForEmptyAccountsProration |
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 |
Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument |
---|
answerSplitNodeQuestion, getDocumentHeader |
Methods inherited from interface org.kuali.rice.kns.document.Document |
---|
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
---|
addNote, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, 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 |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected Integer purapDocumentIdentifier
protected String statusCode
protected Integer vendorHeaderGeneratedIdentifier
protected Integer vendorDetailAssignedIdentifier
protected String vendorCustomerNumber
protected String vendorName
protected String vendorLine1Address
protected String vendorLine2Address
protected String vendorCityName
protected String vendorStateCode
protected String vendorAddressInternationalProvinceName
protected String vendorPostalCode
protected String vendorCountryCode
protected Integer accountsPayablePurchasingDocumentLinkIdentifier
protected boolean useTaxIndicator
protected String vendorAttentionName
protected String vendorNumber
protected Integer vendorAddressGeneratedIdentifier
protected Boolean overrideWorkflowButtons
protected transient PurApRelatedViews relatedViews
protected boolean sensitive
protected List<PurApItem> items
protected List<SourceAccountingLine> accountsForRouting
protected Status status
protected VendorDetail vendorDetail
protected org.kuali.rice.kns.bo.Country vendorCountry
public transient String[] belowTheLineTypes
public boolean allowDeleteAwareCollection
Constructor Detail |
---|
public PurchasingAccountsPayableDocumentBase()
Method Detail |
---|
protected GeneralLedgerPendingEntry getFirstPendingGLEntry()
public Integer getPostingYearFromPendingGLEntries()
public String getPostingPeriodCodeFromPendingGLEntries()
public List<SourceAccountingLine> getAccountsForRouting()
public void setAccountsForRouting(List<SourceAccountingLine> accountsForRouting)
protected void populateAccountsForRouting()
public boolean isSensitive()
public boolean isInquiryRendered()
PurchasingAccountsPayableDocument
isInquiryRendered
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.isInquiryRendered()
public boolean isPostingYearNext()
PurchasingAccountsPayableDocument
isPostingYearNext
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.isPostingYearNext()
public boolean isPostingYearPrior()
PurchasingAccountsPayableDocument
isPostingYearPrior
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.isPostingYearPrior()
public Integer getPostingYearNextOrCurrent()
PurchasingAccountsPayableDocument
getPostingYearNextOrCurrent
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getPostingYearNextOrCurrent()
public abstract Class getItemClass()
PurchasingAccountsPayableDocument
getItemClass
in interface PurapItemOperations
getItemClass
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getItemClass()
public abstract Class getItemUseTaxClass()
public abstract PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentIfPossible
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getPurApSourceDocumentIfPossible()
public abstract String getPurApSourceDocumentLabelIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentLabelIfPossible
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getPurApSourceDocumentLabelIfPossible()
public void prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
prepareForSave
in interface org.kuali.rice.kns.document.Document
prepareForSave
in class AccountingDocumentBase
DocumentBase.prepareForSave()
public boolean documentPerformsSufficientFundsCheck()
documentPerformsSufficientFundsCheck
in class GeneralLedgerPostingDocumentBase
GeneralLedgerPostingDocumentBase.documentPerformsSufficientFundsCheck()
public boolean isDocumentStoppedInRouteNode(PurapWorkflowConstants.NodeDetails nodeDetails)
PurchasingAccountsPayableDocument
isDocumentStoppedInRouteNode
in interface PurchasingAccountsPayableDocument
nodeDetails
- the node details of the specified node.
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument#isDocumentStoppedInRouteNode(NodeDetails nodeDetails)
protected void logAndThrowRuntimeException(String errorMessage)
errorMessage
- the error message to be logged.protected void logAndThrowRuntimeException(String errorMessage, Exception e)
errorMessage
- the specified error message.e
- the specified runtime exception.public void customPrepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
event
- the event involved in this action.public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists
in interface org.kuali.rice.kns.bo.PersistableBusinessObject
buildListOfDeletionAwareLists
in class AccountingDocumentBase
AccountingDocumentBase.buildListOfDeletionAwareLists()
protected List getDeletionAwareAccountingLines()
protected LinkedHashMap toStringMapper()
toStringMapper
in class org.kuali.rice.kns.document.DocumentBase
BusinessObjectBase.toStringMapper()
public void processAfterRetrieve()
FinancialSystemTransactionalDocumentBase
processAfterRetrieve
in interface org.kuali.rice.kns.document.Document
processAfterRetrieve
in class FinancialSystemTransactionalDocumentBase
Document.processAfterRetrieve()
public void addItem(PurApItem item)
PurchasingAccountsPayableDocument
addItem
in interface PurchasingAccountsPayableDocument
item
- the specified item to add.PurchasingAccountsPayableDocument.addItem(PurApItem item)
public void deleteItem(int lineNum)
PurchasingAccountsPayableDocument
deleteItem
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.deleteItem(int lineNum)
public void renumberItems(int start)
PurchasingAccountsPayableDocument
renumberItems
in interface PurchasingAccountsPayableDocument
start
- the index of the starting item to be renumbered.PurchasingAccountsPayableDocument.renumberItems(int start)
public void itemSwap(int positionFrom, int positionTo)
PurchasingAccountsPayableDocument
itemSwap
in interface PurchasingAccountsPayableDocument
positionFrom
- the position of the first itempositionTo
- the position of the second itemPurchasingAccountsPayableDocument.itemSwap(int positionFrom, int positionTo)
public int getItemLinePosition()
PurchasingAccountsPayableDocument
getItemLinePosition
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getItemLinePosition()
public PurApItem getItem(int pos)
PurchasingAccountsPayableDocument
getItem
in interface PurapItemOperations
getItem
in interface PurchasingAccountsPayableDocument
pos
- the specified index.
PurchasingAccountsPayableDocument.getItem(int pos)
public PurApItem getItemByLineNumber(int lineNumber)
lineNumber
- line number to match on.
public PurApItem getItemByStringIdentifier(String itemStrID)
itemStrID
- the string identifier of the item being searched for
public PurApItem getItemByItemIdentifier(Integer itemID)
itemID
- the string identifier of the item being searched for
public void setPostingYear(Integer postingYear)
setPostingYear
in interface LedgerPostingDocument
setPostingYear
in class LedgerPostingDocumentBase
LedgerPostingDocumentBase.setPostingYear(java.lang.Integer)
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
AccountingDocumentBase
getTotalDollarAmount
in interface PurchasingAccountsPayableDocument
getTotalDollarAmount
in interface AmountTotaling
getTotalDollarAmount
in class AccountingDocumentBase
AccountingDocumentBase.getTotalDollarAmount()
public void setTotalDollarAmount(org.kuali.rice.kns.util.KualiDecimal amount)
PurchasingAccountsPayableDocument
setTotalDollarAmount
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.setTotalDollarAmount(KualiDecimal amount)
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAllItems(String[] excludedTypes)
PurchasingAccountsPayableDocument
getTotalDollarAmountAllItems
in interface PurchasingAccountsPayableDocument
excludedTypes
- the types of items to be excluded.
PurchasingAccountsPayableDocument.getTotalDollarAmountAllItems(String[] excludedTypes)
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAboveLineItems()
getTotalDollarAmountAboveLineItems
in interface PurchasingAccountsPayableDocument
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAboveLineItems(String[] excludedTypes)
excludedTypes
- the types of items to be excluded.
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountWithExclusions(String[] excludedTypes, boolean includeBelowTheLine)
excludedTypes
- the types of items to be excluded.includeBelowTheLine
- indicates whether below the line items shall be included.
protected org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountWithExclusionsSubsetItems(String[] excludedTypes, boolean includeBelowTheLine, List<PurApItem> itemsForTotal)
excludedTypes
- includeBelowTheLine
- itemsForTotal
-
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountForTradeIn()
getTotalDollarAmountForTradeIn
in interface PurchasingAccountsPayableDocument
public List<PurApItem> getTradeInItems()
getTradeInItems
in interface PurchasingAccountsPayableDocument
tradeInItems
- public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmount()
PurchasingAccountsPayableDocument
getTotalPreTaxDollarAmount
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getTotalPreTaxDollarAmount()
public void setTotalPreTaxDollarAmount(org.kuali.rice.kns.util.KualiDecimal amount)
PurchasingAccountsPayableDocument
setTotalPreTaxDollarAmount
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.setTotalPreTaxDollarAmount(org.kuali.rice.kns.util.KualiDecimal)
public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountAllItems(String[] excludedTypes)
PurchasingAccountsPayableDocument
getTotalPreTaxDollarAmountAllItems
in interface PurchasingAccountsPayableDocument
excludedTypes
- the types of items to be excluded.
PurchasingAccountsPayableDocument.getTotalPreTaxDollarAmountAllItems(java.lang.String[])
public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountAboveLineItems()
public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountAboveLineItems(String[] excludedTypes)
excludedTypes
- the types of items to be excluded.
public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountWithExclusions(String[] excludedTypes, boolean includeBelowTheLine)
excludedTypes
- the types of items to be excluded.includeBelowTheLine
- indicates whether below the line items shall be included.
public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmount()
getTotalTaxAmount
in interface PurchasingAccountsPayableDocument
public void setTotalTaxAmount(org.kuali.rice.kns.util.KualiDecimal amount)
setTotalTaxAmount
in interface PurchasingAccountsPayableDocument
public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAllItems(String[] excludedTypes)
getTotalTaxAmountAllItems
in interface PurchasingAccountsPayableDocument
public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAboveLineItems()
getTotalTaxAmountAboveLineItems
in interface PurchasingAccountsPayableDocument
public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAboveLineItems(String[] excludedTypes)
getTotalTaxAmountAboveLineItems
in interface PurchasingAccountsPayableDocument
public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountWithExclusions(String[] excludedTypes, boolean includeBelowTheLine)
getTotalTaxAmountWithExclusions
in interface PurchasingAccountsPayableDocument
public boolean isUseTaxIndicator()
isUseTaxIndicator
in interface PurchasingAccountsPayableDocument
public void setUseTaxIndicator(boolean useTaxIndicator)
setUseTaxIndicator
in interface PurchasingAccountsPayableDocument
public void templateVendorAddress(VendorAddress vendorAddress)
PurchasingAccountsPayableDocument
templateVendorAddress
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.templateVendorAddress(VendorAddress)
public String getVendorNumber()
getVendorNumber
in interface PurchasingAccountsPayableDocument
PurchasingAccountsPayableDocument.getVendorNumber()
public void setVendorNumber(String vendorNumber)
setVendorNumber
in interface PurchasingAccountsPayableDocument
public Boolean getOverrideWorkflowButtons()
public void setOverrideWorkflowButtons(Boolean overrideWorkflowButtons)
public Integer getVendorHeaderGeneratedIdentifier()
getVendorHeaderGeneratedIdentifier
in interface PurchasingAccountsPayableDocument
public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
setVendorHeaderGeneratedIdentifier
in interface PurchasingAccountsPayableDocument
public Integer getVendorDetailAssignedIdentifier()
getVendorDetailAssignedIdentifier
in interface PurchasingAccountsPayableDocument
public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
setVendorDetailAssignedIdentifier
in interface PurchasingAccountsPayableDocument
public String getVendorCustomerNumber()
getVendorCustomerNumber
in interface PurchasingAccountsPayableDocument
public void setVendorCustomerNumber(String vendorCustomerNumber)
setVendorCustomerNumber
in interface PurchasingAccountsPayableDocument
public Integer getPurapDocumentIdentifier()
getPurapDocumentIdentifier
in interface PurchasingAccountsPayableDocument
public void setPurapDocumentIdentifier(Integer identifier)
setPurapDocumentIdentifier
in interface PurchasingAccountsPayableDocument
public Status getStatus()
getStatus
in interface PurchasingAccountsPayableDocument
public void setStatus(Status status)
public String getStatusCode()
getStatusCode
in interface PurchasingAccountsPayableDocument
public void setStatusCode(String statusCode)
setStatusCode
in interface PurchasingAccountsPayableDocument
public VendorDetail getVendorDetail()
getVendorDetail
in interface PurchasingAccountsPayableDocument
public void setVendorDetail(VendorDetail vendorDetail)
public List getItems()
getItems
in interface PurapItemOperations
getItems
in interface PurchasingAccountsPayableDocument
public void setItems(List items)
setItems
in interface PurapItemOperations
setItems
in interface PurchasingAccountsPayableDocument
public String getVendorCityName()
getVendorCityName
in interface PurchasingAccountsPayableDocument
public void setVendorCityName(String vendorCityName)
setVendorCityName
in interface PurchasingAccountsPayableDocument
public String getVendorCountryCode()
getVendorCountryCode
in interface PurchasingAccountsPayableDocument
public void setVendorCountryCode(String vendorCountryCode)
setVendorCountryCode
in interface PurchasingAccountsPayableDocument
public String getVendorLine1Address()
getVendorLine1Address
in interface PurchasingAccountsPayableDocument
public void setVendorLine1Address(String vendorLine1Address)
setVendorLine1Address
in interface PurchasingAccountsPayableDocument
public String getVendorLine2Address()
getVendorLine2Address
in interface PurchasingAccountsPayableDocument
public void setVendorLine2Address(String vendorLine2Address)
setVendorLine2Address
in interface PurchasingAccountsPayableDocument
public String getVendorName()
getVendorName
in interface PurchasingAccountsPayableDocument
public void setVendorName(String vendorName)
setVendorName
in interface PurchasingAccountsPayableDocument
public String getVendorPostalCode()
getVendorPostalCode
in interface PurchasingAccountsPayableDocument
public void setVendorPostalCode(String vendorPostalCode)
setVendorPostalCode
in interface PurchasingAccountsPayableDocument
public String getVendorStateCode()
getVendorStateCode
in interface PurchasingAccountsPayableDocument
public void setVendorStateCode(String vendorStateCode)
setVendorStateCode
in interface PurchasingAccountsPayableDocument
public String getVendorAddressInternationalProvinceName()
getVendorAddressInternationalProvinceName
in interface PurchasingAccountsPayableDocument
public void setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName)
setVendorAddressInternationalProvinceName
in interface PurchasingAccountsPayableDocument
public Integer getVendorAddressGeneratedIdentifier()
getVendorAddressGeneratedIdentifier
in interface PurchasingAccountsPayableDocument
public void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)
setVendorAddressGeneratedIdentifier
in interface PurchasingAccountsPayableDocument
public Integer getAccountsPayablePurchasingDocumentLinkIdentifier()
getAccountsPayablePurchasingDocumentLinkIdentifier
in interface PurchasingAccountsPayableDocument
public void setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier)
setAccountsPayablePurchasingDocumentLinkIdentifier
in interface PurchasingAccountsPayableDocument
public String[] getBelowTheLineTypes()
PurchasingAccountsPayableDocument
getBelowTheLineTypes
in interface PurchasingAccountsPayableDocument
public org.kuali.rice.kns.bo.Country getVendorCountry()
getVendorCountry
in interface PurchasingAccountsPayableDocument
public void setVendorCountry(org.kuali.rice.kns.bo.Country vendorCountry)
PurApObjectUtils
class to work correctly.
public String getVendorAttentionName()
public void setVendorAttentionName(String vendorAttentionName)
public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit
in interface GeneralLedgerPendingEntrySource
isDebit
in class AccountingDocumentBase
financialDocument
- The document containing the account to be validated.accountingLine
- The account to be validated.
org.kuali.kfs.sys.document.validation.AccountingLineRule#isDebit(org.kuali.kfs.sys.document.AccountingDocument,
org.kuali.kfs.sys.businessobject.AccountingLine)
public PurApRelatedViews getRelatedViews()
public void setRelatedViews(PurApRelatedViews relatedViews)
public String getStatusCodeForMultiboxSearching()
public void refreshNonUpdateableReferences()
refreshNonUpdateableReferences
in interface org.kuali.rice.kns.bo.PersistableBusinessObject
refreshNonUpdateableReferences
in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
public void fixItemReferences()
fixItemReferences
in interface PurchasingAccountsPayableDocument
public PurApItem getTradeInItem()
getTradeInItem
in interface PurchasingAccountsPayableDocument
public boolean getIsATypeOfPurAPRecDoc()
PurchasingAccountsPayableDocument
getIsATypeOfPurAPRecDoc
in interface PurchasingAccountsPayableDocument
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPurAPRecDoc().
public boolean getIsATypeOfPurDoc()
PurchasingAccountsPayableDocument
getIsATypeOfPurDoc
in interface PurchasingAccountsPayableDocument
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPurDoc().
public boolean getIsATypeOfPODoc()
PurchasingAccountsPayableDocument
getIsATypeOfPODoc
in interface PurchasingAccountsPayableDocument
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPODoc().
public boolean getIsPODoc()
PurchasingAccountsPayableDocument
getIsPODoc
in interface PurchasingAccountsPayableDocument
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsPODoc().
public boolean getIsReqsDoc()
PurchasingAccountsPayableDocument
getIsReqsDoc
in interface PurchasingAccountsPayableDocument
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfREQSDoc().
protected String buildDocumentTitle(String title)
the
- default document title
public List getSourceAccountingLines()
getSourceAccountingLines
in interface AccountingDocument
getSourceAccountingLines
in class AccountingDocumentBase
AccountingDocumentBase.getSourceAccountingLines()
public boolean getNeedWarningRelatedPOs()
protected List getPersistedSourceAccountingLinesForComparison()
getPersistedSourceAccountingLinesForComparison
in class AccountingDocumentBase
AccountingDocumentBase.getPersistedSourceAccountingLinesForComparison()
protected List getSourceAccountingLinesForComparison()
getSourceAccountingLinesForComparison
in class AccountingDocumentBase
AccountingDocumentBase.getSourceAccountingLinesForComparison()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |