public class FldActualsTaskID extends MboValueAdapter
This attribute is needed because the TaskID column maybe set in another application or when the work order was in a different hierarchy and may not have the appropriate value for the work order actual page display. We can't update the TaskID value on the transaction either.
This is the field class for the persistent attribute
"TaskID".
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 |
---|
FldActualsTaskID(MboValue mbv)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
action()
This field simply updates the persistent column "TaskID".
|
MboSetRemote |
getList()
Shows only the Task work orders owned by the WO owner.
|
boolean |
hasList()
this attribute always has a list
|
void |
init()
This field is read/only outside a work order application.
|
void |
initValue()
Sets the value of this attribute based on the whether it's work order
is currently the parent or a child.
|
void |
setValueFromLookup(MboRemote sourceMbo)
Set the value from the lookup.
|
void |
validate()
The TaskID is validated against the list kept by the parent work order.
|
getAppLink, getIntegrationService, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, setType, smartFill, smartFind, smartFind
public FldActualsTaskID(MboValue mbv) throws MXException
mbv
- the current mbo value.MXException
public void initValue() throws MXException, java.rmi.RemoteException
initValue
in interface MboValueListener
initValue
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void init() throws MXException, java.rmi.RemoteException
init
in interface MboValueListener
init
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXApplicationException
- Thrown with "workorder","NotValidTaskID" if
the given task # doesn't match any of the task numbers.MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException
public boolean hasList()
hasList
in interface MboValueListener
hasList
in class MboValueAdapter
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList
in interface MboValueListener
getList
in class MboValueAdapter
MXException
java.rmi.RemoteException
WOSetRemote.SHOWTASKS
public void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
setValueFromLookup
in interface MboValueListener
setValueFromLookup
in class MboValueAdapter
MXException
java.rmi.RemoteException
psdi.mbo.MboValueListner#setvalueFromLookup