public interface PurchasingAccountsPayableDocument extends AccountingDocument, PurapItemOperations
Modifier and Type | Method and Description |
---|---|
void |
addItem(PurApItem item)
Adds the specified item to this document.
|
void |
deleteItem(int lineNum)
Deletes the specified item from this document.
|
void |
fixItemReferences() |
Integer |
getAccountsPayablePurchasingDocumentLinkIdentifier() |
String |
getApplicationDocumentStatus() |
String[] |
getBelowTheLineTypes()
Gets all below the line item types.
|
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.
|
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<PurApItem> |
getItems() |
Integer |
getPostingYearNextOrCurrent()
If posting year on document is set to use NEXT fiscal year, then return NEXT.
|
Integer |
getPurapDocumentIdentifier() |
PurchasingAccountsPayableDocument |
getPurApSourceDocumentIfPossible()
Returns the source of this Purchasing Accounts Payable Document if exists.
|
String |
getPurApSourceDocumentLabelIfPossible()
Returns the label of the source of this Purchasing Accounts Payable Document if exists.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalDollarAmount()
Computes the total dollar amount of all items.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalDollarAmountAboveLineItems() |
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 |
getTotalPreTaxDollarAmount()
Computes the pre tax total dollar amount of all items.
|
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 |
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() |
List<PurApItem> |
getTradeInItems() |
Date |
getTransactionTaxDate() |
Integer |
getVendorAddressGeneratedIdentifier() |
String |
getVendorAddressInternationalProvinceName() |
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() |
String |
getVendorPostalCode() |
String |
getVendorStateCode() |
boolean |
isCalculated() |
boolean |
isDocumentStoppedInRouteNode(String nodeName)
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 |
isUseTaxIndicator() |
void |
itemSwap(int position1,
int position2)
Swaps the specified two items based on their item line numbers (which are one higher than the item positions in the list).
|
void |
renumberItems(int start)
Renumbers the item starting from the specified index.
|
void |
setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier) |
void |
setApplicationDocumentStatus(String appDocStatus) |
void |
setCalculated(boolean calculated) |
void |
setItems(List<PurApItem> items) |
void |
setPurapDocumentIdentifier(Integer identifier) |
void |
setTotalDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal totalDollarAmount)
Sets the total dollar amount to the specified amount.
|
void |
setTotalPreTaxDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal totalDollarAmount)
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 |
setVendorCityName(String vendorCityName) |
void |
setVendorCountryCode(String vendorCountryCode) |
void |
setVendorCustomerNumber(String vendorCustomerNumber) |
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) |
boolean |
shouldGiveErrorForEmptyAccountsProration() |
void |
templateVendorAddress(VendorAddress vendorAddress)
Sets vendor address fields based on a given VendorAddress.
|
addSourceAccountingLine, addTargetAccountingLine, getAccountingLineParser, getDocumentClassForAccountingLineValueAllowedValidation, getNextSourceLineNumber, getNextTargetLineNumber, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesSectionTitle, getTargetTotal, isDocumentFinalOrProcessed, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit
boolean isPostingYearNext()
boolean isPostingYearPrior()
Integer getPostingYearNextOrCurrent()
Class getItemClass()
getItemClass
in interface PurapItemOperations
PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible()
String getPurApSourceDocumentLabelIfPossible()
boolean isDocumentStoppedInRouteNode(String nodeName)
nodeDetails
- the node details of the specified node.void addItem(PurApItem item)
item
- the specified item to add.void deleteItem(int lineNum)
item
- the specified item to delete.void renumberItems(int start)
start
- the index of the starting item to be renumbered.void itemSwap(int position1, int position2)
position1
- the position of the first itemposition2
- the position of the second itemint getItemLinePosition()
PurApItem getItem(int pos)
getItem
in interface PurapItemOperations
pos
- the specified index.String[] getBelowTheLineTypes()
org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmount()
void setTotalDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal totalDollarAmount)
the
- specified total amount.org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountAllItems(String[] excludedTypes)
excludedTypes
- the types of items to be excluded.org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountAboveLineItems()
org.kuali.rice.core.api.util.type.KualiDecimal getTotalPreTaxDollarAmount()
void setTotalPreTaxDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal totalDollarAmount)
the
- specified total amount.org.kuali.rice.core.api.util.type.KualiDecimal getTotalPreTaxDollarAmountAllItems(String[] excludedTypes)
excludedTypes
- the types of items to be excluded.org.kuali.rice.core.api.util.type.KualiDecimal getTotalTaxAmount()
void setTotalTaxAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
org.kuali.rice.core.api.util.type.KualiDecimal getTotalTaxAmountAllItems(String[] excludedTypes)
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 getTotalTaxAmountWithExclusions(String[] excludedTypes, boolean includeBelowTheLine)
void templateVendorAddress(VendorAddress vendorAddress)
vendorAddress
- org.kuali.rice.location.framework.country.CountryEbo getVendorCountry()
VendorDetail getVendorDetail()
List<PurApItem> getItems()
getItems
in interface PurapItemOperations
void setItems(List<PurApItem> items)
setItems
in interface PurapItemOperations
String getVendorNumber()
void setVendorNumber(String vendorNumber)
Integer getVendorHeaderGeneratedIdentifier()
void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
Integer getVendorDetailAssignedIdentifier()
void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
String getVendorCustomerNumber()
void setVendorCustomerNumber(String vendorCustomerNumber)
Integer getPurapDocumentIdentifier()
void setPurapDocumentIdentifier(Integer identifier)
String getApplicationDocumentStatus()
void setApplicationDocumentStatus(String appDocStatus)
String getVendorCityName()
void setVendorCityName(String vendorCityName)
String getVendorCountryCode()
void setVendorCountryCode(String vendorCountryCode)
String getVendorLine1Address()
void setVendorLine1Address(String vendorLine1Address)
String getVendorLine2Address()
void setVendorLine2Address(String vendorLine2Address)
String getVendorName()
void setVendorName(String vendorName)
String getVendorPostalCode()
void setVendorPostalCode(String vendorPostalCode)
String getVendorStateCode()
void setVendorStateCode(String vendorStateCode)
String getVendorAddressInternationalProvinceName()
void setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName)
Integer getAccountsPayablePurchasingDocumentLinkIdentifier()
void setAccountsPayablePurchasingDocumentLinkIdentifier(Integer accountsPayablePurchasingDocumentLinkIdentifier)
Integer getVendorAddressGeneratedIdentifier()
void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)
boolean isUseTaxIndicator()
void setUseTaxIndicator(boolean useTaxIndicator)
void fixItemReferences()
Date getTransactionTaxDate()
PurApItem getTradeInItem()
org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmountForTradeIn()
List<PurApItem> getTradeInItems()
boolean getIsATypeOfPurAPRecDoc()
boolean getIsATypeOfPurDoc()
boolean getIsATypeOfPODoc()
boolean getIsPODoc()
boolean getIsReqsDoc()
boolean isInquiryRendered()
boolean shouldGiveErrorForEmptyAccountsProration()
boolean isCalculated()
void setCalculated(boolean calculated)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.