public class FldWpMatLocation extends MAXTableDomain
ISNOTNULL, ISNULLlastSignaturemboValueTYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWNALLROWS, 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, getMatchingAttrs, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutResetgetConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainIdgetAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getTranslator, getType, init, setTypepublic FldWpMatLocation(MboValue mbv) throws MXException
mbv - the MboValue Location attribute of WpMaterial attach to.MXExceptionpublic void initValue()
throws MXException,
java.rmi.RemoteException
initValue in interface MboValueListenerinitValue in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList in interface MboValueListenergetList in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MAXTableDomainMXApplicationException - "workorder","InventoryNotFound"
when the item is not found in the storeroom.MXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MAXTableDomainMXExceptionjava.rmi.RemoteException