public class ToolItem extends Item implements ToolItemRemote
This is a itemset level object.
The key attributes for this object are as follows: Itemnum and ItemSetID
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
Capitalized | Specifies whether or not this tool object is to be financially accounted for as a capitalized or non-capitalized cost. If capitalized is true, this tool will always be issued and returned at zero cost regardless of the cost carried in inventory. If capitalized is false, this tool will be issued and returned at the standard, last or average cost. The default is false. |
Classstructureid | Class structure identifier. Class structures are the hierarchies of
classifications (for example, centrifugal or rotarty pumps) around which assets can be organized.
|
Description | Short description for this object. A long description may be associated with this object via the Ldkey attribute. |
GroupName | Meter group
for the tool. This attribute pertains to rotating tools only, and is used to set the GroupName
attribute of the new asset created from this tool during
the application of an tool assembly structure.
|
Inspectionrequired | Indicates whether inspection of tool is required upon receipt. If true, receipts of this tool will not be added to inventory until inspection is completed. |
Itemnum | Unique identifier for this piece of tool. |
ItemSetID | Identifier of the itemset identifier for this object.
|
Instance | Non-persistant attribute.Used to copy tool assembly structure. |
Ldkey | Long description key. |
Lottype | Specifies whether or not this tool object is tracked by lot. A lotted tool typically has an expiration date that is assigned via a lotnum on receipt. Lot information is contained in the Invlot object. Valid untranslated values are LOT, indicating that an tool is lotted, and NOLOT, indicating that an tool is not lotted. |
MeterName | Meter associated with the tool. This is the meter for which a meter reading is to be recorded if this tool is issued to an asset that is associated with the same meter via an AssetMeter object. Only non-rotating tools can be associated with a meter. |
Outside | True if this tool object belongs to a contractor or vendor and is stored onsite, and the company will be charged for its use. |
OrgId | Identifier of the organizations for this tool.
|
Rotating | Is this tool object a rotating tool? That is, must each tool in stock, on reserve or issued to a work order also be associated with a particular asset object via the itemnum attribute on an Asset object? Rotating tools, since they also possess asset attributes as rotating asset, can also be moved to locations and added as subassemblies to parent asset objects. The default value for the rotating attribute is false. |
Stocktype | tool category, for example, BEARINGS, FILTERS and VALVES. The values come from the STKTYPE value list. |
Tax1code - Tax5code | tax 1 code to tax 5 code. |
In19 - In27 | cross-over fields to Prline.Rlin1 - Rlin9 |
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
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
Constructor and Description |
---|
ToolItem(MboSet ms)
Constructs the ToolItem object.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add a new Item object.
|
void |
canDelete()
Item.canDelete()-
Checks to see if this object can be deleted
if it is on an asset, throw exception
if it is on a masterpm, throw exception
if this is on a sparepart, throw exception
if this is on an itemstruct, throw exception
if this is part of an inventory - and the inventory can't be deleted - throw exception.
|
MboRemote |
duplicate()
Duplicate a new item with DocLinks and Item Specifications.
|
boolean |
hasAlternateTool() |
boolean |
hasNonMTeAlternateTool() |
void |
init()
Initialize the ToolItem object
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly field flags to the mbo for rotating and iskit
attributes.
|
boolean |
isCalibrationInstalled()
Return true if License Key CALIBRATION is installed.
|
boolean |
isMTeAlternateTool() |
void |
save()
In saving an item, if the classstructureid has been changed
and item is rotating, will need to update asset.classstructureid
and location.classstructureid and need to update the description based upon classstructure
and itemspec.
|
MboSetRemote |
viewDataSheets(MboRemote newDS) |
addSparePart, addToStore, addToStore, addToStore, appendDescription, applyIAS, appValidate, autoKeyItemnum, canAddKitToStore, canModifyKitStructure, canSparePartAutoAdd, changeCapitalizedStatus, changeCapitalizedStatus, changeStatus, changeStatus, checkAssetExists, checkCIExists, checkContractExists, checkInvBalancesExists, checkJPExists, checkKitCostType, checkMRExists, checkPOExists, checkPRExists, checkWOExists, clearClassification, createItemSpecSet, createNewDepreciation, createTopItemStruct, delete, generateAutoKey, generateItemSpec, getDefaultBin, getInternalItemType, getMboSet, getNumberOfRotatingAssets, getOneHundredPercent, getProcess, getStatusListName, getThisComponentsDefaultBin, getThisComponentsKit, getUseThisItemSpecSet, isCapitalized, isConditionEnabled, isKit, isLotted, isNewKitComponentUniqueToSet, isObsolete, isPendobs, isPlanning, isRollDown, isRotating, processItemSpecSet, processUpdateClassStructureID, removeSpecialOrderItems, setLotTypeReadOnly, setThisComponentsKitAndDefaultBin, setUseThisItemSpecSet, sparePartExists, toggleRotating, updateDesc, updateInvVendor, updateRelatedObjects, updateRotatingClassStructureSQLServer, validateChangeStatus, validateDepreciation
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSparePart, addToStore, addToStore, addToStore, applyIAS, autoKeyItemnum, canAddKitToStore, canModifyKitStructure, canSparePartAutoAdd, changeCapitalizedStatus, changeCapitalizedStatus, changeStatus, checkAssetExists, checkCIExists, checkContractExists, checkInvBalancesExists, checkJPExists, checkMRExists, checkPOExists, checkPRExists, checkWOExists, clearClassification, createItemSpecSet, createNewDepreciation, createTopItemStruct, generateItemSpec, getDefaultBin, getInternalItemType, getOneHundredPercent, getThisComponentsDefaultBin, getThisComponentsKit, isCapitalized, isConditionEnabled, isKit, isLotted, isNewKitComponentUniqueToSet, isObsolete, isPendobs, isPlanning, isRotating, processItemSpecSet, removeSpecialOrderItems, setLotTypeReadOnly, setThisComponentsKitAndDefaultBin, sparePartExists, toggleRotating, updateDesc, updateRelatedObjects, validateChangeStatus, validateDepreciation
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getStatusListName, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public ToolItem(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- the ToolItem MboSet.MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Item
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
initFieldFlagsOnMbo
in class Item
MXException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Item
MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
Item
canDelete
in class Item
MXException
- - will throw this exception if it can't be deletedjava.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Item
duplicate
in interface ItemRemote
duplicate
in interface MboRemote
duplicate
in class Item
MXException
java.rmi.RemoteException
Item.duplicate()
public MboSetRemote viewDataSheets(MboRemote newDS) throws MXException, java.rmi.RemoteException
viewDataSheets
in interface ToolItemRemote
MXException
java.rmi.RemoteException
public boolean hasNonMTeAlternateTool() throws MXException, java.rmi.RemoteException
hasNonMTeAlternateTool
in interface ToolItemRemote
MXException
java.rmi.RemoteException
public boolean isMTeAlternateTool() throws MXException, java.rmi.RemoteException
isMTeAlternateTool
in interface ToolItemRemote
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
Item
save
in class Item
MXException
java.rmi.RemoteException
public boolean hasAlternateTool() throws MXException, java.rmi.RemoteException
hasAlternateTool
in interface ToolItemRemote
MXException
java.rmi.RemoteException
public boolean isCalibrationInstalled() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException