public class Location extends StatefulMbo implements LocationRemote, HierarchicalMboRemote, AddressableMbo
This is a site level object.
The key attributes for this object are SiteId and Location.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
BillToAddressCode
| Default bill to address code for storerooms only. |
BillToLaborCode
| Default bill to labor code for storerooms only. |
CalNum
| Non-persistent attribute used to maintain LocOper.CalNum through the Location object. For operating locations
only. See the CalNum attribute defined in LocOper for more information.
|
| ChangeBy, ChangeDate | Name of the user who last updated this object and date of last change. |
ClassStructureId
| Identifier of the class structure associated with this location.
|
ControlAcc
| Inventory Control Account. Used to track the material issues and receipts for the location. When receving an item, this account is debited. When issuing an item, this account is credited. For STOREROOM, LABOR, and COURIER types of locations only. |
CurVarAcc
| Currency Variance Account. Used to track the differences between the receipt price and the invoice price that result from changes in the exchange rate. This account is paired with the inventory control account; when the currency variance account's value decreases, the inventory control account's value decreases. For storeroom locations only. Tracked by storeroom location, not by item. |
| Description | Description of the location. Long description enabled. |
| Disabled | Indicates whether or not the location is disabled. |
FailureCode
| Non-persistent attribute used to maintain LocOper.FailureCode through the Location object. For operating
locations only. See the FailureCode attribute defined in LocOper for more
information.
|
| GISParam1 thru GISParam3 | Unused attributes. Will be removed in a future release. |
GLAccount
| General Ledger Account. Used to track expenses for this location. |
InvCostAdjAcc
| Inventory Cost Adjustment Account. Used to track changes in either the average price or the standard price, resulting from using the Adjust Average Cost and Adjust Standard Cost actions, respectively. For storeroom locations only. Tracked by storeroom location, not by item. |
InvoiceVarAcc
| Invoice Variance Account. Used to track variances in the price, expressed in the vendor's currency, between receipt and invoice for the location. The transaction amount is positive when the invoice line cost is greater than the receipt cost. For storeroom locations only. Tracked by storeroom location, not by item. |
ItemNum
| Non-persistant attribute used to maintain LocOper.ItemNum through the Location object. For operating locations
only. See the ItemNum attribute defined in LocOper for more information.
|
| LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
Location
| The identifier for the location. |
LocPriority
| Non-persistent attribute used to maintain LocOper.LocPriority through the Location object. For operating
locations only. See the LocPriority attribute defined in LocOper for more
information.
|
NewPercent
| Non-persistent attribute to maintain LocLeadTime.NewpPrcent through the Location object. For storeroom locations
only. See the NewPercent attribute defined in LocLeadTime for more
information.
|
OldControlAcc
| Last Inventory/Transit Control Account. See ControlAcc. |
OldInvCostAdjAcc
| Last Inventory Cost Adjustment Account. See InvCostAdjAcc. |
OldShrinkageAcc
| Last Shrinkage Cost Account. See ShrinkageAcc. |
OrgId
| Identifier of the organization for this location.
|
Parent
| Non-persistent attribute used to maintain LocHierarchy.Parent through the Location object. This column is used
mainly for the insert of a new operating location. See the Parent attribute defined in
LocHierarchy for more information.
|
PurchVarAcc
| Purchasing Variance Account. Used to track variances in purchasing costs for items, resulting from differences between the PO and receipt costs. Not used for any MAXIMO transaction as the business rule requires receipt costs be the same as the PO costs. |
ReceiptVarAcc
| Receipt Variance Account. Used to track inventory standard receipt adjustment transactions, resulting from differences between the inventory standard cost and the receipt cost. For standard costing and storeroom locations only. Tracked by storeroom location, not by item. |
ShipToAddressCode
| Default ship to address code for storerooms only. |
ShipToLaborCode
| Default ship to labor code for storerooms only. |
ShrinkageAcc
| Shrinkage Account. Used to track current balance adjustment transactions. The transaction is positive when the actual inventory quantity is greater than the MAXIMO-calculated current balance. For storeroom locations only. |
SiteId
| Identifier of the site for this location.
|
Status
| Attribute used to maintain status. |
SystemId
| Non-persistent attribute used to interact with LocHierarchy.Systemid. This column represents the
system the location is currently associated with. For operating locations only.
Although an operating location can belong to multiple systems, the SystemId here represents the current system the
user has selected.
|
Type
| The type of location such as Operating, Storeroom, Repair, etc. Validated against the ValueList table where value list name is LOCTYPE. |
WarrentyExpDate
| Non-persistent attribute used to maintain LocOper.WarrentyExpDate through the Location object. For operating
locations only. See the WarrentyExpDate attribute defined in LocOper for more
information.
|
| ExternalRefId, OwnerSysId, SourceSysId,SenderSysId | Columns used by the MAXIMO E-commerce Adaptor (MEA). |
LocHierarchy,
LocAncestor,
LocSystem,
psdi.app.location.LocAuth,
LocStatus,
LocOper,
LocationSpec| Modifier and Type | Field and Description |
|---|---|
boolean |
dontAppendFlag
Flag is set in transfer in , transfer out page, is used to filter locations in appendToWhere() method
|
boolean |
isDuplicated
Creates a duplicate location with its related objects.
|
onListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, phantomList, phantomQueueSERVICEADDRESSHIERARCHYADDRESSABLE_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| Constructor and Description |
|---|
Location(MboSet ms)
Construct the location object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add a new Location Field defaults are set
|
void |
addLocationsToCollectDetails(java.lang.String collectionNum)
Add Locations to Collections, on a selected list of Location's or a single Location.
|
void |
addMoreLocationsToSet(MboSetRemote selectedMoreMboSet,
MboSetRemote selectedMboSet)
Adds the more selected locations to the existing selected set
|
void |
appendDescription(java.lang.String descSpec)
append the passed description from an LocationSpec to the location.description;need to get classtructure related
description first and only one time.
|
java.lang.Object[] |
applyIAS(boolean autokey)
Apply IAS to this location based on the assembly structure of the item.
|
void |
applyIASAutoNumAll()
Auto key the rotating child locations when apply IAS is being done on this location.
|
MboRemote |
applyIASCreateChild(MboRemote itemStruct,
boolean autokey)
Applies IAS for the location based on the next level rotating item specified in the passed ItemStruct; ie, create
a child location.
|
MboSetRemote |
applyIASGenPMs(boolean autokey)
Applies IAS for the location; create pms if there is master pm for this item.
|
void |
appValidate()
last minute validate before save().
|
void |
authorizeUserStore(java.lang.String user)
Is the specified user allowed to access this store room ?
|
void |
autoWogen() |
void |
autoWogen(MboRemote locationMeter)
For use with meter reading entry via integration, for example, the
Maximo Integration Framework (MIF).
|
boolean |
canApplyIAS()
public method to determine if apply IAS can be performed for this location.
|
boolean |
canAssociateSystem()
Public methed used to determine if a system can be associated with this location.
|
boolean |
canBeUsedAsTagId()
Checks if this location can be used as a tag id.
|
void |
canChangeStatus(java.lang.String changeToStatus,
long accessModifier)
Identifies whether the status of this object be changed to the specified value.
|
void |
canDelete()
Can this Location be deleted ? It can only be deleted where i)there is no reference to this location in related
tables ii)the location, if type is OPERATING, belongs to no more than one system
|
void |
cannotChangeStatus(MboSetRemote msr)
handles error message creation for most of the tables checked in the canChangeStatus method.
|
void |
changeStatus(java.lang.String changedStatus,
java.util.Date asOfDate,
java.lang.String memo,
boolean rolltoallchildren,
boolean removefromallroutes,
boolean rolltoallassets,
boolean removefromalljp,
boolean removefromactivesp,
boolean changepmstatus)
Method to change status from the specified state to a desired state for operating location.
|
void |
changeStatus(java.lang.String status,
java.util.Date asOfDate,
java.lang.String memo,
long accessModifier)
Changes the status of the object.
|
void |
checkForDuplicateMeterSequenceValues() |
void |
clearClassification()
This method clears the classtructureid and delete locationspecs
|
void |
copyInvBalancesSetForTransferIn(MboSetRemote invBalancesSet)
Loops through an InvBalancesSet and creates new MatRecTrans based on the selected rows of the passed
InvBalancesSet.
|
void |
copyInvBalancesSetForTransferOut(MboSetRemote invBalancesSet)
Loops through an InvBalancesSet and creates new MatRecTrans based on the selected rows of the passed
InvBalancesSet.
|
void |
copyInvReserveSetForIssues(MboSetRemote invReserveSet)
Loops an InvReserveSet and create new MatUseTrans based on the selected rows of the passed InvReserveSet.
|
void |
copyInvReserveSetForTransferIn(MboSetRemote invReserveSet)
Loops an InvReserveSet and create new MatRecTrans based on the selected rows of the passed InvReserveSet.
|
void |
copyInvReserveSetForTransferOut(MboSetRemote invReserveSet)
Loops an InvReserveSet and create new MatRecTrans based on the selected rows of the passed InvReserveSet.
|
void |
copyLocationToCollectDetailsSet(MboSetRemote collectionSet)
Add one or multiple Selected Collections to CollectDetails that contains the current Location.
|
void |
copyMatRecTransSetForTransferIn(MboSetRemote matRecTransSet)
Loops through a MatRecTransSet and creates new MatRecTrans based on the selected rows of the passed
MatRecTransSet.
|
void |
copyMatUseTransSetForReturn(MboSetRemote matUseSet)
Loops an MatUseTrans Set(ISSUE type) and create new MatRecTrans(RETURN) based on the selected rows of the passed
MatUseTrans set.
|
void |
copyPOLineSetForTransferIn(MboSetRemote poLineSet)
Loops through a POLineSet and creates new MatRecTrans based on the selected rows of the passed POLineSet.
|
void |
copyPOLineSetForTransferOut(MboSetRemote poLineSet)
Loops through a POLineSet and creates new MatRecTrans based on the selected rows of the passed POLineSet.
|
void |
copySparePartSetForIssues(MboSetRemote sparePartSet)
Loops through the passed SparePartSet and creates a new MatUseTrans based on the selected rows of the passed set.
|
void |
copySparePartSetForTransferIn(MboSetRemote sparePartSet)
Loops through a SparePartSet and creates a new MatRecTrans based on the selected rows of the passed set.
|
void |
copySparePartSetForTransferOut(MboSetRemote sparePartSet)
Loops through a SparePartSet and creates a new MatRecTrans based on the selected rows of the passed set.
|
MboRemote |
createChange(java.lang.String jpnum)
creates a Workorder with WOCLASS=CHANGE from Location.
|
MboRemote |
createIncident(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Incident from Location.
|
MboRemote |
createProblem(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Problem from Location.
|
MboRemote |
createRelease(java.lang.String jpnum)
creates a Workorder with WOCLASS=RELEASE from Location.
|
MboRemote |
createServiceRequest(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Service Request from Location.
|
void |
createTicket(MboRemote tkMbo)
Sets location, reportedpriority,reportedbyid, orgid and siteid values for the ticket mbo based on location.
|
void |
createWO(MboRemote workorderMbo)
Sets location, wopriority,orgid ,siteid and reportedbyid values for the workorder mbo based on location.
|
MboRemote |
createWorkorder(java.lang.String jpnum)
creates a Workorder with WOCLASS=WORKORDER from Location.
|
void |
delete(long access)
Delete the Location record and delete associated records in the other tables.
|
boolean |
doesHoldingLocationExistForSite(java.lang.String siteid) |
MboRemote |
duplicate()
Duplicate method only throws exception now
|
void |
generateAutoKey()
Location supports autokeying - sets the location attribute.
|
void |
generateLocationMetersForMeterGroup()
creates LocationMeters for this Location from the Location's new GroupName value.
|
MboSetRemote |
generateLocationSpec()
Deprecated.
|
java.lang.String |
getAddressString()
Return a string with the address of the current entitty.
|
MboRemote |
getAddressSystemForLocationMbo()
Returns the address system for the
location or
null if it does not belong to the address system. |
MboRemote |
getAncestorSABasedOnAddressSystem(MboRemote child)
It returns the ancestor location based on the
currently selected addresssystem. Return null if no parent found in address system. |
java.lang.String |
getAssetForLocation()
returns Asset object for the given location.
|
AssetRemote |
getAssociatedAsset()
Returns the asset associated with this location, if and only if there is only one.
|
MboRemote |
getAutoLocateObject()
Returns an autolocate object instance if present.
|
MboRemote |
getAutoLocateObject(AutoLocatable nextInChain)
Returns an autolocate object instance if present.
|
MboSetRemote |
getChildren()
Retrieve the child locations associated with this location
|
MboSetRemote |
getChildrenInAllSystems()
Retrieve the child locations associated with this location in all systems
|
MboSetRemote |
getChildrenInPrimary()
Get location's children in primary system
|
MboSetRemote |
getChildrenInPrimary(java.lang.String locSiteId)
Get location's children with a given site in primary system
|
MboSetRemote |
getChildrenInSystem() |
boolean |
getClearDupSeqNumsOnMeterGroupChange() |
java.lang.String[] |
getHierarchies()
Returns the array of systemids with which the location is associated.
|
MboRemote |
getHoldingLocationForSite(java.lang.String siteid) |
boolean |
getInitNonInteractiveStatChange() |
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
MboSetRemote |
getLeaseContractForLocation()
Returns the reference of the Lease contract that contains this location.
|
java.util.Date |
getLocationMeterNowDate()
called to establish a current date to be used when obtaining the most recent historical meter readings for all of
this Location's LocationMeters.
|
java.lang.String |
getLocItem()
Returns the item number for a location.
|
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 location does not have any Service Address associated
it will 'use' its parent's service address (based on the selected Address System) if any. |
MboSetRemote |
getNonPrimaryLocations()
Get all locations associated with non-primary system
|
MboSetRemote |
getParents()
Retrieve the parent locations associated with this location
|
MboSetRemote |
getParents(java.lang.String SystemId)
Retrieve the parent locations associated with this location and systemid
|
int |
getPMMeterTally(MboRemote pmMeter)
used when deleting a meter from the location to determine whether PM flags
PMASSETWOGEN and PMACTMETER need to be set to false.
|
MboSetRemote |
getPrimaryLocations()
Get all locations associated with primary system
|
ServiceAddressRemote |
getServiceAddress()
Return the service address associated with this Location.
|
java.lang.String |
getStatusListName()
Return the string "LOCASSETSTATUS".
|
MboSetRemote |
getTop()
Return the result set with top level location where parent is null
|
MboRemote |
getTopParentInSystem(java.lang.String SystemId)
Get location's top parent in a given system
|
MboSetRemote |
getWarranty()
Returns the reference of the Warranty contract that contains this location.
|
MboSetRemote |
getWarrantyContractForLocation()
Gets the warranty contract which contains the location 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 |
hasAssetStatusChangedAlready(long assetuid)
used to check if an asset has already had a status change so that status change is not attempted
again during the rolldown of a location status change to the assets in the involved locations.
|
boolean |
hasChildren()
Returns true if this location has children
|
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
void |
hasMeters()
Determines if the location has meters associated with it, if not throws exception.
|
boolean |
hasParents()
Checks whether this Location has any parents
|
void |
hasReadings()
Determines if the location has readings associated with it, if not throws exception.
|
boolean |
hasServiceAddress() |
void |
init()
init routine Fields type and disabled are readonly after insert
|
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 |
inPrimarySystem()
Returns true if this location is in Primary system
|
boolean |
inPrimarySystem(java.lang.String locSiteId)
Returns true if this location is in Primary system
|
boolean |
isCourier()
Is the current object a Courier location ?
|
boolean |
isDecommissioned()
Is the current object a decommissioned location ?
|
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
boolean |
isHolding()
Is the current object a Holding location ?
|
boolean |
isInventory()
Returns true if the location is of type inventory
|
boolean |
isLabor()
Is the current object a Labor location ?
|
boolean |
isLocationOccupied(MboRemote asset)
Return true if the location in a given site , associated with a rotating item and the rotating item or alternate
item matches a rotating asset, and the location is currently occupied by some asset other than asset is being
passed or the parent of asset is being passed.
|
boolean |
isLocationOccupied(java.lang.String itemnum)
Return true if the location in a given site , associated with a rotating item and the rotating item or alternate
item matches a rotating asset
|
boolean |
isOperating()
Is the current object an operating location ?
|
boolean |
isReferencedByActiveRoutes()
Check if the location is referenced by active routes
|
boolean |
isReferencedByActiveSP()
Check if the location is referenced by active SPs
|
boolean |
isReferencedByJobPlans()
Check if the location is referenced by active Job Plans
|
boolean |
isReferencedByOpenWO()
Check if this location is referenced by open Work Order
|
boolean |
isReferencedByPM()
Check if this location is referenced by active PMs
|
boolean |
isStore()
Is the current object a store room location ?
|
boolean |
isTop()
returns true if the location doesn't have a parent, that is, the top of the hierarchy has been reached
|
boolean |
isVendor()
Is the current object a vendor location ?
|
void |
managePMMeterTallyOnMeterDeleteUndelete(MboRemote pmMeter,
java.lang.String action)
used when deleting a meter from the location to keep track of the number of PMMETERs
on PMs impacted by the deletion of the meter.
|
void |
modify()
Called when ever a field is modified so we can update the changedate/changeby.
|
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
|
MboRemote |
receiveRotableAssetOnMoveFromNonInventory(MboRemote asset,
java.lang.String glCredit,
java.lang.String glDebit)
creates the MATRECTRANS object associated with a rotating asset moving from a non-inventory type location to an
inventory type location.
|
MboRemote |
receiveRotableAssetOnMoveFromNonInventoryWithPOLine(MboRemote asset,
java.lang.String glCredit,
java.lang.String glDebit,
MboRemote mrtMbo)
Called when information from the matrectrans record is needed.
|
void |
save()
Save the location object Need to update the description based upon classstructure and locationspec.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
Implement the logic to save the GIS Data
|
MboSetRemote |
selectItemsForReturn()
Retrieves the set of MatUseTrans from MATUSETRANSRETURN
|
MboSetRemote |
selectItemsForTransferIn()
Retrieves the set of InvBalances from INVBALANCESIN
|
MboSetRemote |
selectItemsForTransferOut()
Retrieves the set of InvBalances from INVBALANCESOUT
|
MboSetRemote |
selectMatRecTransIn()
Retrieves the set of MATRECTRANS records from MATRECTRANSIN2
|
MboSetRemote |
selectPOItemsIn()
Retrieves the set of polines from POLINEIN
|
MboSetRemote |
selectPOItemsOut()
Retrieves the set of polines from POLINEOUT
|
MboSetRemote |
selectReservedItems()
Retrieves the set of InvReserve from INVRESERVE
|
MboSetRemote |
selectReservedItemsIn()
Retrieves the set of InvReserve from INVRESERVEIN
|
MboSetRemote |
selectReservedItemsOut()
Retrieves the set of InvReserve from INVRESERVEOUT
|
void |
setInitNonInteractiveStatChange(boolean value) |
void |
setLocationAttributesForWO()
For a given workorder sets the location attributes from the autoattrupdate table
|
void |
setLocationAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet)
For a given workorder sets the location attributes from the autoattrupdate table
|
void |
setReadonlyForOperORStoreAfterAdd()
06-16999:set the attributes specific for operating locations or storeroom locations readonly depends on the app
(Locations App or Storeroom App)
|
MboSetRemote |
showHierarchy()
Get a MboSet of the ancestral hierarchy of this location.
|
void |
trackStatusChangedAssetInLocations(long assetuid)
used to keep track of assets that have already had a status change so that status change is not attempted
again during the rolldown of a location status change to the assets in the involved locations.
|
void |
updateDesc()
set the description field to be the generated value obtained from the setup of the classstructureid (in asset
catalog setup) and the values/measureunits in the locationspec set.
|
void |
updateGLInfo()
If an location's IntLabrec is updated, update controlaccount of all LaborCraftRate records that refer to that
Location as a Work Location.
|
void |
validateOrderQty() |
java.util.Vector |
walkUpHierarchy()
Get a vector of this locations ancestors.
|
void |
warningsCopyMatRecTransSetForTransferIn()
returns a warning message resulting from the copyMatRecTransSetForTransferIn action if any matrectrans is not
elligible for the transfer in.
|
void |
warningsCopyPOLineSetForTransferIn()
returns a warning message resulting from the copyPOLineSetForTransferIn action if any poline is not elligible for
the transfer out.
|
void |
warningsCopyPOLineSetForTransferOut()
returns a warning message resulting from the copyPOLineSetForTransferOut action if any poline is not elligible
for the transfer out.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, 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, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, 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, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, 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, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic boolean dontAppendFlag
public boolean isDuplicated
psdi.mbo.Mbo#isAutoKeyed.public Location(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 void setReadonlyForOperORStoreAfterAdd()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void generateAutoKey()
throws java.rmi.RemoteException,
MXException
generateAutoKey in interface MboRemotegenerateAutoKey in class MboMXAccessException - ("access", "CantGenAutoKey", param) is thrown when Auto key can't be generatedjava.rmi.RemoteExceptionMXExceptionMboValue.autoKey(),
MboValue.generateUniqueID()public java.util.Date getLocationMeterNowDate()
throws MXException,
java.rmi.RemoteException
getLocationMeterNowDate in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.location.LocationMeter.getPreviousMeterReading()public void modify()
throws MXException,
java.rmi.RemoteException
modify in interface LocationRemotemodify in class MboMXExceptionjava.rmi.RemoteExceptionmodify()public void delete(long access)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class Mboaccess - access modifier such as NOACCESCHECK.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXApplicationException("locations","openwoforloc") - if this object is an operating location that exists
on an open work orderMXApplicationException("locations","openpoforloc") - if this object is an operating location that exists
on an open poMXApplicationException("locations","openprforloc") - if this object is an operating location that exists
on an open prMXApplicationException("locations","openmrforloc") - if this object is an operating location that exists
on an open mrMXAccessException("locations","locexistintables",params) - is thrown via a call to private method
cannotDelete when any of the following mbosets are not empty for each of the listed location types.MXAccessException("locations","noDelMultiSys") - is thrown when an operating location belongs to more
than one system.
| STOREROOM |
|---|
LocationSetRemote.COMPANIES_STOREROOM
|
LocationSetRemote.LABOR_STOREROOM
|
LocationSetRemote.INVENTORY
|
LocationSetRemote.PM_STORELOC
|
| LABOR |
|---|
LocationSetRemote.LABOR_COURIERLABOR
|
LocationSetRemote.ASSET
|
LocationSetRemote.INVENTORY
|
| COURIER |
|---|
LocationSetRemote.COMPANIES_COURIERVENDOR
|
LocationSetRemote.LABOR_COURIERLABOR
|
LocationSetRemote.ASSET
|
LocationSetRemote.INVENTORY
|
MXExceptionjava.rmi.RemoteExceptioncannotDeletepublic void cannotChangeStatus(MboSetRemote msr) throws MXException, java.rmi.RemoteException
cannotChangeStatus in interface LocationRemotemsr - MboSet obtained from the table that contains the current Location MBOMXAccessException - ("locations","chgstatlocrf",params) when the current MBO is found to exist in a
related table by the canDelete methodMXExceptionjava.rmi.RemoteExceptioncanDeletepublic boolean isStore()
throws MXException,
java.rmi.RemoteException
isStore in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisStore()public boolean isCourier()
throws MXException,
java.rmi.RemoteException
isCourier in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisCourier()public boolean isHolding()
throws MXException,
java.rmi.RemoteException
isHolding in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisHolding()public boolean isLabor()
throws MXException,
java.rmi.RemoteException
isLabor in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisLabor()public boolean isOperating()
throws MXException,
java.rmi.RemoteException
isOperating in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisOperating()public boolean isDecommissioned()
throws MXException,
java.rmi.RemoteException
isDecommissioned in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisDecommissioned()public boolean isVendor()
throws MXException,
java.rmi.RemoteException
isVendor in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisVendor()public void authorizeUserStore(java.lang.String user)
throws MXException,
java.rmi.RemoteException
authorizeUserStore in interface LocationRemoteuser - User whose authorization need to be checkedMXApplicationException - ("locations", "invalidstore") is thrown when it is not a storeroomMXExceptionjava.rmi.RemoteExceptionProfile.getLocAuth(java.lang.String, java.lang.String)public boolean isTop()
throws MXException,
java.rmi.RemoteException
isTop in interface LocationRemoteisTop in interface HierarchicalMboRemoteMXExceptionjava.rmi.RemoteExceptionisTop()public boolean hasChildren()
throws MXException,
java.rmi.RemoteException
hasChildren in interface LocationRemotehasChildren in interface HierarchicalMboRemoteMXExceptionjava.rmi.RemoteExceptionhasChildren()public boolean hasParents()
throws MXException,
java.rmi.RemoteException
hasParents in interface LocationRemotehasParents in interface HierarchicalMboRemoteMXExceptionjava.rmi.RemoteExceptionhasParents()public MboSetRemote getChildren() throws MXException, java.rmi.RemoteException
getChildren in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetChildren()public MboSetRemote getChildrenInAllSystems() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getParents() throws MXException, java.rmi.RemoteException
getParents in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetParents()public MboSetRemote getTop() throws MXException, java.rmi.RemoteException
getTop in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetTop()public java.lang.String[] getHierarchies()
throws MXException,
java.rmi.RemoteException
getHierarchies in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetHierarchies()public MboSetRemote showHierarchy() throws MXException, java.rmi.RemoteException
showHierarchy in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionshowHierarchy()public java.util.Vector walkUpHierarchy()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getChildrenInPrimary() throws MXException, java.rmi.RemoteException
getChildrenInPrimary in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetChildrenInPrimary()public boolean inPrimarySystem()
throws MXException,
java.rmi.RemoteException
inPrimarySystem in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptioninPrimarySystem()public MboSetRemote getPrimaryLocations() throws MXException, java.rmi.RemoteException
getPrimaryLocations in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetPrimaryLocations()public MboSetRemote getNonPrimaryLocations() throws MXException, java.rmi.RemoteException
getNonPrimaryLocations in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetNonPrimaryLocations()public java.lang.String getLocItem()
throws MXException,
java.rmi.RemoteException
getLocItem in interface LocationRemoteMXException - is caught and returned value is set to null.java.rmi.RemoteExceptiongetLocItem()public boolean isLocationOccupied(MboRemote asset) throws MXException, java.rmi.RemoteException
isLocationOccupied in interface LocationRemoteloc - - location mboMXExceptionjava.rmi.RemoteExceptiondoCheckForLocationOccupied,
placeAssetChildrenpublic boolean isLocationOccupied(java.lang.String itemnum)
throws MXException,
java.rmi.RemoteException
isLocationOccupied in interface LocationRemoteitemnum - Itemnum associated with locationMXExceptionjava.rmi.RemoteExceptiondoCheckForLocationOccupied,
placeAssetChildrenpublic boolean doesHoldingLocationExistForSite(java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getHoldingLocationForSite(java.lang.String siteid) throws MXException, java.rmi.RemoteException
getHoldingLocationForSite in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.location.Location#getHoldingLocationForSite()public boolean isInventory()
throws MXException,
java.rmi.RemoteException
isInventory in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionisInventory()public void updateDesc()
throws MXException,
java.rmi.RemoteException
updateDesc in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionupdateDesc()public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void save()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateGLInfo()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void generateLocationMetersForMeterGroup()
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.RemoteExceptionpublic void appendDescription(java.lang.String descSpec)
throws MXException,
java.rmi.RemoteException
descSpec - the numvalue/alnvalue + measureunitid/abbreviation from one locationspec.MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote generateLocationSpec() throws java.rmi.RemoteException, MXException
generateLocationSpec in interface LocationRemotejava.rmi.RemoteExceptionMXExceptiongenerateLocationSpec()public boolean canApplyIAS()
throws MXException,
java.rmi.RemoteException
canApplyIAS in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptioncanApplyIAS()public java.lang.Object[] applyIAS(boolean autokey)
throws MXException,
java.rmi.RemoteException
applyIAS in interface LocationRemoteautokey - true will assign autokey to the new mbo's false will leave it blank for callers to assign autokey.MXExceptionjava.rmi.RemoteExceptionpsdi.app.location.Location#applyIAS()public void applyIASAutoNumAll()
throws MXException,
java.rmi.RemoteException
applyIASAutoNumAll in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionapplyIASAutoNumAll()public MboRemote applyIASCreateChild(MboRemote itemStruct, boolean autokey) throws MXException, java.rmi.RemoteException
applyIASCreateChild in interface LocationRemoteitemStruct - the location.item's rotating child.autokey - true to autokey the new location and the new pms.MXExceptionjava.rmi.RemoteExceptionpsdi.app.location.Location#applyIASCreatechild()public MboSetRemote applyIASGenPMs(boolean autokey) throws MXException, java.rmi.RemoteException
applyIASGenPMs in interface LocationRemoteautokey - true to autokey the new location and the new pms.MXExceptionjava.rmi.RemoteExceptionpsdi.app.location.Location#applyIASGenPMs()public 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 setInitNonInteractiveStatChange(boolean value)
throws MXException,
java.rmi.RemoteException
setInitNonInteractiveStatChange in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean getInitNonInteractiveStatChange()
throws MXException,
java.rmi.RemoteException
getInitNonInteractiveStatChange in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionpublic void changeStatus(java.lang.String status,
java.util.Date asOfDate,
java.lang.String memo,
long accessModifier)
throws MXException,
java.rmi.RemoteException
StatefulMbocanChangeStatus before the change is performed. If the status change
is allowed, the status change is performed and a status history record is written.
If the status change is not allowed, an exception is thrown.If the new status has the same MaxValue as the current status, then only the status and statusDate attributes are updated, and the StatusHandler is not used.
changeStatus in interface StatefulMboRemotechangeStatus in class StatefulMbostatus - 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).asOfDate - The effective date of the new status (java.util.Date).
If this value is null, the current date/time of the server will be used.memo - A string briefly describing the circumstances of the change. The
memo can be null.accessModifier - A value of NOACCESSCHECK will cause the method not to call canChangeStatus.
Callers using this flag are responsible for ensuring that they are attempting a valid status change.MXException - Thrown if there is a problem, or the status cannot be changed,
as determined by canChangeStatus(String).java.rmi.RemoteExceptionStatefulMbo.canChangeStatus(String)public void trackStatusChangedAssetInLocations(long assetuid)
throws MXException,
java.rmi.RemoteException
statusChangedAssets.trackStatusChangedAssetInLocations in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionAsset.changeStatus(String, boolean, boolean, boolean, boolean, Hashtable, LocationRemote),
hasAssetStatusChangedAlready(long)public boolean hasAssetStatusChangedAlready(long assetuid)
throws MXException,
java.rmi.RemoteException
statusChangedAssets to insure that an asset's status hasn't already been changed during
to avoid an error condition.hasAssetStatusChangedAlready in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionAsset.changeStatus(String, boolean, boolean, boolean, boolean, Hashtable, LocationRemote),
trackStatusChangedAssetInLocations(long)public void changeStatus(java.lang.String changedStatus,
java.util.Date asOfDate,
java.lang.String memo,
boolean rolltoallchildren,
boolean removefromallroutes,
boolean rolltoallassets,
boolean removefromalljp,
boolean removefromactivesp,
boolean changepmstatus)
throws MXException,
java.rmi.RemoteException
changeStatus in interface LocationRemotechangedStatus - provided by UI. Values stored in the ValueList table where listname is "LOCSTAT".asOfDate - The date as of the status change is to be made. If null, set to the default mxserver date/time.memo - Memo text.MXApplicationException - ("locations", "StatusNull")is thrown when status of the location is null.MXExceptionjava.rmi.RemoteExceptionpsdi.app.location.Location#changeStatus()public boolean isReferencedByOpenWO()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isReferencedByPM()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isReferencedByActiveRoutes()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isReferencedByActiveSP()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isReferencedByJobPlans()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote duplicate() throws MXException, java.rmi.RemoteException
Mboduplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void copyInvReserveSetForIssues(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForIssues in interface LocationRemoteinvReserveSet - the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyInvReserveSetForIssues()public void copyInvReserveSetForTransferOut(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForTransferOut in interface LocationRemoteinvReserveSet - the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyInvReserveSetForTransferOut()public void copyInvReserveSetForTransferIn(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForTransferIn in interface LocationRemoteinvReserveSet - the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyInvReserveSetForTransferIn()public void copyMatUseTransSetForReturn(MboSetRemote matUseSet) throws java.rmi.RemoteException, MXException
copyMatUseTransSetForReturn in interface LocationRemoteinvReserveSet - the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyMatUseTransSetForReturn()public MboRemote receiveRotableAssetOnMoveFromNonInventoryWithPOLine(MboRemote asset, java.lang.String glCredit, java.lang.String glDebit, MboRemote mrtMbo) throws java.rmi.RemoteException, MXException
receiveRotableAssetOnMoveFromNonInventoryWithPOLine in interface LocationRemotejava.rmi.RemoteExceptionMXExceptionreceiveRotableAssetOnMoveFromNonInventoryWithPOLine(MboRemote asset, String glCredit, String glDebit, MboRemote mrtMbo)public MboRemote receiveRotableAssetOnMoveFromNonInventory(MboRemote asset, java.lang.String glCredit, java.lang.String glDebit) throws java.rmi.RemoteException, MXException
receiveRotableAssetOnMoveFromNonInventory in interface LocationRemoteassetnum - rotating asset being movedlocation - non-inventory type originating locationitemnum - rotating asset is a single instance of this rotating itemdateMoved - date on which move is occuringmovedBy - user performing the movemoveBinNum - destination binglCredit - rotating suspense account for the assetglDebit - control account for this inventory locationjava.rmi.RemoteExceptionMXExceptionMatRecTrans.setTransferFromNonInventory,
MoveModify.doMovepublic void copySparePartSetForIssues(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForIssues in interface LocationRemoteSparePartSet - the MboSetRemote of the SparePartSetRemote instance. Only selected rows are processed.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copySparePartSetForIssues()public void copySparePartSetForTransferOut(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForTransferOut in interface LocationRemoteSparePartSet - the MboSetRemote of SparePartSetRemote instance. Only selected rows are processed.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copySparePartSetForTransferOut()public void copySparePartSetForTransferIn(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForTransferIn in interface LocationRemoteSparePartSet - the MboSetRemote of SparePartSetRemote instance. Only selected rows are processed.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copySparePartSetForTransferIn()public void copyInvBalancesSetForTransferOut(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSetForTransferOut in interface LocationRemoteinvBalancesSet - the MboSetRemote of InvBalancesSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyInvBalancesSetForTransferOut()public void copyInvBalancesSetForTransferIn(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSetForTransferIn in interface LocationRemoteinvBalancesSet - the MboSetRemote of InvBalancesSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyInvBalancesSetForTransferIn()public void copyPOLineSetForTransferOut(MboSetRemote poLineSet) throws java.rmi.RemoteException, MXException
copyPOLineSetForTransferOut in interface LocationRemotepoLineSet - the MboSetRemote of POLineSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyPOLineSetForTransferOut()public void warningsCopyPOLineSetForTransferOut()
throws MXException,
java.rmi.RemoteException
warningsCopyPOLineSetForTransferOut in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionwarningsCopyPOLineSetForTransferOut()public void copyPOLineSetForTransferIn(MboSetRemote poLineSet) throws java.rmi.RemoteException, MXException
copyPOLineSetForTransferIn in interface LocationRemotepoLineSet - the MboSetRemote of POLineSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyPOLineSetForTransferIn()public void copyMatRecTransSetForTransferIn(MboSetRemote matRecTransSet) throws java.rmi.RemoteException, MXException
copyMatRecTransSetForTransferIn in interface LocationRemotematRecTransSet - the MboSetRemote of MatRecTransSetRemote instance. Only process the selected rows.java.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#copyMatRecTransSetForTransferIn()public java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void warningsCopyPOLineSetForTransferIn()
throws MXException,
java.rmi.RemoteException
warningsCopyPOLineSetForTransferIn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionwarningsCopyPOLineSetForTransferIn()public void warningsCopyMatRecTransSetForTransferIn()
throws MXException,
java.rmi.RemoteException
warningsCopyMatRecTransSetForTransferIn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionwarningsCopyMatRecTransSetForTransferIn()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 MboSetRemote selectPOItemsOut() throws MXException, java.rmi.RemoteException
selectPOItemsOut in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectPOItemsOut()public MboSetRemote selectReservedItemsOut() throws MXException, java.rmi.RemoteException
selectReservedItemsOut in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectReservedItemsOut()public MboSetRemote selectItemsForTransferOut() throws MXException, java.rmi.RemoteException
selectItemsForTransferOut in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectItemsForTransferOut()public MboSetRemote selectPOItemsIn() throws MXException, java.rmi.RemoteException
selectPOItemsIn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectPOItemsIn()public MboSetRemote selectMatRecTransIn() throws MXException, java.rmi.RemoteException
selectMatRecTransIn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectMatRecTransIn()public MboSetRemote selectReservedItemsIn() throws MXException, java.rmi.RemoteException
selectReservedItemsIn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectReservedItemsIn()public MboSetRemote selectItemsForTransferIn() throws MXException, java.rmi.RemoteException
selectItemsForTransferIn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectItemsForTransferIn()public MboSetRemote selectItemsForReturn() throws MXException, java.rmi.RemoteException
selectItemsForReturn in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectItemsForReturn()public MboSetRemote selectReservedItems() throws MXException, java.rmi.RemoteException
selectReservedItems in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionselectReservedItems()public MboSetRemote getChildrenInPrimary(java.lang.String locSiteId) throws MXException, java.rmi.RemoteException
getChildrenInPrimary in interface LocationRemotelocSiteId - Gets the primary system for a given siteMXExceptionjava.rmi.RemoteExceptiongetChildrenInPrimary(String locSiteId)public boolean inPrimarySystem(java.lang.String locSiteId)
throws MXException,
java.rmi.RemoteException
inPrimarySystem in interface LocationRemotesiteid - Location's siteMXExceptionjava.rmi.RemoteExceptioninPrimarySystem(String locSiteId)public boolean canAssociateSystem()
throws MXException,
java.rmi.RemoteException
canAssociateSystem in interface LocationRemoteMXApplicationException - ("locations", "cannotassociatesystem")is thrown if this location is not an
operating location.MXExceptionjava.rmi.RemoteExceptioncanAssociateSystem()public void clearClassification()
throws java.rmi.RemoteException,
MXException
clearClassification in interface LocationRemotejava.rmi.RemoteExceptionMXExceptionpsdi.app.asset.Location#clearClassificationpublic void setLocationAttributesForWO()
throws MXException,
java.rmi.RemoteException
setLocationAttributesForWO in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionsetLocationAttributesForWO()public void setLocationAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet) throws MXException, java.rmi.RemoteException
setLocationAttributesForWO in interface LocationRemoteautoAttrUpdateSet - autoattrupdateSet for a given workorder and locationMXExceptionjava.rmi.RemoteExceptionsetLocationAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet)public java.util.List getWarrantyInfo(java.util.Date woDate,
boolean isParent)
throws MXException,
java.rmi.RemoteException
getWarrantyInfo in interface LocationRemoteDate - woDate date warranty applis toisParent - true if is a parent assetMXExceptionjava.rmi.RemoteExceptiongetWarrantyInfo(java.util.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 void hasMeters()
throws MXException,
java.rmi.RemoteException
hasMeters in interface LocationRemoteMXApplicationException - (noMeterForLocation) thrown if the location does not have metersMXExceptionjava.rmi.RemoteExceptionhasMeters()public void hasReadings()
throws MXException,
java.rmi.RemoteException
hasReadings in interface LocationRemoteMXApplicationException - (noReadingsForLocation) thrown if the location does not have readingsMXExceptionjava.rmi.RemoteExceptionhasReadings()public java.lang.String getAssetForLocation()
throws MXException,
java.rmi.RemoteException
getAssetForLocation in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetAssetForLocation()public MboSetRemote getLeaseContractForLocation() throws MXException, java.rmi.RemoteException
getLeaseContractForLocation in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetLeaseContractForLocation()public MboSetRemote getWarranty() throws MXException, java.rmi.RemoteException
getWarranty in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetWarranty()public MboSetRemote getWarrantyContractForLocation() throws MXException, java.rmi.RemoteException
getWarrantyContractForLocation in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetWarrantyContractForLocation()public void autoWogen()
throws MXException,
java.rmi.RemoteException
autoWogen in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionautoWogen()public void autoWogen(MboRemote locationMeter) throws MXException, java.rmi.RemoteException
autoWogen in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionautoWogen(MboRemote locationMeter)public void createTicket(MboRemote tkMbo) throws MXException, java.rmi.RemoteException
createTicket in interface LocationRemoteThe - ticket mbo inserted for this location.MXExceptionjava.rmi.RemoteExceptioncreateTicket(psdi.mbo.MboRemote)public void createWO(MboRemote workorderMbo) throws MXException, java.rmi.RemoteException
createWO in interface LocationRemoteThe - workorder mbo inserted for this locationMXExceptionjava.rmi.RemoteExceptioncreateWO(psdi.mbo.MboRemote)public void copyLocationToCollectDetailsSet(MboSetRemote collectionSet) throws MXException, java.rmi.RemoteException
copyLocationToCollectDetailsSet in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptioncopyLocationToCollectDetailsSet(psdi.mbo.MboSetRemote)public void addLocationsToCollectDetails(java.lang.String collectionNum)
throws MXException,
java.rmi.RemoteException
addLocationsToCollectDetails in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionaddLocationsToCollectDetails(java.lang.String)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 order.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createChange(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createChange in interface AppActionInterfacejpnum - -job plan need be apply to the new work order.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createRelease(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createRelease in interface AppActionInterfacejpnum - -job plan need be apply to the new work order.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createServiceRequest(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createServiceRequest in interface AppActionInterfacetickettemplateid - - Ticket Template ID to be applied when this ticket is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createProblem(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createProblem in interface AppActionInterfacetickettemplateid - - Ticket Template ID to be applied when this ticket is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createIncident(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createIncident in interface AppActionInterfacetickettemplateid - - Ticket Template ID to be applied when this ticket is created.MXExceptionjava.rmi.RemoteExceptionpublic void validateOrderQty()
throws MXException,
java.rmi.RemoteException
validateOrderQty in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionvalidateOrderQty()public void queryDataSheets(PlusCWODSSetRemote woDsSet, boolean loopCalibrations, java.util.Date fromDate, java.util.Date toDate) throws java.rmi.RemoteException, MXApplicationException, MXException
queryDataSheets in interface LocationRemotewoDsSet - WO DS set whose where clause will be changedloopCalibrations - whether to include only loop calibrationsfromDate - start date to be used when filtering resultstoDate - end date to be used when filtering resultsjava.rmi.RemoteExceptionMXApplicationExceptionMXExceptionpublic boolean canBeUsedAsTagId()
throws java.rmi.RemoteException,
MXException
canBeUsedAsTagId in interface LocationRemotetrue if this location meets the criteriajava.rmi.RemoteExceptionMXExceptionpublic AssetRemote getAssociatedAsset() throws java.rmi.RemoteException, MXException
getAssociatedAsset in interface LocationRemotenull otherwise.java.rmi.RemoteExceptionMXExceptionpublic MboRemote getAddressSystemForLocationMbo() throws MXException, java.rmi.RemoteException
LocationRemotelocation or
null if it does not belong to the address system.getAddressSystemForLocationMbo in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getAncestorSABasedOnAddressSystem(MboRemote child) throws MXException, java.rmi.RemoteException
LocationRemotegetAncestorSABasedOnAddressSystem in interface LocationRemoteMXExceptionjava.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 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.RemoteExceptionGISAbleCommon#saveGISDatapublic 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 boolean isGISDataReadonly()
throws MXException,
java.rmi.RemoteException
GISableisGISDataReadonly in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getAddressString()
throws MXException,
java.rmi.RemoteException
GISablegetAddressString in interface GISableMXExceptionjava.rmi.RemoteExceptionpublic void addMoreLocationsToSet(MboSetRemote selectedMoreMboSet, MboSetRemote selectedMboSet) throws java.rmi.RemoteException, MXException
addMoreLocationsToSet in interface LocationRemoteselectedMoreMboSet - The more selected locationsselectedMboSet - The selected locationsjava.rmi.RemoteExceptionMXExceptionpsdi.app.location.Location#addMoreLocationsToSet()public MboRemote getAutoLocateObject(AutoLocatable nextInChain) 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 MboRemote getAutoLocateObject() throws MXException, java.rmi.RemoteException
AutoLocatablegetAutoLocateObject in interface AutoLocatableMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic MboSetRemote getParents(java.lang.String SystemId) throws MXException, java.rmi.RemoteException
getParents in interface LocationRemoteSystemId - System IDMXExceptionjava.rmi.RemoteExceptionpublic MboRemote getTopParentInSystem(java.lang.String SystemId) throws MXException, java.rmi.RemoteException
getTopParentInSystem in interface LocationRemoteSystemId - System IDMXExceptionjava.rmi.RemoteExceptionpublic void managePMMeterTallyOnMeterDeleteUndelete(MboRemote pmMeter, java.lang.String action) throws MXException, java.rmi.RemoteException
managePMMeterTallyOnMeterDeleteUndelete in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptionmanagePMMeterTallyOnMeterDeleteUndelete(MboRemote,String)public int getPMMeterTally(MboRemote pmMeter) throws MXException, java.rmi.RemoteException
getPMMeterTally in interface LocationRemoteMXExceptionjava.rmi.RemoteExceptiongetPMMeterTally(MboRemote)public MboSetRemote getChildrenInSystem() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException