public class PurchaseOrderAction extends PurchasingActionBase
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
UPDATE_EVENT_ACTIONS
MODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIX
DOCUMENT_LOAD_COMMANDS
Constructor and Description |
---|
PurchaseOrderAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
addAsset(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds a PurchasingItemCapitalAsset (a container for the Capital Asset Number) to the selected
item's list.
|
org.apache.struts.action.ActionForward |
addSensitiveData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when an authorized user presses "Add" button on the "Assign Sensitive Data" page.
|
org.apache.struts.action.ActionForward |
addStipulation(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add a stipulation to the document.
|
org.apache.struts.action.ActionForward |
addVendor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add to the Quotes a line to contain a Vendor.
|
org.apache.struts.action.ActionForward |
amendPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user pressed on the Amend button on a Purchase Order page to amend the PO.
|
protected org.apache.struts.action.ActionForward |
askQuestionsAndPerformDocumentAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String questionType,
String confirmType,
String documentType,
String notePrefix,
String messageType,
String operation)
For use with a specific set of methods of this class that create new purchase order-derived document types in response to
user actions, including
closePo , reopenPo , paymentHoldPo , removeHoldPo ,
splitPo , amendPo , and voidPo . |
protected org.apache.struts.action.ActionForward |
askSaveQuestions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String questionType)
Obtains confirmation and records reasons for the manual status changes which can take place before the purchase order has
been routed.
|
org.apache.struts.action.ActionForward |
assignSensitiveData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when an authorized user presses "Sensitive Data" button on the purchase order page.
|
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
cancelPurchaseOrderSplit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked from the page on which the Split PO tab is showing to cancel the splitting of the PO and return it to its original state.
|
org.apache.struts.action.ActionForward |
cancelQuote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Cancels the process of obtaining quotes.
|
org.apache.struts.action.ActionForward |
cancelSensitiveData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when an authorized user presses "Cancel" button on the "Assign Sensitive Data" page.
|
protected void |
checkForPOWarnings(PurchaseOrderDocument po,
org.apache.struts.action.ActionMessages messages)
Checks on a few conditions that would cause a warning message to be displayed on top of the Purchase Order page.
|
org.apache.struts.action.ActionForward |
closePo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when the user pressed on the Close Order button on a Purchase Order page to Close the PO.
|
org.apache.struts.action.ActionForward |
completeQuote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Once an awarded Vendor number is present on the PO, verifies the fact, asks the user for confirmation to complete the quoting
process with the awarded Vendor, and sets the Vendor information on the purchase order, if confirmation is obtained.
|
org.apache.struts.action.ActionForward |
continuePurchaseOrderSplit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when only the Split Purchase Order tab is showing to continue the process of splitting the PO, once items are chosen
to be moved to the new PO.
|
org.apache.struts.action.ActionForward |
createReceivingLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected StringBuffer |
createSelectedItemIndexes(List<PurchaseOrderItem> items)
Helper method to create a StringBuffer of the indexes of items that the user
has selected for retransmit to be passed in as an attribute to the RetransmitForward
page so that we could add these items later on to the pdf page.
|
org.apache.struts.action.ActionForward |
deleteSensitiveData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when an authorized user presses "Delete" button on the "Assign Sensitive Data" page.
|
org.apache.struts.action.ActionForward |
deleteStipulation(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Delete a stipulation from the document.
|
org.apache.struts.action.ActionForward |
deleteVendor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deletes a Vendor from the list of those from which a Quote should be obtained.
|
org.apache.struts.action.ActionForward |
deselectAllForRetransmit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user clicks on the Deselect All button on a Purchase Order Retransmit document.
|
org.apache.struts.action.ActionForward |
docHandler(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overrides the docHandler method in the superclass.
|
protected void |
executeManualStatusChange(PurchaseOrderDocument po)
Applies a manual change of status to the given purchase order document.
|
org.apache.struts.action.ActionForward |
firstTransmitPrintPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is executed when the user clicks on the "print" button on a Purchase Order Print Document page.
|
protected String |
getUrlForPrintPO(String basePath,
String docId,
String methodToCall)
Creates a URL to be used in printing the purchase order.
|
org.apache.struts.action.ActionForward |
inactivateItem(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Inactivate an item from the purchase order document.
|
org.apache.struts.action.ActionForward |
initiateQuote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sets up the PO document for Quote processing.
|
protected void |
loadDocument(KualiDocumentFormBase kualiDocumentFormBase)
All document-load operations get routed through here
|
org.apache.struts.action.ActionForward |
paymentHoldPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user pressed on the Payment Hold button on a Purchase Order page to put the PO on hold.
|
org.apache.struts.action.ActionForward |
printingPreviewPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user clicks on the Retransmit button on both the PO tabbed page and on the Purchase Order
Retransmit Document page, which is essentially a PO tabbed page with the other irrelevant tabs being hidden.
|
org.apache.struts.action.ActionForward |
printingRetransmitPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Forwards to the RetransmitForward.jsp page so that we could open 2 windows for retransmit,
one is to display the PO tabbed page and the other one display the pdf document.
|
org.apache.struts.action.ActionForward |
printingRetransmitPoOnly(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a PDF document based on the PO information and the items that were selected by the user on the Purchase Order
Retransmit Document page to be retransmitted, then display the PDF to the browser.
|
org.apache.struts.action.ActionForward |
printPoQuote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Print a particular selected PO Quote as a PDF.
|
org.apache.struts.action.ActionForward |
printPoQuoteList(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
printPoQuoteListOnly(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Print the list of PO Quote requests.
|
org.apache.struts.action.ActionForward |
printPurchaseOrderPDFOnly(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Prints the PDF only, as opposed to
firstTransmitPrintPo , which calls this method (indirectly) to print the
PDF, and calls the doc handler to display the PO tabbed page. |
org.apache.struts.action.ActionForward |
refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Needed to override this to keep from losing Sales Tax information
|
org.apache.struts.action.ActionForward |
removeAlternateVendor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
removeHoldPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user pressed on the Remove Hold button on a Payment Hold PO page to remove the PO from hold.
|
org.apache.struts.action.ActionForward |
reopenPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user pressed on the Open Order button on a Purchase Order page that has status "Close" to
reopen the PO.
|
org.apache.struts.action.ActionForward |
resendPoCxml(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
retransmitPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user clicks on the Retransmit button on both the PO tabbed page and on the Purchase Order
Retransmit Document page, which is essentially a PO tabbed page with the other irrelevant tabs being hidden.
|
protected org.apache.struts.action.ActionForward |
returnToPreviousPage(org.apache.struts.action.ActionMapping mapping,
KualiDocumentFormBase kualiDocumentFormBase)
This is a utility method used to prepare to and to return to a previous page, making sure that the buttons will be restored
in the process.
|
org.apache.struts.action.ActionForward |
save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
selectAllForRetransmit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user clicks on the Select All button on a Purchase Order Retransmit document.
|
protected void |
setItemSelectedForRetransmitIndicatorFromPOInForm(String selectedItemIndexes,
List itemsFromDB)
Sets the itemSelectedForRetransmitIndicator to true to the items that the
user has selected for retransmit.
|
org.apache.struts.action.ActionForward |
splitPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked to initiate the splitting of a Purchase Order.
|
org.apache.struts.action.ActionForward |
submitSensitiveData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked when an authorized user presses "Submit" button on the "Assign Sensitive Data" page.
|
org.apache.struts.action.ActionForward |
transmitPurchaseOrderQuote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initiates transmission of a PO Quote request.
|
org.apache.struts.action.ActionForward |
voidPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user pressed on the Void button on a Purchase Order page to void the PO.
|
addCapitalAssetLocationByDocument, addCapitalAssetLocationByItem, addItem, addItemCapitalAssetByDocument, addItemCapitalAssetByItem, approve, blanketApprove, calculate, cancelAccountDistribution, changeSystem, clearAllTaxes, clearItemsCommodityCodes, clearNotCurrentYearByDocument, clearNotCurrentYearByItem, customAccountRetrieval, deleteCapitalAssetLocationByDocument, deleteCapitalAssetLocationByItem, deleteItem, deleteItemCapitalAssetByDocument, deleteItemCapitalAssetByItem, deleteSourceLine, doDistribution, downItem, findBuildingCodeFromCapitalAssetBuildingLookup, getCaptialAssetItemNumberFromParameter, getCaptialAssetLocationNumberFromParameter, importItems, processCustomInsertAccountingLine, removeAccounts, requiresCalculate, route, saveDocumentNoValidationUsingClearErrorMap, selectNotCurrentYearByDocument, selectNotCurrentYearByItem, selectSystem, selectSystemType, setManufacturerFromVendorByDocument, setManufacturerFromVendorByItem, setupAccountDistribution, setupCAMSSystem, updateBOReferenceforNewItems, updateCamsView, upItem, useOffCampusAssetLocationBuilding, useOffCampusAssetLocationBuildingByDocument, useOffCampusAssetLocationBuildingByItem, useOtherDeliveryBuilding, validateDistributeAccounts
copy, customCalculate, downloadBOAttachment, getSelectedLineForAccounts, getSourceAccountingLine, hideAllAccounts, insertAccountingLine, insertAccountingLine, insertBONote, insertSourceLine, processAccountingLineOverrides, refreshAccountSummary, showAllAccounts, updateBaseline, uploadAccountingLines
checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteTargetLine, execute, getObjectTypeCodeFromLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertAccountingLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refreshSalesTaxInfo, removeSalesTax, showDetails, toggleTab, uploadSourceLines, uploadTargetLines
correct, isDocumentLocked
populateAuthorizationFields
acknowledge, attemptLockRelease, buildAuthorizationException, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, doProcessingAfterPost, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, recall, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, superUserApprove, superUserDisapprove, supervisorFunctions, takeSuperUserActions
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, isModuleLocked, performInquiry, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParameter
cancelled, getMethod, getMethodName, getParameter, unspecified
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected static org.apache.log4j.Logger LOG
public PurchaseOrderAction()
public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAccountingDocumentActionBase
refresh
in class PurchasingActionBase
Exception
KualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward inactivateItem(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
protected org.apache.struts.action.ActionForward askQuestionsAndPerformDocumentAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String questionType, String confirmType, String documentType, String notePrefix, String messageType, String operation) throws Exception
closePo
, reopenPo
, paymentHoldPo
, removeHoldPo
,
splitPo
, amendPo
, and voidPo
. It employs the question framework to ask
the user for a response before creating and routing the new document. The response should consist of a note detailing a
reason, and either yes or no. This method can be better understood if it is noted that it will be gone through twice (via the
question framework); when each question is originally asked, and again when the yes/no response is processed, for
confirmation.mapping
- These are boiler-plate.form
- "request
- "response
- "questionType
- A string identifying the type of question being asked.confirmType
- A string identifying which type of question is being confirmed.documentType
- A string, the type of document to createnotePrefix
- A string to appear before the note in the BO Notes tabmessageType
- A string to appear on the PO once the question framework is done, describing the action takenoperation
- A string, the verb to insert in the original question describing the action to be takenException
public org.apache.struts.action.ActionForward closePo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward paymentHoldPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward removeHoldPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward reopenPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchaseOrderReopenDocument
has been routed.mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
PurchaseOrderReopenDocument
public org.apache.struts.action.ActionForward amendPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchaseOrderAmendmentDocument
has been routed.mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
PurchaseOrderAmendmentDocument
public org.apache.struts.action.ActionForward voidPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchaseOrderVoidDocument
has been routed.mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
PurchaseOrderVoidDocument
public org.apache.struts.action.ActionForward splitPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
PurchaseOrderSplitDocument
public org.apache.struts.action.ActionForward continuePurchaseOrderSplit(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
public org.apache.struts.action.ActionForward cancelPurchaseOrderSplit(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
public org.apache.struts.action.ActionForward assignSensitiveData(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
public org.apache.struts.action.ActionForward submitSensitiveData(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
public org.apache.struts.action.ActionForward cancelSensitiveData(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
public org.apache.struts.action.ActionForward addSensitiveData(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
public org.apache.struts.action.ActionForward deleteSensitiveData(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServeletRequestresponse
- The HttpServeletResponseException
protected org.apache.struts.action.ActionForward returnToPreviousPage(org.apache.struts.action.ActionMapping mapping, KualiDocumentFormBase kualiDocumentFormBase)
kualiDocumentFormBase
- The Form, considered as a KualiDocumentFormBase, as it typically is here.public org.apache.struts.action.ActionForward firstTransmitPrintPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
performPurchaseOrderFirstTransmitViaPrinting
method is invoked. On a javascript enabled browser, it will
display both the PO tabbed page containing the updated PO document info and the pdf on the next window/tab of the browser.mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
protected String getUrlForPrintPO(String basePath, String docId, String methodToCall)
basePath
- String: The base path of the current URLdocId
- String: The document ID of the document to be printedmethodToCall
- String: The name of the method that will be invoked to do this particular printpublic org.apache.struts.action.ActionForward printPurchaseOrderPDFOnly(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
firstTransmitPrintPo
, which calls this method (indirectly) to print the
PDF, and calls the doc handler to display the PO tabbed page.mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward printPoQuote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionForm -- The PO Quote must be selected here.request
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward printPoQuoteList(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward printPoQuoteListOnly(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward transmitPurchaseOrderQuote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward selectAllForRetransmit(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward deselectAllForRetransmit(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward retransmitPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward printingPreviewPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward printingRetransmitPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
- Exception
protected StringBuffer createSelectedItemIndexes(List<PurchaseOrderItem> items)
items
- The List of items on the PurchaseOrderDocument.public org.apache.struts.action.ActionForward printingRetransmitPoOnly(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
protected void setItemSelectedForRetransmitIndicatorFromPOInForm(String selectedItemIndexes, List itemsFromDB)
selectedItemIndexes
- The String containing the indexes of items selected to be retransmitted, separated by comma.itemsFromDB
- The List of items of the PurchaseOrderDocument obtained from the database.protected void checkForPOWarnings(PurchaseOrderDocument po, org.apache.struts.action.ActionMessages messages)
po
- the PurchaseOrderDocument whose status and indicators are to be checked in the conditionspublic org.apache.struts.action.ActionForward addStipulation(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward deleteStipulation(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward docHandler(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
checkForPOWarnings
method to check on a few
conditions that could have caused warning messages to be displayed on top of Purchase Order page.docHandler
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.docHandler(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward initiateQuote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward addVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward deleteVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward completeQuote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward cancelQuote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
cancel
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.cancel(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
save
in class KualiAccountingDocumentActionBase
Exception
KualiDocumentActionBase.save(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected org.apache.struts.action.ActionForward askSaveQuestions(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String questionType)
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseprotected void executeManualStatusChange(PurchaseOrderDocument po)
po
- A PurchaseOrderDocumentprotected void loadDocument(KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.api.exception.WorkflowException
KualiAccountingDocumentActionBase
loadDocument
in class PurchasingActionBase
org.kuali.rice.kew.api.exception.WorkflowException
PurchasingAccountsPayableActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
public org.apache.struts.action.ActionForward addAsset(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- The Formrequest
- An HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward removeAlternateVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward createReceivingLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward resendPoCxml(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.