public class FldInvoiceLineUnitCost 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 |
|---|
FldInvoiceLineUnitCost(MboValue mbv)
Construct and attach to the mbo value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
If the field has a unitcost and the invoice line quantity is not null set linecost
equal to unitcost * quantity.
|
void |
init()
Set the field to read/only if there are multiple invoice cost lines.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind, validatepublic FldInvoiceLineUnitCost(MboValue mbv)
public void init()
throws MXException,
java.rmi.RemoteException
init in interface MboValueListenerinit in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException

action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException