public class LineItemReceivingForm extends ReceivingFormBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fromPurchaseOrder |
protected Boolean |
hideAddUnorderedItem |
protected LineItemReceivingItem |
newLineItemReceivingItemLine |
protected Integer |
purchaseOrderId |
forcedReadOnlyFieldsadHocActionRequestCodes, 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) |
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.
|
isStateFinalextendDocInfoToThreeColumns, generateErrorCorrectionButtondiscoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populate, populateEmptyMultiSelect, populateFalseCheckboxes, populationSpecialEmptyFields, setForcedReadOnlyFields, shouldMethodToCallParameterBeUsedaddRequiredNonEditableProperties, 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, validateclearEditablePropertyInformation, 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, setTabStatesaddMaxUploadSize, 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, setUnconvertedValuesprotected Integer purchaseOrderId
protected LineItemReceivingItem newLineItemReceivingItemLine
protected boolean fromPurchaseOrder
protected Boolean hideAddUnorderedItem
public LineItemReceivingForm()
protected String getDefaultDocumentTypeName()
getDefaultDocumentTypeName in class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBasepublic 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)
populateHeaderFields in class FinancialSystemTransactionalDocumentFormBaseKRAD Conversion: Customizing the header fields - Uses data dictionarypublic List<org.kuali.rice.kns.web.ui.ExtraButton> getExtraButtons()
getExtraButtons in class FinancialSystemTransactionalDocumentFormBaseKualiForm.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–2014 The Kuali Foundation. All rights reserved.