public class FldTaskID extends MAXTableDomain
While TaskIDs aren't Wonums, this classes validates using work order criterias. It's as if the validation is happening for RefWO, but it's done here, before the RefWO column is set.
FldInterfaceWonum
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 |
---|
FldTaskID(MboValue mbv)
Default parameters constructor.
|
FldTaskID(MboValue mbv,
java.lang.String wonumName,
java.lang.String refwoName,
java.lang.String criteriaName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
action()
Updates the RefWO attribute based on the wonum and taskID attributes.
|
void |
init()
TaskID is read/only if the wonum is not set.
|
void |
initValue()
Ask for the value of the wonum field which will set this field.
|
addConditionalListWhere, addToLookupMapCache, chooseActualDomainValues, clearConditionalListWhere, evalConditionalWhere, getList, getListCriteria, getMatchingAttr, getMatchingAttr, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutReset, validate
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, setType
public FldTaskID(MboValue mbv, java.lang.String wonumName, java.lang.String refwoName, java.lang.String criteriaName) throws MXException
mbv
- the current mbo value.wonumName
- Name of the wonum column in this Mbo.refwoName
- Name of the RefWO column in this Mbo.criteriaName
- Name of the criteria to validate work orders for the RefWO column.MXException
public FldTaskID(MboValue mbv) throws MXException
mbv
- the current mbo value.MXException
public void init() throws MXException, java.rmi.RemoteException
init
in interface MboValueListener
init
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void initValue() throws MXException, java.rmi.RemoteException
initValue
in interface MboValueListener
initValue
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException