public class FldIssueCurrentItemQuantity 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 |
|---|
FldIssueCurrentItemQuantity(MboValue mbv) |
| Modifier and Type | Method and Description |
|---|---|
void |
action()
action()
set linecost=quantity * unitcost
|
void |
validate()
quantity can not be 0
checks to make sure that the sum of the quantity being issued to an asset or work order
and the sum of the total issued quantity (ISSUEDQTY in the SPAREPART table for the given item
and asset combination) is less than or equal to the maximum permissible
quantity (MAXISSUE in ITEM table)
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFindpublic FldIssueCurrentItemQuantity(MboValue mbv) throws MXException
MXExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MboValueAdapterMXExceptionjava.rmi.RemoteException