public class WPToolSet extends WPItemSet implements WPToolSetRemote, MboSetListenable
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEnteredINVRESERVETOOL, TOOL, TOOLTRANSINSERTONLY, INSERTORUPDATE, UPDATEONLYALLLOCATION, COMPANY, INVENTORY, INVITEM, ITEM, LOCATION, MATUSETRANSALLROWS, 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, USERAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, 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 |
|---|
WPToolSet(MboServerInterface ms)
Construct the set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createInvReserves(java.util.Date asOfDate,
boolean createInit)
When a work order is approved, this method is called to create InvReserve
records for the WPTool records.
|
void |
deleteInvReserves()
When a work order is cancelled, unapproved, or completed/closed, all of the
InvReserve Mbos are deleted.
|
MboRemote |
findByAttributeTool(java.lang.String attrValue,
boolean tobedeleted) |
MboRemote |
findByAttributeToolForCrew(java.lang.String attrValue,
boolean tobedeleted,
java.lang.String crew,
java.lang.String wplaboruid) |
MboRemote |
findByAttributeToolForCrewType(java.lang.String attrValue,
boolean tobedeleted,
java.lang.String crewtype,
java.lang.String wplaboruid) |
MboRemote |
findByAttributeToolNotForCrew(java.lang.String attrValue,
boolean tobedeleted,
java.lang.String crew) |
MboRemote |
findByAttributeToolNotForCrewType(java.lang.String attrValue,
boolean tobedeleted,
java.lang.String crewtype) |
java.util.Vector |
findByAttributeToolsForWPLabor(java.lang.String wplaboruid) |
MboRemote |
findReservation(WPTool wpt)
Find the InvReserve for a WPTool, if any.
|
void |
updateInvReserve(WPTool wpt)
When a WPTool Mbo is inserted or deleted or just modified, this method figures
out what to do to the reserve records.
|
add, addAtIndex, addListener, canAdd, getPriceObject, remove, removeListener, reportModifiedMbo, setOwnerabortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, 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, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, 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, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, 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, newMboIndex, notExist, positionState, processML, 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, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, 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, verifyESigequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabortSql, 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, newMboIndex, 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, verifyESiggetBoolean, 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, setValueNullcommitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransactionaddListener, removeListener, reportModifiedMbopublic WPToolSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms - The MboServerInterface for WPToolSet to access internals of the MXServer.MXExceptionjava.rmi.RemoteExceptionpublic void createInvReserves(java.util.Date asOfDate,
boolean createInit)
throws MXException,
java.rmi.RemoteException
asOfDate - The date to create the reserve records for. Used as a the
required date if the work order has neither scheduled start or target start date.createInit - Signals whether to create the InvReserves as initiated or not.MXExceptionjava.rmi.RemoteExceptionThis method deletes the reserve records when they
are no longer needed.,
Called when a modification is made to the WPToolSet.public void deleteInvReserves()
throws MXException,
java.rmi.RemoteException
deleteInvReserves in class WPItemSetMXExceptionjava.rmi.RemoteExceptionThis method creates the reserve records when the WO is
approved.,
Called when a modification is made to the WPMaterialSet.,
This method is
called to delete the correct reserves.public MboRemote findReservation(WPTool wpt) throws MXException, java.rmi.RemoteException
wpt - The WPTool MboMXExceptionjava.rmi.RemoteExceptionpublic void updateInvReserve(WPTool wpt) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionThis method creates the reserve records when the WO is
approved.,
This method deletes the reserve records when they
are no longer needed.public MboRemote findByAttributeTool(java.lang.String attrValue, boolean tobedeleted) throws MXException, java.rmi.RemoteException
findByAttributeTool in interface WPToolSetRemoteMXExceptionjava.rmi.RemoteExceptionWPToolSet#findByAttributeTool()public java.util.Vector findByAttributeToolsForWPLabor(java.lang.String wplaboruid)
throws MXException,
java.rmi.RemoteException
findByAttributeToolsForWPLabor in interface WPToolSetRemoteMXExceptionjava.rmi.RemoteExceptionWPToolSet#findByAttributeToolsForWPLabor()public MboRemote findByAttributeToolForCrew(java.lang.String attrValue, boolean tobedeleted, java.lang.String crew, java.lang.String wplaboruid) throws MXException, java.rmi.RemoteException
findByAttributeToolForCrew in interface WPToolSetRemoteMXExceptionjava.rmi.RemoteExceptionWPToolSet#findByAttributeToolForCrew()public MboRemote findByAttributeToolNotForCrew(java.lang.String attrValue, boolean tobedeleted, java.lang.String crew) throws MXException, java.rmi.RemoteException
findByAttributeToolNotForCrew in interface WPToolSetRemoteMXExceptionjava.rmi.RemoteExceptionWPToolSet#findByAttributeToolNotForCrew()public MboRemote findByAttributeToolNotForCrewType(java.lang.String attrValue, boolean tobedeleted, java.lang.String crewtype) throws MXException, java.rmi.RemoteException
findByAttributeToolNotForCrewType in interface WPToolSetRemoteMXExceptionjava.rmi.RemoteExceptionWPToolSet#findByAttributeToolNotForCrewType()public MboRemote findByAttributeToolForCrewType(java.lang.String attrValue, boolean tobedeleted, java.lang.String crewtype, java.lang.String wplaboruid) throws MXException, java.rmi.RemoteException
findByAttributeToolForCrewType in interface WPToolSetRemoteMXExceptionjava.rmi.RemoteExceptionWPToolSet#findByAttributeToolForCrewType()