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.
mboValueTYPE_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 |
|---|
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, getTranslator, getType, setType, smartFill, smartFind, smartFindpublic FldActualsTaskID(MboValue mbv) throws MXException
mbv - the current mbo value.MXExceptionpublic void initValue()
throws MXException,
java.rmi.RemoteException
initValue in interface MboValueListenerinitValue in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException,
java.rmi.RemoteException
init in interface MboValueListenerinit in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MboValueAdapterMXApplicationException - Thrown with "workorder","NotValidTaskID" if
the given task # doesn't match any of the task numbers.MXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic boolean hasList()
hasList in interface MboValueListenerhasList in class MboValueAdapterpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList in interface MboValueListenergetList in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionWOSetRemote.SHOWTASKSpublic void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
setValueFromLookup in interface MboValueListenersetValueFromLookup in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpsdi.mbo.MboValueListner#setvalueFromLookup