public class InventorySet extends MboSet implements InventorySetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
ALTITEM, 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, WHEREUSED
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 |
---|
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.
|
MboRemote |
previewReconcileSet()
Method is used to get count of New Balance
|
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, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, canAdd, 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, 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, newMboIndex, 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, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, 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, 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, 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 InventorySet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void init() throws MXException, java.rmi.RemoteException
init
in class MboSet
MXException
java.rmi.RemoteException
MboSet.setOwner(MboRemote)
public void getCustomInventorySet(java.lang.String[] attributes, java.lang.String[] values) throws MXException, java.rmi.RemoteException
getCustomInventorySet
in interface InventorySetRemote
attributes
- -the attributes to look forvalues
- -the values desirednone
MXException
java.rmi.RemoteException
getCustomInventorySet(java.lang.String[], java.lang.String[])
public void setIncludesNonReorder(boolean nr) throws MXException, java.rmi.RemoteException
setIncludesNonReorder
in interface InventorySetRemote
nr
- should non reorder items be includedMXException
java.rmi.RemoteException
setIncludesNonReorder(boolean nr)
public boolean getIncludesNonReorder() throws MXException, java.rmi.RemoteException
getIncludesNonReorder
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getIncludesNonReorder()
public void setIncludesReorder(boolean reorder) throws MXException, java.rmi.RemoteException
setIncludesReorder
in interface InventorySetRemote
stock
- should stocked items be includedMXException
java.rmi.RemoteException
setIncludesReorder(boolean reorder)
public boolean getIncludesReorder() throws MXException, java.rmi.RemoteException
getIncludesReorder
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getIncludesReorder()
public void setInventoryLocation(java.lang.String storeLoc) throws MXException, java.rmi.RemoteException
setInventoryLocation
in interface InventorySetRemote
storeLoc
- storeroom location to filter the inventory setMXException
java.rmi.RemoteException
setInventoryLocation(String)
public java.lang.String getInventoryLocation() throws MXException, java.rmi.RemoteException
getInventoryLocation
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getInventoryLocation()
public void setLocListIncludesStores(boolean stores) throws MXException, java.rmi.RemoteException
setLocListIncludesStores
in interface InventorySetRemote
stores
- should locations of type STOREROOM be includedMXException
java.rmi.RemoteException
setLocListIncludesStores(boolean stores)
public boolean getLocListIncludesStores() throws MXException, java.rmi.RemoteException
getLocListIncludesStores
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getLocListIncludesStores()
public void setLocListIncludesLabor(boolean labor) throws MXException, java.rmi.RemoteException
setLocListIncludesLabor
in interface InventorySetRemote
labor
- should locations of type LABOR be includedMXException
java.rmi.RemoteException
setLocListIncludesLabor(boolean labor)
public boolean getLocListIncludesLabor() throws MXException, java.rmi.RemoteException
getLocListIncludesLabor
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getLocListIncludesLabor()
public void setLocListIncludesCourier(boolean courier) throws MXException, java.rmi.RemoteException
setLocListIncludesCourier
in interface InventorySetRemote
courier
- should locations of type COURIER be includedMXException
java.rmi.RemoteException
setLocListIncludesCourier(boolean courier)
public boolean getLocListIncludesCourier() throws MXException, java.rmi.RemoteException
getLocListIncludesCourier
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getLocListIncludesCourier()
public java.lang.String getUserPrefWhere()
getUserPrefWhere
in class MboSet
public void canReorderForStoreroom() throws MXException, java.rmi.RemoteException
canReorderForStoreroom
in interface InventorySetRemote
MXException
java.rmi.RemoteException
canReorderForStoreroom()
public void reconcileSet() throws MXException, java.rmi.RemoteException
reconcileSet
in interface InventorySetRemote
MXException
java.rmi.RemoteException
reconcileSet()
public void totalReconcileErrors() throws MXException, java.rmi.RemoteException
totalReconcileErrors
in interface InventorySetRemote
MXException
java.rmi.RemoteException
totalReconcileErrors()
public void zeroYTDQuantities() throws MXException, java.rmi.RemoteException
zeroYTDQuantities
in interface InventorySetRemote
MXException
java.rmi.RemoteException
zeroYTDQuantities()
public void setPrimaryVendor() throws MXException, java.rmi.RemoteException
setPrimaryVendor
in interface InventorySetRemote
MXException
java.rmi.RemoteException
setPrimaryVendor()
public void setInvbalancesSet(MboSetRemote invBalances) throws MXException, java.rmi.RemoteException
setInvbalancesSet
in interface InventorySetRemote
MXException
java.rmi.RemoteException
psdi.app.inventory.InventorySet#setInvbalancesSet()
public MboSetRemote getInvbalancesSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addItemstoStorewarning() throws MXException, java.rmi.RemoteException
addItemstoStorewarning
in interface InventorySetRemote
MXException
java.rmi.RemoteException
addItemstoStorewarning()
public void addToolstoStorewarning() throws MXException, java.rmi.RemoteException
addToolstoStorewarning
in interface InventorySetRemote
MXException
java.rmi.RemoteException
addToolstoStorewarning()
public void addZeroYTDWarning() throws MXException, java.rmi.RemoteException
addZeroYTDWarning
in interface InventorySetRemote
MXException
java.rmi.RemoteException
addZeroYTDWarning()
public void addItemsWarning() throws MXException, java.rmi.RemoteException
addItemsWarning
in interface InventorySetRemote
MXException
java.rmi.RemoteException
addItemsWarning()
public void updateCostType() throws MXException, java.rmi.RemoteException
updateCostType
in interface InventorySetRemote
MXException
java.rmi.RemoteException
updateCostType()
public boolean checkInvLifoFifoCostForReconcile() throws MXException, java.rmi.RemoteException
checkInvLifoFifoCostForReconcile
in interface InventorySetRemote
MXException
java.rmi.RemoteException
checkInvLifoFifoCostForReconcile()
public void availLifoFifoSetforReconcile(MboRemote invMbo) throws MXException, java.rmi.RemoteException
invMbo
- MXException
java.rmi.RemoteException
public boolean needLifoFifoforReconcile() throws MXException, java.rmi.RemoteException
needLifoFifoforReconcile
in interface InventorySetRemote
MXException
java.rmi.RemoteException
needLifoFifoforReconcile()
public LifoFifoCostSet getLifoFifoSet() throws MXException, java.rmi.RemoteException
getLifoFifoSet
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getLifoFifoSet()
public MboSetRemote getInventorySetForReconcile() throws MXException, java.rmi.RemoteException
getInventorySetForReconcile
in interface InventorySetRemote
MXException
java.rmi.RemoteException
getInventorySetForReconcile()
public MboRemote previewReconcileSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException