public class FldWOChargeStore extends MboValueAdapter
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 |
|---|
FldWOChargeStore(MboValue mbv)
construct and attach to the MboValue
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
Sets the GLAccount field.
|
void |
init()
Field is not editable if the work order doesn't have a piece of
asset eligible for Charge to Store, or if any Actuals have
been reported against the WO.
|
void |
validate()
To be set true, the asset on this wo must be valid for
charge-to-store and not in an inventory location.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFindpublic FldWOChargeStore(MboValue mbv)
mbv - the MboValue Charge to store field in the work order object attach to.public void init()
throws MXException,
java.rmi.RemoteException
init in interface MboValueListenerinit in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionWO.isAssetChargeStore(),
WO.hasActuals()public void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MboValueAdapterMXApplicationException - Thrown with "workorder", "CSActuals" (parameter wonum)
If the work order has any actual transactions against it.MXExceptionjava.rmi.RemoteExceptionDoes the rest of the tests.public void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException