public class PurchasingAccountsPayableFormBase extends KualiAccountingDocumentFormBase
Modifier and Type | Field and Description |
---|---|
protected boolean |
readOnlyAccountDistributionMethod |
protected List<SummaryAccount> |
summaryAccounts |
editableAccounts, forcedLookupOptionalFields, hideDetails, newSourceLine, newTargetLine, sourceFile, targetFile
forcedReadOnlyFields
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons
Constructor and Description |
---|
PurchasingAccountsPayableFormBase()
Constructs a PurchasingAccountsPayableFormBase instance and initializes summary accounts.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addExtraButton(String property,
String source,
String altText)
KRAD Conversion: Performs customization of an extra button.
|
void |
clearSummaryAccounts()
Initializes summary accounts.
|
List |
getBaselineSourceAccountingLines() |
String |
getDisbursementInfoUrl()
This method builds the url for the disbursement info on the purap documents.
|
List<SummaryAccount> |
getSummaryAccounts() |
boolean |
isReadOnlyAccountDistributionMethod()
Gets the readOnlyAccountDistributionMethod attribute.
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Overrides the parent to call super.populate and then to call the accounting lines populate method that is specific to loading
the two select lists on the page.
|
protected void |
populateAccountingLinesForResponse(String methodToCall,
Map parameterMap)
overridden to make sure accounting lines on items are repopulated
|
protected void |
populateItemAccountingLines(Map parameterMap)
Populates accounting lines for each item on the Purchasing AP document
|
void |
refreshAccountSummmary()
Updates the summaryAccounts that are contained in the form.
|
void |
setReadOnlyAccountDistributionMethod(boolean readOnlyAccountDistributionMethod)
Sets the readOnlyAccountDistributionMethod attribute.
|
void |
setSummaryAccounts(List<SummaryAccount> summaryAccounts) |
protected void |
setupAccountDistributionMethod()
retrieves the system parameter value for account distribution method and determines
if the drop-down box on the form should be read only or not.
|
createNewSourceAccountingLine, createNewTargetAccountingLine, customInitMaxUploadSizes, getAccountingLineImportInstructionsUrl, getCurrencyFormattedSourceTotal, getCurrencyFormattedTargetTotal, getEditableAccounts, getExcludedmethodToCall, getFinancialDocument, getForcedLookupOptionalFields, getHideDetails, getNewSourceLine, getNewTargetLine, getSourceFile, getTargetFile, harvestAccountingLines, isHideDetails, populateAccountingLine, populateAccountingLines, populateSourceAccountingLine, populateTargetAccountingLine, repopulateOverrides, setEditableAccounts, setForcedLookupOptionalFields, setHideDetails, setNewSourceLine, setNewTargetLine, setSourceFile, setTargetFile, shouldMethodToCallParameterBeUsed
extendDocInfoToThreeColumns, generateErrorCorrectionButton, getExtraButtons, populateHeaderFields
discoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populateEmptyMultiSelect, populateFalseCheckboxes, populationSpecialEmptyFields, setForcedReadOnlyFields
addRequiredNonEditableProperties, buildHtmlLink, getActionRequests, getActionRequestsRequiringApproval, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, getDefaultDocumentTypeName, getDocId, getDocNum, getDocTypeName, getDocument, getDocumentActions, getDocumentHandlerUrl, getEditingMode, getFormKey, getInitiator, getInitiatorNetworkId, getMessageMapFromPreviousRequest, getNewAdHocRoutePerson, getNewAdHocRouteWorkgroup, getNewNote, getPersonInquiryUrlLink, getSelectedActionRequests, getStandardHeaderFields, getSuperUserAnnotation, getWorkflowDocument, hasDocumentId, initializeHeaderNavigationTabs, instantiateDocument, isDocumentEnRoute, isFormDocumentInitialized, isHasWorkflowDocument, isReturnToActionList, isStateAllowsApproveOrDisapprove, isStateAllowsApproveSingleActionRequest, isStateInitiatedFinalCancelled, isStateProcessedOrDisapproved, isSuperUserActionAvaliable, isSuperUserApproveDocumentAuthorized, isSuperUserApproveSingleActionRequestAuthorized, isSuperUserAuthorized, isSuperUserDisapproveDocumentAuthorized, isSuppressAllButtons, isUserDocumentInitiator, reset, setActionRequests, setAdditionalScriptFile, setAdditionalScriptFiles, setAdHocActionRequestCodes, setAdHocRoutePersons, setAdHocRouteWorkgroups, setAnnotation, setAttachmentFile, setBoNotes, setCommand, setDerivedValuesOnForm, setDocId, setDocNum, setDocTypeName, setDocument, setDocumentActions, setEditingMode, setFormKey, setMessageMapFromPreviousRequest, setNewAdHocRoutePerson, setNewAdHocRouteWorkgroup, setNewNote, setReturnToActionList, setSelectedActionRequests, setSuperUserAnnotation, setSuppressAllButtons, shouldPropertyBePopulatedInForm, validate
clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getMethodToCall, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValues
protected transient List<SummaryAccount> summaryAccounts
protected boolean readOnlyAccountDistributionMethod
public PurchasingAccountsPayableFormBase()
protected void setupAccountDistributionMethod()
public void refreshAccountSummmary()
public void clearSummaryAccounts()
public List getBaselineSourceAccountingLines()
org.kuali.ole.sys.web.struts.KualiAccountingDocumentFormBase#getBaselineSourceAccountingLines()
public void populate(javax.servlet.http.HttpServletRequest request)
KualiAccountingDocumentFormBase
populate
in interface org.kuali.rice.kns.web.struts.form.pojo.PojoForm
populate
in class KualiAccountingDocumentFormBase
org.kuali.rice.kns.web.struts.pojo.PojoForm#populate(javax.servlet.http.HttpServletRequest)
public List<SummaryAccount> getSummaryAccounts()
public void setSummaryAccounts(List<SummaryAccount> summaryAccounts)
protected void addExtraButton(String property, String source, String altText)
public String getDisbursementInfoUrl()
protected void populateAccountingLinesForResponse(String methodToCall, Map parameterMap)
populateAccountingLinesForResponse
in class KualiAccountingDocumentFormBase
methodToCall
- the method to call in the action to complete this request transactionparameterMap
- the map of parameters which came in with the transactionKualiAccountingDocumentFormBase.populateAccountingLinesForResponse(java.lang.String, java.util.Map)
protected void populateItemAccountingLines(Map parameterMap)
parameterMap
- the map of parameterspublic boolean isReadOnlyAccountDistributionMethod()
public void setReadOnlyAccountDistributionMethod(boolean readOnlyAccountDistributionMethod)
readOnlyAccountDistributionMethod
- The readOnlyAccountDistributionMethod to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.