public class FldMRLineItemnum extends FldItemnum
The rules for setting the default storeroom, vendor and price are applied at the moment when the itemnum is set on mrline. The rules are as the following.
When the item number is specified on MRLine, and this itemnum is not null, the following happens:
MR.getDefaultStoreLoc()
,
Inventory.isStocked()
,
MRLine.calcDirectReq()
,
MRLine.clearInventoryDefaults()
,
MRLine.calculateUnitCost()
,
MRLine.updateGlAccount()
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 |
---|
FldMRLineItemnum(MboValue mbv)
Construct and attach to the mbo value
|
Modifier and Type | Method and Description |
---|---|
void |
action()
The rules for setting the default storeroom, vendor and price are applied at the moment when the
itemnum is set on mrline.
|
java.lang.String[] |
getAppLink()
Default implementation to return null.
|
MboSetRemote |
getList()
Returns a valid list of entries according to storeloc and commodity authorization restrictions.
|
void |
validate()
If line type is special order, only new item could be allowed.
|
addCrossOverField, chooseActualDomainValues, logInfo, setCrossOverFields, setDestinationFields, setFields, setNullAllowed, setSourceFields
addConditionalListWhere, addToLookupMapCache, clearConditionalListWhere, evalConditionalWhere, getListCriteria, getMatchingAttr, getMatchingAttr, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutReset
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, initValue, setType
public FldMRLineItemnum(MboValue mbv) throws MXException
MXException
public void action() throws MXException, java.rmi.RemoteException
When the item number is specified on MRLine, and this itemnum is not null, the following happens:
action
in interface MboValueListener
action
in class CrossOverDomain
MXException
java.rmi.RemoteException
CrossOverDomain.action()
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class FldItemnum
MXApplicationException(po,itemused)
- is thrown if the item exists in ITEM database.MXApplicationException(po,itemtype)
- is thrown if the item does not exist for this lint type.MXException
java.rmi.RemoteException
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList
in interface MboValueListener
getList
in class MAXTableDomain
MXException
java.rmi.RemoteException
public java.lang.String[] getAppLink() throws MXException, java.rmi.RemoteException
MboValueAdapter
getAppLink
in interface MboValueListener
getAppLink
in class MboValueAdapter
MXException
java.rmi.RemoteException