public class AccountsPayableFormBase extends PurchasingAccountsPayableFormBase
Modifier and Type | Field and Description |
---|---|
protected boolean |
calculated |
protected int |
countOfAboveTheLine |
protected int |
countOfBelowTheLine |
protected PurApItem |
newPurchasingItemLine |
readOnlyAccountDistributionMethod, summaryAccounts
editableAccounts, forcedLookupOptionalFields, hideDetails, newSourceLine, newTargetLine, sourceFile, targetFile
forcedReadOnlyFields
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons
Constructor and Description |
---|
AccountsPayableFormBase()
Constructs an AccountsPayableForm instance and sets up the appropriately casted document.
|
Modifier and Type | Method and Description |
---|---|
PurApItem |
getAndResetNewPurchasingItemLine() |
int |
getCountOfAboveTheLine() |
int |
getCountOfBelowTheLine() |
PurApItem |
getNewPurchasingItemLine() |
boolean |
isCalculated() |
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 AP document
|
void |
setCalculated(boolean calculated) |
void |
setCountOfAboveTheLine(int countOfAboveTheLine) |
void |
setCountOfBelowTheLine(int countOfBelowTheLine) |
void |
setNewPurchasingItemLine(PurApItem newPurchasingItemLine) |
PurApItem |
setupNewPurchasingItemLine()
This method should be overriden (or see accountingLines for an alternate way of doing this with newInstance)
|
void |
updateItemCounts()
Updates item counts for display
|
addExtraButton, clearSummaryAccounts, getBaselineSourceAccountingLines, getDisbursementInfoUrl, getSummaryAccounts, isReadOnlyAccountDistributionMethod, refreshAccountSummmary, setReadOnlyAccountDistributionMethod, setSummaryAccounts, setupAccountDistributionMethod
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 PurApItem newPurchasingItemLine
protected boolean calculated
protected int countOfAboveTheLine
protected int countOfBelowTheLine
public AccountsPayableFormBase()
public PurApItem getNewPurchasingItemLine()
public void setNewPurchasingItemLine(PurApItem newPurchasingItemLine)
public PurApItem getAndResetNewPurchasingItemLine()
public PurApItem setupNewPurchasingItemLine()
public boolean isCalculated()
public void setCalculated(boolean calculated)
public int getCountOfAboveTheLine()
public void setCountOfAboveTheLine(int countOfAboveTheLine)
public int getCountOfBelowTheLine()
public void setCountOfBelowTheLine(int countOfBelowTheLine)
public void populate(javax.servlet.http.HttpServletRequest request)
KualiAccountingDocumentFormBase
populate
in interface org.kuali.rice.kns.web.struts.form.pojo.PojoForm
populate
in class PurchasingAccountsPayableFormBase
KualiAccountingDocumentFormBase.populate(javax.servlet.http.HttpServletRequest)
protected void populateAccountingLinesForResponse(String methodToCall, Map parameterMap)
populateAccountingLinesForResponse
in class PurchasingAccountsPayableFormBase
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)
populateItemAccountingLines
in class PurchasingAccountsPayableFormBase
parameterMap
- the map of parameterspublic void updateItemCounts()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.