public class FldWOAssetnum extends FldAssetnum
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 |
|---|
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, smartFindWithoutResetgetConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainIdgetAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, initValue, setTypepublic FldWOAssetnum(MboValue mbv) throws MXException
mbv - the MboValue AssetNum field in the work order object attach to.MXExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class FldAssetnumMXApplicationException - thrown with "workorder","ASSETCSActuals" parameter(wonum) if this is a
charge-to-store work order with actuals.MXExceptionjava.rmi.RemoteExceptionpublic 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 MboValueListeneraction in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionDetermines 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
MXExceptionjava.rmi.RemoteExceptionpublic void determineLocationAction()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void determineSafetyPlanAction()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addConditionalListWhere(java.lang.String attribute,
java.lang.String condition,
java.lang.String where)
MAXTableDomainaddConditionalListWhere in class MAXTableDomainattribute - 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
MAXTableDomaingetList in interface MboValueListenergetList in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionpublic void copyPhyLocValueFromLocation()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException