public class FldWOAssetnum extends FldAssetnum
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 |
---|
FldWOAssetnum(MboValue mbv)
Construct and attach to the specified MboValue.
|
Modifier and Type | Method and Description |
---|---|
void |
action()
Updates the fields affected by changing this field.
|
void |
addConditionalListWhere(java.lang.String attribute,
java.lang.String condition,
java.lang.String where)
Add conditional list where.
|
void |
copyPhyLocValueFromLocation()
Gets the value of PLUSCPHYLOC from the asset and copies it to WORKORDER.PLUSCPHYLOC.
|
void |
determineLocationAction() |
void |
determineSafetyPlanAction() |
MboSetRemote |
getList()
Return the value list.
|
void |
setCIForAsset()
Called by the assetnum attribute to set the WO's CINum to the CI's Asset If the asset has a Valid CI for the WO,
that CI will be put on the WO, if the CI field is blank.
|
void |
validate()
Charge to store work orders can't have thier asset changed if they have any actuals.
|
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, initValue, setType
public FldWOAssetnum(MboValue mbv) throws MXException
mbv
- the MboValue AssetNum field in the work order object attach to.MXException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class FldAssetnum
MXApplicationException
- thrown with "workorder","ASSETCSActuals" parameter(wonum) if this is a
charge-to-store work order with actuals.MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
Changing the work order's asset after a safety plan exists for the work order will cause a warning to be given. If the asset is linear, then special actions are required: the primary MultiAssetLocCI record is created immediately, not in appValidate, and the linear fields are filled.
action
in interface MboValueListener
action
in class MAXTableDomain
MXException
java.rmi.RemoteException
Determines what happens to the work order's location attribute.
,
Applies changes to the work order based upon the asset and location on
the work order.
public void setCIForAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void determineLocationAction() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void determineSafetyPlanAction() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addConditionalListWhere(java.lang.String attribute, java.lang.String condition, java.lang.String where)
MAXTableDomain
addConditionalListWhere
in class MAXTableDomain
attribute
- The attribute name of the current mbo which is evaluated
to the condition.condition
- ISNULL or ISNOTNULL,where
- The where clause which is part of the list where if the condition
met.public MboSetRemote getList() throws MXException, java.rmi.RemoteException
MAXTableDomain
getList
in interface MboValueListener
getList
in class MAXTableDomain
MXException
java.rmi.RemoteException
public void copyPhyLocValueFromLocation() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException