public class FldWpMatLocation extends MAXTableDomain
ISNOTNULL, ISNULL
lastSignature
mboValue
TYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWN
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
FldWpMatLocation(MboValue mbv)
construct and attach to the MboValue.
|
Modifier and Type | Method and Description |
---|---|
void |
action()
If an ITEMNUM has been set, and UNITCOSTHASCHNAGED is false,
set the UNITCOST field to be INVENTORY issue cost .
|
MboSetRemote |
getList()
List the storeroom locations based on the value filled in Storelocsite
and SiteID filled
The business rules are as follows
If the Storeroom Site is blank, the Storeroom lookup will show Storerooms from
Sites that belongs to the same Organization as the WO Site's Organization.
|
void |
initValue()
Location is usually required, but read/only if the direct request flag is true.
|
void |
validate()
Validate the storeroom exists,
and if the itemnum is entered,validate the item exist at that storeroom.
|
addConditionalListWhere, addToLookupMapCache, chooseActualDomainValues, clearConditionalListWhere, evalConditionalWhere, getListCriteria, getMatchingAttr, getMatchingAttr, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutReset
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, setType
public FldWpMatLocation(MboValue mbv) throws MXException
mbv
- the MboValue Location attribute of WpMaterial attach to.MXException
public void initValue() throws MXException, java.rmi.RemoteException
initValue
in interface MboValueListener
initValue
in class MboValueAdapter
MXException
java.rmi.RemoteException
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList
in interface MboValueListener
getList
in class MAXTableDomain
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MAXTableDomain
MXApplicationException
- "workorder","InventoryNotFound"
when the item is not found in the storeroom.MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MAXTableDomain
MXException
java.rmi.RemoteException