public class FldJobMaterialVendor extends MAXTableDomain
ISNOTNULL, ISNULL
lastSignature
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 |
---|
FldJobMaterialVendor(MboValue mbv)
construct and attach to the MboValue
|
Modifier and Type | Method and Description |
---|---|
void |
action()
If it is direct issue
- if it is a default vendor, then take last cost of the vendor and set it to unitcost
- if it is not a default vendor and there invvendor records for this item, then take the latest
"last date" vendor records and take last cost from that.
|
void |
init()
Vendor is read/only if the direct request flag is not set.
|
addConditionalListWhere, addToLookupMapCache, chooseActualDomainValues, clearConditionalListWhere, evalConditionalWhere, getList, getListCriteria, getMatchingAttr, getMatchingAttr, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutReset, validate
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, initValue, setType
public FldJobMaterialVendor(MboValue mbv) throws MXException, java.rmi.RemoteException
mbv
- the MboValue Vendor attribute of JobMaterial attach to.MXException
java.rmi.RemoteException
public void init() throws MXException, java.rmi.RemoteException
init
in interface MboValueListener
init
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