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
|
boolean |
createNewAssetNum
Flag is set in checkNewAssetSite(), is used to set field 'NewAssetNum' to read/write
|
static java.util.Vector |
invBalVector
Deprecated.
|
static java.util.Vector |
inventoryVector
Deprecated.
|
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, phantomQueueADDRESSABLE_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 |
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).
|
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.
|
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.
|
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 |
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
|
void |
childInBundle()
Determines if the asset is the child and is part of hierarchy, throws exception if it is.
|
void |
clearClassification()
This method clears the classtructureid and delete assetspec
|
void |
copyAdditionalPMAttributes(MboRemote copyToMbo,
MboRemote copyFromMbo) |
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()
Creates asset to be moved
|
MboRemote |
createAssetTrans()
Create AssetTrans to record the creating of asset at a location or has a parent
|
MboRemote |
createChange(java.lang.String jpnum)
creates a Workorder with WOCLASS=CHANGE from Asset.
|
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 |
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
|
MboRemote |
duplicate()
duplicates Asset and related objects.
|
MboRemote |
duplicateCalAsset(MboRemote newAssetRemote) |
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.
|
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.
|
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.String |
getDefSiteId()
Get the value for default siteid
|
java.lang.String |
getDefStoreloc()
Get the value for default Storeloc
|
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.
|
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.
|
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() |
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.
|
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<Mbo> |
getWarrantyInfo(java.util.Date woDate,
boolean isParent)
For a given date, get warranty information for this asset
|
java.util.List<Mbo> |
getWarrantyInfo(java.util.Date woDate,
boolean isParent,
java.lang.String type)
For a given date, get warranty information for this asset
|
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 |
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
|
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
|
boolean |
isRotating()
checks if this Asset object is rotating
|
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.
|
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
|
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.
|
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.
|
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) |
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.
|
void |
setAssetnumOnRelated()
when assigning a value for assetnum while applying an Item Assembly Structure (IAS), propagate that value to
related mbos.
|
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'.
|
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.
|
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.
|
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
|
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, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeletecanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionpublic 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
public boolean sameAssetMovedBackForAssetMove
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
public boolean rollStatusToChildren
public Asset(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic 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.RemoteExceptionpublic void updateDesc()
throws MXException,
java.rmi.RemoteException
updateDesc in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionupdateDesc()public void save()
throws MXException,
java.rmi.RemoteException
MXApplicationException("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.RemoteExceptioncreateAssetTrans()public MboRemote createMatRecTrans() throws MXException, java.rmi.RemoteException
createMatRecTrans in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptioncreateMatRecTrans()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)public 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.RemoteExceptionisInventoryTypeLocation()public boolean isInventoryLocation()
throws MXException,
java.rmi.RemoteException
isInventoryLocation in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isDecommissionedLocation()
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()public void createHistoryForWorkOrder(java.lang.String wonum)
throws MXException,
java.rmi.RemoteException
createHistoryForWorkOrder in interface AssetRemotewonum - MXExceptionjava.rmi.RemoteExceptioncreateHistoryForWorkOrder(String wonum)public void setChildren(boolean value)
throws MXException,
java.rmi.RemoteException
setChildren in interface AssetRemotevalue - - boolean valueMXExceptionjava.rmi.RemoteExceptionsetChildren(boolean value)public boolean isRotating()
throws MXException,
java.rmi.RemoteException
isRotating in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionisRotating()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.RemoteExceptionrecordAssetStatusChange(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.RemoteExceptionreportDowntime(MboRemote woMbo, Date startDate, Date endDate, double hoursDown, String code, boolean operational)public 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 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.RemoteExceptionissueAsset(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.RemoteExceptionreturnAsset(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.RemoteExceptionmoveAssetWithinNonInventory(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.RemoteExceptionmoveAssetWithinNonInventory(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.RemoteExceptionmoveAssetWithinInventory(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.RemoteExceptionmoveAssetWithinInventoryAcrossOrgFromHolding(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.RemoteExceptionincrInvCost(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.RemoteExceptionshowHierarchy()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.RemoteExceptionalreadyAppliedIAS()public void canApplyIAS()
throws MXException,
java.rmi.RemoteException
canApplyIAS in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptioncanApplyIAS()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.RemoteExceptionapplyIAS(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.RemoteExceptionisAssetBeingCreatedViaApplyIAS()public MboSetRemote applyIASGenPMs(boolean autokey) throws MXException, java.rmi.RemoteException
applyIASGenPMs in interface AssetRemoteautokey - true to autokey the new pms.MXExceptionjava.rmi.RemoteExceptionapplyIASGenPMs(boolean autokey)public MboSetRemote applyIASGenSpareParts(MboSetRemote itemStructSet) throws MXException, java.rmi.RemoteException
applyIASGenSpareParts in interface AssetRemoteautokey - true to autokey the new pms.MXExceptionjava.rmi.RemoteExceptionapplyIASGenSpareParts(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.RemoteExceptionautoKeyAll(boolean doChildren)public void setAssetnumOnRelated()
throws MXException,
java.rmi.RemoteException
setAssetnumOnRelated in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionsetAssetnumOnRelated()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.RemoteExceptionautoKeyAssetnumForChildSet(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.RemoteExceptionautoKeyPmnumForSet(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.RemoteExceptionacceptMyNewSet(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.RemoteExceptiongetMyParent()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.RemoteExceptiongetChild(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.RemoteExceptionzeroCosts(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.RemoteExceptionsetItemNum(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.RemoteExceptionMXExceptiongenerateAssetSpec()public void clearClassification()
throws java.rmi.RemoteException,
MXException
clearClassification in interface AssetRemotejava.rmi.RemoteExceptionMXExceptionclearClassification()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.RemoteExceptioncheckForNewAssetSite(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.RemoteExceptionpublic boolean getClearDupSeqNumsOnMeterGroupChange()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkForDuplicateMeterSequenceValues()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic 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.RemoteExceptionchangeStatus(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)
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.RemoteExceptionchangeStatus(java.lang.String,boolean,boolean,boolean,boolean,java.util.Hashtable)public boolean isActiveRoutes()
throws MXException,
java.rmi.RemoteException
isActiveRoutes in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionisActiveRoutes()public boolean isActiveSP()
throws MXException,
java.rmi.RemoteException
isActiveSP in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionisActiveSP()public boolean isActivePM()
throws MXException,
java.rmi.RemoteException
isActivePM in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionisActivePM()public Asset createAssetToBeMoved() throws MXException, java.rmi.RemoteException
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.RemoteExceptionvalidateMoveAcrossOrg(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.RemoteExceptionsetAssetAttributesForWO()public void setAssetAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet) throws MXException, java.rmi.RemoteException
setAssetAttributesForWO in interface AssetRemoteautoAttrUpdateSet - autoattrupdateSet for a given workorder and assetMXExceptionjava.rmi.RemoteExceptionsetAssetAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet)public java.util.List<Mbo> 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.RemoteExceptiongetWarrantyInfo(Date, boolean)public java.util.List<Mbo> 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.RemoteExceptiongetRootParent()public void assetMoved()
throws MXException,
java.rmi.RemoteException
assetMoved in interface AssetRemoteMXApplicationException - (movedAsset) thrown if the asset is movedMXExceptionjava.rmi.RemoteExceptionassetMoved()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.RemoteExceptionchildInBundle()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.RemoteExceptionhasMeters()public void hasReadings()
throws MXException,
java.rmi.RemoteException
hasReadings in interface AssetRemoteMXApplicationException - (noReadingsForAsset) thrown if the asset does not have readingsMXExceptionjava.rmi.RemoteExceptionhasReadings()public 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()public MboSetRemote getLeaseContractForAsset() throws MXException, java.rmi.RemoteException
getLeaseContractForAsset in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptiongetLeaseContractForAsset()public MboSetRemote getWarrantyContractForAsset() throws MXException, java.rmi.RemoteException
getWarrantyContractForAsset in interface AssetRemoteassetId - - The asset identifier.MXExceptionjava.rmi.RemoteExceptiongetWarrantyContractForAsset()public MboSetRemote getPurchaseContractForAsset() throws MXException, java.rmi.RemoteException
getPurchaseContractForAsset in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptiongetPurchaseContractForAsset()public MboSetRemote getWarranty() throws MXException, java.rmi.RemoteException
getWarranty in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptiongetWarranty()public void autoWogen()
throws MXException,
java.rmi.RemoteException
autoWogen in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionautoWogen()public void autoWogen(MboRemote assetMeter) throws MXException, java.rmi.RemoteException
autoWogen in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptionautoWogen(MboRemote)public 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.RemoteExceptiongetDefSiteId()public java.lang.String getDefStoreloc()
throws MXException,
java.rmi.RemoteException
getDefStoreloc in interface AssetRemoteMXExceptionjava.rmi.RemoteExceptiongetDefStoreloc()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.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.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.RemoteException