public abstract class PurchasingAccountsPayableDocumentBase extends AccountingDocumentBase implements PurchasingAccountsPayableDocument, AmountTotaling
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description |
|---|
PurchasingAccountsPayableDocumentBase()
Default constructor to be overridden.
|
| Modifier and Type | Method and Description |
|---|---|
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.krad.rules.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
|
String |
getAccountDistributionMethod()
Gets the accountDistributionMethod attribute.
|
List<SourceAccountingLine> |
getAccountsForRouting() |
Integer |
getAccountsPayablePurchasingDocumentLinkIdentifier() |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getAccountTotalGLEntryAmount(AccountingLine matchingAccountingLine)
Helper method to find the matching accountingLines in the list of sourceAccountingLines and sum up the lines amounts.
|
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() |
String |
getLicenseURL()
This method returns the licenserequest web service url
|
boolean |
getNeedWarningRelatedPOs()
Checks whether the related purchase order views need a warning to be displayed, i.e.
|
org.kuali.rice.krad.util.NoteType |
getNoteType() |
PurchaseOrderType |
getOrderType() |
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.
|
BigDecimal |
getPurchaseOrderTypeId() |
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
|
String |
getStatusCode()
Gets the statusCode attribute.
|
org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal |
getTotalDollarAmountAboveLineItems()
Computes the total dollar amount of all above the line items.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalDollarAmountAboveLineItems(String[] excludedTypes)
Computes the total dollar amount of all above the line items with the specified item types excluded.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalDollarAmountAllItems(String[] excludedTypes)
Computes the total dollar amount with the specified item types excluded.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalDollarAmountForTradeIn() |
org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal |
getTotalDollarAmountWithExclusionsSubsetItems(String[] excludedTypes,
boolean includeBelowTheLine,
List<PurApItem> itemsForTotal)
This method...
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalPreTaxDollarAmount()
Computes the pre tax total dollar amount of all items.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalPreTaxDollarAmountAboveLineItems()
Computes the total dollar amount of all above the line items.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalPreTaxDollarAmountAboveLineItems(String[] excludedTypes)
Computes the total dollar amount of all above the line items with the specified item types excluded.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalPreTaxDollarAmountAllItems(String[] excludedTypes)
Computes the pre tax total dollar amount with the specified item types excluded.
|
org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal |
getTotalTaxAmount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalTaxAmountAboveLineItems() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalTaxAmountAboveLineItems(String[] excludedTypes) |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalTaxAmountAllItems(String[] excludedTypes) |
org.kuali.rice.core.api.util.type.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.location.framework.country.CountryEbo |
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 |
isAccountSummaryFlag()
This method returns the accountSummaryFlag indicator
|
boolean |
isAdditionalInstitutionalInfoFlag()
This method returns the additionalInstitutionalInfoFlag indicator
|
boolean |
isAdHocRecipientsFlag()
This method returns the adHocRecipientsFlag indicator
|
boolean |
isCalculated()
Gets the calculated attribute.
|
boolean |
isCreditMemoInfoFlag()
This method returns the creditMemoInfoFlag
|
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether the account is debit.
|
boolean |
isDeliveryFlag()
This method returns the deliveryFlag
|
boolean |
isDocumentStoppedInRouteNode(String nodeName)
Returns true if this document is stopped in the specified route node.
|
protected boolean |
isDuplicateAccountingLine(List<AccountingLine> sourceAccountingLines,
PurApAccountingLine accountingLine)
Helper method to check if the source accounting line is already in the list and if so return true
|
boolean |
isGeneralEntriesFlag()
This method returns the generalEntriesFlag
|
boolean |
isInquiryRendered()
Determines whether the inquiry links should be rendered
for Object Code and Sub Object Code.
|
boolean |
isInvoiceInfoFlag()
This method returns the invoiceInfoFlag
|
boolean |
isNotesAndAttachmentFlag()
This method returns the notesAndAttachmentFlag indicator
|
boolean |
isOverviewFlag()
This method returns the overview Flag indicator
|
boolean |
isPaymentHistoryFlag()
This method returns the paymentHistoryFlag indicator
|
boolean |
isPaymentInfoFlag()
This method returns the paymentInfoFlag indicator
|
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 |
isProcessItemsFlag()
This method returns the processItemFlag
|
boolean |
isRelatedDocumentsFlag()
This method returns the relatedDocumentFlag indicato
|
boolean |
isRouteLogFlag()
This method returns the routeLogFlag indicator
|
boolean |
isSensitive() |
boolean |
isTitlesFlag()
This method returns the titlesFlag indicator
|
boolean |
isUseTaxIndicator() |
boolean |
isVendorFlag()
This method returns the vendorFlag indicator
|
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.krad.rules.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 |
setAccountDistributionMethod(String accountDistributionMethod)
Sets the accountDistributionMethod attribute.
|
void |
setAccountsForRouting(List<SourceAccountingLine> accountsForRouting) |
void |
setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier) |
void |
setAccountSummaryFlag(boolean accountSummaryFlag)
This method sets the accountSummaryFlag
|
void |
setAdditionalInstitutionalInfoFlag(boolean additionalInstitutionalInfoFlag)
This method sets the additionalInstitutionalInfoFlag
|
void |
setAdHocRecipientsFlag(boolean adHocRecipientsFlag)
This method sets the adHocRecipientsFlag
|
void |
setCalculated(boolean calculated)
Sets the calculated attribute.
|
void |
setCreditMemoInfoFlag(boolean creditMemoInfoFlag)
This method sets the creditMemoInfoFlag
|
void |
setDeliveryFlag(boolean deliveryFlag)
This method sets the deliveryFlag
|
void |
setGeneralEntriesFlag(boolean generalEntriesFlag)
This method sets the generalEntriesFlag
|
void |
setInvoiceInfoFlag(boolean invoiceInfoFlag)
This method sets the invoiceInfoFlag
|
void |
setItems(List items) |
void |
setNotesAndAttachmentFlag(boolean notesAndAttachmentFlag)
This method sets the notesAndAttachmentFlag
|
void |
setOleUrlResolver(OleUrlResolver oleUrlResolver) |
void |
setOrderType(PurchaseOrderType orderType) |
void |
setOverrideWorkflowButtons(Boolean overrideWorkflowButtons) |
void |
setOverviewFlag(boolean overviewFlag)
This method sets the overviewFlag
|
void |
setPaymentHistoryFlag(boolean paymentHistoryFlag)
This method sets the paymentHistoryFlag
|
void |
setPaymentInfoFlag(boolean paymentInfoFlag)
This method sets the paymentInfoFlag
|
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 |
setProcessItemsFlag(boolean processItemsFlag)
This method sets the processItemsFlag
|
void |
setPurapDocumentIdentifier(Integer identifier) |
void |
setPurchaseOrderTypeId(BigDecimal purchaseOrderTypeId) |
void |
setPurchaseOrderTypeId(String purchaseOrderType) |
void |
setRelatedDocumentsFlag(boolean relatedDocumentsFlag)
This method sets the relatedDocumentFlag
|
void |
setRelatedViews(PurApRelatedViews relatedViews) |
void |
setRouteLogFlag(boolean routeLogFlag)
This method sets the routeLogFlag
|
void |
setStatusCode(String statusCode)
Sets the statusCode attribute.
|
void |
setTitlesFlag(boolean titlesFlag)
This methos sets the titlesFlag
|
void |
setTotalDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
Sets the total dollar amount to the specified amount.
|
void |
setTotalPreTaxDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
Sets the pre tax total dollar amount to the specified amount.
|
void |
setTotalTaxAmount(org.kuali.rice.core.api.util.type.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.location.framework.country.CountryEbo vendorCountry)
Deprecated.
|
void |
setVendorCountryCode(String vendorCountryCode) |
void |
setVendorCustomerNumber(String vendorCustomerNumber) |
void |
setVendorDetail(VendorDetail vendorDetail) |
void |
setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier) |
void |
setVendorFlag(boolean vendorFlag)
This method sets the vendorFlag
|
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.
|
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, customizeExplicitGeneralLedgerPendingEntry, customizeOffsetGeneralLedgerPendingEntry, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, isDocumentFinalOrProcessed, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, toErrorCorrection, updatePostingYearForAccountingLinesaddPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, doRouteStatusChange, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntriescreateInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCodeanswerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApplicationDocumentStatus, getTransactionTaxDate, setApplicationDocumentStatus, shouldGiveErrorForEmptyAccountsProrationaddSourceAccountingLine, addTargetAccountingLine, getAccountingLineParser, getDocumentClassForAccountingLineValueAllowedValidation, getNextSourceLineNumber, getNextTargetLineNumber, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesSectionTitle, getTargetTotal, isDocumentFinalOrProcessed, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLinescheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCodeanswerSplitNodeQuestion, getFinancialSystemDocumentHeaderaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationgetExtension, isNewCollectionRecord, linkEditableUserFields, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberaddPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYearprotected Integer purapDocumentIdentifier
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 accountDistributionMethod
protected BigDecimal purchaseOrderTypeId
protected String statusCode
protected String vendorNumber
protected Integer vendorAddressGeneratedIdentifier
protected Boolean overrideWorkflowButtons
protected transient PurApRelatedViews relatedViews
protected boolean sensitive
protected boolean calculated
protected List<SourceAccountingLine> accountsForRouting
protected VendorDetail vendorDetail
protected org.kuali.rice.location.framework.country.CountryEbo vendorCountry
protected PurchaseOrderType orderType
protected OleLicensingRequirement licenseReqmt
public transient String[] belowTheLineTypes
public boolean allowDeleteAwareCollection
public PurchasingAccountsPayableDocumentBase()
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()
PurchasingAccountsPayableDocumentisInquiryRendered in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.isInquiryRendered()public boolean isPostingYearNext()
PurchasingAccountsPayableDocumentisPostingYearNext in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.isPostingYearNext()public boolean isPostingYearPrior()
PurchasingAccountsPayableDocumentisPostingYearPrior in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.isPostingYearPrior()public Integer getPostingYearNextOrCurrent()
PurchasingAccountsPayableDocumentgetPostingYearNextOrCurrent in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getPostingYearNextOrCurrent()public abstract Class getItemClass()
PurchasingAccountsPayableDocumentgetItemClass in interface PurapItemOperationsgetItemClass in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getItemClass()public abstract Class getItemUseTaxClass()
public abstract PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible()
PurchasingAccountsPayableDocumentgetPurApSourceDocumentIfPossible in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getPurApSourceDocumentIfPossible()public abstract String getPurApSourceDocumentLabelIfPossible()
PurchasingAccountsPayableDocumentgetPurApSourceDocumentLabelIfPossible in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getPurApSourceDocumentLabelIfPossible()public void prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
prepareForSave in interface org.kuali.rice.krad.document.DocumentprepareForSave in class AccountingDocumentBaseDocumentBase.prepareForSave()public boolean documentPerformsSufficientFundsCheck()
documentPerformsSufficientFundsCheck in class GeneralLedgerPostingDocumentBaseGeneralLedgerPostingDocumentBase.documentPerformsSufficientFundsCheck()public boolean isDocumentStoppedInRouteNode(String nodeName)
PurchasingAccountsPayableDocumentisDocumentStoppedInRouteNode in interface PurchasingAccountsPayableDocumentprotected 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.krad.rules.rule.event.KualiDocumentEvent event)
event - the event involved in this action.public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class AccountingDocumentBaseAccountingDocumentBase.buildListOfDeletionAwareLists()protected List getDeletionAwareAccountingLines()
public void processAfterRetrieve()
FinancialSystemTransactionalDocumentBaseprocessAfterRetrieve in interface org.kuali.rice.krad.document.DocumentprocessAfterRetrieve in class FinancialSystemTransactionalDocumentBaseAccountingDocumentBase.buildListOfDeletionAwareLists()public void addItem(PurApItem item)
PurchasingAccountsPayableDocumentaddItem in interface PurchasingAccountsPayableDocumentitem - the specified item to add.PurchasingAccountsPayableDocument.addItem(PurApItem item)public void deleteItem(int lineNum)
PurchasingAccountsPayableDocumentdeleteItem in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.deleteItem(int lineNum)public void renumberItems(int start)
PurchasingAccountsPayableDocumentrenumberItems in interface PurchasingAccountsPayableDocumentstart - the index of the starting item to be renumbered.PurchasingAccountsPayableDocument.renumberItems(int start)public void itemSwap(int positionFrom, int positionTo)
PurchasingAccountsPayableDocumentitemSwap in interface PurchasingAccountsPayableDocumentpositionFrom - the position of the first itempositionTo - the position of the second itemPurchasingAccountsPayableDocument.itemSwap(int positionFrom, int positionTo)public int getItemLinePosition()
PurchasingAccountsPayableDocumentgetItemLinePosition in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getItemLinePosition()public PurApItem getItem(int pos)
PurchasingAccountsPayableDocumentgetItem 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 forpublic PurApItem getItemByItemIdentifier(Integer itemID)
itemID - the string identifier of the item being searched forpublic void setPostingYear(Integer postingYear)
setPostingYear in interface LedgerPostingDocumentsetPostingYear in class LedgerPostingDocumentBaseLedgerPostingDocumentBase.setPostingYear(java.lang.Integer)public org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmount()
AccountingDocumentBasegetTotalDollarAmount in interface PurchasingAccountsPayableDocumentgetTotalDollarAmount in interface AmountTotalinggetTotalDollarAmount in class AccountingDocumentBaseAccountingDocumentBase.getTotalDollarAmount()public void setTotalDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
PurchasingAccountsPayableDocumentsetTotalDollarAmount in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.setTotalDollarAmount(KualiDecimal amount)public org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountAllItems(String[] excludedTypes)
PurchasingAccountsPayableDocumentgetTotalDollarAmountAllItems in interface PurchasingAccountsPayableDocumentexcludedTypes - the types of items to be excluded.PurchasingAccountsPayableDocument.getTotalDollarAmountAllItems(String[]
excludedTypes)public org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountAboveLineItems()
getTotalDollarAmountAboveLineItems in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountAboveLineItems(String[] excludedTypes)
excludedTypes - the types of items to be excluded.public org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getTotalDollarAmountWithExclusionsSubsetItems(String[] excludedTypes, boolean includeBelowTheLine, List<PurApItem> itemsForTotal)
excludedTypes - includeBelowTheLine - itemsForTotal - public org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountForTradeIn()
getTotalDollarAmountForTradeIn in interface PurchasingAccountsPayableDocumentpublic List<PurApItem> getTradeInItems()
getTradeInItems in interface PurchasingAccountsPayableDocumenttradeInItems - public org.kuali.rice.core.api.util.type.KualiDecimal getTotalPreTaxDollarAmount()
PurchasingAccountsPayableDocumentgetTotalPreTaxDollarAmount in interface PurchasingAccountsPayableDocumentPurchasingAccountsPayableDocument.getTotalPreTaxDollarAmount()public void setTotalPreTaxDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
PurchasingAccountsPayableDocumentsetTotalPreTaxDollarAmount in interface PurchasingAccountsPayableDocumentorg.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument#setTotalPreTaxDollarAmount(org.kuali.rice.kns.util.KualiDecimal)public org.kuali.rice.core.api.util.type.KualiDecimal getTotalPreTaxDollarAmountAllItems(String[] excludedTypes)
PurchasingAccountsPayableDocumentgetTotalPreTaxDollarAmountAllItems in interface PurchasingAccountsPayableDocumentexcludedTypes - the types of items to be excluded.PurchasingAccountsPayableDocument.getTotalPreTaxDollarAmountAllItems(java.lang.String[])public org.kuali.rice.core.api.util.type.KualiDecimal getTotalPreTaxDollarAmountAboveLineItems()
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalPreTaxDollarAmountAboveLineItems(String[] excludedTypes)
excludedTypes - the types of items to be excluded.public org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getTotalTaxAmount()
getTotalTaxAmount in interface PurchasingAccountsPayableDocumentpublic void setTotalTaxAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
setTotalTaxAmount in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.core.api.util.type.KualiDecimal getTotalTaxAmountAllItems(String[] excludedTypes)
getTotalTaxAmountAllItems in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.core.api.util.type.KualiDecimal getTotalTaxAmountAboveLineItems()
getTotalTaxAmountAboveLineItems in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.core.api.util.type.KualiDecimal getTotalTaxAmountAboveLineItems(String[] excludedTypes)
getTotalTaxAmountAboveLineItems in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.core.api.util.type.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)
PurchasingAccountsPayableDocumenttemplateVendorAddress 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 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()
PurchasingAccountsPayableDocumentgetBelowTheLineTypes in interface PurchasingAccountsPayableDocumentpublic org.kuali.rice.location.framework.country.CountryEbo getVendorCountry()
getVendorCountry in interface PurchasingAccountsPayableDocument@Deprecated public void setVendorCountry(org.kuali.rice.location.framework.country.CountryEbo vendorCountry)
PurApObjectUtils class to work correctly.public String getVendorAttentionName()
public void setVendorAttentionName(String vendorAttentionName)
public String getAccountDistributionMethod()
public void setAccountDistributionMethod(String accountDistributionMethod)
accountDistributionMethod - The accountDistributionMethod to set.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.ole.sys.document.validation.AccountingLineRule#isDebit(org.kuali.ole.sys.document.AccountingDocument,
org.kuali.ole.sys.businessobject.AccountingLine)public PurApRelatedViews getRelatedViews()
public void setRelatedViews(PurApRelatedViews relatedViews)
public void refreshNonUpdateableReferences()
refreshNonUpdateableReferences in interface org.kuali.rice.krad.bo.PersistableBusinessObjectrefreshNonUpdateableReferences in class org.kuali.rice.krad.bo.PersistableBusinessObjectBasepublic void fixItemReferences()
fixItemReferences in interface PurchasingAccountsPayableDocumentpublic PurApItem getTradeInItem()
getTradeInItem in interface PurchasingAccountsPayableDocumentpublic boolean getIsATypeOfPurAPRecDoc()
PurchasingAccountsPayableDocumentgetIsATypeOfPurAPRecDoc in interface PurchasingAccountsPayableDocumentorg.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPurAPRecDoc().public boolean getIsATypeOfPurDoc()
PurchasingAccountsPayableDocumentgetIsATypeOfPurDoc in interface PurchasingAccountsPayableDocumentorg.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPurDoc().public boolean getIsATypeOfPODoc()
PurchasingAccountsPayableDocumentgetIsATypeOfPODoc in interface PurchasingAccountsPayableDocumentorg.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfPODoc().public boolean getIsPODoc()
PurchasingAccountsPayableDocumentgetIsPODoc in interface PurchasingAccountsPayableDocumentorg.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument.getIsPODoc().public boolean getIsReqsDoc()
PurchasingAccountsPayableDocumentgetIsReqsDoc in interface PurchasingAccountsPayableDocumentorg.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument.getIsATypeOfREQSDoc().protected String buildDocumentTitle(String title)
the - default document titlepublic List getSourceAccountingLines()
getSourceAccountingLines in interface AccountingDocumentgetSourceAccountingLines in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLines()protected boolean isDuplicateAccountingLine(List<AccountingLine> sourceAccountingLines, PurApAccountingLine accountingLine)
sourceAccountingLines - accountingLine - protected org.kuali.rice.core.api.util.type.KualiDecimal getAccountTotalGLEntryAmount(AccountingLine matchingAccountingLine)
accountingLine - public boolean getNeedWarningRelatedPOs()
protected List getPersistedSourceAccountingLinesForComparison()
getPersistedSourceAccountingLinesForComparison in class AccountingDocumentBaseAccountingDocumentBase.getPersistedSourceAccountingLinesForComparison()protected List getSourceAccountingLinesForComparison()
getSourceAccountingLinesForComparison in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLinesForComparison()public String getStatusCode()
public void setStatusCode(String statusCode)
statusCode - The statusCode to set.public boolean isCalculated()
isCalculated in interface PurchasingAccountsPayableDocumentpublic void setCalculated(boolean calculated)
setCalculated in interface PurchasingAccountsPayableDocumentcalculated - The calculated to set.public BigDecimal getPurchaseOrderTypeId()
public void setPurchaseOrderTypeId(BigDecimal purchaseOrderTypeId)
public void setPurchaseOrderTypeId(String purchaseOrderType)
public PurchaseOrderType getOrderType()
public void setOrderType(PurchaseOrderType orderType)
public String getLicenseURL()
public void setOleUrlResolver(OleUrlResolver oleUrlResolver)
public org.kuali.rice.krad.util.NoteType getNoteType()
getNoteType in interface org.kuali.rice.krad.document.DocumentgetNoteType in class org.kuali.rice.krad.document.DocumentBasepublic boolean isOverviewFlag()
public void setOverviewFlag(boolean overviewFlag)
overviewFlag - public boolean isDeliveryFlag()
public void setDeliveryFlag(boolean deliveryFlag)
deliveryFlag - public boolean isVendorFlag()
public void setVendorFlag(boolean vendorFlag)
vendorFlag - public boolean isTitlesFlag()
public void setTitlesFlag(boolean titlesFlag)
titlesFlag - public boolean isPaymentInfoFlag()
public void setPaymentInfoFlag(boolean paymentInfoFlag)
paymentInfoFlag - public boolean isAdditionalInstitutionalInfoFlag()
public void setAdditionalInstitutionalInfoFlag(boolean additionalInstitutionalInfoFlag)
additionalInstitutionalInfoFlag - public boolean isAccountSummaryFlag()
public void setAccountSummaryFlag(boolean accountSummaryFlag)
accountSummaryFlag - public boolean isRelatedDocumentsFlag()
public void setRelatedDocumentsFlag(boolean relatedDocumentsFlag)
relatedDocumentsFlag - public boolean isPaymentHistoryFlag()
public void setPaymentHistoryFlag(boolean paymentHistoryFlag)
paymentHistoryFlag - public boolean isNotesAndAttachmentFlag()
public void setNotesAndAttachmentFlag(boolean notesAndAttachmentFlag)
notesAndAttachmentFlag - public boolean isAdHocRecipientsFlag()
public void setAdHocRecipientsFlag(boolean adHocRecipientsFlag)
adHocRecipientsFlag - public boolean isRouteLogFlag()
public void setRouteLogFlag(boolean routeLogFlag)
routeLogFlag - public boolean isInvoiceInfoFlag()
public void setInvoiceInfoFlag(boolean invoiceInfoFlag)
invoiceInfoFlag - public boolean isProcessItemsFlag()
public void setProcessItemsFlag(boolean processItemsFlag)
processItemsFlag - public boolean isGeneralEntriesFlag()
public void setGeneralEntriesFlag(boolean generalEntriesFlag)
generalEntriesFlag - public boolean isCreditMemoInfoFlag()
public void setCreditMemoInfoFlag(boolean creditMemoInfoFlag)
creditMemoInfoFlag - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.