public class FldTKAssetnum 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 |
|---|
FldTKAssetnum(MboValue mbv)
Construct without a criteria.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
Updates the fields affected by changing this field.
|
static MboRemote |
getAssetWithoutSiteId(MboRemote ticket,
MboValue assetMbv,
Translate xlator)
Because SR is a system level mbo there are states where no site id information can be found.
So if user uses smart fill for the asset/location field, we must define what is the site id of that asset/location Legacy code of TPAE had the logic of iterating over all locations/assets that had the same LOCATION/ASSETNUM value. |
MboSetRemote |
getList()
Show only the assets, which are not decommissioned Flag to indicate whether this mbo is zombie or not.
|
void |
setCIForAsset()
This method is called by the assetnum attribute to set the Ticket's CINum to the Asset's CI.
|
void |
validate()
The validate method determines the action if there is a change in the location/asset and gl information.
|
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, smartFindWithoutResetgetConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainIdgetAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, initValue, setTypepublic FldTKAssetnum(MboValue mbv) throws MXException
mbv - the MboValue the assetnum field in the ticket object attach to.MXExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class FldAssetnumMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList in interface MboValueListenergetList in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionpublic static MboRemote getAssetWithoutSiteId(MboRemote ticket, MboValue assetMbv, Translate xlator) throws java.rmi.RemoteException, MXException
ticket - locaMbv - java.rmi.RemoteExceptionMXExceptionpublic void setCIForAsset()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException