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, ISNULLlastSignaturemboValueTYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWNALLROWS, 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, setSourceFieldsaddConditionalListWhere, 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, smartFindWithoutResetgetConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainIdgetIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, initValue, setTypepublic FldMRLineItemnum(MboValue mbv) throws MXException
MXExceptionpublic 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 MboValueListeneraction in class CrossOverDomainMXExceptionjava.rmi.RemoteExceptionCrossOverDomain.action()public void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class FldItemnumMXApplicationException(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.MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList in interface MboValueListenergetList in class MAXTableDomainMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[] getAppLink()
throws MXException,
java.rmi.RemoteException
MboValueAdaptergetAppLink in interface MboValueListenergetAppLink in class MboValueAdapterMXExceptionjava.rmi.RemoteException