public class Asset extends StatefulMbo implements AssetRemote, MboRemote, LinkedMboRemote, HierarchicalMboRemote, AncMbo, AddressableMbo
This is a site level object.
The key attributes for this object are as follows: SiteId and Assetnum.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| Assettag | In-house accounting identification for this asset. |
| AutoWogen | Y/N flag indicating whether, upon entry or update of a meterreading, the work order generation process should be started. |
Binnum | Inventory bin number. Binnum applies to rotating asset only. |
| Budgetcost | The budget for the year for work on this asset. |
Calnum | Calendar used to specify when this asset object is normally in operation.
|
| ChangeBy,ChangeDate | Name of the user who last modified this asset object. This attribute defaults to the current user unless another value is provided. Date this asset object was last modified.This attribute defaults to the MXServer date/time unless another value is provided. |
| Children | Boolean flag that indicates whether this asset is a parent to at least one other asset. |
| Classification | Obsolete-to be removed in a future release. |
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. |
| Disabled | Boolean flag to indicate whether or not this asset is disabled. This differs from the Isrunning attribute. An asset cannot be running if it is disabled. Nothing can be done with a disabled asset. |
Assetnum | Unique identifier for this asset. |
Failurecode | Top level of the failure hierarchy applied to this asset. |
Glaccount | General ledger account. |
GroupName | Meter group associated with this asset. When the meter group is applied, AssetMeters for this asset will be created for all meters in the meter group. |
| Installdate | Date asset was installed. |
| Invcost | Applies only to not capitalized, rotating asset. A rotating asset shares attributes of both asset and items. As an asset, rotating asset is an asset against which work orders can be created. Inventory Costis the repair cost accumulated against this rotating asset on a work order when the work order 'Chargestore' attribute is set to true. The Inventory costs are accrued from labor,material, service and tool usage on the work order. Inventory costs also come from services received directly to a not capitalized, rotating asset when the po line chargestore attribute is set to true. As an item, rotating asset can be issued as material to a work order created against another asset. If the default cost for not capitalized rotating items is set to asset Cost, then inventory cost is the cost charged to work orders to which not capitalized rotating items/asset are issued. When the rotating asset is issued to a workorder the Inventory Cost is added to the Average Cost for the rotating asset. The Inventory Cost is then set to 0 (zero). If the rotating item/asset is then returned from the work order, the Inventory Cost is set to the Average Cost. |
| Isrunning | Boolean flag to indicate whether this asset object is up (true) or down (false). The default is true. This value is set by the work order object. |
Itemnum | Identifier for the item related to this asset object. A non-null value for this attribute indicates that this object is stocked asset that can be stored in inventory and used as rotating stock. |
ItemSetId | Item set identifier for the asset. ItemSetId applies only to rotating assets and will subsequently be null and read-only if the Itemnum attribute is null. |
| Ldkey | Long description key. |
Location | Physical location of this asset. |
Manufacturer | Identification code for the manufacturer of this asset. Manufacturer need not exist in the Companies table. |
| OrgId | Identifier of the organization for this asset.
|
Parent | Assetnum for this asset object's parent. An asset can have zero or one parent. The parent, however, may have multiple children. |
Priority | Copied to work orders created for this asset, asset priority can be used in conjunction with work order priority to determine the importance of this asset's work orders versus other work orders during peventive work order generation. |
| Purchaseprice | Original purchase price or capital cost. |
| Replacecost | Current replacement cost for an identical or substitute asset. |
| Rotsuspacct | Rotating repairs general ledger suspense account.Used in apply item assembly structure for the rotating child asset. |
| Serialnum | Manufacturer's identification number for this asset object. |
| SiteId | Identifier of the site for this asset.
|
| Statusdate | Date of most recent status change, from up (Isrunning = true) to down (Isrunning = false) or vice versa, for this asset. |
| Totalcost | Total cost of all transactions written to matusetrans, labtrans, tooltrans and servrectrans against this asset and any of its children, that is, subassemblies. |
| Totdowntime | Total time that this asset has been down, that is, not operational. This value is updated by the work order object. |
| Totunchargedcost | Obsolete-to be removed in a future release. |
| Unchargedcost | Obsolete-to be removed in a future release. |
Vendor | Identification code for the vendor of this asset. |
| Warrantyexpdate | Date manufacturer's warranty expires. |
| Ytdcost | Year-to-date cost of all transactions written to matusetrans, labtrans, tooltrans and servrectrans against this asset and any of its children, that is, subassemblies. |
| Externalrefid, Ownersysid, Sourcesysid | Used by MAXIMO Enterprise Adapter(MEA) for interface to external financial system |
| Eq1 - Eq24 | Extra fields. |
| Modifier and Type | Field and Description |
|---|---|
java.util.Vector |
assetsMovedDirectly
Reference to the vector of set of assets moved
|
boolean |
assetTransAlreadyCreated
Flag is set if the assettrans record has already been created
|
protected MboSetRemote |
children
children asset
|
boolean |
createNewAssetNum
Flag is set in checkNewAssetSite(), is used to set field 'NewAssetNum' to read/write
|
protected boolean |
ifNewChild_ThisEqMustAlreadyExist
if this Asset is being added as a child in a hierarchy, must it already exist in the Asset table in the database?
If false, then this asset can be added as new while being added as a child, for example when receiving rotating
assets.
|
static java.util.Vector |
invBalVector
Deprecated.
|
static java.util.Vector |
inventoryVector
Deprecated.
|
boolean |
isFromAssetTemplate
IV73397:indicates this asset is created by AssetTemplate because the asset template code just
conveniently using newAssetForAssetMove to prevent from creating assetmeter even though it is not
cross-site move assets
|
boolean |
matRecTransAlreadyCreated
Flag is set if the matrectrans record has already been created
|
boolean |
newAssetForAssetMove
Flag is set if the new asset is created in 'Asset move', used in save() for updating parent
|
static java.lang.String |
PLUSC_DUE_DATE |
static java.lang.String |
PLUSC_DUE_DATE_NP |
static java.lang.String |
PLUSC_IS_CALIBRATION |
static java.lang.String |
PLUSC_IS_CON_DESC |
static java.lang.String |
PLUSC_IS_CON_DESC_LONGDESC |
static java.lang.String |
PLUSC_IS_CONTAM |
static java.lang.String |
PLUSC_IS_MTE |
static java.lang.String |
PLUSC_IS_MTE_CLASS |
static java.lang.String |
PLUSC_OP_RGE_FROM |
static java.lang.String |
PLUSC_OP_RGE_TO |
boolean |
rollStatusToChildren |
boolean |
sameAssetMovedBackForAssetMove
IV46140: Indicates this asset is the same asset moved back to the original site
|
onListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, phantomList, phantomQueueDOMAIN_VALUE_INVOICE, DOMAIN_VALUE_RECEIPT, FIELD_ACTUALDATE, FIELD_ASSETID, FIELD_DEPRECIATIONPENDING, FIELD_DEPSTARTINGCOSTNP, FIELD_PURCHASEPRICE, FIELD_UNITCOST, MBOSET_DEPTARGETASSETADDRESSABLE_SERVICEADDRESS_REL, NPADDRESSCODE_ATTRNAME, NPADDRESSDESC_ATTRNAME, NPADDRESSLONGDESC_ATTRNAME, SERVICEADDRESS_NATIVE_RELATIONSHIPNAMEALLROWS, 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| Modifier and Type | Method and Description |
|---|---|
void |
acceptMyNewSet(MboSetRemote myNewSet)
called from ItemStruct when applying an Item Assembly Structure to provide this object with related SparePart, PM
and child Asset sets
|
void |
add()
sets field defaults for a new Asset object
|
void |
addMoreAssetsToSet(MboSetRemote selectedMoreMboSet,
MboSetRemote selectedMboSet)
Adds the more selected assets to the existing selected set
|
boolean |
alreadyAppliedIAS()
identifies whether Item Assembly Structure (IAS) has already been applied to this piece of asset.
|
void |
appendDescription(java.lang.String descSpec)
appends the passed description from an AssetSpec to the Asset.Description attribute The method needs to get
classtructure related description first.
|
void |
applyIAS(boolean autokey)
applies Item Assembly Structure (IAS) to this Asset object.
|
void |
applyIASAutoNumAll()
Auto key the rotating child asset when apply IAS is being done on this asset.
|
MboRemote |
applyIASCreateChild(MboRemote itemStruct,
boolean autokey)
Applies IAS for the asset based on the next level rotating item specified in the passed ItemStruct; ie, create a
child asset.
|
MboSetRemote |
applyIASGenPMs(boolean autokey)
Applies IAS for the asset; create pms if there are master pms.
|
MboSetRemote |
applyIASGenSpareParts(MboSetRemote itemStructSet)
Applies IAS for the asset; create spareparts based on the non-rotating IAS of the item.
|
void |
appValidate()
Perform regular appValidate() in regularAppValidate() and process LinkMbo's deletion.
|
void |
assetInTransit()
IJ24065:indicates asset is in transit, shipped but not received
|
void |
assetMoved()
Determines if the asset can be moved or swapped or status can be changed, throws exception if not.
|
void |
autoKeyAll(boolean doChildren)
when applying an Item Assembly Structure (IAS), begins the process of generating autokeyed assetnums for all
rotating itemnums in the IAS, propagating these newly autokeyed assetnums to related objects in SPAREPART, PM and
ASSET, and generating autokeyed pmnums wherever a PM is needed in the IAS
|
void |
autoKeyAssetnumForChildSet(boolean doChildren)
when applying an Item Assembly Structure (IAS), coordinates the creation of assetnums and the propagation of
these newly autokeyed assetnums to related objects in SPAREPART, PM and ASSET
|
void |
autoKeyPmnumForSet(boolean doChildren)
when applying an Item Assembly Structure (IAS), creates autokeyed pmnums wherever a pmnum is needed for each
rotating asset from the top to the bottom of the IAS
|
void |
autoWogen() |
void |
autoWogen(MboRemote assetMeter)
For use with meter reading entry via integration, for example, the
Maximo Integration Framework (MIF).
|
protected void |
blindCopyFromMboToMbo(AssetRemote mbo)
Copies all the information for each of the fields into the passed mbo.
|
double |
calculateDownTime(java.util.Date lastChangeDate,
java.util.Date currentChangeDate)
begins the downtime calculation process for Asset objects with and without a calendar.
|
java.util.Date |
calculateNextCalDueDate() |
void |
canApplyIAS()
Can we apply IAS for this asset?
|
void |
canChangeStatus(java.lang.String changeToStatus,
long accessModifier)
Identifies whether the status of this object be changed to the specified value.
|
void |
canDelete()
answers question: Can this asset be deleted ? Asset cannot be deleted for many reasons.
|
protected void |
canModifySubAssembly()
Determines if a child asset can be removed from its hierarchy.
|
void |
canMoveAssetWithinInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID)
checks the target location and gl accounts, sets parameters and flags and calls the setupMove in class
MoveDetails to prepare the move
|
void |
canMoveAssetWithinInventoryCrossOrgFromHolding(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String orgid,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID) |
void |
canMoveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
prepares the move between non-inventory locations by checking the target location, ensuring that the asset's
itemnum matches the location's itemnum, setting parameters and flags and calling the setupMove in class
MoveDetails
|
void |
canMoveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String enterBy,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
prepares the move between non-inventory locations by checking the target location, ensuring that the asset's
itemnum matches the location's itemnum, setting parameters and flags and calling the setupMove in class
MoveDetails
|
void |
canReturnAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
boolean updateWo,
java.lang.String matRecTransID)
checks the target location, sets parameters and flags, and calls the setupMove in class MoveDetails to prepare
the move.
|
protected void |
canToggleIsCalibration() |
protected void |
canToggleIsLinear()
Can this asset's IsLinear flag be toggled?
|
void |
changeMaxStatus(java.lang.String internalStatus,
java.util.Date date,
java.lang.String memo)
IV95332: Change status in Async passes the non-default synonym status.
|
void |
changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus) |
void |
changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs)
Change the status of the Asset(s) Depending of the check boxes of the Status dialog box - change the status of
all children assets - remove asset reference from all active job plan - remove asset reference from all active
routes - remove asset reference from all active safety plans - make asset's PM inactive
If the status of the asset is changing to NOT READY or OPERATING, check if the PM's are in 'ACTIVE' status and
have forecast and delete the PM forecast
|
void |
changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs,
LocationRemote topLevelLocationOnStatusChangeFromLocStatChangeRollDown)
Change the status of the Asset(s) Depending of the check boxes of the Status dialog box - change the status of
all children assets - remove asset reference from all active job plan - remove asset reference from all active
routes - remove asset reference from all active safety plans - make asset's PM inactive
If the status of the asset is changing to NOT READY or OPERATING, check if the PM's are in 'ACTIVE' status and
have forecast and delete the PM forecast
|
protected void |
changeStatusPMStatus(java.util.Hashtable changedStatusPMs)
make asset's PM inactive
|
void |
checkForAssetSite(java.lang.String siteid)
Validates if the asset and its children and site combination already exists in the database
|
void |
checkForChildrenAssetSite(java.lang.String siteid)
Validates if the asset's children and site combination already exists in the database
|
void |
checkForDuplicateMeterSequenceValues() |
void |
checkForNewAssetSite(boolean replaceAssetFlag)
Validates if the asset and site combination already exists in the database
|
protected void |
checkWOPOPRStatus()
Checks if the asset and it's childrenn has open WO, PO or PR's
|
void |
childInBundle()
Determines if the asset is the child and is part of hierarchy, throws exception if it is.
|
static void |
cleanupAssetsMap() |
void |
clearClassification()
This method clears the classtructureid and delete assetspec
|
void |
copyAdditionalPMAttributes(MboRemote copyToMbo,
MboRemote copyFromMbo) |
protected void |
copyAssetClassVariables(Asset tempAsset)
Copy the class variables from current asset to the passed in asset
|
void |
copyAssetSpecToAssetSpec(MboRemote newAsset)
09-14550: in receive rotating item, if there are attributes and a large number of attributes, use copy in this
method, not calling assetcatalogservice.generatspecset to avoid mbosets initiated.
|
void |
copyAssetToCollectDetailsSet(MboSetRemote collectionSet)
Add one or multiple Selected Collections to CollectDetails that contains the current Asset.
|
void |
copySpareParts(MboSetRemote spareParts)
begins the process to copy the selected MBOs in the passed in SparePart Mbo Set to this Asset object.
|
Asset |
createAssetToBeMoved()
When moving an asset across sites, creates the destination site asset or
gets the already-existing destination site asset record that represents
the asset that is returning to the site via the current ASSET to destination site
asset relationship
AssetSetRemote.MOVEDASSET. |
MboRemote |
createAssetTrans()
Create AssetTrans to record the creating of asset at a location or has a parent
|
protected void |
createAssetTransNewLocNull(boolean assetChild)
Create Asset Transaction if the new location is set to null
|
MboRemote |
createChange(java.lang.String jpnum)
creates a Workorder with WOCLASS=CHANGE from Asset.
|
void |
createDepreciationScheduleBasedOnItem(MboRemote itemMbo)
Copy the drepreciation schedule from Item and generate the periods
|
MboRemote |
createDepreciationScheduleBasedOnItemFromMatrecTrans(java.lang.String itemNum,
java.lang.String itemSetId,
MboRemote matrecTrans)
Copy the drepreciation schedule from Item on matrecTrans and generate the periods
|
void |
createHistoryForWorkOrder(java.lang.String wonum)
creates a snapshot of the asset hierarchy and costs for reporting purposes.
|
MboRemote |
createIncident(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Incident from Asset.
|
MboRemote |
createMatRecTrans()
Create MatRecTRans when rotating asset is added to storeroom
|
MboRemote |
createNewDepreciation()
Transportation - Depreciation Module
Create new Depreciation for Manage Depreciation option
|
MboRemote |
createProblem(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Problem from Asset.
|
MboRemote |
createRelease(java.lang.String jpnum)
creates a Workorder with WOCLASS=RELEASE from Asset.
|
MboRemote |
createServiceRequest(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Service Request from Asset.
|
void |
createTicket(MboRemote tkMbo)
Sets location, reportedpriority,reportedbyid, orgid and siteid values for the ticket mbo based on asset.
|
void |
createWO(MboRemote workorderMbo)
Sets location, wopriority,orgid ,siteid and reportedbyid values for the workorder mbo based on asset.
|
MboRemote |
createWorkorder(java.lang.String jpnum)
creates a Workorder with WOCLASS=WORKORDER from Asset.
|
void |
delete(long modifier)
delete this Asset object and references to it
|
protected void |
deletePMForecast()
If the status of the asset is changing to NOT READY or OPERATING, check if the PM's are in 'ACTIVE' status and
have forecast and delete the PM forecast.
|
protected void |
deleteReconLink(long modifier)
If asset is deleted, reset tloamispromoted flag and delete the recon link which link asset to the deployed asset
|
MboRemote |
duplicate()
duplicates Asset and related objects.
|
MboRemote |
duplicateCalAsset(MboRemote newAssetRemote) |
protected void |
endMeasure()
Measure must be between the asset's StartMeasure and EndMeasure.
|
MboSetRemote |
generateAssetSpec()
generates a new asset set based on the classstructureid and copies the attriubtes from the ClassSpec/ItemSpec if
item is rotating
|
void |
generateAutoKey()
generates an autokey value for a new Asset object
|
java.lang.String |
getAddressString()
Return a string with the address of the current entitty.
|
java.lang.Double |
getAltitude() |
java.lang.Double |
getAltitudeAccuracy() |
java.lang.String[] |
getAssetBeingReplacedByThisInSwap()
Used when swapping assets between each others' operating locations when both assets are instances of the same
rotating item, and both locations have the same itemnum.
|
java.util.Date |
getAssetMeterNowDate()
called to establish a current date to be used when obtaining the most recent historical meter readings for all of
this Asset's AssetMeters.
|
java.lang.String |
getAutolocateGeometry() |
MboRemote |
getAutoLocateObject()
Returns an autolocate object instance if present.
|
MboRemote |
getAutoLocateObject(AutoLocatable nextInChain)
Returns an autolocate object instance if present.
|
void |
getBinnum()
gets the binnum from Inventory if the itemnum/location combination is in inventory table.
|
protected void |
getBinnumForDestinationLocation()
gets the binnum from Inventory if the itemnum/location combination is in inventory table.
|
MboRemote |
getChild(int row)
used by Apply IAS
|
MboSetRemote |
getChildren()
gets the MBO set of Asset objects that are children to this Asset object
|
boolean |
getClearDupSeqNumsOnMeterGroupChange() |
java.lang.Double |
getCurrentMeterLife(java.lang.String meterName)
Return the total of meter file to date.
|
java.lang.String |
getDefSiteId()
Get the value for default siteid
|
java.lang.String |
getDefStoreloc()
Get the value for default Storeloc
|
java.lang.Double |
getDepreciationCurrentValue() |
protected java.util.Date |
getDowntimeReportUpperDateLimit()
for
reporting downtime, returns the date of the beginning of the
next already-saved-to-the-database asset downtime report to follow the new, not-yet-saved historic AssetStatus
record |
java.lang.Double |
getHeading() |
java.lang.String[] |
getHierarchies()
not used by the Asset object.
|
boolean |
getInCopyingAssetSpecReceiveRotating()
09-14550
|
java.lang.String |
getIssueUnitForItem(java.lang.String location)
Determines if the inventory record exists for a given itemnum and returns the issueunit for first record found.
|
protected java.lang.String |
getIssueUnitForItem(java.lang.String location,
java.lang.String siteid)
Determines if the inventory record exists for a given itemnum and returns the issueunit for first record found.
|
java.util.Date |
getLastUpdate() |
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
java.lang.Double |
getLBSLatitudeY()
Return a double value with the Latitude (or Y coordinate) of the current entity.
|
java.lang.Double |
getLBSLongitudeX()
Return a double value with the Longitude (or X coordinate) of the current entity.
|
MboSetRemote |
getLeaseContractForAsset()
Returns the reference of the Lease contract that contains this asset.
|
java.lang.Double |
getLocationAccuracy() |
java.lang.Double |
getLongitudeX()
Return a double value with the the Longitude (or X) coordinate of the current entitty.
|
MboSetRemote |
getMboSet(java.lang.String name)
Per FSM spec if the asset does not have any Service Address associated
it will 'use' its location's service address (based on the selected Address System) if any. |
MboSetRemote |
getMyChildAssetSet()
used by Apply IAS
|
MboRemote |
getMyParent()
used by Apply IAS
|
MboSetRemote |
getMyPMSet()
used by Apply IAS
|
MboSetRemote |
getMySparePartSet()
used by Apply IAS
|
MboRemote |
getParentAsset(java.util.Date date)
For a given date, get parent for this asset
|
MboSetRemote |
getParents()
gets the MBO set the Asset object that is parent to this Asset object.
|
java.lang.String |
getPeriodTypeValue()
Transportation - Depreciation Module
returns the internal value of the PeriodType value from the
DEPPERIODTYPE domain.
|
int |
getPMMeterTally(MboRemote pmMeter)
used when deleting a meter from the asset to determine whether PM flags
PMASSETWOGEN and PMACTMETER need to be set to false.
|
MboSetRemote |
getPurchaseContractForAsset()
Returns the reference of the set of Purchase contracts that contain this asset.
|
MboRemote |
getRootParent()
Get the root parent for this asset
|
ServiceAddressRemote |
getServiceAddress() |
java.lang.Double |
getSpeed() |
protected StatusHandler |
getStatusHandler()
Return a status handler with the help of which the asset status changes can be done.
|
protected MboSetRemote |
getStatusHistory()
Return the assetstatus object.
|
java.lang.String |
getStatusListName()
Return the string "LOCASSETSTATUS".
|
LocationRemote |
getTagLocation()
Returns the location associated with this asset, if that location can be considered a tag id (i.e., it has only
one asset associated with it).
|
MboSetRemote |
getTop()
Get the Asset object that is at the top of this Asset object's hierarchy.
|
protected java.lang.Double |
getTotalMeterLifeToDate(java.lang.String meterName)
Return the total of meter file to date.
|
java.lang.String[] |
getValidateOrder()
validation order for asset attributes
|
MboSetRemote |
getWarranty() |
MboSetRemote |
getWarrantyContractForAsset()
Gets the warranty contract which contains the asset identifier passed in and also has the coverschildren flag
turned on.
|
java.util.List |
getWarrantyInfo(java.util.Date woDate,
boolean isParent)
For a given date, get warranty information for this asset
|
java.util.List |
getWarrantyInfo(java.util.Date woDate,
boolean isParent,
java.lang.String type)
For a given date, get warranty information for this asset
|
boolean |
hasAssetSpecBeenCreated()
IV90682:true means assetspec has been created, false means no.
|
boolean |
hasChildren()
Does this Asset object have children?
|
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
void |
hasMeters()
Determines if the asset has meters associated with it, if not throws exception.
|
boolean |
hasParents()
Does this Asset object have a parent?
|
void |
hasReadings()
Determines if the asset has readings associated with it, if not throws exception.
|
boolean |
hasServiceAddress() |
void |
incrInvCost(double amount)
provides functionality to add to this Asset object's inventory cost from outside the object
|
void |
init()
initialization rountine.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
SafetyLexicon needs to behave differently depending on the relationship it was obtained with (hazards and
precautions, hazardous materials, or tagouts).
|
boolean |
intermediateAssetStatusExists(java.util.Date newDTStart,
java.util.Date mostRecentNotRunningAssetStatusDate) |
boolean |
isActivePM()
Check if there are active PMs
|
boolean |
isActiveRoutes()
Check if there are active routes
|
boolean |
isActiveSP()
Check if there are active SPs
|
boolean |
isAssetBeingCreatedViaApplyIAS() |
boolean |
isAssetSpecSetModified()
09-16727
|
boolean |
isDecommissionedLocation()
checks if this Asset object's location is a decommissioned location, that is, status is "DECOMMISSIONED"
|
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
void |
isGLAccountPartialValid(java.lang.String glAccount)
checks if the given partial glaccount is valid
|
void |
isGLAccountValid(java.lang.String glAccount,
java.lang.String glType)
check if the given full glaccount is valid
|
void |
isGLAccountValid(java.lang.String glAccount,
java.lang.String glType,
java.lang.String orgId)
check if the given full glaccount is valid
|
boolean |
isInventoryLocation()
checks if this Asset object's location is an inventory-type location, that is, STOREROOM, LABOR or COURIER
|
protected boolean |
isInventoryTypeDestinationLocation()
when an asset move is initiated, checks if this Asset object's new location is an inventory-type location, that
is, STOREROOM, LABOR or COURIER
|
boolean |
isInventoryTypeLocation()
checks if this Asset object's location is an inventory-type location, that is, STOREROOM, LABOR or COURIER.
|
void |
isLocAuthorized(MboRemote ofloc)
checks if the specified user allowed to access this store room
|
protected boolean |
isReportingDownTime()
is this Asset in the process of reporting downtime.
|
boolean |
isRotating()
checks if this Asset object is rotating
|
protected boolean |
isStoreDestinationLocation()
checks if this Asset object's new location is a STOREROOM
|
void |
issueAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo,
java.lang.String matUseTransID)
interface routine for Inventory Issues App.
|
boolean |
isTop()
Is this Asset object top level, that is, is it without a parent?
|
MboRemote |
lastAssetStatusForAssetnum()
returns the most recent AssetStatus mbo for this Asset object if and only if the most recent
AssetStatus.Isrunning = false.
|
MboRemote |
lastUpOrDownAssetStatusForAssetnum()
returns the most recent AssetStatus mbo for this Asset object regardless of the
AssetStatus.Isrunning value.
|
void |
managePMMeterTallyOnMeterDeleteUndelete(MboRemote pmMeter,
java.lang.String action)
used when deleting a meter from the asset to keep track of the number of PMMETERs
on PMs impacted by the deletion of the meter.
|
void |
modify()
called whenever a field is modified to update the changedate and changeby attributes
|
void |
moveAssetWithinInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID)
interface routine to move Asset.
|
void |
moveAssetWithinInventoryAcrossOrgFromHolding(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String orgid,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID) |
void |
moveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
interface routine for Move/Modify Asset.
|
void |
moveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String enterBy,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
interface routine for Move/Modify Asset.
|
void |
notifyAssetSpecValueChanged(boolean valueChanged)
09-16727
|
protected void |
notifyNewInventory(boolean needToCreate)
if the itemnum/location entered does not exist in the inventory, we will need to create a new inventory record.
|
void |
queryDataSheets(PlusCWODSSetRemote woDsSet,
boolean loopCalibrations,
java.util.Date fromDate,
java.util.Date toDate)
Sets up the where clause of the given WO DS MBO Set to return the list of calibrations in a given time frame for
this location
|
void |
querySpotChecks(MboSetRemote plusWOSet,
java.util.Date fromDate,
java.util.Date toDate) |
void |
queryToolWoActuals(MboSetRemote plusWoSet,
java.util.Date fromDate,
java.util.Date toDate) |
void |
recordAssetStatusChange(MboRemote woMbo,
java.util.Date changeDate,
java.lang.String code,
boolean operational)
changes asset status from isrunning=true to isrunning=false or vice versa.
|
protected void |
removeReferenceFromActiveRoutes()
Remove asset reference from all active routes
|
protected void |
removeReferenceFromActiveSP()
Remove asset reference from all active safety plans
|
void |
reportDowntime(MboRemote woMbo,
java.util.Date startDate,
java.util.Date endDate,
double hoursDown,
java.lang.String code,
boolean operational)
updates and/or inserts AssetStatus records to complete the two-MBO cycle that brings a piece of Asset from a
"DOWN" status (that is, Isrunning=false) to an "UP" status (that is, Isrunning=true), and calculates the
downtime, that is, the elapsed time between these two MBOs.
|
void |
returnAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
boolean updateWo,
java.lang.String matRecTransID)
interface routine for Inventory Returns App.
|
void |
returnAssetForAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
boolean updateWo)
interface routine for Asset/Work Order.
|
protected void |
rollMaintHierarchyToAllChildren(boolean mainthierchy)
roll maintain hierarchy to all its children assets
|
protected void |
rollStatusToAllChildren(java.lang.String status,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs)
Change the status of all children assets
|
protected void |
rollStatusToAllChildren(java.lang.String status,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs,
LocationRemote topLevelLocationOnStatusChangeFromLocStatChangeRollDown)
Change the status of all children assets
|
void |
save()
saves this Asset object.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
Implement the logic to save the GIS Data
|
void |
saveLBSData(java.lang.Double lat,
java.lang.Double lng,
java.lang.Double locationAccuracy,
java.lang.Double altitudeAccuracy,
java.lang.Double altitude,
java.lang.Double heading,
java.lang.Double speed) |
protected void |
setAncestorForChildren(MboRemote rootParent)
Set the root parent to all its children
|
void |
setAssetAttributesForWO()
For a given workorder sets the asset attributes from the autoattrupdate table
|
void |
setAssetAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet)
For a given workorder sets the asset attributes from the autoattrupdate table
|
void |
setAssetBeingReplacedByThisInSwap(java.lang.String[] assetBeingReplacedByThisInSwap)
Used when swapping assets between each others' operating locations when both assets are instances of the same
rotating item, and both locations have the same itemnum.
|
protected Asset |
setAssetLocationNull(java.lang.String oldSiteId)
Sets the asset and its children locations to null
|
void |
setAssetnumOnRelated()
when assigning a value for assetnum while applying an Item Assembly Structure (IAS), propagate that value to
related mbos.
|
void |
setAssetSpecCreated(boolean created)
IV90682: set the flag.
|
protected void |
setCalibrationAssetAttrFlags()
set calibration asset attributes to be read/write if Asset.IsCalibration is true;
|
void |
setChildren(boolean value)
set children attribute to be passed boolean value
|
void |
setDefaults(java.lang.String siteid,
java.lang.String storeloc)
Sets the value for siteid and storeloc from Default section of 'Issue Items from Storeroom'.
|
protected void |
setDowntimeReportUpperDateLimit(java.util.Date ULDate)
for
reporting downtime, sets the date of the beginning of the next
already-saved-to-the-database asset downtime report to follow the new, not-yet-saved historic AssetStatus record |
void |
setInCopyingAssetSpecReceiveRotating(boolean inCopying)
09-14550
|
void |
setItemNum(java.lang.String newItem,
java.lang.String itemSetID,
java.lang.String conditionCode)
changes the item number on this Asset object.
|
protected void |
setLinearAssetAttrFlags()
set linear asset attributes to be read/write if Asset.IsLinear is true; otherwise, the linear asset attributes
are READONLY
|
void |
setParent(java.lang.String newParent)
used by Item Assembly Structure (IAS) to set the value of the parent attribute
|
void |
setPhysicalLoc()
Additional Physical Location Field - Issue #93941
|
void |
setPoNumAssetMv(java.lang.String ponum)
Sets the Purchase order number when asset is moved in PO app
|
void |
setRememberToClearAssesInHash(boolean remberToClear)
09-15293: pre-store all the assets being moved in MultiAssetLocCI table in the hashtable
|
void |
setValuesForMboSet(MboSetRemote mboSet)
set new site and new assetnum for the mboset passed in Defined for Asset Move functionality
|
void |
setWoNumAssetMv(java.lang.String wonum)
Sets the workorder number when asset is moved in workorder app
|
MboSetRemote |
showHierarchy()
Get a MboSet of of this asset's ancestors.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
overrides the skipCopyField() in the Mbo.
|
protected void |
startMeasure()
Measure must be between the asset's StartMeasure and EndMeasure.
|
void |
swapDepreciationSchedule()
Change the depreciation schedule between two assets.
|
void |
swapDepreciationScheduleValidate()
valide the depreciation schedule swap rules
|
void |
updateDesc()
sets the description field to the generated value obtained from the setup of the classstructureid (in asset
catalog setup) and the values/measureunits in the assetspec set.
|
void |
updateRelatedCI(java.lang.String newlocation,
java.lang.String newsite,
java.lang.String newassetnum,
boolean isChild,
java.lang.String ChangeBy,
java.lang.String ChangeDate) |
void |
validateAssetSite(java.lang.String asset_type,
java.lang.String siteid)
Validates if the asset and site combination already exists in the database
|
boolean |
validateCopySpecAcrossOrgSite(java.lang.String siteid)
Validates whether asset specifications can be copied across organizations or across sites
|
protected void |
validateInventoryExists(java.lang.String location)
Determines if the inventory record exists for a given itemnum and location, if not throws exception.
|
void |
validateMoveAcrossOrg(java.lang.String siteid)
Validates whether asset can be moved across organizations
|
void |
validateOperatingRange() |
MboSetRemote |
viewDataSheets(MboRemote newDS) |
java.util.Vector |
walkUpHierarchy()
Get the Vector of of this asset's ancestors.
|
void |
zeroCosts(boolean ytd,
boolean total)
sets Asset cost attributes to 0
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption, statusToOptionNameaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, 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, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, 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, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, 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, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeletecanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, 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, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic static java.util.Vector invBalVector
public static java.util.Vector inventoryVector
public boolean newAssetForAssetMove
public boolean matRecTransAlreadyCreated
public boolean assetTransAlreadyCreated
public boolean createNewAssetNum
public java.util.Vector assetsMovedDirectly
protected boolean ifNewChild_ThisEqMustAlreadyExist
public boolean sameAssetMovedBackForAssetMove
public boolean isFromAssetTemplate
public static final java.lang.String PLUSC_OP_RGE_FROM
public static final java.lang.String PLUSC_OP_RGE_TO
public static final java.lang.String PLUSC_IS_CON_DESC
public static final java.lang.String PLUSC_IS_CON_DESC_LONGDESC
public static final java.lang.String PLUSC_IS_CONTAM
public static final java.lang.String PLUSC_IS_MTE_CLASS
public static final java.lang.String PLUSC_IS_MTE
public static final java.lang.String PLUSC_DUE_DATE_NP
public static final java.lang.String PLUSC_DUE_DATE
public static final java.lang.String PLUSC_IS_CALIBRATION
protected MboSetRemote children
getChildrenpublic boolean rollStatusToChildren
public Asset(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionprotected void setLinearAssetAttrFlags()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void canToggleIsLinear()
throws MXException,
java.rmi.RemoteException
MXApplicationException("item", - "itemCannotToggleIsKit") if InvBalances exist for the itemMXApplicationException("item", - "itemCannotKitLottedItem") if item is lotted, item cannot be a kitMXExceptionjava.rmi.RemoteExceptionpublic void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic java.util.Date getAssetMeterNowDate()
throws MXException,
java.rmi.RemoteException
getAssetMeterNowDate in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.AssetMeter.getPreviousMeterReading()public void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionprotected void canModifySubAssembly()
throws MXException,
java.rmi.RemoteException
MXApplicationException("asset","cantAddChildOrParent")MXExceptionjava.rmi.RemoteExceptionpublic void updateDesc()
throws MXException,
java.rmi.RemoteException
updateDesc in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.updateDesc()public void save()
throws MXException,
java.rmi.RemoteException
save in class StatefulMboMXApplicationException("asset", - "ReqFieldItem") if the item field is empty for inventory locationMXExceptionjava.rmi.RemoteExceptionpublic MboRemote createAssetTrans() throws MXException, java.rmi.RemoteException
createAssetTrans in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.createAssetTrans()public MboRemote createMatRecTrans() throws MXException, java.rmi.RemoteException
createMatRecTrans in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.createMatRecTrans()public void delete(long modifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class Mbomodifier - The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)protected void deleteReconLink(long modifier)
throws MXException,
java.rmi.RemoteException
modifier - MXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
WORKORDER, SERVICECONTRACT, POLINE, PRLINE, MRLINE, INVOICECOST, JPASSETSPLINK, LOCKOUT, MATUSETRANS, SAFETYLEXICON, SPRELATEDASSET, SPWORKASSET, TAGOUT, PM, WORKORDER*, POLINE*, PRLINE* or MRLINE*.
*if the WORKORDER, PO, PR or MR has a status of CANCEL or CLOSE, that is, if historyflag=true, then asset deletion is not stopped
Additionally, an Asset object that has children,cannot be deleted
canDelete in class MboMXApplicationException("asset","assetexistintables",params) - if Asset is referenced in any of above
listed tablesMXApplicationException("asset","assetexistsintables_active") - if Asset is on an open work order, an
open purchase order, an open purchase requisition or an open material requestMXApplicationException("asset","subrelation",params) - if Asset has childrenMXExceptionjava.rmi.RemoteExceptiondeletepublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isInventoryTypeLocation()
throws MXException,
java.rmi.RemoteException
isInventoryTypeLocation in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.isInventoryTypeLocation()public boolean isInventoryLocation()
throws MXException,
java.rmi.RemoteException
isInventoryLocation in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isDecommissionedLocation()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected boolean isInventoryTypeDestinationLocation()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionFldMoveModifyNewLocation.validate,
AssetSet.moveAssetprotected boolean isStoreDestinationLocation()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void getBinnum()
throws MXException,
java.rmi.RemoteException
MXApplicationException("asset","nosuchinventory") - if the combination does not exist in inventoryMXExceptionjava.rmi.RemoteExceptionFldAssetLocation.action(),
FldAssetItemnum.action()protected void notifyNewInventory(boolean needToCreate)
throws MXException,
java.rmi.RemoteException
needToCreate - true indicates that a new Inventory record needs to be created false indicates that a
invnetory record already exists.MXExceptionjava.rmi.RemoteExceptionprotected void getBinnumForDestinationLocation()
throws MXException,
java.rmi.RemoteException
MXApplicationException("asset","nosuchinventory") - if the combination does not exist in inventoryMXExceptionjava.rmi.RemoteExceptionFldAssetLocation.action(),
FldAssetItemnum.action()public void createHistoryForWorkOrder(java.lang.String wonum)
throws MXException,
java.rmi.RemoteException
createHistoryForWorkOrder in interface AssetRemotewonum - MXExceptionjava.rmi.RemoteExceptionAsset.createHistoryForWorkOrder(String wonum)public void setChildren(boolean value)
throws MXException,
java.rmi.RemoteException
setChildren in interface AssetRemotevalue - - boolean valueMXExceptionjava.rmi.RemoteExceptionAsset.setChildren(boolean value)public boolean isRotating()
throws MXException,
java.rmi.RemoteException
isRotating in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.isRotating()public void recordAssetStatusChange(MboRemote woMbo, java.util.Date changeDate, java.lang.String code, boolean operational) throws MXException, java.rmi.RemoteException
recordAssetStatusChange in interface AssetRemotewoMbo - work order mbo from which this object has been createdchangeDate - date on which the status change is occurring. This value is from the MXServer by default. The
UI can override the default.code - reason for reported downtime. Valid values are from the DOWNCODE value list.operational - boolean that flags an asset status change from isrunning = true to isrunning = false as being
Operational, that is, a time when the asset is normally in use, or non-Operational, that is, a time when
the asset is not normally in use or its being off line does not affect production.MXApplicationException("asset","cannotfindworkorder") - if the MboRemote passed in woMbo is not a work
order mboMXApplicationException("asset","providechangedate") - if changeDate is nullMXExceptionjava.rmi.RemoteExceptionAsset.recordAssetStatusChange(MboRemote woMbo, Date changedate, String code, boolean operational)public void reportDowntime(MboRemote woMbo, java.util.Date startDate, java.util.Date endDate, double hoursDown, java.lang.String code, boolean operational) throws MXException, java.rmi.RemoteException
| when reporting asset down time and Asset.Isrunning before the down time report = ... |
|---|
|
reportDowntime in interface AssetRemotewoMbo - work order mbo from which this object has been created
startDate - start of the down time interval. This can be defaulted to one of three values:
|
|
| The UI can override this default. |
endDate - end of the down time interval. This value is from the MXServer by default. The UI can override the
default.
hoursDown - calculation based on interval between startDate and endDate and this asset object's calendar. If
object does not have a calendar, that is, Calnum is null, then calculation is just the startDate - endDate
interval. UI can, however, override the calculated value. hoursDown may not reflect the actual startDate -
endDate interval for two reasons:
|
code - reason for reported downtime. Valid values are from the DOWNCODE value list. Code should be null when
Isrunning is going from true to false.operational - boolean that flags an asset status change from isrunning = true to isrunning = false as being
Operational, that is, a time when the asset is normally in use, or non-Operational, that is, a time when
the asset is not normally in use or its being off line does not affect production.MXApplicationException("asset","cannotfindworkorder") - if the MboRemote passed in woMbo is not a work
order mboMXApplicationException("asset","downtimedatereq") - if startDate or endDate is nullMXApplicationException("asset","downtimeenddate") - if startDate is greater than the endDate.MXExceptionjava.rmi.RemoteExceptionAsset.reportDowntime(MboRemote woMbo, Date startDate, Date endDate, double hoursDown, String code, boolean operational)protected boolean isReportingDownTime()
throws MXException,
java.rmi.RemoteException
FldAssetStatusChangeDate.MXExceptionjava.rmi.RemoteExceptionpsdi.app.assetprotected java.util.Date getDowntimeReportUpperDateLimit()
throws MXException,
java.rmi.RemoteException
reporting downtime, returns the date of the beginning of the
next already-saved-to-the-database asset downtime report to follow the new, not-yet-saved historic AssetStatus
recordMXExceptionjava.rmi.RemoteExceptionprotected void setDowntimeReportUpperDateLimit(java.util.Date ULDate)
throws MXException,
java.rmi.RemoteException
reporting downtime, sets the date of the beginning of the next
already-saved-to-the-database asset downtime report to follow the new, not-yet-saved historic AssetStatus recordMXExceptionjava.rmi.RemoteExceptionpublic MboRemote lastAssetStatusForAssetnum() throws MXException, java.rmi.RemoteException
lastAssetStatusForAssetnum in interface AssetRemoteMXApplicationException("asset","assetstatupderror") - if AssetStatus mbo Isrunning attribute is true, or
if attempt is being made to update this attribute.MXExceptionjava.rmi.RemoteExceptionvoid recordAssetStatusChange(MboRemote woMbo, Date changeDate, String code, boolean operational),
void reportDowntime(MboRemote woMbo, Date startDate, Date endDate, double hoursDown, String
code,boolean operational)public MboRemote lastUpOrDownAssetStatusForAssetnum() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean intermediateAssetStatusExists(java.util.Date newDTStart,
java.util.Date mostRecentNotRunningAssetStatusDate)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic double calculateDownTime(java.util.Date lastChangeDate,
java.util.Date currentChangeDate)
throws MXException,
java.rmi.RemoteException
calculateDownTime in interface AssetRemotelastChangeDate - start of down time intervalcurrentChangeDate - end of down time intervalMXExceptionjava.rmi.RemoteExceptiondouble calculateDownTime(Date lastChangeDate, Date currentChangeDate, String calnum)public void issueAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo,
java.lang.String matUseTransID)
throws MXException,
java.rmi.RemoteException
issueAsset in interface AssetRemotenewLocation - new location mbo (move to location)memo - memo fielddateMoved - date movedwonum - work order numbercheckMismatch - check if rotating asset matches location's item number. If mismatch has been found and the
flag is true, stop the move asset process. If the flag is false, ignore the mismatch and continue the move
asset process.checkOccupied - check if the location is occupied by certain item. If location is occupied and the flag is
true, stop the move asset process. If the flag is false, ignore fact that location is already occupied and
continue the move asset process.updateWo - if true, update priorities on open work ordermatUseTransID - MatUseTrans IDMXExceptionjava.rmi.RemoteExceptionAsset.issueAsset(String newLocation, String memo, Date dateMoved, String wonum, boolean checkMismatch, boolean checkOccupied, boolean updateWo, String matUseTransID)public void returnAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
boolean updateWo,
java.lang.String matRecTransID)
throws MXException,
java.rmi.RemoteException
returnAsset in interface AssetRemotenewLocation - - new location mbo (move to location)memo - - memo fielddateMoved - - date movedwonum - - work order numbernewBinnum - - new binnum (move to binnum)ponum - - po numberglCreditAcct - - credit gl accountglDebitAcct - - debit gl accountupdateWo - - update priorities on open work order if the flag is true.matRecTransID - - MatRecTrans IDMXExceptionjava.rmi.RemoteExceptionAsset.returnAsset(String newLocation, String memo, Date dateMoved, String wonum, String newBinnum, String ponum, String glCreditAcct, String glDebitAcct, boolean updateWo, String matRecTransID)public void canReturnAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
boolean updateWo,
java.lang.String matRecTransID)
throws MXException,
java.rmi.RemoteException
newLocation - - new location mbo (move to location)memo - - memo fielddateMoved - - date movedwonum - - work order numbernewBinnum - - new binnum (move to binnum)ponum - - po numberglCreditAcct - - credit gl accountglDebitAcct - - debit gl accountupdateWo - - update priorities on open work order if the flag is true.matRecTransID - - MatRecTrans IDMXApplicationException("asset","notvalidrotatingasset") - if the Asset object's itemnum is null, or if
the itemnum's Item object does not have its rotating attribute set to true.MXExceptionjava.rmi.RemoteExceptionreturnAssetpublic void returnAssetForAsset(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
boolean updateWo)
throws MXException,
java.rmi.RemoteException
returnAssetForAsset in interface AssetRemotenewLocation - - new location mbo (move to location)memo - - memo fielddateMoved - - date movedwonum - - work order numbernewBinnum - - new binnum (move to binnum)ponum - - po numberglCreditAcct - - credit gl accountglDebitAcct - - debit gl accountupdateWo - - update priorities on open work order if the flag is trueMXExceptionjava.rmi.RemoteExceptionAssetSet.moveAsset()public void moveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String enterBy,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
throws MXException,
java.rmi.RemoteException
moveAssetWithinNonInventory in interface AssetRemotenewLocation - new location mbo (move to location)memo - memo fielddateMoved - date movedenterBy - user entering move transactionwonum - work order numbertoParent - new parentcheckMismatch - check if rotating asset matches location's item number.checkOccupied - check if the location is occupied by certain item. updateWo - update priorities on open work order if the flag is true.MXExceptionjava.rmi.RemoteExceptionAsset.moveAssetWithinNonInventory(String newLocation, String memo, Date dateMoved, String enterBy, String wonum, String toParent, boolean checkMismatch, boolean checkOccupied, boolean updateWo)public void canMoveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String enterBy,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
throws MXException,
java.rmi.RemoteException
newLocation - new location mbo (move to location)memo - memo fielddateMoved - date movedenterBy - user entering move transactionwonum - work order numbertoParent - new parentcheckMismatch - check if rotating asset matches location's item number.checkOccupied - check if the location is occupied by certain item. updateWo - update priorities on open work order if the flag is true.MXExceptionjava.rmi.RemoteExceptionmoveAssetWithinNonInventorypublic void moveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
throws MXException,
java.rmi.RemoteException
moveAssetWithinNonInventory in interface AssetRemotenewLocation - new location mbo (move to location)memo - memo fielddateMoved - date movedwonum - work order numbertoParent - new parentcheckMismatch - check if rotating asset matches location's item number.checkOccupied - check if the location is occupied by certain item. updateWo - update priorities on open work order if the flag is true.MXExceptionjava.rmi.RemoteExceptionAsset.moveAssetWithinNonInventory(String newLocation, String memo, Date dateMoved, String wonum, String toParent, boolean checkMismatch, boolean checkOccupied, boolean updateWo)public void canMoveAssetWithinNonInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String wonum,
java.lang.String toParent,
boolean checkMismatch,
boolean checkOccupied,
boolean updateWo)
throws MXException,
java.rmi.RemoteException
newLocation - new location mbo (move to location)memo - memo fielddateMoved - date movedwonum - work order numbertoParent - new parentcheckMismatch - check if rotating asset matches location's item number.checkOccupied - check if the location is occupied by certain item. updateWo - update priorities on open work order if the flag is true.MXExceptionjava.rmi.RemoteExceptionmoveAssetWithinNonInventorypublic void moveAssetWithinInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID)
throws MXException,
java.rmi.RemoteException
moveAssetWithinInventory in interface AssetRemotenewLocation - - new location mbo (move to location)memo - - memo fielddateMoved - - date movednewBinnum - - new binnum (move to binnum)ponum - - po numberglCreditAcct - - credit gl accountglDebitAcct - - debit gl accountmatRecTransID - - MatRecTrans IDMXExceptionjava.rmi.RemoteExceptionAsset.moveAssetWithinInventory(String newLocation, String memo, Date dateMoved, String newBinnum, String ponum, String glCreditAcct, String glDebitAcct, String matRecTransID)public void moveAssetWithinInventoryAcrossOrgFromHolding(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String orgid,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID)
throws MXException,
java.rmi.RemoteException
moveAssetWithinInventoryAcrossOrgFromHolding in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.moveAssetWithinInventoryAcrossOrgFromHolding(String newLocation, String memo, Date dateMoved, String newBinnum, String orgid, String glCreditAcct, String glDebitAcct, String matRecTransID)public void canMoveAssetWithinInventory(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String ponum,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID)
throws MXException,
java.rmi.RemoteException
newLocation - - new location mbo (move to location)memo - - memo fielddateMoved - - date movednewBinnum - - new binnum (move to binnum)ponum - - po numberglCreditAcct - - credit gl accountglDebitAcct - - debit gl accountmatRecTransID - - MatRecTrans IDMXExceptionjava.rmi.RemoteExceptionmoveAssetWithinInventorypublic void canMoveAssetWithinInventoryCrossOrgFromHolding(java.lang.String newLocation,
java.lang.String memo,
java.util.Date dateMoved,
java.lang.String newBinnum,
java.lang.String orgid,
java.lang.String glCreditAcct,
java.lang.String glDebitAcct,
java.lang.String matRecTransID)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void isLocAuthorized(MboRemote ofloc) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptioncanReturnAsset,
canMoveAssetWithinInventorypublic void isGLAccountValid(java.lang.String glAccount,
java.lang.String glType)
throws MXException,
java.rmi.RemoteException
glAccount - glType - Type of Account credit or debitMXApplicationException("asset","glaccountnotfull",params) - if the given full gl account is not validMXExceptionjava.rmi.RemoteExceptioncanReturnAsset,
canMoveAssetWithinInventorypublic void isGLAccountValid(java.lang.String glAccount,
java.lang.String glType,
java.lang.String orgId)
throws MXException,
java.rmi.RemoteException
glAccount - glType - Type of Account credit or debitorgId - MXApplicationException("asset","glaccountnotfull",params) - if the given full gl account is not validMXExceptionjava.rmi.RemoteExceptioncanReturnAsset,
canMoveAssetWithinInventorypublic void isGLAccountPartialValid(java.lang.String glAccount)
throws MXException,
java.rmi.RemoteException
glAccount - MXApplicationException("asset","glaccountnotfull",params) - if the given partial gl account is not validMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.MoveDetails.setMoveDetailspublic void incrInvCost(double amount)
throws MXException,
java.rmi.RemoteException
incrInvCost in interface AssetRemoteamount - amount to add to invcostMXExceptionjava.rmi.RemoteExceptionAsset.incrInvCost(double amount)public boolean isTop()
throws MXException,
java.rmi.RemoteException
isTop in interface HierarchicalMboRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean hasChildren()
throws MXException,
java.rmi.RemoteException
hasChildren in interface HierarchicalMboRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean hasParents()
throws MXException,
java.rmi.RemoteException
hasParents in interface HierarchicalMboRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getChildren() throws MXException, java.rmi.RemoteException
getChildren in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getParents() throws MXException, java.rmi.RemoteException
getParents in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote showHierarchy() throws MXException, java.rmi.RemoteException
showHierarchy in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.showHierarchy()public java.util.Vector walkUpHierarchy()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getTop() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[] getHierarchies()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean alreadyAppliedIAS()
throws MXException,
java.rmi.RemoteException
alreadyAppliedIAS in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.alreadyAppliedIAS()public void canApplyIAS()
throws MXException,
java.rmi.RemoteException
canApplyIAS in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.canApplyIAS()public void applyIAS(boolean autokey)
throws MXException,
java.rmi.RemoteException
applyIAS in interface AssetRemoteautokey - if true, Asset method autoKeyAll will be called. This is to allow the MAXIMO Integration Gateway
(MIG) to autokey all the assetnums when it applies an IAS. The autokey methods can be called independently
if this parameter is false.MXExceptionjava.rmi.RemoteExceptionAsset.applyIAS(boolean autokey)public void applyIASAutoNumAll()
throws MXException,
java.rmi.RemoteException
applyIASAutoNumAll in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.asset#applyIASAutoNumAll()public MboRemote applyIASCreateChild(MboRemote itemStruct, boolean autokey) throws MXException, java.rmi.RemoteException
applyIASCreateChild in interface AssetRemoteitemStruct - the asset.item's rotating child.autokey - true to autokey the new asset and the new pms.MXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#applyIASCreate(MboRemote itemStruct,boolean autokey)public boolean isAssetBeingCreatedViaApplyIAS()
throws java.rmi.RemoteException
isAssetBeingCreatedViaApplyIAS in interface AssetRemotejava.rmi.RemoteExceptionAsset.isAssetBeingCreatedViaApplyIAS()public MboSetRemote applyIASGenPMs(boolean autokey) throws MXException, java.rmi.RemoteException
applyIASGenPMs in interface AssetRemoteautokey - true to autokey the new pms.MXExceptionjava.rmi.RemoteExceptionAsset.applyIASGenPMs(boolean autokey)public MboSetRemote applyIASGenSpareParts(MboSetRemote itemStructSet) throws MXException, java.rmi.RemoteException
applyIASGenSpareParts in interface AssetRemoteautokey - true to autokey the new pms.MXExceptionjava.rmi.RemoteExceptionAsset.applyIASGenSpareParts(MboSetRemote itemStruct)public void autoKeyAll(boolean doChildren)
throws MXException,
java.rmi.RemoteException
autoKeyAll in interface AssetRemotedoChildren - if true, assetnums and pmnums will be automatically autokeyed and propagated to related objects
for all the rotating items from the top to the bottom of the Item Assembly Structure. If false, then the
autokey-related methods will need to be called independently for each rotating itemnum in the IAS to
generate and propagate the assetnums and pmnums.MXExceptionjava.rmi.RemoteExceptionAsset.autoKeyAll(boolean doChildren)public void setAssetnumOnRelated()
throws MXException,
java.rmi.RemoteException
setAssetnumOnRelated in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.setAssetnumOnRelated()public void generateAutoKey()
throws java.rmi.RemoteException,
MXException
generateAutoKey in interface MboRemotegenerateAutoKey in class Mbojava.rmi.RemoteExceptionMXExceptionMboValue.autoKey(),
MboValue.generateUniqueID()public void autoKeyAssetnumForChildSet(boolean doChildren)
throws MXException,
java.rmi.RemoteException
autoKeyAssetnumForChildSet in interface AssetRemotedoChildren - if true, this method walks from the top to the bottom of the IAS performing its functionality
on each nodeMXExceptionjava.rmi.RemoteExceptionAsset.autoKeyAssetnumForChildSet(boolean doChildren)public void autoKeyPmnumForSet(boolean doChildren)
throws MXException,
java.rmi.RemoteException
autoKeyPmnumForSet in interface AssetRemotedoChildren - if true, this method walks from the top to the bottom of the IAS performing its functionality
on each nodeMXExceptionjava.rmi.RemoteExceptionAsset.autoKeyPmnumForSet(boolean doChildren)public void setParent(java.lang.String newParent)
throws MXException,
java.rmi.RemoteException
setParent in interface AssetRemotenewParent - String value that represents this Asset object's parent assetnumMXExceptionjava.rmi.RemoteExceptionsetChildrenFlagpublic void acceptMyNewSet(MboSetRemote myNewSet) throws MXException, java.rmi.RemoteException
acceptMyNewSet in interface AssetRemotemyNewSet - SparePart, PM or child Asset set created in ItemStructMXExceptionjava.rmi.RemoteExceptionAsset.acceptMyNewSet(MboSetRemote myNewSet)public MboSetRemote getMyChildAssetSet() throws MXException, java.rmi.RemoteException
getMyChildAssetSet in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionacceptMyNewSetpublic MboSetRemote getMySparePartSet() throws MXException, java.rmi.RemoteException
getMySparePartSet in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionacceptMyNewSetpublic MboSetRemote getMyPMSet() throws MXException, java.rmi.RemoteException
getMyPMSet in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionacceptMyNewSetpublic MboRemote getMyParent() throws MXException, java.rmi.RemoteException
getMyParent in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getMyParent()public MboRemote getChild(int row) throws MXException, java.rmi.RemoteException
getChild in interface AssetRemoterow - index to the set of asset children created in ItemStructMXExceptionjava.rmi.RemoteExceptionAsset.getChild(int row)public java.lang.String[] getValidateOrder()
getValidateOrder in class Mbopublic void zeroCosts(boolean ytd,
boolean total)
throws MXException,
java.rmi.RemoteException
zeroCosts in interface AssetRemoteytd - zero out this Asset's year-to-date cost?total - zero out this Asset's total cost?MXExceptionjava.rmi.RemoteExceptionAsset.zeroCosts(boolean ytd,boolean total)public void setItemNum(java.lang.String newItem,
java.lang.String itemSetID,
java.lang.String conditionCode)
throws MXException,
java.rmi.RemoteException
setItemNum in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.setItemNum(String newItem, String itemSetID, String conditionCode)public void appendDescription(java.lang.String descSpec)
throws MXException,
java.rmi.RemoteException
descSpec - the numvalue/alnvalue + measureunitid/abbreviation from one AssetSpec objectMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote generateAssetSpec() throws java.rmi.RemoteException, MXException
generateAssetSpec in interface AssetRemotejava.rmi.RemoteExceptionMXExceptionAsset.generateAssetSpec()public void clearClassification()
throws java.rmi.RemoteException,
MXException
clearClassification in interface AssetRemotejava.rmi.RemoteExceptionMXExceptionAsset.clearClassification()protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class MboMboValueInfo - object of the MboValue that needs to be copied.java.rmi.RemoteExceptionMXExceptionAsset.loadSkipFieldCopyHashSet()public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Related objects that will also be duplicated are:
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpsdi.mbo.Mbo#isAutoKeyed.public void copySpareParts(MboSetRemote spareParts) throws MXException, java.rmi.RemoteException
copySpareParts in interface AssetRemotespareParts - Spare Part Mbo Set to copy to this Asset object. Only those MBOs that have been selected will
be copied.MXExceptionjava.rmi.RemoteExceptionpsdi.mbo.MboSet#copy(MboSetRemote, String, String)public void initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
throws MXException,
java.rmi.RemoteException
initRelationship in class MborelationName - The relationship name of the related MboSet which need to initialize.mboSet - The related MboSet which need to initialize.MXExceptionjava.rmi.RemoteExceptionSafetyLexiconSet.setThisRelationName(java.lang.String)public void validateAssetSite(java.lang.String asset_type,
java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
validateAssetSite in interface AssetRemoteassettype - Asset type, parent or child , used in error messagesiteid - New site specified by the userMXApplicationException("asset","assetsiteexists") - if the asset does exists in the given siteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#validateAssetSite()public void checkForAssetSite(java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
checkForAssetSite in interface AssetRemotesiteid - New site specified by the userMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#checkForAssetSite()public void checkForChildrenAssetSite(java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
checkForChildrenAssetSite in interface AssetRemotesiteid - Site specified by the userMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#checkForChildrenAssetSite()public void checkForNewAssetSite(boolean replaceAssetFlag)
throws MXException,
java.rmi.RemoteException
checkForNewAssetSite in interface AssetRemotereplaceAssetFlag - Indicates if it is replace assetMXExceptionjava.rmi.RemoteExceptionAsset.checkForNewAssetSite(boolean replaceAssetFlag)public void setWoNumAssetMv(java.lang.String wonum)
throws MXException,
java.rmi.RemoteException
wonum - Workorder number where asset is movedMXExceptionjava.rmi.RemoteExceptionpublic void setPoNumAssetMv(java.lang.String ponum)
throws MXException,
java.rmi.RemoteException
ponum - Purchase order number where asset is movedMXExceptionjava.rmi.RemoteExceptionprotected Asset setAssetLocationNull(java.lang.String oldSiteId) throws MXException, java.rmi.RemoteException
oldSiteId - Siteid of the asset to be moved, required when asset is moved back to the previous siteMXExceptionjava.rmi.RemoteExceptionprotected void createAssetTransNewLocNull(boolean assetChild)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void checkWOPOPRStatus()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean getClearDupSeqNumsOnMeterGroupChange()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkForDuplicateMeterSequenceValues()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void rollMaintHierarchyToAllChildren(boolean mainthierchy)
throws MXException,
java.rmi.RemoteException
mainthierchy - MXExceptionjava.rmi.RemoteExceptionprotected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory in class StatefulMboMXExceptionjava.rmi.RemoteExceptionprotected StatusHandler getStatusHandler()
getStatusHandler in class StatefulMbopublic java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void canChangeStatus(java.lang.String changeToStatus,
long accessModifier)
throws MXException,
java.rmi.RemoteException
canChangeStatus in class StatefulMbochangeToStatus - The new desired status. This is the translated status (that is, the status code as it would
have been entered by a user, or valuelist.value), not the internal status value (
valuelist.maxvalue).accessModifier - If set to NOACCESSCHECK, allows status changes when not normally allowed.MXException - Thrown if the status cannot be changed.java.rmi.RemoteExceptionpublic void changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus)
throws MXException,
java.rmi.RemoteException
changeStatus in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.changeStatus(java.lang.String,boolean,boolean,boolean,boolean)public void changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs,
LocationRemote topLevelLocationOnStatusChangeFromLocStatChangeRollDown)
throws MXException,
java.rmi.RemoteException
status - New statusrollToAllChildren - Flag indicate if the status is rolled to all childrenremoveFromActiveRoutes - Flag indicates if asset reference from all active routes need to be removedremoveFromActiveSP - Flag indicates if asset reference from all active safety plans need to be removedchangePMStatus - Flag indicates if asset reference from all active PM need to be removedchangedStatusPMs - Hashtable with the PM's whose status is changedtopLevelLocationOnStatusChangeFromLocStatChangeRollDown - top-level location on location status change that is
rolled down the location hierarchy and to any asset hierarchies in the locations. This top-level location is used to
keep track of the asset status changes for the entire hierarchy via
Location.trackStatusChangedAssetInLocations(long) and
{@link psdi.app.location.Location#hasAssetStatusChangedAlready(long)MXExceptionjava.rmi.RemoteExceptionLocation.trackStatusChangedAssetInLocations(long),
Location.hasAssetStatusChangedAlready(long)public void changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs)
throws MXException,
java.rmi.RemoteException
changeStatus in interface AssetRemotestatus - New statusrollToAllChildren - Flag indicate if the status is rolled to all childrenremoveFromActiveRoutes - Flag indicates if asset reference from all active routes need to be removedremoveFromActiveSP - Flag indicates if asset reference from all active safety plans need to be removedchangePMStatus - Flag indicates if asset reference from all active PM need to be removedchangedStatusPMs - Hashtable with the PM's whose status is changedMXExceptionjava.rmi.RemoteExceptionAsset.changeStatus(java.lang.String,boolean,boolean,boolean,boolean,java.util.Hashtable)protected void deletePMForecast()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isActiveRoutes()
throws MXException,
java.rmi.RemoteException
isActiveRoutes in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.isActiveRoutes()public boolean isActiveSP()
throws MXException,
java.rmi.RemoteException
isActiveSP in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.isActiveSP()public boolean isActivePM()
throws MXException,
java.rmi.RemoteException
isActivePM in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.isActivePM()protected void rollStatusToAllChildren(java.lang.String status,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs,
LocationRemote topLevelLocationOnStatusChangeFromLocStatChangeRollDown)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void rollStatusToAllChildren(java.lang.String status,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus,
java.util.Hashtable changedStatusPMs)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void removeReferenceFromActiveRoutes()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void removeReferenceFromActiveSP()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void changeStatusPMStatus(java.util.Hashtable changedStatusPMs)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic Asset createAssetToBeMoved() throws MXException, java.rmi.RemoteException
AssetSetRemote.MOVEDASSET.
When an asset is moved from a site, the asset record is not deleted. Its status is set to DECOMMISSIONED and its ASSET.MOVED flag is set to true. When the asset returns to the site, the ASSET.MOVED flag is set to false and the status is changed to NOT READY.
MXExceptionjava.rmi.RemoteExceptionpublic void setValuesForMboSet(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
mboSet - MboSetMXExceptionjava.rmi.RemoteExceptionpublic void validateMoveAcrossOrg(java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
validateMoveAcrossOrg in interface AssetRemoteMXApplicationException("asset","notAcrossOrg")MXExceptionjava.rmi.RemoteExceptionAsset.validateMoveAcrossOrg(String siteid)public boolean validateCopySpecAcrossOrgSite(java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
siteid - New siteMXExceptionjava.rmi.RemoteExceptionpublic void setAssetAttributesForWO()
throws MXException,
java.rmi.RemoteException
setAssetAttributesForWO in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.setAssetAttributesForWO()public void setAssetAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet) throws MXException, java.rmi.RemoteException
setAssetAttributesForWO in interface AssetRemoteautoAttrUpdateSet - autoattrupdateSet for a given workorder and assetMXExceptionjava.rmi.RemoteExceptionAsset.setAssetAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet)public java.util.List getWarrantyInfo(java.util.Date woDate,
boolean isParent)
throws MXException,
java.rmi.RemoteException
getWarrantyInfo in interface AssetRemoteDate - woDate date warranty applis toisParent - true if is a parent assetMXExceptionjava.rmi.RemoteExceptionAsset.getWarrantyInfo(Date, boolean)public java.util.List getWarrantyInfo(java.util.Date woDate,
boolean isParent,
java.lang.String type)
throws MXException,
java.rmi.RemoteException
Date - woDate date warranty applis toisParent - true if is a parent assetMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getParentAsset(java.util.Date date) throws MXException, java.rmi.RemoteException
Date - when the asset has the parentMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getRootParent() throws MXException, java.rmi.RemoteException
getRootParent in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getRootParent()protected void setAncestorForChildren(MboRemote rootParent) throws MXException, java.rmi.RemoteException
rootParent - This asset's root parent.MXExceptionjava.rmi.RemoteExceptionpublic void assetMoved()
throws MXException,
java.rmi.RemoteException
assetMoved in interface AssetRemoteMXApplicationException - (movedAsset) thrown if the asset is movedMXExceptionjava.rmi.RemoteExceptionAsset.assetMoved()public void childInBundle()
throws MXException,
java.rmi.RemoteException
childInBundle in interface AssetRemoteMXApplicationException - (movedAsset) thrown if the asset is the child and is part of hierarchyMXExceptionjava.rmi.RemoteExceptionAsset.childInBundle()public void addMoreAssetsToSet(MboSetRemote selectedMoreMboSet, MboSetRemote selectedMboSet) throws java.rmi.RemoteException, MXException
addMoreAssetsToSet in interface AssetRemoteselectedMoreMboSet - the more selected assetsselectedMboSet - the selected assetsjava.rmi.RemoteExceptionMXExceptionpsdi.app.asset.Asset#addMoreAssetsToSet()public void hasMeters()
throws MXException,
java.rmi.RemoteException
hasMeters in interface AssetRemoteMXApplicationException - (noMeterForAsset) thrown if the asset does not have metersMXExceptionjava.rmi.RemoteExceptionAsset.hasMeters()public void hasReadings()
throws MXException,
java.rmi.RemoteException
hasReadings in interface AssetRemoteMXApplicationException - (noReadingsForAsset) thrown if the asset does not have readingsMXExceptionjava.rmi.RemoteExceptionAsset.hasReadings()protected void validateInventoryExists(java.lang.String location)
throws MXException,
java.rmi.RemoteException
location - Location of asset or the newlocation of the assetMXApplicationException - (noInventory) thrown if there is no inventoryMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getIssueUnitForItem(java.lang.String location)
throws MXException,
java.rmi.RemoteException
getIssueUnitForItem in interface AssetRemotelocation - Location of asset or the newlocation of the assetMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#getIssueUnitForItem()protected java.lang.String getIssueUnitForItem(java.lang.String location,
java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
location - Location of asset or the newlocation of the assetsiteid - siteid of the locationMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getLeaseContractForAsset() throws MXException, java.rmi.RemoteException
getLeaseContractForAsset in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getLeaseContractForAsset()public MboSetRemote getWarrantyContractForAsset() throws MXException, java.rmi.RemoteException
getWarrantyContractForAsset in interface AssetRemoteassetId - - The asset identifier.MXExceptionjava.rmi.RemoteExceptionAsset.getWarrantyContractForAsset()public MboSetRemote getPurchaseContractForAsset() throws MXException, java.rmi.RemoteException
getPurchaseContractForAsset in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getPurchaseContractForAsset()public MboSetRemote getWarranty() throws MXException, java.rmi.RemoteException
getWarranty in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getWarranty()public void autoWogen()
throws MXException,
java.rmi.RemoteException
autoWogen in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.autoWogen()public void autoWogen(MboRemote assetMeter) throws MXException, java.rmi.RemoteException
autoWogen in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.autoWogen(MboRemote)protected void blindCopyFromMboToMbo(AssetRemote mbo) throws MXException, java.rmi.RemoteException
mbo - cloned mboMXExceptionjava.rmi.RemoteExceptionprotected void copyAssetClassVariables(Asset tempAsset) throws MXException, java.rmi.RemoteException
tempAsset - assetMXExceptionjava.rmi.RemoteExceptionpublic void setDefaults(java.lang.String siteid,
java.lang.String storeloc)
throws MXException,
java.rmi.RemoteException
setDefaults in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#setDefaults()public java.lang.String getDefSiteId()
throws MXException,
java.rmi.RemoteException
getDefSiteId in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getDefSiteId()public java.lang.String getDefStoreloc()
throws MXException,
java.rmi.RemoteException
getDefStoreloc in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getDefStoreloc()public void createTicket(MboRemote tkMbo) throws MXException, java.rmi.RemoteException
createTicket in interface AssetRemoteThe - ticket mbo inserted for this asset.MXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#createTicket()public void createWO(MboRemote workorderMbo) throws MXException, java.rmi.RemoteException
createWO in interface AssetRemoteThe - workorder mbo inserted for this assetMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#createWorkorder()public void copyAssetToCollectDetailsSet(MboSetRemote collectionSet) throws MXException, java.rmi.RemoteException
copyAssetToCollectDetailsSet in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#copyAssetToCollectDetailsSet()public MboRemote createWorkorder(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createWorkorder in interface AppActionInterfacejpnum - -job plan need be apply to the new work orderMXExceptionjava.rmi.RemoteExceptionpublic MboRemote createChange(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createChange in interface AppActionInterfacejpnum - Parameter that refers to a job plan, based on which the change is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createRelease(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createRelease in interface AppActionInterfacejpnum - Parameter that refers to a job plan, based on which the release is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createServiceRequest(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createServiceRequest in interface AppActionInterfacetickettemplateid - Parameter that refers to a ticket template, based on which the service request is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createProblem(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createProblem in interface AppActionInterfacetickettemplateid - Parameter that refers to a ticket template, based on which the problem is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createIncident(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createIncident in interface AppActionInterfacetickettemplateid - Parameter that refers to a ticket template, based on which the incident is created.MXExceptionjava.rmi.RemoteExceptionprotected void startMeasure()
throws MXException,
java.rmi.RemoteException
assetfeatureMbo - AssetFeature mboassetFeatureHistMbo - AssetFeatureHist mboassetFeatureSpecMbo - AssetFeatureSpec mboassetMeterMbo - AssetMeter mboassetSpecMbo - AssetSpec mboassetSpecHistMbo - AssetSpecHist mbomeasurementMbo - Measurement mbometerReadingMbo - MeterReading mbomultiAssetLocCIMbo - MultiAssetLocCI mbopmMbo - PM mboMXApplicationException("asset", - "startendmeasure_boundviolation",params) thrown if there is
StartMeasure and EndMeasure bound violation.MXExceptionjava.rmi.RemoteExceptionprotected void endMeasure()
throws MXException,
java.rmi.RemoteException
assetfeatureMbo - AssetFeature mboassetFeatureHistMbo - AssetFeatureHist mboassetFeatureSpecMbo - AssetFeatureSpec mboassetMeterMbo - AssetMeter mboassetSpecMbo - AssetSpec mboassetSpecHistMbo - AssetSpecHist mbomeasurementMbo - Measurement mbometerReadingMbo - MeterReading mbomultiAssetLocCIMbo - MultiAssetLocCI mbopmMbo - PM mboMXApplicationException("asset", - "startendmeasure_boundviolation",params) thrown if there is
StartMeasure and EndMeasure bound violation.MXExceptionjava.rmi.RemoteExceptionpublic void copyAdditionalPMAttributes(MboRemote copyToMbo, MboRemote copyFromMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateRelatedCI(java.lang.String newlocation,
java.lang.String newsite,
java.lang.String newassetnum,
boolean isChild,
java.lang.String ChangeBy,
java.lang.String ChangeDate)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void copyAssetSpecToAssetSpec(MboRemote newAsset) throws MXException, java.rmi.RemoteException
newAsset - MXExceptionjava.rmi.RemoteExceptionpublic void setInCopyingAssetSpecReceiveRotating(boolean inCopying)
throws MXException,
java.rmi.RemoteException
toCallSuperInAdd - MXExceptionjava.rmi.RemoteExceptionpublic boolean getInCopyingAssetSpecReceiveRotating()
throws MXException,
java.rmi.RemoteException
toCallSuperInAdd - MXExceptionjava.rmi.RemoteExceptionpublic void setRememberToClearAssesInHash(boolean remberToClear)
throws MXException,
java.rmi.RemoteException
malcSet - java.rmi.RemoteExceptionMXExceptionpublic void notifyAssetSpecValueChanged(boolean valueChanged)
throws MXException,
java.rmi.RemoteException
valueChanged - MXExceptionjava.rmi.RemoteExceptionpublic boolean isAssetSpecSetModified()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote duplicateCalAsset(MboRemote newAssetRemote) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void setCalibrationAssetAttrFlags()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void canToggleIsCalibration()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setPhysicalLoc()
throws MXException,
java.rmi.RemoteException
setPhysicalLoc in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void querySpotChecks(MboSetRemote plusWOSet, java.util.Date fromDate, java.util.Date toDate) throws MXException, java.rmi.RemoteException
querySpotChecks in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void queryDataSheets(PlusCWODSSetRemote woDsSet, boolean loopCalibrations, java.util.Date fromDate, java.util.Date toDate) throws java.rmi.RemoteException, MXApplicationException, MXException
queryDataSheets in interface AssetRemotewoDsSet - WO DS set whose where clause will be changedloopCalibrations - whether to select loop or normal calibrationsfromDate - start date to be used when filtering resultstoDate - end date to be used when filtering resultsjava.rmi.RemoteExceptionMXApplicationExceptionMXExceptionpublic void queryToolWoActuals(MboSetRemote plusWoSet, java.util.Date fromDate, java.util.Date toDate) throws MXException, java.rmi.RemoteException
queryToolWoActuals in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote viewDataSheets(MboRemote newDS) throws MXException, java.rmi.RemoteException
viewDataSheets in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void validateOperatingRange()
throws MXException,
java.rmi.RemoteException
validateOperatingRange in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.util.Date calculateNextCalDueDate()
throws MXException,
java.rmi.RemoteException
calculateNextCalDueDate in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic LocationRemote getTagLocation() throws java.rmi.RemoteException, MXException
getTagLocation in interface AssetRemotenull otherwise.java.rmi.RemoteExceptionMXExceptionpublic java.lang.String[] getAssetBeingReplacedByThisInSwap()
public void setAssetBeingReplacedByThisInSwap(java.lang.String[] assetBeingReplacedByThisInSwap)
assetBeingReplacedByThisInSwap - the assetBeingReplacedByThisInSwap to setpublic boolean hasServiceAddress()
throws MXException,
java.rmi.RemoteException
hasServiceAddress in interface AddressableMboMXExceptionjava.rmi.RemoteExceptionpublic void saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
throws MXException,
java.rmi.RemoteException
GISablesaveGISData in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic boolean isGISDataReadonly()
throws MXException,
java.rmi.RemoteException
GISableisGISDataReadonly in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getLatitudeY()
throws MXException,
java.rmi.RemoteException
GISablegetLatitudeY in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getLongitudeX()
throws MXException,
java.rmi.RemoteException
GISablegetLongitudeX in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getAddressString()
throws MXException,
java.rmi.RemoteException
GISablegetAddressString in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
getMboSet in interface MboRemotegetMboSet in class Mboname - The relationship provided to retrieve a
related mboSet, usually using foreign keys.
For example,
"psdi.app.workorder.WOSetRemote.ASSET" is
a relationship for the work order object to
access the asset Set where
"workorder.assetnum=asset.assetnum". The relationship can
also be chained. Such as ASSET.ASSETSTATUS.MXException - "A relationship called {0} does not exist
for the {1} business object" exception
will be thrown if the relationship was not
found.
"Unknown Object" exception will be thrown
if the database object can not be
found through the relationship.java.rmi.RemoteExceptionMbo.getMboSet(String)public ServiceAddressRemote getServiceAddress() throws MXException, java.rmi.RemoteException
getServiceAddress in interface AddressableMboMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getAutoLocateObject(AutoLocatable nextInChain) throws MXException, java.rmi.RemoteException
AutoLocatablegetAutoLocateObject in interface AutoLocatableMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic MboRemote getAutoLocateObject() throws MXException, java.rmi.RemoteException
AutoLocatablegetAutoLocateObject in interface AutoLocatableMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic java.lang.Boolean hasCoords()
throws MXException,
java.rmi.RemoteException
GISablehasCoords in interface GISableMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic java.lang.Double getLocationAccuracy()
throws MXException,
java.rmi.RemoteException
getLocationAccuracy in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getAltitude()
throws MXException,
java.rmi.RemoteException
getAltitude in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getAltitudeAccuracy()
throws MXException,
java.rmi.RemoteException
getAltitudeAccuracy in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getHeading()
throws MXException,
java.rmi.RemoteException
getHeading in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getLastUpdate()
throws MXException,
java.rmi.RemoteException
getLastUpdate in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getSpeed()
throws MXException,
java.rmi.RemoteException
getSpeed in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic void saveLBSData(java.lang.Double lat,
java.lang.Double lng,
java.lang.Double locationAccuracy,
java.lang.Double altitudeAccuracy,
java.lang.Double altitude,
java.lang.Double heading,
java.lang.Double speed)
throws MXException,
java.rmi.RemoteException
saveLBSData in interface LBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getLBSLatitudeY()
throws MXException,
java.rmi.RemoteException
CombinedLBSgetLBSLatitudeY in interface CombinedLBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getLBSLongitudeX()
throws MXException,
java.rmi.RemoteException
CombinedLBSgetLBSLongitudeX in interface CombinedLBSMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getPeriodTypeValue()
throws MXException,
java.rmi.RemoteException
getPeriodTypeValue in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getPeriodTypeValue()public MboRemote createNewDepreciation() throws MXException, java.rmi.RemoteException
createNewDepreciation in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.createNewDepreciation()public void swapDepreciationSchedule()
throws java.rmi.RemoteException,
MXException
swapDepreciationSchedule in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void swapDepreciationScheduleValidate()
throws MXException,
java.rmi.RemoteException
swapDepreciationScheduleValidate in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void managePMMeterTallyOnMeterDeleteUndelete(MboRemote pmMeter, java.lang.String action) throws MXException, java.rmi.RemoteException
managePMMeterTallyOnMeterDeleteUndelete in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.managePMMeterTallyOnMeterDeleteUndelete(MboRemote,String)public int getPMMeterTally(MboRemote pmMeter) throws MXException, java.rmi.RemoteException
getPMMeterTally in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.getPMMeterTally(MboRemote)protected java.lang.Double getTotalMeterLifeToDate(java.lang.String meterName)
throws java.rmi.RemoteException,
MXException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.Double getCurrentMeterLife(java.lang.String meterName)
throws java.rmi.RemoteException,
MXException
getCurrentMeterLife in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#getCurrentMeterLife()public java.lang.Double getDepreciationCurrentValue()
throws java.rmi.RemoteException,
MXException
getDepreciationCurrentValue in interface AssetRemotejava.rmi.RemoteExceptionMXExceptionAsset.getDepreciationCurrentValue()public MboRemote createDepreciationScheduleBasedOnItemFromMatrecTrans(java.lang.String itemNum, java.lang.String itemSetId, MboRemote matrecTrans) throws MXException, java.rmi.RemoteException
createDepreciationScheduleBasedOnItemFromMatrecTrans in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.createDepreciationScheduleBasedOnItemFromMatrecTrans( String itemNum, String itemSetId, MboRemote matrecTrans)public void createDepreciationScheduleBasedOnItem(MboRemote itemMbo) throws MXException, java.rmi.RemoteException
createDepreciationScheduleBasedOnItem in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionAsset.createDepreciationScheduleBasedOnItem(MboRemote itemMbo)public static void cleanupAssetsMap()
public boolean hasAssetSpecBeenCreated()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setAssetSpecCreated(boolean created)
throws MXException,
java.rmi.RemoteException
created - MXExceptionjava.rmi.RemoteExceptionpublic void changeMaxStatus(java.lang.String internalStatus,
java.util.Date date,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
changeMaxStatus in interface StatefulMboRemotechangeMaxStatus in class StatefulMbodate - The effective date of the new status (java.util.Date).memo - A string briefly describing the circumstances of the change. The
memo can be null.MXException - Thrown if there is a problem, or the status cannot be changed,
as determined by canChangeStatus(String).java.rmi.RemoteExceptionStatefulMbo.changeStatus(String,java.util.Date,String,long)public void assetInTransit()
throws MXException,
java.rmi.RemoteException
AssetRemoteassetInTransit in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getAutolocateGeometry()
throws MXException,
java.rmi.RemoteException
getAutolocateGeometry in interface AutoLocatableMXExceptionjava.rmi.RemoteException