public class FldJobMaterialDirectReq extends MboValueAdapter
1 = direct issue or location is readonly and vendor is editable
2 = no direct issue or location is editable and vendor is read only
Last update May 3, 2000 Javadocs - Sudha
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 |
---|
FldJobMaterialDirectReq(MboValue mbv)
Construct and attach to the mbo value
|
Modifier and Type | Method and Description |
---|---|
void |
action()
If it is direct issue
Set Location and storelocsite to be null and read only Set Vendor to be editable and default from inventory table Else Set Location and storelocsite to be editable Set Vendor to be null and read only |
void |
validate()
Check validity of the new entry on this field.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind
public FldJobMaterialDirectReq(MboValue mbv)
mbv
- public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXApplicationException
- directReqInvalid when this field is null.MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException