| org.kuali.module.purap.web.struts.action.PurchasingAccountsPayableActionBase org.kuali.module.purap.web.struts.action.PurchasingActionBase org.kuali.module.purap.web.struts.action.PurchaseOrderAction
PurchaseOrderAction | public class PurchaseOrderAction extends PurchasingActionBase (Code) | | Struts Action for Purchase Order document.
|
Method Summary | |
public ActionForward | addStipulation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Add a stipulation to the document. | public ActionForward | addVendor(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Add to the Quotes a line to contain a Vendor. | public ActionForward | amendPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Is invoked when the user pressed on the Amend button on a Purchase Order page to amend the PO. | public ActionForward | cancel(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | cancelQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Cancels the process of obtaining quotes. | public ActionForward | closePo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Invoked when the user pressed on the Close Order button on a Purchase Order page to Close the PO. | public ActionForward | completeQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, 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. | public ActionForward | deleteStipulation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Delete a stipulation from the document. | public ActionForward | deleteVendor(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Deletes a Vendor from the list of those from which a Quote should be obtained. | public ActionForward | deselectAllForRetransmit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Is invoked when the user clicks on the Deselect All button on a Purchase Order Retransmit document. | public ActionForward | docHandler(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Overrides the docHandler method in the superclass. | public ActionForward | firstTransmitPrintPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Is executed when the user clicks on the "print" button on a Purchase Order Print Document page. | public ActionForward | inactivateItem(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Inactivate an item from the purchase order document. | public ActionForward | initiateQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Sets up the PO document for Quote processing. | protected void | loadDocument(KualiDocumentFormBase kualiDocumentFormBase) | public ActionForward | paymentHoldPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Is invoked when the user pressed on the Payment Hold button on a Purchase Order page to put the PO on hold. | public ActionForward | printPoQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Print a particular selected PO Quote as a PDF. | public ActionForward | printPoQuoteList(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Print the list of PO Quote requests. | public ActionForward | printPurchaseOrderPDFOnly(ActionMapping mapping, ActionForm form, HttpServletRequest request, 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. | public ActionForward | printingRetransmitPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, 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. | public ActionForward | refresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | refreshAccountSummary(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | removeHoldPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, 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.
It will display the question page to the user to ask whether the user really wants to remove the PO from hold and ask the
user to enter a reason in the text area. | public ActionForward | reopenPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, 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. | public ActionForward | retransmitPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, 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 ActionForward | returnToPreviousPage(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.
Parameters: kualiDocumentFormBase - The Form, considered as a KualiDocumentFormBase, as it typically is here. | public ActionForward | save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | selectAllForRetransmit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Is invoked when the user clicks on the Select All button on a Purchase Order Retransmit document. | public ActionForward | transmitPurchaseOrderQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Initiates transmission of a PO Quote request. | public ActionForward | voidPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Is invoked when the user pressed on the Void button on a Purchase Order page to void the PO. |
addStipulation | public ActionForward addStipulation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Add a stipulation to the document.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
addVendor | public ActionForward addVendor(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Add to the Quotes a line to contain a Vendor.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
amendPo | public ActionForward amendPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user pressed on the Amend button on a Purchase Order page to amend the PO. It will display
the question page to the user to ask whether the user really wants to amend the PO and ask the user to enter a reason in the
text area. If the user has entered the reason, it will invoke a service method to do the processing for amending the PO, then
display a Single Confirmation page to inform the user that the PurchaseOrderAmendmentDocument has been routed.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward See Also: org.kuali.module.purap.document.PurchaseOrderAmendmentDocument |
cancelQuote | public ActionForward cancelQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Cancels the process of obtaining quotes. Checks whether any of the quote requests have been transmitted. If none have, tries
to obtain confirmation from the user for the cancellation. If confirmation is obtained, clears out the list of Vendors from
which to obtain quotes and writes the given reason to a note on the PO.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
closePo | public ActionForward closePo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Invoked when the user pressed on the Close Order button on a Purchase Order page to Close the PO. It will
display the question page to the user to ask whether the user really wants to close the PO and ask the user to enter a reason
in the text area. If the user has entered the reason, it will invoke a service method to do the processing for closing a PO,
then display a Single Confirmation page to inform the user that the PO Close Document has been routed.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
completeQuote | public ActionForward completeQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | 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.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
deleteStipulation | public ActionForward deleteStipulation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Delete a stipulation from the document.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
deleteVendor | public ActionForward deleteVendor(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Deletes a Vendor from the list of those from which a Quote should be obtained.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
deselectAllForRetransmit | public ActionForward deselectAllForRetransmit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user clicks on the Deselect All button on a Purchase Order Retransmit document. It will
uncheck the checkboxes of all the items to be excluded from the retransmission of the PO.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
firstTransmitPrintPo | public ActionForward firstTransmitPrintPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is executed when the user clicks on the "print" button on a Purchase Order Print Document page. On a non
javascript enabled browser, it will display a page with 2 buttons. One is to display the PDF, the other is to view the PO
tabbed page where the PO document statuses, buttons, etc have already been updated (the updates of those occurred while the
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.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
inactivateItem | public ActionForward inactivateItem(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Inactivate an item from the purchase order document.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
initiateQuote | public ActionForward initiateQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Sets up the PO document for Quote processing.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
paymentHoldPo | public ActionForward paymentHoldPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user pressed on the Payment Hold button on a Purchase Order page to put the PO on hold. It
will display the question page to the user to ask whether the user really wants to put the PO on hold and ask the user to
enter a reason in the text area. If the user has entered the reason, it will invoke a service method to do the processing for
putting a PO on hold, then display a Single Confirmation page to inform the user that the PO Payment Hold Document has been
routed.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
printPoQuote | public ActionForward printPoQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Print a particular selected PO Quote as a PDF.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm -- The PO Quote must be selected here. Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
printPoQuoteList | public ActionForward printPoQuoteList(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Print the list of PO Quote requests.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
printPurchaseOrderPDFOnly | public ActionForward printPurchaseOrderPDFOnly(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | 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.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
printingRetransmitPo | public ActionForward printingRetransmitPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | 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.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
removeHoldPo | public ActionForward removeHoldPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user pressed on the Remove Hold button on a Payment Hold PO page to remove the PO from hold.
It will display the question page to the user to ask whether the user really wants to remove the PO from hold and ask the
user to enter a reason in the text area. If the user has entered the reason, it will invoke a service method to do the
processing for removing a PO from hold, then display a Single Confirmation page to inform the user that the PO Remove Hold
Document has been routed.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
reopenPo | public ActionForward reopenPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user pressed on the Open Order button on a Purchase Order page that has status "Close" to
reopen the PO. It will display the question page to the user to ask whether the user really wants to reopen the PO and ask
the user to enter a reason in the text area. If the user has entered the reason, it will invoke the a service method to do
the processing for reopening a PO, then display a Single Confirmation page to inform the user that the
PurchaseOrderReopenDocument has been routed.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward See Also: org.kuali.module.purap.document.PurchaseOrderReopenDocument |
retransmitPo | public ActionForward retransmitPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | 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. If it was
invoked from the PO tabbed page, if the PO's pending indicator is false, this method will invoke a method in the
PurchaseOrderService to update the flags, create the PurchaseOrderRetransmitDocument and route it. If the routing was
successful, we'll display the Purchase Order Retransmit Document page to the user, containing the newly created and routed
PurchaseOrderRetransmitDocument and a retransmit button as well as a list of items that the user can select to be
retransmitted. If it was invoked from the Purchase Order Retransmit Document page, we'll invoke the
retransmitPurchaseOrderPDF method to create 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.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
returnToPreviousPage | protected ActionForward returnToPreviousPage(ActionMapping mapping, KualiDocumentFormBase kualiDocumentFormBase)(Code) | | 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.
Parameters: kualiDocumentFormBase - The Form, considered as a KualiDocumentFormBase, as it typically is here. An actionForward mapping back to the original page. |
selectAllForRetransmit | public ActionForward selectAllForRetransmit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user clicks on the Select All button on a Purchase Order Retransmit document. It will select
the checkboxes of all the items to be included in the retransmission of the PO.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
transmitPurchaseOrderQuote | public ActionForward transmitPurchaseOrderQuote(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Initiates transmission of a PO Quote request.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward |
voidPo | public ActionForward voidPo(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Is invoked when the user pressed on the Void button on a Purchase Order page to void the PO. It will display the
question page to the user to ask whether the user really wants to void the PO and ask the user to enter a reason in the text
area. If the user has entered the reason, it will invoke a service method to do the processing for voiding the PO, then
display a Single Confirmation page to inform the user that the PurchaseOrderVoidDocument has been routed.
Parameters: mapping - An ActionMapping Parameters: form - An ActionForm Parameters: request - The HttpServletRequest Parameters: response - The HttpServletResponse throws: Exception - An ActionForward See Also: org.kuali.module.purap.document.PurchaseOrderVoidDocument |
Methods inherited from org.kuali.module.purap.web.struts.action.PurchasingActionBase | public ActionForward addItem(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward cancelAccountDistribution(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected SourceAccountingLine customAccountRetrieval(int accountIndex, PurchasingAccountsPayableFormBase purchasingAccountsPayableForm)(Code)(Java Doc) public ActionForward deleteItem(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward deleteSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward doAccountDistribution(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward downItem(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public boolean processCustomInsertAccountingLine(PurchasingAccountsPayableFormBase purapForm, HttpServletRequest request)(Code)(Java Doc) public ActionForward refresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward refreshDeliveryBuilding(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward removeAccounts(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward setupAccountDistribution(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward upItem(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
|
Methods inherited from org.kuali.module.purap.web.struts.action.PurchasingAccountsPayableActionBase | protected SourceAccountingLine customAccountRetrieval(int accountIndex, PurchasingAccountsPayableFormBase purchasingAccountsPayableForm)(Code)(Java Doc) public ActionForward deleteSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward downloadBOAttachment(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected String[] getSelectedLineForAccounts(HttpServletRequest request)(Code)(Java Doc) public SourceAccountingLine getSourceAccountingLine(ActionForm form, HttpServletRequest request)(Code)(Java Doc) protected void insertAccountingLine(PurchasingAccountsPayableFormBase financialDocumentForm, PurApItem item, PurApAccountingLine line)(Code)(Java Doc) protected void insertAccountingLine(KualiAccountingDocumentFormBase financialDocumentForm, PurApItem item, PurApAccountingLine line)(Code)(Java Doc) public ActionForward insertSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected void loadDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException(Code)(Java Doc) public boolean processCustomInsertAccountingLine(PurchasingAccountsPayableFormBase purapForm, HttpServletRequest request)(Code)(Java Doc) public ActionForward refreshAccountSummary(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
|
|
|