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, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
SERVICEADDRESSHIERARCHY
ADDRESSABLE_SERVICEADDRESS_REL, NPADDRESSCODE_ATTRNAME, NPADDRESSDESC_ATTRNAME, NPADDRESSLONGDESC_ATTRNAME, SERVICEADDRESS_NATIVE_RELATIONSHIPNAME
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
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
|
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 |
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
|
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 |
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 |
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 |
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, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, 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, getValidateOrder, 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, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, 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, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public boolean dontAppendFlag
public boolean isDuplicated
psdi.mbo.Mbo#isAutoKeyed.
public Location(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public void setReadonlyForOperORStoreAfterAdd() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void generateAutoKey() throws java.rmi.RemoteException, MXException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
MXAccessException
- ("access", "CantGenAutoKey", param) is thrown when Auto key can't be generatedjava.rmi.RemoteException
MXException
MboValue.autoKey()
,
MboValue.generateUniqueID()
public java.util.Date getLocationMeterNowDate() throws MXException, java.rmi.RemoteException
getLocationMeterNowDate
in interface LocationRemote
MXException
java.rmi.RemoteException
psdi.app.location.LocationMeter.getPreviousMeterReading()
public void modify() throws MXException, java.rmi.RemoteException
modify
in interface LocationRemote
modify
in class Mbo
MXException
java.rmi.RemoteException
modify()
public void delete(long access) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
access
- access modifier such as NOACCESCHECK.MXException
java.rmi.RemoteException
Mbo.delete(long)
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException("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
|
MXException
java.rmi.RemoteException
cannotDelete
public void cannotChangeStatus(MboSetRemote msr) throws MXException, java.rmi.RemoteException
cannotChangeStatus
in interface LocationRemote
msr
- 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 methodMXException
java.rmi.RemoteException
canDelete
public boolean isStore() throws MXException, java.rmi.RemoteException
isStore
in interface LocationRemote
MXException
java.rmi.RemoteException
isStore()
public boolean isCourier() throws MXException, java.rmi.RemoteException
isCourier
in interface LocationRemote
MXException
java.rmi.RemoteException
isCourier()
public boolean isHolding() throws MXException, java.rmi.RemoteException
isHolding
in interface LocationRemote
MXException
java.rmi.RemoteException
isHolding()
public boolean isLabor() throws MXException, java.rmi.RemoteException
isLabor
in interface LocationRemote
MXException
java.rmi.RemoteException
isLabor()
public boolean isOperating() throws MXException, java.rmi.RemoteException
isOperating
in interface LocationRemote
MXException
java.rmi.RemoteException
isOperating()
public boolean isDecommissioned() throws MXException, java.rmi.RemoteException
isDecommissioned
in interface LocationRemote
MXException
java.rmi.RemoteException
isDecommissioned()
public boolean isVendor() throws MXException, java.rmi.RemoteException
isVendor
in interface LocationRemote
MXException
java.rmi.RemoteException
isVendor()
public void authorizeUserStore(java.lang.String user) throws MXException, java.rmi.RemoteException
authorizeUserStore
in interface LocationRemote
user
- User whose authorization need to be checkedMXApplicationException
- ("locations", "invalidstore") is thrown when it is not a storeroomMXException
java.rmi.RemoteException
Profile.getLocAuth(java.lang.String, java.lang.String)
public boolean isTop() throws MXException, java.rmi.RemoteException
isTop
in interface LocationRemote
isTop
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
isTop()
public boolean hasChildren() throws MXException, java.rmi.RemoteException
hasChildren
in interface LocationRemote
hasChildren
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
hasChildren()
public boolean hasParents() throws MXException, java.rmi.RemoteException
hasParents
in interface LocationRemote
hasParents
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
hasParents()
public MboSetRemote getChildren() throws MXException, java.rmi.RemoteException
getChildren
in interface LocationRemote
MXException
java.rmi.RemoteException
getChildren()
public MboSetRemote getChildrenInAllSystems() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getParents() throws MXException, java.rmi.RemoteException
getParents
in interface LocationRemote
MXException
java.rmi.RemoteException
getParents()
public MboSetRemote getTop() throws MXException, java.rmi.RemoteException
getTop
in interface LocationRemote
MXException
java.rmi.RemoteException
getTop()
public java.lang.String[] getHierarchies() throws MXException, java.rmi.RemoteException
getHierarchies
in interface LocationRemote
MXException
java.rmi.RemoteException
getHierarchies()
public MboSetRemote showHierarchy() throws MXException, java.rmi.RemoteException
showHierarchy
in interface LocationRemote
MXException
java.rmi.RemoteException
showHierarchy()
public java.util.Vector walkUpHierarchy() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getChildrenInPrimary() throws MXException, java.rmi.RemoteException
getChildrenInPrimary
in interface LocationRemote
MXException
java.rmi.RemoteException
getChildrenInPrimary()
public boolean inPrimarySystem() throws MXException, java.rmi.RemoteException
inPrimarySystem
in interface LocationRemote
MXException
java.rmi.RemoteException
inPrimarySystem()
public MboSetRemote getPrimaryLocations() throws MXException, java.rmi.RemoteException
getPrimaryLocations
in interface LocationRemote
MXException
java.rmi.RemoteException
getPrimaryLocations()
public MboSetRemote getNonPrimaryLocations() throws MXException, java.rmi.RemoteException
getNonPrimaryLocations
in interface LocationRemote
MXException
java.rmi.RemoteException
getNonPrimaryLocations()
public java.lang.String getLocItem() throws MXException, java.rmi.RemoteException
getLocItem
in interface LocationRemote
MXException
- is caught and returned value is set to null.java.rmi.RemoteException
getLocItem()
public boolean isLocationOccupied(MboRemote asset) throws MXException, java.rmi.RemoteException
isLocationOccupied
in interface LocationRemote
loc
- - location mboMXException
java.rmi.RemoteException
doCheckForLocationOccupied
,
placeAssetChildren
public boolean isLocationOccupied(java.lang.String itemnum) throws MXException, java.rmi.RemoteException
isLocationOccupied
in interface LocationRemote
itemnum
- Itemnum associated with locationMXException
java.rmi.RemoteException
doCheckForLocationOccupied
,
placeAssetChildren
public boolean doesHoldingLocationExistForSite(java.lang.String siteid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getHoldingLocationForSite(java.lang.String siteid) throws MXException, java.rmi.RemoteException
getHoldingLocationForSite
in interface LocationRemote
MXException
java.rmi.RemoteException
psdi.app.location.Location#getHoldingLocationForSite()
public boolean isInventory() throws MXException, java.rmi.RemoteException
isInventory
in interface LocationRemote
MXException
java.rmi.RemoteException
isInventory()
public void updateDesc() throws MXException, java.rmi.RemoteException
updateDesc
in interface LocationRemote
MXException
java.rmi.RemoteException
updateDesc()
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateGLInfo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateLocationMetersForMeterGroup() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean getClearDupSeqNumsOnMeterGroupChange() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkForDuplicateMeterSequenceValues() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appendDescription(java.lang.String descSpec) throws MXException, java.rmi.RemoteException
descSpec
- the numvalue/alnvalue + measureunitid/abbreviation from one locationspec.MXException
java.rmi.RemoteException
public MboSetRemote generateLocationSpec() throws java.rmi.RemoteException, MXException
generateLocationSpec
in interface LocationRemote
java.rmi.RemoteException
MXException
generateLocationSpec()
public boolean canApplyIAS() throws MXException, java.rmi.RemoteException
canApplyIAS
in interface LocationRemote
MXException
java.rmi.RemoteException
canApplyIAS()
public java.lang.Object[] applyIAS(boolean autokey) throws MXException, java.rmi.RemoteException
applyIAS
in interface LocationRemote
autokey
- true will assign autokey to the new mbo's false will leave it blank for callers to assign autokey.MXException
java.rmi.RemoteException
psdi.app.location.Location#applyIAS()
public void applyIASAutoNumAll() throws MXException, java.rmi.RemoteException
applyIASAutoNumAll
in interface LocationRemote
MXException
java.rmi.RemoteException
applyIASAutoNumAll()
public MboRemote applyIASCreateChild(MboRemote itemStruct, boolean autokey) throws MXException, java.rmi.RemoteException
applyIASCreateChild
in interface LocationRemote
itemStruct
- the location.item's rotating child.autokey
- true to autokey the new location and the new pms.MXException
java.rmi.RemoteException
psdi.app.location.Location#applyIASCreatechild()
public MboSetRemote applyIASGenPMs(boolean autokey) throws MXException, java.rmi.RemoteException
applyIASGenPMs
in interface LocationRemote
autokey
- true to autokey the new location and the new pms.MXException
java.rmi.RemoteException
psdi.app.location.Location#applyIASGenPMs()
public void canChangeStatus(java.lang.String changeToStatus, long accessModifier) throws MXException, java.rmi.RemoteException
canChangeStatus
in class StatefulMbo
changeToStatus
- 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.RemoteException
public void setInitNonInteractiveStatChange(boolean value) throws MXException, java.rmi.RemoteException
setInitNonInteractiveStatChange
in interface LocationRemote
MXException
java.rmi.RemoteException
public boolean getInitNonInteractiveStatChange() throws MXException, java.rmi.RemoteException
getInitNonInteractiveStatChange
in interface LocationRemote
MXException
java.rmi.RemoteException
public void changeStatus(java.lang.String status, java.util.Date asOfDate, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
StatefulMbo
canChangeStatus
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 StatefulMboRemote
changeStatus
in class StatefulMbo
status
- 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.RemoteException
StatefulMbo.canChangeStatus(String)
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 LocationRemote
changedStatus
- 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.MXException
java.rmi.RemoteException
psdi.app.location.Location#changeStatus()
public boolean isReferencedByOpenWO() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isReferencedByPM() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isReferencedByActiveRoutes() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isReferencedByActiveSP() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isReferencedByJobPlans() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Mbo
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
public void copyInvReserveSetForIssues(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForIssues
in interface LocationRemote
invReserveSet
- the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyInvReserveSetForIssues()
public void copyInvReserveSetForTransferOut(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForTransferOut
in interface LocationRemote
invReserveSet
- the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyInvReserveSetForTransferOut()
public void copyInvReserveSetForTransferIn(MboSetRemote invReserveSet) throws java.rmi.RemoteException, MXException
copyInvReserveSetForTransferIn
in interface LocationRemote
invReserveSet
- the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyInvReserveSetForTransferIn()
public void copyMatUseTransSetForReturn(MboSetRemote matUseSet) throws java.rmi.RemoteException, MXException
copyMatUseTransSetForReturn
in interface LocationRemote
invReserveSet
- the MboSetRemote of InvReserveSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.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 LocationRemote
java.rmi.RemoteException
MXException
receiveRotableAssetOnMoveFromNonInventoryWithPOLine(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 LocationRemote
assetnum
- 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.RemoteException
MXException
MatRecTrans.setTransferFromNonInventory
,
MoveModify.doMove
public void copySparePartSetForIssues(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForIssues
in interface LocationRemote
SparePartSet
- the MboSetRemote of the SparePartSetRemote instance. Only selected rows are processed.java.rmi.RemoteException
MXException
psdi.app.location.Location#copySparePartSetForIssues()
public void copySparePartSetForTransferOut(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForTransferOut
in interface LocationRemote
SparePartSet
- the MboSetRemote of SparePartSetRemote instance. Only selected rows are processed.java.rmi.RemoteException
MXException
psdi.app.location.Location#copySparePartSetForTransferOut()
public void copySparePartSetForTransferIn(MboSetRemote sparePartSet) throws java.rmi.RemoteException, MXException
copySparePartSetForTransferIn
in interface LocationRemote
SparePartSet
- the MboSetRemote of SparePartSetRemote instance. Only selected rows are processed.java.rmi.RemoteException
MXException
psdi.app.location.Location#copySparePartSetForTransferIn()
public void copyInvBalancesSetForTransferOut(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSetForTransferOut
in interface LocationRemote
invBalancesSet
- the MboSetRemote of InvBalancesSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyInvBalancesSetForTransferOut()
public void copyInvBalancesSetForTransferIn(MboSetRemote invBalancesSet) throws java.rmi.RemoteException, MXException
copyInvBalancesSetForTransferIn
in interface LocationRemote
invBalancesSet
- the MboSetRemote of InvBalancesSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyInvBalancesSetForTransferIn()
public void copyPOLineSetForTransferOut(MboSetRemote poLineSet) throws java.rmi.RemoteException, MXException
copyPOLineSetForTransferOut
in interface LocationRemote
poLineSet
- the MboSetRemote of POLineSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyPOLineSetForTransferOut()
public void warningsCopyPOLineSetForTransferOut() throws MXException, java.rmi.RemoteException
warningsCopyPOLineSetForTransferOut
in interface LocationRemote
MXException
java.rmi.RemoteException
warningsCopyPOLineSetForTransferOut()
public void copyPOLineSetForTransferIn(MboSetRemote poLineSet) throws java.rmi.RemoteException, MXException
copyPOLineSetForTransferIn
in interface LocationRemote
poLineSet
- the MboSetRemote of POLineSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyPOLineSetForTransferIn()
public void copyMatRecTransSetForTransferIn(MboSetRemote matRecTransSet) throws java.rmi.RemoteException, MXException
copyMatRecTransSetForTransferIn
in interface LocationRemote
matRecTransSet
- the MboSetRemote of MatRecTransSetRemote instance. Only process the selected rows.java.rmi.RemoteException
MXException
psdi.app.location.Location#copyMatRecTransSetForTransferIn()
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void warningsCopyPOLineSetForTransferIn() throws MXException, java.rmi.RemoteException
warningsCopyPOLineSetForTransferIn
in interface LocationRemote
MXException
java.rmi.RemoteException
warningsCopyPOLineSetForTransferIn()
public void warningsCopyMatRecTransSetForTransferIn() throws MXException, java.rmi.RemoteException
warningsCopyMatRecTransSetForTransferIn
in interface LocationRemote
MXException
java.rmi.RemoteException
warningsCopyMatRecTransSetForTransferIn()
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
initRelationship
in class Mbo
relationName
- The relationship name of the related MboSet which need to initialize.mboSet
- The related MboSet which need to initialize.MXException
java.rmi.RemoteException
SafetyLexiconSet.setThisRelationName(java.lang.String)
public MboSetRemote selectPOItemsOut() throws MXException, java.rmi.RemoteException
selectPOItemsOut
in interface LocationRemote
MXException
java.rmi.RemoteException
selectPOItemsOut()
public MboSetRemote selectReservedItemsOut() throws MXException, java.rmi.RemoteException
selectReservedItemsOut
in interface LocationRemote
MXException
java.rmi.RemoteException
selectReservedItemsOut()
public MboSetRemote selectItemsForTransferOut() throws MXException, java.rmi.RemoteException
selectItemsForTransferOut
in interface LocationRemote
MXException
java.rmi.RemoteException
selectItemsForTransferOut()
public MboSetRemote selectPOItemsIn() throws MXException, java.rmi.RemoteException
selectPOItemsIn
in interface LocationRemote
MXException
java.rmi.RemoteException
selectPOItemsIn()
public MboSetRemote selectMatRecTransIn() throws MXException, java.rmi.RemoteException
selectMatRecTransIn
in interface LocationRemote
MXException
java.rmi.RemoteException
selectMatRecTransIn()
public MboSetRemote selectReservedItemsIn() throws MXException, java.rmi.RemoteException
selectReservedItemsIn
in interface LocationRemote
MXException
java.rmi.RemoteException
selectReservedItemsIn()
public MboSetRemote selectItemsForTransferIn() throws MXException, java.rmi.RemoteException
selectItemsForTransferIn
in interface LocationRemote
MXException
java.rmi.RemoteException
selectItemsForTransferIn()
public MboSetRemote selectItemsForReturn() throws MXException, java.rmi.RemoteException
selectItemsForReturn
in interface LocationRemote
MXException
java.rmi.RemoteException
selectItemsForReturn()
public MboSetRemote selectReservedItems() throws MXException, java.rmi.RemoteException
selectReservedItems
in interface LocationRemote
MXException
java.rmi.RemoteException
selectReservedItems()
public MboSetRemote getChildrenInPrimary(java.lang.String locSiteId) throws MXException, java.rmi.RemoteException
getChildrenInPrimary
in interface LocationRemote
locSiteId
- Gets the primary system for a given siteMXException
java.rmi.RemoteException
getChildrenInPrimary(String locSiteId)
public boolean inPrimarySystem(java.lang.String locSiteId) throws MXException, java.rmi.RemoteException
inPrimarySystem
in interface LocationRemote
siteid
- Location's siteMXException
java.rmi.RemoteException
inPrimarySystem(String locSiteId)
public boolean canAssociateSystem() throws MXException, java.rmi.RemoteException
canAssociateSystem
in interface LocationRemote
MXApplicationException
- ("locations", "cannotassociatesystem")is thrown if this location is not an
operating location.MXException
java.rmi.RemoteException
canAssociateSystem()
public void clearClassification() throws java.rmi.RemoteException, MXException
clearClassification
in interface LocationRemote
java.rmi.RemoteException
MXException
psdi.app.asset.Location#clearClassification
public void setLocationAttributesForWO() throws MXException, java.rmi.RemoteException
setLocationAttributesForWO
in interface LocationRemote
MXException
java.rmi.RemoteException
setLocationAttributesForWO()
public void setLocationAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet) throws MXException, java.rmi.RemoteException
setLocationAttributesForWO
in interface LocationRemote
autoAttrUpdateSet
- autoattrupdateSet for a given workorder and locationMXException
java.rmi.RemoteException
setLocationAttributesForWO(AutoAttrUpdateSetRemote autoAttrUpdateSet)
public java.util.List getWarrantyInfo(java.util.Date woDate, boolean isParent) throws MXException, java.rmi.RemoteException
getWarrantyInfo
in interface LocationRemote
Date
- woDate date warranty applis toisParent
- true if is a parent assetMXException
java.rmi.RemoteException
getWarrantyInfo(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 assetMXException
java.rmi.RemoteException
public void hasMeters() throws MXException, java.rmi.RemoteException
hasMeters
in interface LocationRemote
MXApplicationException
- (noMeterForLocation) thrown if the location does not have metersMXException
java.rmi.RemoteException
hasMeters()
public void hasReadings() throws MXException, java.rmi.RemoteException
hasReadings
in interface LocationRemote
MXApplicationException
- (noReadingsForLocation) thrown if the location does not have readingsMXException
java.rmi.RemoteException
hasReadings()
public java.lang.String getAssetForLocation() throws MXException, java.rmi.RemoteException
getAssetForLocation
in interface LocationRemote
MXException
java.rmi.RemoteException
getAssetForLocation()
public MboSetRemote getLeaseContractForLocation() throws MXException, java.rmi.RemoteException
getLeaseContractForLocation
in interface LocationRemote
MXException
java.rmi.RemoteException
getLeaseContractForLocation()
public MboSetRemote getWarranty() throws MXException, java.rmi.RemoteException
getWarranty
in interface LocationRemote
MXException
java.rmi.RemoteException
getWarranty()
public MboSetRemote getWarrantyContractForLocation() throws MXException, java.rmi.RemoteException
getWarrantyContractForLocation
in interface LocationRemote
MXException
java.rmi.RemoteException
getWarrantyContractForLocation()
public void autoWogen() throws MXException, java.rmi.RemoteException
autoWogen
in interface LocationRemote
MXException
java.rmi.RemoteException
autoWogen()
public void autoWogen(MboRemote locationMeter) throws MXException, java.rmi.RemoteException
autoWogen
in interface LocationRemote
MXException
java.rmi.RemoteException
autoWogen(MboRemote locationMeter)
public void createTicket(MboRemote tkMbo) throws MXException, java.rmi.RemoteException
createTicket
in interface LocationRemote
The
- ticket mbo inserted for this location.MXException
java.rmi.RemoteException
createTicket(psdi.mbo.MboRemote)
public void createWO(MboRemote workorderMbo) throws MXException, java.rmi.RemoteException
createWO
in interface LocationRemote
The
- workorder mbo inserted for this locationMXException
java.rmi.RemoteException
createWO(psdi.mbo.MboRemote)
public void copyLocationToCollectDetailsSet(MboSetRemote collectionSet) throws MXException, java.rmi.RemoteException
copyLocationToCollectDetailsSet
in interface LocationRemote
MXException
java.rmi.RemoteException
copyLocationToCollectDetailsSet(psdi.mbo.MboSetRemote)
public void addLocationsToCollectDetails(java.lang.String collectionNum) throws MXException, java.rmi.RemoteException
addLocationsToCollectDetails
in interface LocationRemote
MXException
java.rmi.RemoteException
addLocationsToCollectDetails(java.lang.String)
public MboRemote createWorkorder(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createWorkorder
in interface AppActionInterface
jpnum
- -job plan need be apply to the new work order.MXException
java.rmi.RemoteException
public MboRemote createChange(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createChange
in interface AppActionInterface
jpnum
- -job plan need be apply to the new work order.MXException
java.rmi.RemoteException
public MboRemote createRelease(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createRelease
in interface AppActionInterface
jpnum
- -job plan need be apply to the new work order.MXException
java.rmi.RemoteException
public MboRemote createServiceRequest(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createServiceRequest
in interface AppActionInterface
tickettemplateid
- - Ticket Template ID to be applied when this ticket is created.MXException
java.rmi.RemoteException
public MboRemote createProblem(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createProblem
in interface AppActionInterface
tickettemplateid
- - Ticket Template ID to be applied when this ticket is created.MXException
java.rmi.RemoteException
public MboRemote createIncident(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createIncident
in interface AppActionInterface
tickettemplateid
- - Ticket Template ID to be applied when this ticket is created.MXException
java.rmi.RemoteException
public void validateOrderQty() throws MXException, java.rmi.RemoteException
validateOrderQty
in interface LocationRemote
MXException
java.rmi.RemoteException
validateOrderQty()
public void queryDataSheets(PlusCWODSSetRemote woDsSet, boolean loopCalibrations, java.util.Date fromDate, java.util.Date toDate) throws java.rmi.RemoteException, MXApplicationException, MXException
queryDataSheets
in interface LocationRemote
woDsSet
- 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.RemoteException
MXApplicationException
MXException
public boolean canBeUsedAsTagId() throws java.rmi.RemoteException, MXException
canBeUsedAsTagId
in interface LocationRemote
true
if this location meets the criteriajava.rmi.RemoteException
MXException
public AssetRemote getAssociatedAsset() throws java.rmi.RemoteException, MXException
getAssociatedAsset
in interface LocationRemote
null
otherwise.java.rmi.RemoteException
MXException
public MboRemote getAddressSystemForLocationMbo() throws MXException, java.rmi.RemoteException
LocationRemote
location
or
null
if it does not belong to the address system.getAddressSystemForLocationMbo
in interface LocationRemote
MXException
java.rmi.RemoteException
public MboRemote getAncestorSABasedOnAddressSystem(MboRemote child) throws MXException, java.rmi.RemoteException
LocationRemote
getAncestorSABasedOnAddressSystem
in interface LocationRemote
MXException
java.rmi.RemoteException
public MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
getMboSet
in interface MboRemote
getMboSet
in class Mbo
name
- 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.RemoteException
Mbo.getMboSet(String)
public ServiceAddressRemote getServiceAddress() throws MXException, java.rmi.RemoteException
getServiceAddress
in interface AddressableMbo
MXException
java.rmi.RemoteException
public boolean hasServiceAddress() throws MXException, java.rmi.RemoteException
hasServiceAddress
in interface AddressableMbo
MXException
java.rmi.RemoteException
public void saveGISData(java.lang.String address, java.lang.String lat, java.lang.String lng) throws MXException, java.rmi.RemoteException
GISable
saveGISData
in interface GISable
MXException
java.rmi.RemoteException
GISAbleCommon#saveGISData
public java.lang.Double getLatitudeY() throws MXException, java.rmi.RemoteException
GISable
getLatitudeY
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Double getLongitudeX() throws MXException, java.rmi.RemoteException
GISable
getLongitudeX
in interface GISable
MXException
java.rmi.RemoteException
public boolean isGISDataReadonly() throws MXException, java.rmi.RemoteException
GISable
isGISDataReadonly
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.String getAddressString() throws MXException, java.rmi.RemoteException
GISable
getAddressString
in interface GISable
MXException
java.rmi.RemoteException
public void addMoreLocationsToSet(MboSetRemote selectedMoreMboSet, MboSetRemote selectedMboSet) throws java.rmi.RemoteException, MXException
addMoreLocationsToSet
in interface LocationRemote
selectedMoreMboSet
- The more selected locationsselectedMboSet
- The selected locationsjava.rmi.RemoteException
MXException
psdi.app.location.Location#addMoreLocationsToSet()
public MboRemote getAutoLocateObject(AutoLocatable nextInChain) throws MXException, java.rmi.RemoteException
AutoLocatable
getAutoLocateObject
in interface AutoLocatable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.Boolean hasCoords() throws MXException, java.rmi.RemoteException
GISable
hasCoords
in interface GISable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic MboRemote getAutoLocateObject() throws MXException, java.rmi.RemoteException
AutoLocatable
getAutoLocateObject
in interface AutoLocatable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exception