public class InvUseLineSet extends MboSet implements InvUseLineSetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
FROMINVENTORYSTATUS, FROMLOCATION, INVBALANCES, INVBALANCES_BINLOT, INVBALANCES_BINNOLOT, INVBALANCESBIN, INVBALANCESCC, INVBALANCESLOT, INVENTORY, INVLOT, INVRESERVE, INVRESERVEFORUSELINE, INVUSE, INVUSELINE, INVUSELINESPLIT, ISSUEDITEMFORRETURN, ITEM, ITEMCONDITION, LINESPLIT, MATRECSHIPRECEIPT, MATRECSHIPTRANSFER, MATRECSTAGETRANSFER, MATUSETRANSFORUSELINE, POLINE, RESERVATION, ROTASSET, ROTATINGASSET, SPLITINVUSELINE, SPLITUSELINE, TOINVENTORY, TOLOCATIONS, TOLOCINVENTORY
INSERTONLY, INSERTORUPDATE, UPDATEONLY
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
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
InvUseLineSet(MboServerInterface ms)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
MboRemote |
addInvUseLineFromInvReserve(MboRemote invRes)
This method to add and copy necessary information from InvReserve to InvUseLine.
|
MboRemote |
addInvUseLineFromMatUseTrans(MboRemote matUseTrans)
This method adds and copy necessary information from Select Items to Return dialog to InvUseLine.
|
void |
canAdd()
Can an object be added to the InvUseLine?
The owner of InvUseLine must be InvUse and the status should be ENTERED.
|
void |
clearInvBalMap()
Clears the invBalMap hash map.
|
void |
clearinvBalQtyMap()
Clears the invBalMap hash map.
|
void |
copyInvBalancesSet(MboSetRemote invBalancesSet)
Loops thru the passed InvBalancesSet and add new InvUseLine based on each InvBalances
selected.
|
void |
copyInvReserveSet(MboSetRemote invReserveSet)
Loops thru the passed InvReserveSet and add new MatUseTrans based on each InvReserve selected.
|
void |
copyInvUseLineSet(MboSetRemote matUseTransSet)
Loops thru the passed MatUseTransSet(ISSUE type) and add new InvUseLine(RETURN type) based on each MatUsetrans selected.
|
void |
copySparePartSet(MboSetRemote sparePartSet)
Loops thru the passed SparePartSet and adds new MatUseTrans based on each SparePart selected.
|
java.util.HashMap<java.lang.String,MboRemote> |
getInvBalMap()
returns the hash map.
|
MboRemote |
getInvBalMap(java.lang.String key)
Return the invbalance mbo corresponding to key.
|
java.util.ArrayList<java.lang.String> |
getPhyscntdateList() |
double |
getQtyForReservationinSet(java.lang.String requestnum,
long invuselineid) |
void |
preValidateIpcBom(IpcBomSetRemote bomset)
Hook for IPC to prevalidate bills of materials for this particular application
|
void |
putInvBalMap(java.lang.String key,
MboRemote invBalMbo)
Adds invbalance mbo to the HashMap
|
void |
returnIPCParts(IpcSelectedPartsSetRemote partset)
Hook for IPC to return selected parts in IPC back to this mbo
|
boolean |
sameMatUseTransFound(MboRemote selectedIssue)
Returns true if the passed InvUseLine mbo(type of ISSUE) has been selected in the current
invuseline set.
|
void |
validateInvUseData()
This method is called from the bean to validate the InvUse Data.
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboLogger, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, notExist, positionState, processML, remove, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, notExist, positionState, processML, remove, remove, remove, reset, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public InvUseLineSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void copyInvUseLineSet(MboSetRemote matUseTransSet) throws MXException, java.rmi.RemoteException
copyInvUseLineSet
in interface InvUseLineSetRemote
matUseSet
- the MboSetRemote of MatUseTransSetRemote instance. Only process the selected rows.MXException
java.rmi.RemoteException
copyInvUseLineSet(MboSetRemote)
public boolean sameMatUseTransFound(MboRemote selectedIssue) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyInvReserveSet(MboSetRemote invReserveSet) throws MXException, java.rmi.RemoteException
copyInvReserveSet
in interface InvUseLineSetRemote
invReserveSet
- the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.MXException
java.rmi.RemoteException
copyInvReserveSet(MboSetRemote)
public MboRemote addInvUseLineFromInvReserve(MboRemote invRes) throws MXException, java.rmi.RemoteException
addInvUseLineFromInvReserve
in interface InvUseLineSetRemote
invRes
- The InvReserve mbo.MXException
java.rmi.RemoteException
addInvUseLineFromInvReserve(MboRemote)
public void copySparePartSet(MboSetRemote sparePartSet) throws MXException, java.rmi.RemoteException
copySparePartSet
in interface InvUseLineSetRemote
SparePartSet
- the MboSetRemote of SparePartSetRemote instance. Only selected rows are processed.MXException
java.rmi.RemoteException
copySparePartSet(MboSetRemote)
public void copyInvBalancesSet(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSet
in interface InvUseLineSetRemote
invBalancesSet
- The MboSetRemote of InvBalancesSetRemote instance. Only process
the selected rows.MXException
java.rmi.RemoteException
copyInvBalancesSet(MboSetRemote)
public MboRemote addInvUseLineFromMatUseTrans(MboRemote matUseTrans) throws MXException, java.rmi.RemoteException
MboRemote
- The MatUseTrans mbo.MXException
java.rmi.RemoteException
public MboRemote getInvBalMap(java.lang.String key) throws MXException, java.rmi.RemoteException
key
- MXException
java.rmi.RemoteException
public void putInvBalMap(java.lang.String key, MboRemote invBalMbo) throws MXException, java.rmi.RemoteException
key
- invBalMbo
- MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.String,MboRemote> getInvBalMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearInvBalMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearinvBalQtyMap() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateInvUseData() throws MXException, java.rmi.RemoteException
validateInvUseData
in interface InvUseLineSetRemote
none
- MXException
java.rmi.RemoteException
validateInvUseData()
public void canAdd() throws MXException
canAdd
in class MboSet
MXApplicationException(invuse,
- addinvuseline) is thrown when the owner is not INVUSEMXApplicationException(invuse,
- cannotAdd) is thrown when the InvUse status is not ENTEREDMXException
public double getQtyForReservationinSet(java.lang.String requestnum, long invuselineid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.ArrayList<java.lang.String> getPhyscntdateList() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void returnIPCParts(IpcSelectedPartsSetRemote partset) throws MXException, java.rmi.RemoteException
returnIPCParts
in interface InvUseLineSetRemote
MXException
java.rmi.RemoteException
public void preValidateIpcBom(IpcBomSetRemote bomset) throws MXException, java.rmi.RemoteException
preValidateIpcBom
in interface InvUseLineSetRemote
MXException
java.rmi.RemoteException