public class FldTKAssetnum 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 |
---|
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, smartFindWithoutReset
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, initValue, setType
public FldTKAssetnum(MboValue mbv) throws MXException
mbv
- the MboValue the assetnum field in the ticket object attach to.MXException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class FldAssetnum
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 action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MAXTableDomain
MXException
java.rmi.RemoteException
public static MboRemote getAssetWithoutSiteId(MboRemote ticket, MboValue assetMbv, Translate xlator) throws java.rmi.RemoteException, MXException
ticket
- locaMbv
- java.rmi.RemoteException
MXException
public void setCIForAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException