|
||||||||||
| 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 PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.isInquiryRendered()public boolean isPostingYearNext()
PurchasingAccountsPayableDocument
isPostingYearNext in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.isPostingYearNext()public boolean isPostingYearPrior()
PurchasingAccountsPayableDocument
isPostingYearPrior in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.isPostingYearPrior()public Integer getPostingYearNextOrCurrent()
PurchasingAccountsPayableDocument
getPostingYearNextOrCurrent in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getPostingYearNextOrCurrent()public abstract Class getItemClass()
PurchasingAccountsPayableDocument
getItemClass in interface PurapItemOperationsgetItemClass in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getItemClass()public abstract Class getItemUseTaxClass()
public abstract PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentIfPossible in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getPurApSourceDocumentIfPossible()public abstract String getPurApSourceDocumentLabelIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentLabelIfPossible in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getPurApSourceDocumentLabelIfPossible()public void prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
prepareForSave in interface org.kuali.rice.kns.document.DocumentprepareForSave in class AccountingDocumentBaseDocumentBase.prepareForSave()public boolean documentPerformsSufficientFundsCheck()
documentPerformsSufficientFundsCheck in class GeneralLedgerPostingDocumentBaseGeneralLedgerPostingDocumentBase.documentPerformsSufficientFundsCheck()public boolean isDocumentStoppedInRouteNode(PurapWorkflowConstants.NodeDetails nodeDetails)
PurchasingAccountsPayableDocument
isDocumentStoppedInRouteNode in interface PurchasingAccountsPayableDocumentnodeDetails - 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.PersistableBusinessObjectbuildListOfDeletionAwareLists in class AccountingDocumentBaseAccountingDocumentBase.buildListOfDeletionAwareLists()protected List getDeletionAwareAccountingLines()
protected LinkedHashMap toStringMapper()
toStringMapper in class org.kuali.rice.kns.document.DocumentBaseBusinessObjectBase.toStringMapper()public void processAfterRetrieve()
FinancialSystemTransactionalDocumentBase
processAfterRetrieve in interface org.kuali.rice.kns.document.DocumentprocessAfterRetrieve in class FinancialSystemTransactionalDocumentBaseDocument.processAfterRetrieve()public void addItem(PurApItem item)
PurchasingAccountsPayableDocument
addItem in interface PurchasingAccountsPayableDocumentitem - the specified item to add.PurchasingAccountsPayableDocument.addItem(PurApItem item)public void deleteItem(int lineNum)
PurchasingAccountsPayableDocument
deleteItem in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.deleteItem(int lineNum)public void renumberItems(int start)
PurchasingAccountsPayableDocument
renumberItems in interface PurchasingAccountsPayableDocumentstart - the index of the starting item to be renumbered.PurchasingAccountsPayableDocument.renumberItems(int start)
public void itemSwap(int positionFrom,
int positionTo)
PurchasingAccountsPayableDocument
itemSwap in interface PurchasingAccountsPayableDocumentpositionFrom - the position of the first itempositionTo - the position of the second itemPurchasingAccountsPayableDocument.itemSwap(int positionFrom, int positionTo)public int getItemLinePosition()
PurchasingAccountsPayableDocument
getItemLinePosition in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getItemLinePosition()public PurApItem getItem(int pos)
PurchasingAccountsPayableDocument
getItem in interface PurapItemOperationsgetItem in interface PurchasingAccountsPayableDocumentpos - 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 LedgerPostingDocumentsetPostingYear in class LedgerPostingDocumentBaseLedgerPostingDocumentBase.setPostingYear(java.lang.Integer)public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
AccountingDocumentBase
getTotalDollarAmount in interface PurchasingAccountsPayableDocumentgetTotalDollarAmount in interface AmountTotalinggetTotalDollarAmount in class AccountingDocumentBaseAccountingDocumentBase.getTotalDollarAmount()public void setTotalDollarAmount(org.kuali.rice.kns.util.KualiDecimal amount)
PurchasingAccountsPayableDocument
setTotalDollarAmount in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.setTotalDollarAmount(KualiDecimal amount)public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAllItems(String[] excludedTypes)
PurchasingAccountsPayableDocument
getTotalDollarAmountAllItems in interface PurchasingAccountsPayableDocumentexcludedTypes - the types of items to be excluded.
PurchasingAccountsPayableDocument.getTotalDollarAmountAllItems(String[] excludedTypes)public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAboveLineItems()
getTotalDollarAmountAboveLineItems in interface PurchasingAccountsPayableDocumentpublic 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 PurchasingAccountsPayableDocumentpublic List<PurApItem> getTradeInItems()
getTradeInItems in interface PurchasingAccountsPayableDocumenttradeInItems - public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmount()
PurchasingAccountsPayableDocument
getTotalPreTaxDollarAmount in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getTotalPreTaxDollarAmount()public void setTotalPreTaxDollarAmount(org.kuali.rice.kns.util.KualiDecimal amount)
PurchasingAccountsPayableDocument
setTotalPreTaxDollarAmount in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.setTotalPreTaxDollarAmount(org.kuali.rice.kns.util.KualiDecimal)public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountAllItems(String[] excludedTypes)
PurchasingAccountsPayableDocument
getTotalPreTaxDollarAmountAllItems in interface PurchasingAccountsPayableDocumentexcludedTypes - 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 PurchasingAccountsPayableDocumentpublic void setTotalTaxAmount(org.kuali.rice.kns.util.KualiDecimal amount)
setTotalTaxAmount in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAllItems(String[] excludedTypes)
getTotalTaxAmountAllItems in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAboveLineItems()
getTotalTaxAmountAboveLineItems in interface PurchasingAccountsPayableDocumentpublic 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 PurchasingAccountsPayableDocumentpublic boolean isUseTaxIndicator()
isUseTaxIndicator in interface PurchasingAccountsPayableDocumentpublic void setUseTaxIndicator(boolean useTaxIndicator)
setUseTaxIndicator in interface PurchasingAccountsPayableDocumentpublic void templateVendorAddress(VendorAddress vendorAddress)
PurchasingAccountsPayableDocument
templateVendorAddress in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.templateVendorAddress(VendorAddress)public String getVendorNumber()
getVendorNumber in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getVendorNumber()public void setVendorNumber(String vendorNumber)
setVendorNumber in interface PurchasingAccountsPayableDocumentpublic Boolean getOverrideWorkflowButtons()
public void setOverrideWorkflowButtons(Boolean overrideWorkflowButtons)
public Integer getVendorHeaderGeneratedIdentifier()
getVendorHeaderGeneratedIdentifier in interface PurchasingAccountsPayableDocumentpublic void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
setVendorHeaderGeneratedIdentifier in interface PurchasingAccountsPayableDocumentpublic Integer getVendorDetailAssignedIdentifier()
getVendorDetailAssignedIdentifier in interface PurchasingAccountsPayableDocumentpublic void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
setVendorDetailAssignedIdentifier in interface PurchasingAccountsPayableDocumentpublic String getVendorCustomerNumber()
getVendorCustomerNumber in interface PurchasingAccountsPayableDocumentpublic void setVendorCustomerNumber(String vendorCustomerNumber)
setVendorCustomerNumber in interface PurchasingAccountsPayableDocumentpublic Integer getPurapDocumentIdentifier()
getPurapDocumentIdentifier in interface PurchasingAccountsPayableDocumentpublic void setPurapDocumentIdentifier(Integer identifier)
setPurapDocumentIdentifier in interface PurchasingAccountsPayableDocumentpublic Status getStatus()
getStatus in interface PurchasingAccountsPayableDocumentpublic void setStatus(Status status)
public String getStatusCode()
getStatusCode in interface PurchasingAccountsPayableDocumentpublic void setStatusCode(String statusCode)
setStatusCode in interface PurchasingAccountsPayableDocumentpublic VendorDetail getVendorDetail()
getVendorDetail in interface PurchasingAccountsPayableDocumentpublic void setVendorDetail(VendorDetail vendorDetail)
public List getItems()
getItems in interface PurapItemOperationsgetItems in interface PurchasingAccountsPayableDocumentpublic void setItems(List items)
setItems in interface PurapItemOperationssetItems in interface PurchasingAccountsPayableDocumentpublic String getVendorCityName()
getVendorCityName in interface PurchasingAccountsPayableDocumentpublic void setVendorCityName(String vendorCityName)
setVendorCityName in interface PurchasingAccountsPayableDocumentpublic String getVendorCountryCode()
getVendorCountryCode in interface PurchasingAccountsPayableDocumentpublic void setVendorCountryCode(String vendorCountryCode)
setVendorCountryCode in interface PurchasingAccountsPayableDocumentpublic String getVendorLine1Address()
getVendorLine1Address in interface PurchasingAccountsPayableDocumentpublic void setVendorLine1Address(String vendorLine1Address)
setVendorLine1Address in interface PurchasingAccountsPayableDocumentpublic String getVendorLine2Address()
getVendorLine2Address in interface PurchasingAccountsPayableDocumentpublic void setVendorLine2Address(String vendorLine2Address)
setVendorLine2Address in interface PurchasingAccountsPayableDocumentpublic String getVendorName()
getVendorName in interface PurchasingAccountsPayableDocumentpublic void setVendorName(String vendorName)
setVendorName in interface PurchasingAccountsPayableDocumentpublic String getVendorPostalCode()
getVendorPostalCode in interface PurchasingAccountsPayableDocumentpublic void setVendorPostalCode(String vendorPostalCode)
setVendorPostalCode in interface PurchasingAccountsPayableDocumentpublic String getVendorStateCode()
getVendorStateCode in interface PurchasingAccountsPayableDocumentpublic void setVendorStateCode(String vendorStateCode)
setVendorStateCode in interface PurchasingAccountsPayableDocumentpublic String getVendorAddressInternationalProvinceName()
getVendorAddressInternationalProvinceName in interface PurchasingAccountsPayableDocumentpublic void setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName)
setVendorAddressInternationalProvinceName in interface PurchasingAccountsPayableDocumentpublic Integer getVendorAddressGeneratedIdentifier()
getVendorAddressGeneratedIdentifier in interface PurchasingAccountsPayableDocumentpublic void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)
setVendorAddressGeneratedIdentifier in interface PurchasingAccountsPayableDocumentpublic Integer getAccountsPayablePurchasingDocumentLinkIdentifier()
getAccountsPayablePurchasingDocumentLinkIdentifier in interface PurchasingAccountsPayableDocumentpublic void setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier)
setAccountsPayablePurchasingDocumentLinkIdentifier in interface PurchasingAccountsPayableDocumentpublic String[] getBelowTheLineTypes()
PurchasingAccountsPayableDocument
getBelowTheLineTypes in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.kns.bo.Country getVendorCountry()
getVendorCountry in interface PurchasingAccountsPayableDocumentpublic 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 GeneralLedgerPendingEntrySourceisDebit in class AccountingDocumentBasefinancialDocument - 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.PersistableBusinessObjectrefreshNonUpdateableReferences in class org.kuali.rice.kns.bo.PersistableBusinessObjectBasepublic void fixItemReferences()
fixItemReferences in interface PurchasingAccountsPayableDocumentpublic PurApItem getTradeInItem()
getTradeInItem in interface PurchasingAccountsPayableDocumentpublic boolean getIsATypeOfPurAPRecDoc()
PurchasingAccountsPayableDocument
getIsATypeOfPurAPRecDoc in interface PurchasingAccountsPayableDocumentorg.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPurAPRecDoc().public boolean getIsATypeOfPurDoc()
PurchasingAccountsPayableDocument
getIsATypeOfPurDoc in interface PurchasingAccountsPayableDocumentorg.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPurDoc().public boolean getIsATypeOfPODoc()
PurchasingAccountsPayableDocument
getIsATypeOfPODoc in interface PurchasingAccountsPayableDocumentorg.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPODoc().public boolean getIsPODoc()
PurchasingAccountsPayableDocument
getIsPODoc in interface PurchasingAccountsPayableDocumentorg.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsPODoc().public boolean getIsReqsDoc()
PurchasingAccountsPayableDocument
getIsReqsDoc in interface PurchasingAccountsPayableDocumentorg.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfREQSDoc().protected String buildDocumentTitle(String title)
the - default document title
public List getSourceAccountingLines()
getSourceAccountingLines in interface AccountingDocumentgetSourceAccountingLines in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLines()public boolean getNeedWarningRelatedPOs()
protected List getPersistedSourceAccountingLinesForComparison()
getPersistedSourceAccountingLinesForComparison in class AccountingDocumentBaseAccountingDocumentBase.getPersistedSourceAccountingLinesForComparison()protected List getSourceAccountingLinesForComparison()
getSourceAccountingLinesForComparison in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLinesForComparison()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||