public class FldInvBalancesShelfLife 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 |
|---|
FldInvBalancesShelfLife(MboValue mbv)
Construct and attache to the specified Mbo value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
If the shelf life is changed and the expiration date is null,
calculate the expiration date and set its value.
|
void |
initValue()
Sets the default value for ShelfLife.
|
void |
validate()
Validates that shelflife is not negative.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, setType, setValueFromLookup, smartFill, smartFind, smartFindpublic FldInvBalancesShelfLife(MboValue mbv) throws MXException
MXExceptionpublic void initValue()
throws MXException,
java.rmi.RemoteException
initValue in interface MboValueListenerinitValue in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException