|
||||||||||
| 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
org.kuali.kfs.module.purap.document.PurchasingDocumentBase
org.kuali.kfs.module.purap.document.RequisitionDocument
public class RequisitionDocument
Document class for the Requisition.
| Field Summary | |
|---|---|
protected String |
alternate1VendorName
|
protected String |
alternate2VendorName
|
protected String |
alternate3VendorName
|
protected String |
alternate4VendorName
|
protected String |
alternate5VendorName
|
protected boolean |
isBlanketApproveRequest
|
protected static org.apache.log4j.Logger |
LOG
|
protected org.kuali.rice.kns.util.KualiDecimal |
organizationAutomaticPurchaseOrderLimit
|
protected String |
requisitionOrganizationReference1Text
|
protected String |
requisitionOrganizationReference2Text
|
protected String |
requisitionOrganizationReference3Text
|
| 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 | |
|---|---|
RequisitionDocument()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
answerSplitNodeQuestion(String nodeName)
Provides answers to the following splits: AmountRequiresSeparationOfDutiesReview |
protected String |
determinePurchaseOrderTransmissionMethod()
Determines what PO transmission method to use. |
void |
doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO change)
|
void |
doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
Override to call super and then iterate over all GLPEs and update the approved code appropriately. |
boolean |
generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This is a "do nothing" version of the method - it just won't create GLPEs |
boolean |
getAllowsCopy()
Checks whether copying of this document should be allowed. |
String |
getAlternate1VendorName()
|
String |
getAlternate2VendorName()
|
String |
getAlternate3VendorName()
|
String |
getAlternate4VendorName()
|
String |
getAlternate5VendorName()
|
Date |
getCreateDate()
|
Date |
getCreateDateForResult()
|
PurchasingDocumentSpecificService |
getDocumentSpecificService()
|
String |
getDocumentTitle()
|
protected String |
getFirstChartAccount()
Gets this requisition's Chart/Account of the first accounting line from the first item. |
Class |
getItemClass()
Returns the Item Class. |
Class |
getItemUseTaxClass()
|
org.kuali.rice.kns.util.KualiDecimal |
getOrganizationAutomaticPurchaseOrderLimit()
|
PurchasingAccountsPayableDocument |
getPurApSourceDocumentIfPossible()
Returns null as requistion has no source document. |
String |
getPurApSourceDocumentLabelIfPossible()
Returns null as requistion has no source document. |
Class |
getPurchasingCapitalAssetItemClass()
|
Class |
getPurchasingCapitalAssetSystemClass()
|
String |
getRequisitionOrganizationReference1Text()
|
String |
getRequisitionOrganizationReference2Text()
|
String |
getRequisitionOrganizationReference3Text()
|
Class |
getSourceAccountingLineClass()
Returns the default Source accounting line class. |
String |
getStatusDescription()
Deprecated. |
String |
getUrl()
|
List<Long> |
getWorkflowEngineDocumentIdsToLock()
|
void |
initiateDocument()
Performs logic needed to initiate Requisition Document. |
boolean |
isBlanketApproveRequest()
Gets the isBlanketApproveRequest attribute. |
boolean |
isBoNotesSupport()
|
boolean |
isInquiryRendered()
Overrides the method in PurchasingAccountsPayableDocumentBase to add the criteria specific to Requisition Document. |
protected boolean |
isMissingAccountingLines()
|
protected boolean |
isSeparationOfDutiesReviewRequired()
|
void |
setAlternate1VendorName(String alternate1VendorName)
|
void |
setAlternate2VendorName(String alternate2VendorName)
|
void |
setAlternate3VendorName(String alternate3VendorName)
|
void |
setAlternate4VendorName(String alternate4VendorName)
|
void |
setAlternate5VendorName(String alternate5VendorName)
|
void |
setBlanketApproveRequest(boolean isBlanketApproveRequest)
Sets the isBlanketApproveRequest attribute value. |
void |
setOrganizationAutomaticPurchaseOrderLimit(org.kuali.rice.kns.util.KualiDecimal organizationAutomaticPurchaseOrderLimit)
|
void |
setRequisitionOrganizationReference1Text(String requisitionOrganizationReference1Text)
|
void |
setRequisitionOrganizationReference2Text(String requisitionOrganizationReference2Text)
|
void |
setRequisitionOrganizationReference3Text(String requisitionOrganizationReference3Text)
|
void |
setStatusDescription(String statusDescription)
Deprecated. |
boolean |
shouldGiveErrorForEmptyAccountsProration()
|
void |
templateBuildingToDeliveryAddress(Building building)
|
void |
toCopy()
Performs logic needed to copy Requisition Document. |
protected void |
updateStatusAndSave(String statusCode)
Updates status of this document and saves it. |
| 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 |
|---|
getDocumentHeader, prepareForSave, setDocumentHeader |
| Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase |
|---|
isSessionDocument |
| Methods inherited from class org.kuali.rice.kns.document.DocumentBase |
|---|
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getXmlForRouteReport, logErrors, 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, 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.PurchasingDocument |
|---|
deleteItem, getItem, getItems, getTotalDollarAmount, getVendorCityName, getVendorCountryCode, getVendorLine1Address, getVendorLine2Address, getVendorName, getVendorPostalCode, getVendorStateCode, setItems, setVendorCityName, setVendorCountryCode, setVendorLine1Address, setVendorLine2Address, setVendorName, setVendorPostalCode, setVendorStateCode |
| 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, setPostingYear |
| Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument |
|---|
getDocumentHeader |
| Methods inherited from interface org.kuali.rice.kns.document.Document |
|---|
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getPessimisticLocks, getXmlForRouteReport, postProcessSave, prepareForSave, processAfterRetrieve, 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, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, 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, getDocumentHeader, getFinancialDocumentTypeCode, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit |
| Field Detail |
|---|
protected static org.apache.log4j.Logger LOG
protected String requisitionOrganizationReference1Text
protected String requisitionOrganizationReference2Text
protected String requisitionOrganizationReference3Text
protected String alternate1VendorName
protected String alternate2VendorName
protected String alternate3VendorName
protected String alternate4VendorName
protected String alternate5VendorName
protected org.kuali.rice.kns.util.KualiDecimal organizationAutomaticPurchaseOrderLimit
protected boolean isBlanketApproveRequest
| Constructor Detail |
|---|
public RequisitionDocument()
| Method Detail |
|---|
public PurchasingDocumentSpecificService getDocumentSpecificService()
getDocumentSpecificService in interface PurchasingDocumentgetDocumentSpecificService in class PurchasingDocumentBasepublic boolean isBoNotesSupport()
isBoNotesSupport in interface org.kuali.rice.kns.bo.PersistableBusinessObjectisBoNotesSupport in class org.kuali.rice.kns.bo.PersistableBusinessObjectBasePersistableBusinessObjectBase.isBoNotesSupport()
public boolean answerSplitNodeQuestion(String nodeName)
throws UnsupportedOperationException
answerSplitNodeQuestion in interface FinancialSystemTransactionalDocumentanswerSplitNodeQuestion in class FinancialSystemTransactionalDocumentBaseUnsupportedOperationExceptionFinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)protected boolean isMissingAccountingLines()
protected boolean isSeparationOfDutiesReviewRequired()
public boolean isInquiryRendered()
isInquiryRendered in interface PurchasingAccountsPayableDocumentisInquiryRendered in class PurchasingAccountsPayableDocumentBasePurchasingAccountsPayableDocumentBase.isInquiryRendered()public void initiateDocument()
public void templateBuildingToDeliveryAddress(Building building)
protected String determinePurchaseOrderTransmissionMethod()
public boolean getAllowsCopy()
getAllowsCopy in interface org.kuali.rice.kns.document.DocumentgetAllowsCopy in class org.kuali.rice.kns.document.TransactionalDocumentBaseDocument.getAllowsCopy()
public void toCopy()
throws org.kuali.rice.kew.exception.WorkflowException,
org.kuali.rice.kns.exception.ValidationException
toCopy in interface org.kuali.rice.kns.document.CopyabletoCopy in class AccountingDocumentBaseorg.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kns.exception.ValidationExceptionorg.kuali.rice.kns.document.Document#toCopy()protected void updateStatusAndSave(String statusCode)
statusCode - the status code of the current status.public List<Long> getWorkflowEngineDocumentIdsToLock()
getWorkflowEngineDocumentIdsToLock in interface org.kuali.rice.kns.document.DocumentgetWorkflowEngineDocumentIdsToLock in class org.kuali.rice.kns.document.DocumentBasepublic void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
GeneralLedgerPostingDocumentBase
doRouteStatusChange in interface org.kuali.rice.kns.document.DocumentdoRouteStatusChange in class GeneralLedgerPostingDocumentBaseorg.kuali.rice.kns.document.DocumentBase#doRouteStatusChange()public void doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO change)
doRouteLevelChange in interface org.kuali.rice.kns.document.DocumentdoRouteLevelChange in class org.kuali.rice.kns.document.DocumentBaseorg.kuali.rice.kns.document.DocumentBase#handleRouteLevelChange(org.kuali.rice.kew.clientapp.vo.DocumentRouteLevelChangeDTO)public Class getSourceAccountingLineClass()
AccountingDocumentBase
getSourceAccountingLineClass in interface AccountingDocumentgetSourceAccountingLineClass in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLineClass()public String getRequisitionOrganizationReference1Text()
public void setRequisitionOrganizationReference1Text(String requisitionOrganizationReference1Text)
public String getRequisitionOrganizationReference2Text()
public void setRequisitionOrganizationReference2Text(String requisitionOrganizationReference2Text)
public String getRequisitionOrganizationReference3Text()
public void setRequisitionOrganizationReference3Text(String requisitionOrganizationReference3Text)
public String getAlternate1VendorName()
public void setAlternate1VendorName(String alternate1VendorName)
public String getAlternate2VendorName()
public void setAlternate2VendorName(String alternate2VendorName)
public String getAlternate3VendorName()
public void setAlternate3VendorName(String alternate3VendorName)
public String getAlternate4VendorName()
public void setAlternate4VendorName(String alternate4VendorName)
public String getAlternate5VendorName()
public void setAlternate5VendorName(String alternate5VendorName)
public org.kuali.rice.kns.util.KualiDecimal getOrganizationAutomaticPurchaseOrderLimit()
public void setOrganizationAutomaticPurchaseOrderLimit(org.kuali.rice.kns.util.KualiDecimal organizationAutomaticPurchaseOrderLimit)
public Class getItemClass()
PurchasingAccountsPayableDocument
getItemClass in interface PurapItemOperationsgetItemClass in interface PurchasingAccountsPayableDocumentgetItemClass in class PurchasingAccountsPayableDocumentBasePurchasingAccountsPayableDocumentBase.getItemClass()public Class getItemUseTaxClass()
getItemUseTaxClass in class PurchasingAccountsPayableDocumentBasepublic PurchasingAccountsPayableDocument getPurApSourceDocumentIfPossible()
getPurApSourceDocumentIfPossible in interface PurchasingAccountsPayableDocumentgetPurApSourceDocumentIfPossible in class PurchasingAccountsPayableDocumentBasePurchasingAccountsPayableDocumentBase.getPurApSourceDocumentIfPossible()public String getPurApSourceDocumentLabelIfPossible()
getPurApSourceDocumentLabelIfPossible in interface PurchasingAccountsPayableDocumentgetPurApSourceDocumentLabelIfPossible in class PurchasingAccountsPayableDocumentBasePurchasingAccountsPayableDocumentBase.getPurApSourceDocumentLabelIfPossible()public String getDocumentTitle()
getDocumentTitle in interface org.kuali.rice.kns.document.DocumentgetDocumentTitle in class org.kuali.rice.kns.document.DocumentBaseDocument.getDocumentTitle()protected String getFirstChartAccount()
public Date getCreateDate()
public String getUrl()
public String getStatusDescription()
public void setStatusDescription(String statusDescription)
public boolean generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
generateGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySourcegenerateGeneralLedgerPendingEntries in class AccountingDocumentBaseglpeSourceDetail - the source detail line to generate general ledger pending entries forsequenceHelper - the sequence helper which will assign sequence number to generated general ledger pending entries
AccountingDocumentBase.generateGeneralLedgerPendingEntries(org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)public Class getPurchasingCapitalAssetItemClass()
getPurchasingCapitalAssetItemClass in interface PurchasingDocumentgetPurchasingCapitalAssetItemClass in class PurchasingDocumentBasepublic Class getPurchasingCapitalAssetSystemClass()
getPurchasingCapitalAssetSystemClass in interface PurchasingDocumentgetPurchasingCapitalAssetSystemClass in class PurchasingDocumentBasepublic boolean shouldGiveErrorForEmptyAccountsProration()
shouldGiveErrorForEmptyAccountsProration in interface PurchasingAccountsPayableDocumentshouldGiveErrorForEmptyAccountsProration in interface PurchasingDocumentshouldGiveErrorForEmptyAccountsProration in class PurchasingDocumentBasepublic Date getCreateDateForResult()
public boolean isBlanketApproveRequest()
public void setBlanketApproveRequest(boolean isBlanketApproveRequest)
isBlanketApproveRequest - The isBlanketApproveRequest to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||