public class FldInvoiceCostLineCostForUI extends FldInvoiceCostLineCost
mboValue
TYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWN
ALLROWS, 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 |
---|
FldInvoiceCostLineCostForUI(MboValue mbv)
Construct and attach to the mbo value.
|
Modifier and Type | Method and Description |
---|---|
void |
action()
If it's a CREDIT type of invoice, needs to store negative line cost in database
Set LineCost equal to LineCostForUI * -1.
|
void |
initValue()
If it's a CREDIT type of invoice, needs to display positive line cost on screen.
|
init, validate
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, setType, setValueFromLookup, smartFill, smartFind, smartFind
public FldInvoiceCostLineCostForUI(MboValue mbv)
public void initValue() throws MXException, java.rmi.RemoteException
initValue
in interface MboValueListener
initValue
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class FldInvoiceCostLineCost
MXException
java.rmi.RemoteException