public class FldItemIsKit extends MboValueAdapter
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 |
---|
FldItemIsKit(MboValue mbv)
Construct and attach to the specified MboValue
|
Modifier and Type | Method and Description |
---|---|
void |
action()
set Rotating,ConditionEnabled and LotType to be READONLY if
IsKit is true; otherwise, set them to be read/write
|
void |
validate()
can IsKit be toggled?
|
void |
validateIASForKitting()
Items with an IAS that contains multiple instances of the same item cannot be kits.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind
public FldItemIsKit(MboValue mbv)
mbv
- public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXException
java.rmi.RemoteException
Item.canToggleIsKit()
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void validateIASForKitting() throws MXException, java.rmi.RemoteException
MXApplicationException("item","kitCantHaveDupItems")
- if item's Item Assembly Structure has a duplicate item.java.rmi.RemoteException
MXException