public class LineItemReceivingForm extends ReceivingFormBase
Modifier and Type | Field and Description |
---|---|
protected boolean |
fromPurchaseOrder |
protected Boolean |
hideAddUnorderedItem |
protected LineItemReceivingItem |
newLineItemReceivingItemLine |
protected Integer |
purchaseOrderId |
forcedReadOnlyFields
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons
Constructor and Description |
---|
LineItemReceivingForm()
Constructs a LineItemReceivingForm instance and sets up the appropriately casted document.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canCreateCorrection() |
protected Map<String,org.kuali.rice.kns.web.ui.ExtraButton> |
createButtonsMap()
Creates a MAP for all the buttons to appear on the Receiving Line Form, and sets the attributes of these buttons.
|
LineItemReceivingItem |
getAndResetNewReceivingItemLine()
Returns the new Receiving Item Line and resets it to null.
|
protected String |
getDefaultDocumentTypeName() |
List<org.kuali.rice.kns.web.ui.ExtraButton> |
getExtraButtons()
Override the superclass method to add appropriate buttons for LineItemReceivingDocument.
|
Boolean |
getHideAddUnorderedItem() |
LineItemReceivingDocument |
getLineItemReceivingDocument() |
LineItemReceivingItem |
getNewLineItemReceivingItemLine() |
Integer |
getPurchaseOrderId() |
boolean |
isAbleToShowClearAndLoadQtyButtons()
Indicates if the clear and load quantity buttons can be shown, according to the
value of a system parameter.
|
boolean |
isFromPurchaseOrder() |
void |
populateHeaderFields(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
This method is used to populate the list of header field objects (see
KualiForm.getDocInfo() ) displayed on
the Kuali document form display pages. |
void |
setFromPurchaseOrder(boolean fromPurchaseOrder) |
void |
setHideAddUnorderedItem(Boolean hideAddUnorderedItem) |
void |
setLineItemReceivingDocument(LineItemReceivingDocument lineItemReceivingDocument) |
void |
setNewLineItemReceivingItemLine(LineItemReceivingItem newLineItemReceivingItemLine) |
void |
setPurchaseOrderId(Integer purchaseOrderId) |
LineItemReceivingItem |
setupNewLineItemReceivingItemLine() |
LineItemReceivingItem |
setupNewReceivingItemLine()
This method should be overriden (or see accountingLines for an alternate way of doing this with newInstance)
|
boolean |
shouldGiveAddUnorderedItemWarning()
Indicates if a warning should be given when users click "add unordered item" button, according to the system parameter.
|
isStateFinal
extendDocInfoToThreeColumns, generateErrorCorrectionButton
discoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populate, populateEmptyMultiSelect, populateFalseCheckboxes, populationSpecialEmptyFields, setForcedReadOnlyFields, shouldMethodToCallParameterBeUsed
addRequiredNonEditableProperties, buildHtmlLink, customInitMaxUploadSizes, getActionRequests, getActionRequestsRequiringApproval, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, 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 Integer purchaseOrderId
protected LineItemReceivingItem newLineItemReceivingItemLine
protected boolean fromPurchaseOrder
protected Boolean hideAddUnorderedItem
public LineItemReceivingForm()
protected String getDefaultDocumentTypeName()
getDefaultDocumentTypeName
in class KualiDocumentFormBase
public LineItemReceivingDocument getLineItemReceivingDocument()
public void setLineItemReceivingDocument(LineItemReceivingDocument lineItemReceivingDocument)
public Integer getPurchaseOrderId()
public void setPurchaseOrderId(Integer purchaseOrderId)
public LineItemReceivingItem setupNewLineItemReceivingItemLine()
public LineItemReceivingItem getNewLineItemReceivingItemLine()
public void setNewLineItemReceivingItemLine(LineItemReceivingItem newLineItemReceivingItemLine)
public void populateHeaderFields(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
KualiDocumentFormBase
KualiForm.getDocInfo()
) displayed on
the Kuali document form display pages.populateHeaderFields
in class FinancialSystemTransactionalDocumentFormBase
workflowDocument
- - the workflow document of the document being displayed (null is allowed)KRAD Conversion: Customizing the header fields - Uses data dictionary
public List<org.kuali.rice.kns.web.ui.ExtraButton> getExtraButtons()
getExtraButtons
in class FinancialSystemTransactionalDocumentFormBase
KualiForm.getExtraButtons()
protected boolean canCreateCorrection()
protected Map<String,org.kuali.rice.kns.web.ui.ExtraButton> createButtonsMap()
public LineItemReceivingItem getAndResetNewReceivingItemLine()
public LineItemReceivingItem setupNewReceivingItemLine()
public boolean isAbleToShowClearAndLoadQtyButtons()
public boolean shouldGiveAddUnorderedItemWarning()
public boolean isFromPurchaseOrder()
public void setFromPurchaseOrder(boolean fromPurchaseOrder)
public Boolean getHideAddUnorderedItem()
public void setHideAddUnorderedItem(Boolean hideAddUnorderedItem)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.