public class InventorySet extends MboSet implements InventorySetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEnteredALTITEM, ASSET, DOCLINKS, HOLDINGBALANCE, INVADJUSTMENT, INVBALANCES, INVBALANCES_DEFAULT, INVBALANCES_NOREC, INVENTORY, INVLOT, INVRESERVE, INVTRANS, INVVENDOR, INVVENDOR_ORA, INVVENDOR_PRIMARY, INVVENDOR_SQL, ISSUECURRENTITEM, ITEM, LOCATIONS, LOCATIONS_ADDTOSTORE, MANUFACTURER, MATRECTRANS, MATUSETRANS, REORDERITEMS, REORDERPAD, SPAREPART, TRANSFERCURITEM, VENDOR, WHEREUSEDINSERTONLY, INSERTORUPDATE, UPDATEONLYALLROWS, 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 |
|---|
InventorySet(MboServerInterface ms)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
void |
addItemstoStorewarning() |
void |
addItemsWarning()
Method to display warnings for add items/tools to storeroom.
|
void |
addToolstoStorewarning()
Method to display navbarmessage after adding tools to storeroom.
|
void |
addZeroYTDWarning()
Method to display status message after zeroing year to date quantities.
|
void |
availLifoFifoSetforReconcile(MboRemote invMbo)
This method iterates over invbalance records and calculates the reconcile quantity and adds it to the liofifo cost set.
|
void |
canReorderForStoreroom()
Whether reorder action for this inventory set can take place.
|
boolean |
checkInvLifoFifoCostForReconcile()
This method is called during reconcile balance adjustment.
|
void |
getCustomInventorySet(java.lang.String[] attributes,
java.lang.String[] values)
Provides a set of inventory records based on the parameters passed.
|
boolean |
getIncludesNonReorder()
gets the userpref value to indicate whether Inventory objects
set not to automatically reorder should be included in the Inventory set.
|
boolean |
getIncludesReorder()
gets the userpref value to indicate whether Inventory objects
marked for reorder should be included in the Inventory set
|
MboSetRemote |
getInvbalancesSet() |
java.lang.String |
getInventoryLocation()
gets the userpref value used to filter Inventory records
by location in the result set.
|
MboSetRemote |
getInventorySetForReconcile()
This method return inventory set that that needs to be reconciled (reconciled flag is false).
|
LifoFifoCostSet |
getLifoFifoSet()
This methods adds the records to non persistent lifofifocost set from the lifofifocostset map to display on UI.
|
boolean |
getLocListIncludesCourier()
gets the userpref value to indicate whether locations of type
COURIER should be included in the list of locations from which a
userpref value for Inventory.Location can be set
|
boolean |
getLocListIncludesLabor()
gets the userpref value to indicate whether locations of type
LABOR should be included in the list of locations from which a
userpref value for Inventory.Location can be set
|
boolean |
getLocListIncludesStores()
gets the userpref value to indicate whether locations of type
STOREROOM should be included in the list of locations from which a
userpref value for Inventory.Location can be set
|
java.lang.String |
getUserPrefWhere()
overrides the MboSet getUserPrefWhere() to return a userpref where clause
which is appended to the existing whereClause.
|
void |
init()
If this set comes from Item or Storeroom management,
make the inventory set readonly.
|
boolean |
needLifoFifoforReconcile()
This method gets needReconcile flag.
|
void |
reconcileSet()
calls reconcileBalances() method in the Inventory object
for each member of this set
|
void |
setIncludesNonReorder(boolean nr)
sets the userpref value to indicate whether Inventory objects
set not to automatically reorder should be included in the Inventory set.
|
void |
setIncludesReorder(boolean reorder)
sets the userpref value to indicate whether Inventory objects
that are marked for reorder be included in the Inventory set.
|
void |
setInvbalancesSet(MboSetRemote invBalances) |
void |
setInventoryLocation(java.lang.String storeLoc)
sets the userpref value used to filter Inventory records
by location in the result set.
|
void |
setLocListIncludesCourier(boolean courier)
sets the userpref value to indicate whether locations of type
COURIER should be included in the list of locations from which a
userpref value for Inventory.Location can be set
|
void |
setLocListIncludesLabor(boolean labor)
sets the userpref value to indicate whether locations of type
LABOR should be included in the list of locations from which a
userpref value for Inventory.Location can be set
|
void |
setLocListIncludesStores(boolean stores)
sets the userpref value to indicate whether locations of type
STOREROOM should be included in the list of locations from which a
userpref value for Inventory.Location can be set
|
void |
setPrimaryVendor()
Sets the primary vendor, catalogcode, modelnum, manufacturer from the parent InvVendor Record.
|
void |
totalReconcileErrors()
Displays status message if user had access to all storerooms.
|
void |
updateCostType()
This method is called from the bean and checks the newcosttype and updates the costtype for the inventory record.
|
void |
zeroYTDQuantities()
calls zeroYTDQuantities() method in the Inventory object
for each member of this set - to perform the Zero Year To Date action from the result set
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, canAdd, 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, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, 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, 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, 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, validateTransactionpublic InventorySet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms - MXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException,
java.rmi.RemoteException
init in class MboSetMXExceptionjava.rmi.RemoteExceptionMboSet.setOwner(MboRemote)public void getCustomInventorySet(java.lang.String[] attributes,
java.lang.String[] values)
throws MXException,
java.rmi.RemoteException
getCustomInventorySet in interface InventorySetRemoteattributes - -the attributes to look forvalues - -the values desirednoneMXExceptionjava.rmi.RemoteExceptiongetCustomInventorySet(java.lang.String[], java.lang.String[])public void setIncludesNonReorder(boolean nr)
throws MXException,
java.rmi.RemoteException
setIncludesNonReorder in interface InventorySetRemotenr - should non reorder items be includedMXExceptionjava.rmi.RemoteExceptionsetIncludesNonReorder(boolean nr)public boolean getIncludesNonReorder()
throws MXException,
java.rmi.RemoteException
getIncludesNonReorder in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetIncludesNonReorder()public void setIncludesReorder(boolean reorder)
throws MXException,
java.rmi.RemoteException
setIncludesReorder in interface InventorySetRemotestock - should stocked items be includedMXExceptionjava.rmi.RemoteExceptionsetIncludesReorder(boolean reorder)public boolean getIncludesReorder()
throws MXException,
java.rmi.RemoteException
getIncludesReorder in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetIncludesReorder()public void setInventoryLocation(java.lang.String storeLoc)
throws MXException,
java.rmi.RemoteException
setInventoryLocation in interface InventorySetRemotestoreLoc - storeroom location to filter the inventory setMXExceptionjava.rmi.RemoteExceptionsetInventoryLocation(String)public java.lang.String getInventoryLocation()
throws MXException,
java.rmi.RemoteException
getInventoryLocation in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetInventoryLocation()public void setLocListIncludesStores(boolean stores)
throws MXException,
java.rmi.RemoteException
setLocListIncludesStores in interface InventorySetRemotestores - should locations of type STOREROOM be includedMXExceptionjava.rmi.RemoteExceptionsetLocListIncludesStores(boolean stores)public boolean getLocListIncludesStores()
throws MXException,
java.rmi.RemoteException
getLocListIncludesStores in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetLocListIncludesStores()public void setLocListIncludesLabor(boolean labor)
throws MXException,
java.rmi.RemoteException
setLocListIncludesLabor in interface InventorySetRemotelabor - should locations of type LABOR be includedMXExceptionjava.rmi.RemoteExceptionsetLocListIncludesLabor(boolean labor)public boolean getLocListIncludesLabor()
throws MXException,
java.rmi.RemoteException
getLocListIncludesLabor in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetLocListIncludesLabor()public void setLocListIncludesCourier(boolean courier)
throws MXException,
java.rmi.RemoteException
setLocListIncludesCourier in interface InventorySetRemotecourier - should locations of type COURIER be includedMXExceptionjava.rmi.RemoteExceptionsetLocListIncludesCourier(boolean courier)public boolean getLocListIncludesCourier()
throws MXException,
java.rmi.RemoteException
getLocListIncludesCourier in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetLocListIncludesCourier()public java.lang.String getUserPrefWhere()
getUserPrefWhere in class MboSetpublic void canReorderForStoreroom()
throws MXException,
java.rmi.RemoteException
canReorderForStoreroom in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptioncanReorderForStoreroom()public void reconcileSet()
throws MXException,
java.rmi.RemoteException
reconcileSet in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionreconcileSet()public void totalReconcileErrors()
throws MXException,
java.rmi.RemoteException
totalReconcileErrors in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiontotalReconcileErrors()public void zeroYTDQuantities()
throws MXException,
java.rmi.RemoteException
zeroYTDQuantities in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionzeroYTDQuantities()public void setPrimaryVendor()
throws MXException,
java.rmi.RemoteException
setPrimaryVendor in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionsetPrimaryVendor()public void setInvbalancesSet(MboSetRemote invBalances) throws MXException, java.rmi.RemoteException
setInvbalancesSet in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.inventory.InventorySet#setInvbalancesSet()public MboSetRemote getInvbalancesSet() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void addItemstoStorewarning()
throws MXException,
java.rmi.RemoteException
addItemstoStorewarning in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionaddItemstoStorewarning()public void addToolstoStorewarning()
throws MXException,
java.rmi.RemoteException
addToolstoStorewarning in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionaddToolstoStorewarning()public void addZeroYTDWarning()
throws MXException,
java.rmi.RemoteException
addZeroYTDWarning in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionaddZeroYTDWarning()public void addItemsWarning()
throws MXException,
java.rmi.RemoteException
addItemsWarning in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionaddItemsWarning()public void updateCostType()
throws MXException,
java.rmi.RemoteException
updateCostType in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionupdateCostType()public boolean checkInvLifoFifoCostForReconcile()
throws MXException,
java.rmi.RemoteException
checkInvLifoFifoCostForReconcile in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptioncheckInvLifoFifoCostForReconcile()public void availLifoFifoSetforReconcile(MboRemote invMbo) throws MXException, java.rmi.RemoteException
invMbo - MXExceptionjava.rmi.RemoteExceptionpublic boolean needLifoFifoforReconcile()
throws MXException,
java.rmi.RemoteException
needLifoFifoforReconcile in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptionneedLifoFifoforReconcile()public LifoFifoCostSet getLifoFifoSet() throws MXException, java.rmi.RemoteException
getLifoFifoSet in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetLifoFifoSet()public MboSetRemote getInventorySetForReconcile() throws MXException, java.rmi.RemoteException
getInventorySetForReconcile in interface InventorySetRemoteMXExceptionjava.rmi.RemoteExceptiongetInventorySetForReconcile()