public class FldWpLaborDisplayRate extends MboValueAdapter
FldWpLaborQty
,
FldWpLaborHrs
,
FldWpLaborLineCost
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 |
---|
FldWpLaborDisplayRate(MboValue mbv)
Construct and attach to the specified mbovalue
|
Modifier and Type | Method and Description |
---|---|
void |
action()
set the Rate, if the value for displayrate is modified
Recalculate the LineCost and
Calculate the change to WO.EstLabCost and update it,
this is actually done in fldWpLaborLineCost.
|
void |
initValue()
If the ratehaschanged is true, then set the displayrate value with rate
else get the rate from laborcraftrate or craftrate based on the planned labor
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, setType, setValueFromLookup, smartFill, smartFind, smartFind, validate
public FldWpLaborDisplayRate(MboValue mbv) throws MXException
mbv
- The MboValue the Rate attribute of WPLabor attach to.MXException
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 MboValueAdapter
MXException
java.rmi.RemoteException