public class FldPurTotalCost 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 |
|---|
FldPurTotalCost(MboValue mbv)
Call this constructor if the name of the field is not "totalbasecost" or "basetotalcost"
|
FldPurTotalCost(MboValue mbv,
java.lang.String attribName) |
| Modifier and Type | Method and Description |
|---|---|
void |
action()
If the TotalCost is changed get the exchangerate between the PO/PR's currencycode and the basecurrency and recalculate and set totalbasecost(basetotalcost if the mbo is Invoice).
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind, validatepublic FldPurTotalCost(MboValue mbv) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic FldPurTotalCost(MboValue mbv, java.lang.String attribName) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException

action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException