public class WO extends StatefulMbo implements WORemote, AncMbo
This is a site level object.
The key attributes for this object are SiteID and WoNum.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
ActFinish
| Actual finish date of this work order. |
ActLabCost
| Actual labor cost of this work order. |
ActLabHrs
| Actual labor hours of this work order. |
ActMatCost
| Actual material cost of this work order. |
ActServCost
| Total actual service cost against this work order. |
ActStart
| Actual start date of this work order. |
ActToolCost
| Actual tool cost of this work order. |
ActTotalCost
| Non-persistent attribute to calculate the actual total cost against this work order. it's value equals to (ActLabCost + ActMatCost + ActToolCost+ ActServCost). |
CalcPriority
| Calculated work priority, it's value is calculated from wopriority and assetlocpriority, and it calculates the
respondby date. See also WOPriority .
|
Calendar
| Identifier of Calendar to determine shift work is to be done on.
|
ChangeBy | Modified By. |
ChangeDate | Last Modified Date. |
ChargeStore
| Indicates whether charges on this work order should be added to the asset. |
Contract
| Identification of the asset ServiceContract .
|
CrewId | Identification for a given crew within an craft. |
Description | Short description of this work order. |
Disabled | Indicates if this record active. |
DownTime | Indicates if the asset has to be down for this work order. |
AssetLocPriority
| asset Location Priority copied from the work order'sasset or
Location .
|
assetnum
| Identification of the asset associate with this work order.
|
EstAtApprLabCost
| Estimated labor costs at time of approval for this work order. |
EstAtApprLabHrs
| Estimated the labor hours at time of approval for this work order. |
EstAtApprMatCost
| Estimated materials cost at time of approval for this work order. |
EstAtApprServCost
| Estimated service cost at time of approval for this work order. |
EstAtApprToolCost
| Estimated tools cost at time of approval for this work order. |
EstAtApprTotalCost
| A non-persistent attribute to calculate the estimate at time of approval of total cost against this work order, the value of this attribute equals to (EstAtApprLabCost + EstAtApprMatCost + EstAtApprToolCost+ EstAtApprServCost). |
EstDur | Estimated duration of this work order. |
EstLabCost
| Estimated labor cost of this work order. |
EstLabHrs
| Estimated labor hours of this work order. |
EstMatCost
| Estimated material cost of this work order. |
EstServCost
| Total estimated service cost against this work order. |
EstToolCost
| Estimated tool cost of this work order. |
EstTotalCost
| A non-persistent attribute to calculate the estimated total cost against this work order, The value of this attribute equals to (EstLabCost + EstMatCost + EstToolCost+ EstServCost). |
ExternalRefId | External reference ID. |
FailDate | Actual failure date. |
FailureCode
| Indicates top level failure code of the FailureCode of a failure hierarchy.
|
FincntrlId | Identifier of Financial Control .
|
OrigRecordID
| Indicates if this work order has been generated from another WO or Ticket, if yes, then this attribute contains the originating WO/Ticket number. |
Fr1Code
| A non-persistent attribute that represents this work order's 2nd level failure report failure code. |
Fr2Code
| A non-persistent attribute that represents this work order's 3rd level failure report failure code. |
GeneratedForPo | Identification of the PO for this work order.
|
GenForPoLineId | The POLine number that required the work.
|
GLAccount
| GL Account associated with this work order.
|
HasChildren | Indicates if this work order has children. Yes if WO has children No if it has no children. |
HasFollowUpWork | Indicates if there is follow up work for this work order. |
HistoryFlag | Indicates if this work order is in history. Closed and cancelled work orders are in history. |
Inspector
| Identifier of the Inspector responsible for this work order.
|
Interruptible | Indicates if this work order allowed to be stopped and restarted during resource scheduling. |
IsTask | Indicates if the work order is considered to be a task. |
JpNum
| Identification of the JobPlan associate with this work order.
|
LdKey | Long description key. |
Location
| Identifier of the Location of this work order.
|
MeasureDate
| Date/Time when measurement was taken or when observation was taken. |
MeasurementValue
| Recorded measurement. |
Observation | Describes an inspection observation of asset or location by an inspector. |
OrgId
| Identifier of the organization for this work order. |
OutLabCost | Outside Labor Cost of this work order. |
OutMatCost | Outside Material Cost of this work order. |
OutToolCost | Outside Tool Cost of this work order. |
OwnerSysId | Owner System ID of MXCollab .
|
Parent
| Work Order Number of this work order's parent. |
ParentChgsStatus | Flags whether the parent of this work order should change this work order's status. |
Phone | The phone number of the person reporting the work order. |
PmDueDate | From the original Next due date of the PM. |
PmExtDate | From the extended date of the PM. |
PmNextDueDate | From the next due date of the PM. |
PMNum
| Identifier of the PM that created this work order.
|
PointNum
| The MeasurePoint for which this work order is recording.
|
ProblemCode
| Reason for failure, indicates second level FailureCode of a failure
hierarchy. This value is also the first level of the work order's failure report.
|
RemarkDesc
| This nonpersistent attribute is a link to the Description attribute of the FailureRemark companion record. |
RemarkEnterDate
| This nonpersistent attribute is a link to the EnterDate attribute of the FailureRemark companion record. |
RemDur | Estimated time to complete work order. |
ReportDate | The date work order was reported. |
ReportedBy
| The person reporting this work order. |
RespondBy | A Calculated field specifying by when a breakdown should be responded to. |
SafetyPlanID
| A non-persistent attribute to hold the identifier of the SafetyPlan associate
with this work order.
|
SchedFinish
| Scheduled finish date-from the Scheduler. |
SchedStart
| Scheduled start date-from the Scheduler. |
SenderSysId | Attribute used by ERP-Integration (APIs). |
SiteId
| Identifier of the site for this failure. |
SourceSysId | Source System ID of the MXCollab .
|
Status | The status of the Work Order. |
StatusDate | Work Order Status Date. |
Supervisor
| Identifier of the supervisor of work order.
|
TargCompDate
| Target Completion Date. |
TargStartDate
| Target Start Date. |
a The Task identifier of this work order.
| |
WfActive | Indicates if the work flow is active on this work order. |
WfId | Identifier of the Work Flow process associated with this work order. |
PersonGroup
| Identifier of the PersonGroup .
|
WoLabLnk
| Identifier of the Labor associate with this work order.
|
WoNum | Unique identifier of this work order. |
WoPriority
| Work Order Priority. |
WorkLocation
| Identifier of the Work Location that is to be responsible for the work.
|
WorkType
| Indicates the WorkType of this work order.
|
WoSequence
| Indicates sequence to execute Work Orders of a given WO hierarchy. |
WO01-WO020 | extra fields. |
WOEQ1-WOEQ14 | extra fields. Cross over fields from asset.EQ1-EQ12, EQ23,EQ24. |
WOJO1-WOJO8 | extra fields. Cross over fields from JobTask.JO1-JO8. |
WOL01-WOLO10 | extra fields. |
WORTS1-WORTS5 | extra fields. Crossover fieldS from Route_Stop.RTS1-RTS5. |
The createWorkorder, createChange & createRelease methods all create a seperate mbo set, save it and return the newly created mbo.
Modifier and Type | Class and Description |
---|---|
static class |
WO.MTLStatus
The Enum MTLStatus.
|
Modifier and Type | Field and Description |
---|---|
static int |
AFTERFLOWCONTROLCOMPLETE
The AFTERFLOWCONTROLCOMPLETE.
|
static java.lang.String |
APPLYASSETLOC
This is a bullentin board key indicating that this thread is already in the middle of validating either the
assetnum or Location attribute.
|
boolean |
assetMoveFromChangeSttaus
The is from comp/close staus.
|
static int |
ATFLOWCONTROLCOMPLETE
The ATFLOWCONTROLCOMPLETE.
|
static int |
ATFLOWCONTROLSTART
The ATFLOWCONTROLSTART.
|
static int |
BEFOREFLOWCONTROLSTART
The BEFOREFLOWCONTROLSTART.
|
static java.lang.String |
crewDurCrewPos |
static java.lang.String |
crewDurDynamic |
static java.lang.String |
crewDurStatic |
static int |
FLOWCONTROLAUTOSTART
The FLOWCONTROLAUTOSTART.
|
static int |
FLOWCONTROLMANUALCOMPLETE
The FLOWCONTROLMANUALCOMPLETE.
|
static int |
FLOWCONTROLMANUALSTART
The FLOWCONTROLMANUALSTART.
|
static int |
FLOWCONTROLSUSPENDED
The FLOWCONTROLSUSPENDED.
|
static int |
FLOWCONTROLUNRECOGNIZED
The FLOWCONTROLUNRECOGNIZED.
|
static int |
FLOWCONTROLWOCANCELLED
The FLOWCONTROLWOCANCELLED.
|
static int |
INFLOWCONTROL
The INFLOWCONTROL.
|
java.util.Vector |
unCommittedWOs
IV98812: in PM wogen, for a job plan with many nested job plans.
|
static int |
WONOTFLOWCONTROLLED
The WONOTFLOWCONTROLLED.
|
static int |
WORKTYPENOTFLOWCONTROLLED
The WORKTYPENOTFLOWCONTROLLED.
|
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
DJPAPPLIED, DJPERROR, TOTALWORKUNITS
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
Modifier and Type | Method and Description |
---|---|
void |
add()
Adds a new Work Order.
|
void |
adjustSuccVectors(java.util.Vector existingSuccs,
java.util.Vector newSuccs)
Compares a new list of successor nodes to be started to the master list.
|
void |
applyAssetLoc()
Applys any changes to fields that are affected by changing the asset or location fields.
|
void |
applyAssetLoc(boolean calcSafetyPlan)
Apply asset loc.
|
void |
applyAssignedOwnerGroup(java.lang.String ownergroupID)
Apply an assigned owner group to a record.
|
void |
applyHazardToWoHazardSet(MboRemote spRelatedasset,
MboSetRemote hazardSet)
Apply the passed hazard set to Workorder.
|
boolean |
applyingJobPlan()
Applying job plan.
|
void |
applyOwner(java.lang.String ownerID)
Apply an owner to a record.
|
void |
applyOwnerGroup(java.lang.String ownergroupID)
Apply an ownergroup to a record.
|
void |
applyRoute(java.lang.String routeID,
java.lang.String storeLoc)
Applies the route to this work order.
|
void |
applyRoute(java.lang.String routeID,
java.lang.String storeLoc,
java.lang.String storeLocSite)
Applies the route to this work order.
|
void |
applyRoute(java.lang.String routeID,
java.lang.String storeLoc,
java.lang.String storeLocSite,
long accessModifier)
Applies the route to this work order.
|
void |
applyRoute(java.lang.String routeID,
java.lang.String storeLoc,
java.lang.String storeLocSite,
long accessModifier,
MboSetRemote infoSet)
Applies the route to this work order.
|
void |
applyToAllAssetLoc(MboRemote attrupdate)
This method will apply the specified attribute modification to all asset and location which has this attribute
|
void |
applyToAllUser(MboRemote woModUser)
This method will apply the specified user and custodian to AssetUserCust and LocationUserCust
|
void |
appValidate()
App validate.
|
boolean |
areAllPredecessorsComplete()
Are all predecessors complete.
|
boolean |
areAllPredecessorsComplete(java.lang.String targetStatus,
boolean fully)
If all predecessors are flow complete, then true is returned; if any are not flow complete, false is returned.
|
boolean |
areAllPredecessorsComplete(WO wo)
Are all predecessors complete.
|
boolean |
areAllPredecessorsComplete(WO wo,
java.lang.String targetStatus,
boolean fully)
If all predecessors are flow complete, then true is returned; if any are not flow complete, false is returned.
|
boolean |
areAllPredecessorsSufficientlyComplete(WO wo,
java.lang.String targetStatus)
Completeness in a predecessor depends on the context: it can be different depending on: 1) what action is being
considered (auto start, manual start, or manual completion); 2) the Relationship type of the precedence relation
between the predecessor and the current wo; and 3) the status of the predecessor (relative to flow start and flow
complete).
|
void |
bulkReschedule(boolean resched,
java.util.Date reschedDate)
Calls rescheduleAssignments if the action is rescheduling assignments and unassignWOAssignments if it's
unassigning assignments; resched being true or false, respectively, tells which it is.
|
void |
bulkReschedule(boolean resched,
java.util.Date reschedDate,
boolean fromListTab) |
void |
calcGLAccount()
Sets the GL Account attribute based on the Asset/Loc/ChargeStore attribute values.
|
void |
calculateConstaintDates(MboValue startOffset,
MboValue finishOffset,
MboValue woDur)
Uses the passed Start and Finish Constraint Offsets, if any, and the workorder's target dates, if any, to
calculate the constaint dates, if possible.
|
void |
calculateDynamicJobPlan()
Main calculation Entry Point
For each resource, we trigger the calculation of the dynamic resources values
Each resource : All Tasks, All labors, All materials, All Tools, All Services, And the workorder itself
For each records of the mbosets, it call the corresponding calculation method, according to the field CALCMETHOD, on
the Job Plan record (
For TASKS -> JOBTASK.CALCMETHOD,
For LABOR -> JOBLABOR.CALCMETHOD,
For MATERIAL -> JOBMATERIAL.CALCMETHOD,
For TOOL -> JOBTOOL.CALCMETHOD,
FOR SERVICE -> JOBSERVICE.CALCMETHOD,
FOR WORKODER -> JOBPLAN.CALCMETHOD
)
with parameters :
mbo is the workplan record (wplabor, wpmaterial, wptool, wpservice, workorder)
job plan associated record (
wplabor -> joblabor,
wpmaterial -> jobmaterial,
wptool -> jobtool,
wpservice -> jobservice,
workorder -> jobplan
)
calculatedField : the names of the fields on the mbo and job plan associated records
that must be used to set and retrieve the values
Example : if JOBRESOURCE.CALCAPPLYTO = HOURS, then we will return for WPLABOR the fields WPLABOR.LABORHRS and JOBLABOR.LABORHRS
Example : if JOBRESOURCE.CALCAPPLYTO = HOURS, then we will return for WORKORDER the fields WORKORDER.ESTDUR and JOBPLAN.TASKDURATION
|
java.util.Date |
calculateScheduleFinishDate(WO wo,
java.util.Date schedStartDate)
Calculates a schedule finish date as the passed schedStartDate date plus the EstDur of the passed workorder.
|
void |
calculateTotalWorkUnits()
Calculate the total length of attributes : for each linear asset in the multiassetlocci set,
we add the absolute value for endmeasure - startmeasure (cause the endmeasure is not necessarely
lower than the startmeasure)
Update the field TOTALWORKUNITS If some assets are not linear, they are skipped, and a warning is added to the MULTIASSETLOCCI set |
void |
calculateTotalWorkUnitsFor(MboRemote multiAssetLocCI,
java.lang.String unitOfWork) |
void |
canApplyRoute()
Determines if this user can apply a route to the work order.
|
void |
canApplyRoute(long accessModifier)
Determines if this user can apply a route to the work order.
|
void |
canApplyRoute(java.lang.String routeID)
Determines if this route can be applied to the work order.
|
void |
canApplyRoute(java.lang.String routeID,
long accessModifier)
Determines if this route can be applied to the work order.
|
boolean |
canChargeStore()
Determines whether this work order can be charged to store.
|
boolean |
canCreateRelatedRecord()
IV93688 - Prevent creation of related records when record is locked
|
void |
canDelete()
Work orders normally may not be deleted, except when they were created by mistake and deleted before being used.
|
void |
canDeleteAttachedDocs()
Throws an access exception if Doclinks related to this cannot be deleted.
|
boolean |
canEditAsFoundAsLeftFields()
Can edit as found as left fields.
|
boolean |
canEditAsset()
Can edit asset.
|
void |
canEditRelatedSet(java.lang.String relationName)
Determines if a related set should be editable or not.
|
void |
canEditRelatedSetCal(java.lang.String relationName)
Can edit related set cal.
|
void |
canEnterMeterReadings()
checks to make sure that there is an asset or location on the work order, and that the workorder's asset or
location is associated with an active meter.
|
void |
canGenFollowUpWo()
Determines if this workorder can generate a followup workorder.
|
void |
canRemoveSafetyPlan()
Determines whether the safety plan can be removed.
|
void |
canRemoveWorkPlan()
Determines whether the remove work plan option is valid.
|
void |
canReportDowntime()
If this work order does not have asset, or if its in a history status then it cannot report down time.
|
void |
changeChildrensFieldValue(java.lang.String fieldname,
java.lang.String fieldvalue,
long accessModifier)
Change childrens field value.
|
void |
changeChildrenStatus()
Changes the status of the work orders directly beneath this one.
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
This method is called by everything except haveReceivedDirectIssue We pass in false to say that we are not coming
from Receiving.
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier,
boolean comingFromReceiving)
This method is overridden to support changing the status of work order hierarchies.
|
void |
changeStatusCal(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier,
boolean comingFromReceiving)
Overridden to update previous as left values when approving.
|
void |
changeStatusProcessFlowControl()
This method is called from WOStatusChangeListener after the status of a workorder has been changed.
|
void |
changeWorkOrderParent(MboRemote woparent)
Changes this work order's parent to point to the work order passed as a parameter.
|
void |
checkCompStatus()
If the work order status is COMP, cannot perform Save as Plan.
|
boolean |
checkForActiveLabTrans()
Check if this work order has any active labor transactions.
|
boolean |
checkNestedJobPlans()
Check if nested jobplans are defined on the children of the workorder.
|
void |
CheckOrigIsFollowup()
Check to see if originator is a follow up
|
boolean |
checkRequiredDatasheets()
Check whether there's at least one required data sheet (if the WO has any).
|
void |
checkSynonymStatusDate(java.lang.String status,
java.util.Date date) |
void |
checkWorkPackStatus()
This method will be called whenever a parent is changed on a workorder.
|
void |
clearClassification()
This method clears the classtructureid of the work order
|
void |
clearHashForSelectedRecord()
Clear hashSet so new mbo can be added and to release memory.
|
void |
clearMoveandDeleteAttrUpdate()
This method will modify the asset and location attributes
|
void |
clearMoveAssetFields()
This method will modify the asset and location attributes
|
void |
clearPrimaryLinearAssetFields(MultiAssetLocCIRemote multiAssetMbo)
Clear all the linear asset fields in the passed MultiAssetLocCI object; this should ordinarily be the primary one
associated with this wo...
|
void |
clearSkipCopyFields()
Clear skipFieldcopy HashSet.
|
void |
clearWorkPlanInfo()
Clears Work Plan from a work order.
|
void |
copyAssets(MboSetRemote assetset)
Copy asset set to work order
|
void |
copyAssetSpecToAutoAttrUpdateSet(MboSetRemote assetspecset,
MboRemote woasset)
This method will copy the specified asset attributes to autoattrupdate
|
void |
copyAssetsToMultiAsset(AssetSetRemote assetSetRemote)
Copies the selected Asset values to the WARRANTYASSET.
|
void |
copyCISpecToAutoAttrUpdateSet(MboSetRemote cispecset,
MboRemote woasset)
This method will copy the specified ci attributes to autoattrupdate
|
void |
copyCIsToMultiAsset(MboSetRemote ciSetRemote)
Copies the selected CI values to the multiassetlocci.
|
void |
copyCollectDetailsToMultiAsset(MboSetRemote routestopSetRemote)
Copies the selected CI values to the multiassetlocci.
|
void |
copyCraftRateToWpLaborSet(MboSetRemote craftRateSet)
Creates workplan labor set for the selected labor set.
|
void |
copyCrewTypeToWpLaborSet(MboSetRemote crewTypeSet)
Creates workplan labor set for the selected labor set.
|
void |
copyDoclinksToWO()
Copy the docklinks from assetlocation,safetyplan,jobplan,pm etc which has copylonktowo flag set to WO and it's
children
|
void |
copyDoclinksToWO(WO wo)
Copy the docklinks from assetlocation,safetyplan,jobplan,pm etc which has copylonktowo flag set to this WO
|
void |
copyDSPlanToWO(Mbo ds)
Copy the given Datasheet to this Workorder.
|
void |
copyFailListToReportSet(MboSetRemote failListSet)
Copies the passed FailureList set to Failure Report set.
|
void |
copyInvresvItemsToMatUseSet(MboSetRemote InvresvItemSet)
Copies the passed InvresvItem set to actual Material trans set.
|
void |
copyItemToMatUseTransSet(MboSetRemote itemSet)
Copies the passed item set to matusetrans set.
|
void |
copyItemToWpMatSet(MboSetRemote itemSet)
Copies the passed item set to work plan material set.
|
void |
copyJobPlanToWorkPlan()
Creates Work Plan from a Job Plan.
|
void |
copyJobPlanToWorkPlanCal()
Copy job plan to work plan cal.
|
void |
copyJobPlanToWorkPlanNoNestedJP()
Creates Work Plan from a Job Plan.
|
void |
copyLaborToLabTransSet(MboSetRemote laborSet)
Copies the passed labor set to labor trans set.
|
void |
copyLaborToWpLaborSet(MboSetRemote laborSet)
Creates workplan labor set for the selected labor set.
|
void |
copyLinearAssetFieldsFromRouteStop(MboRemote toMbo,
MboRemote routestop)
Copy linear asset fields from route stop.
|
void |
copyLocations(MboSetRemote locationset)
Copy location set to work order
|
void |
copyLocationsToMultiAsset(MboSetRemote locationSetRemote)
Copies the selected Location values to the multiassetlocci.
|
void |
copyLocSpecToAutoAttrUpdateSet(MboSetRemote locspecset,
MboRemote woasset)
This method will copy the specified location attributes to autoattrupdate
|
void |
copyMatUseTransToToolTransSet(MboSetRemote matUseTransSet)
Copies the passed tool set to tool trans set.
|
void |
copyMRLineToPlanMaterialSet(MboSetRemote mrLineSet)
Copies the selected Requisitions set to Planned material set.
|
void |
copyParentValuesToRelatedRec(MboRemote relatedMbo)
Copies the values of the parent record to the passed related record
IJ06338
|
void |
copyPlanLaborToLabTransSet(MboSetRemote planLaborSet)
Copies the passed plan labor set to actual labor trans set.
|
void |
copyPlanToolToToolTransSet(MboSetRemote planToolSet)
Copies the passed plan tool set to actual tool trans set.
|
void |
copyRouteStopsToMultiAsset(MboSetRemote routestopSetRemote)
Copies the selected CI values to the multiassetlocci.
|
void |
copySafetyPlanToWoSafetyPlan()
Copy safety plan data to the work order's safety plan data, using the value set for safetyplanid to identify the
safety plan.
|
void |
copyServiceItemsToWpSerSet(MboSetRemote serviceItemSet)
Copies the passed Service item set to work plan Service set.
|
void |
copySparePartsToMatUseSet(MboSetRemote sparePartSet)
Copies the passed SpareParts set to actual Material trans set.
|
void |
copySparePartsToWpMatSet(MboSetRemote sparePartSet)
Copies the passed SpareParts set to WorkPlan Material set.
|
void |
copyTicketParentToRelatedRecSet(MboSetRemote TicketSet)
Copies the passed ticket set to related record set for the parent of this WO.
|
void |
copyTicketToRelatedRecSet(MboSetRemote TicketSet)
Copies the passed ticket set to related record set.
|
void |
copyTicketToRelatedRecSet(MboSetRemote TicketSet,
boolean copyToParent)
Copies the passed ticket set to related record set.
|
void |
copyToolToToolTransSet(MboSetRemote toolSet)
Copies the passed tool set to tool trans set.
|
void |
copyToolToWpToolSet(MboSetRemote toolSet)
Copies the passed tool set to work plan tool set.
|
void |
copyWOFieldsToMultiAsset(MultiAssetLocCIRemote multiAssetMbo)
Collect the fields that need to be copied from a work order to its MultiAssetLocCI record.
|
void |
copyWOParentToRelatedRecSet(MboSetRemote woSet)
Copies the passed workorder set to related record set for the parent of this WO.
|
void |
copyWOToRelatedRecSet(MboSetRemote woSet)
Copies the passed work order set to related record set.
|
void |
copyWOToRelatedRecSet(MboSetRemote woSet,
boolean copyToParent)
Copies the passed work order set to related record set.
|
void |
createAssignRepLoc() |
MboRemote |
createChange()
creates a Workorder with WOCLASS=CHANGE from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
MboRemote |
createChange(java.lang.String jpnum)
creates a Workorder with WOCLASS=CHANGE from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
MboRemote |
createIncident()
creates a Ticket with Ticket Type = Incident from a WO of any WOCLASS
|
MboRemote |
createIncident(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Incident from a WO of any WOCLASS
|
MboRemote |
createJobEntry()
Creates async record to get executed nested jobplan processing
|
MboRemote |
createJPFromWO(java.util.Date date,
java.lang.String jpnum,
java.lang.String description,
java.lang.String longdescription)
This method creates a Job Plan from this WO.
|
MboRemote |
createJPFromWO(java.lang.String jpnum,
java.lang.String description,
java.lang.String longdescription)
An interface for UI to create a Job Plan from a Work Plan.
|
Mbo |
createJPHeaderFromWO(java.lang.String jpnum,
java.lang.String description,
java.lang.String longdescription)
This method copies the Work Order header info to a new Job Plan header.
|
MboRemote |
createProblem()
creates a Ticket with Ticket Type = Problem from a WO of any WOCLASS
|
MboRemote |
createProblem(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Problem from a WO of any WOCLASS
|
MboRemote |
createRelease()
creates a Workorder with WOCLASS=RELEASE from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
MboRemote |
createRelease(java.lang.String jpnum)
creates a Workorder with WOCLASS=RELEASE from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
MboRemote |
createServiceRequest()
creates a Ticket with Ticket Type = Service Request from a WO of any WOCLASS
|
MboRemote |
createServiceRequest(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Service Request from a WO of any WOCLASS
|
void |
createToolTransEveryplace(MboRemote labTransMbo)
Everyplace Report by Labor/Tool Stop Timer.
|
MboRemote |
createWorkorder()
creates a Workorder with WOCLASS=WORKORDER from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
MboRemote |
createWorkorder(MboSetRemote workorderSet)
Creates the workorder.
|
MboRemote |
createWorkorder(MboSetRemote workorderSet,
java.lang.String jpnum,
boolean saveSet)
Creates a Workorder with WOCLASS=WORKORDER from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
MboRemote |
createWorkorder(java.lang.String jpnum)
creates a Workorder with WOCLASS=WORKORDER from any other WOCLASS (WORKORDER, CHANGE or RELEASE)
|
void |
delete()
override delete to delete this and records associated with this work order task
|
void |
delete(long accessModifier)
override delete to delete this and records associated with this work order task
|
void |
deleteChildren(boolean task)
Sets up the children hierarchy for deletion.
|
void |
doClassificationCreateTicketViews(MboRemote newMbo)
08-10181: copy workorderspec to ticketspec
|
void |
doClassificationCreateWOSpecFromJobPlan(MboRemote newMbo,
MboRemote sourceMbo)
07-27302: copy jobplanspec to workorderspec copy jobtaskspec to workorderspec
|
void |
doClassificationCreateWOViews(MboRemote newMbo)
08-10181: copy workorderspec to ticketspec
|
MboRemote |
duplicate()
Creates a duplicate workOrder with its related objects.
|
MboRemote |
duplicateWODS(MboRemote newWO)
Duplicate workorder datasheets.
|
void |
editHistory()
method which provides ability to edit certain fields on work orders while they are in closed status.
|
void |
enterQuickReportingMode()
Sets up a work order for use in QuickReporting applications.
|
void |
executeProcessFlowControlAction()
Execute process flow control action.
|
int |
findPredecessorPosition(java.util.Vector vector2Search,
java.lang.String wonum,
java.util.Hashtable htNetwork)
Loop thru the vector2Search vector to find the highest position of the wonums predecessors.
|
void |
fireEvent(java.lang.String type)
IV78777: Extend fireEvent to allow rollback, if rollback enabled.
|
void |
generateAutoKey()
WO supports autokeying - sets the WONUM attribute.
|
void |
generateTaskID()
Sets this work order's task ID to the next task ID value for the parent work order.
|
void |
generateWORelRecord(WORemote oldWO)
Generates a new related record to link this workorder to the one received as a parameter
|
MboRemote |
genFollowUpWo()
Generates a followUp workorder with its related objects.
|
boolean |
getAddingFirstJobTask()
Gets the adding first job task.
|
java.lang.String |
getAddressString()
Return a string with the address of the current entitty.
|
WOSetRemote |
getAlreadyReportedSet()
Return alreadyReportedSet.
|
MboRemote |
getAmCrew(java.lang.String crew,
java.lang.String laborOrg)
Get crew information from AMCrew table based on labor's crew and organization.
|
MboRemote |
getAmCrewLabor(java.lang.String laborCode,
java.lang.String laborOrg)
Get crew from AMCrewLabor table based on login labor and organization.
|
MboSetRemote |
getAmCrewLaborSet(java.lang.String crew,
java.lang.String laborOrg)
Get members of crew from AMCREWLABOR based on crew and organization.
|
MboSetRemote |
getAmCrewToolSet(java.lang.String crew)
Get tools from AMCrewTool based on crew and organization.
|
AssetRemote |
getAsset()
get the related asset mbo
|
MboRemote |
getAutoLocateObject()
Returns an autolocate object instance if present.
|
MboRemote |
getAutoLocateObject(AutoLocatable nextInChain)
Returns an autolocate object instance if present.
|
MboSetRemote |
getAvailableLabor()
Get list of available labor records for new assignment record.
|
MboSetRemote |
getChangeStatusSet()
IV85972 - When cancelling from the list tab, only cancel most recent WO from a particular PM.
|
MboSetRemote |
getChildNoTask()
Gets the MboSet representing the children of this Mbo in the hierarchy.
|
java.util.Vector |
getChildPFCOrder(boolean getChildrenWOs,
boolean appendSiteid)
Return a vector containing child wonums in process flow order (successor order).
|
MboSetRemote |
getChildren()
Gets the MboSet representing the children of this Mbo in the hierarchy.
|
java.util.Vector |
getChildrenThatHaveNoPredecessors()
Gets the children that have no predecessors.
|
java.lang.String |
getCompleteStatusForWorkType()
Gets the complete status for work type.
|
java.lang.String |
getCompleteStatusForWorkType(WO wo)
Gets the complete status for work type.
|
int |
getContemplatedAction(WO wo,
java.lang.String targetStatus)
Determines the contemplated action.
|
MboSetRemote |
getCopydocMboSet(java.lang.String name)
Gets the copydoc mbo set.
|
boolean |
getCopyingJobTasks()
Gets the copying job tasks.
|
boolean |
getCopyingWorkPlanAssignments()
Gets the copying work plan assignments.
|
int |
getCrewMemberCount(java.util.Date desiredDate)
Get members count related to MaxVar CREWDURATION for a specific date
|
boolean |
getDuplicated()
get the duplicated.
|
ECommHelperRemote |
getECommHelperRemote()
Gets the e comm helper remote.
|
MboSetRemote |
getFailListForReport()
get the next level FailureList set for Failure Report.
|
int |
getFlowControlState()
Get the current state of this WO in the flow control process
|
int |
getFlowControlState(WO wo,
java.lang.String status)
Get the current state of this WO in the flow control process
|
java.util.Vector |
getGrandTotals()
Returns a vector of the totals to view the hierarchy grand totals.
|
java.util.HashSet |
getHashForSelectedRecord()
Returns the HashSet that contains the selected workorder object.
|
java.lang.String[] |
getHierarchies()
For Mbos that support multiple hiearchies, this method returns the names of all the hierarchy this Mbo is a
member of.
|
java.lang.String |
getJobRevNum(Mbo PlusCWO)
Gets the jobplan rev num.
|
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
java.util.HashMap |
getLCRSqlFormatHashMap(AssignmentSet assignSet)
Loops through the assignmentset and for each assignment in the Assigned state creates a SQLFormat object that
will allow us to fetch the correct LaborCraftRate object later on.
|
void |
getLocForAsset()
Called by the assetnum attribute to set the work order's location to the Asset's location If the asset has a
valid location for the work order, that location will be put on the work order, if the location field is blank.
|
java.lang.Double |
getLongitudeX()
Return a double value with the the Longitude (or X) coordinate of the current entitty.
|
MboRemote |
getLoopRotAsset(MboRemote toolMbo)
Gets the loop rot asset.
|
MboSetRemote |
getMboSet(java.lang.String name)
Overridden to support faux MboSets
|
java.util.HashMap<java.lang.String,MXApplicationYesNoCancelException> |
getMXYesNoHash()
IJ11288
Returns the WO's mxYesNoHash used to complete the reschedule
|
MboSetRemote |
getOwnSet()
Creates a MboSetRemote containing this single Mbo.
|
WO |
getParentMbo()
Returns the work order which is the parent of a parent + children combined display.
|
MboSetRemote |
getParents()
Gets the MboSet representing the parents of this Mbo in the hierarchy.
|
PMRemote |
getPM()
get the related PM mbo
|
java.util.Date |
getPMExtDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getPMNextDate(java.util.Date date,
java.lang.String calledFromFlag) |
boolean |
getPMWOCancelUserListResponse()
Get the User's Stored Response from Cancel Yes/No Dialog.
|
int |
getPMWOCancelUserMainAndChildren()
IV31668/61883 - issue12-14560
Get the User's Stored Response from Cancel Yes/No Dialog.
|
double |
getPOTotal()
Gets the total PO cost for this workorder.
|
java.util.Vector |
getPredecessors()
Gets the predecessors.
|
java.lang.String |
getProcess()
Gets the work flow process for work orders.
|
double |
getPRTotal()
Gets the total PR cost for this workorder.
|
java.lang.String |
getRecordMboName()
Gets the record mbo name.
|
boolean |
getRemoveWorkPlan()
Gets the Remove Work Plan flag that was set by the setRemoveWorkPlan method.
|
boolean |
getRemoveWorkPlanFlag()
Gets the Remove Work Plan flag that was set by the setRemoveWorkPlanFlag method.
|
int |
getRescheduled() |
java.lang.String |
getSafetyPlanID()
Determines the safety plan based on the Location, assetnum, and job plan, but DOES NOT set value for the
workorder's safetyplanid.
|
WOServiceAddressRemote |
getServiceAddress() |
java.lang.String |
getServiceContractInClause()
this method will populate the Service Contract inclause for this work order, it's called from wocontract field
class.
|
double |
getServiceTotal()
Gets the total service cost for this workorder.
|
MboSetRemote |
getSharedMatUseTransSet(MboRemote wpm)
IV60366: method to getsharedmboset of matusetrans in this wpmaterial set of this work order
|
WOSetRemote |
getSimilarWorkOrders()
Returns a list of similar work orders.
|
java.lang.String |
getStartStatusForWorkType()
Gets the start status for work type.
|
java.lang.String |
getStartStatusForWorkType(WO wo)
Gets the start status for work type.
|
java.lang.String |
getStatus(java.lang.String status)
Gets the translatable status for WOSTATUS.
|
java.lang.String |
getStatusListName()
Gets the name of the value list that contains all the status's.
|
MboRemote |
getStopTimerLabtrans()
Get LabTrans on which Stop Timer has been executed.
|
MboSetRemote |
getSubWorkOrders()
Returns the mboset of sub-work orders under this work order.
|
java.util.Vector |
getSuccessors()
Gets the successors.
|
java.util.Date |
getTargStartDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.lang.String |
getTaskForWonum(java.lang.String wonum)
Gives the proper TaskID for a work plan record, given the work order number.
|
java.lang.String |
getTaskIdsThatAcceptCharges()
Determines which tasks on a WO can accept charges
|
MboSetRemote |
getTasksOnly()
Gets the MboSet representing the children of this Mbo in the hierarchy.
|
MboSetRemote |
getTop()
Gets the MboSet representing top-level Mbos above this Mbo in the hierarchy.
|
Assignment |
getToplevelParentAssign(Assignment assign,
AssignmentSet assignSet,
java.util.HashMap assignIndexMap)
Given an assignment and the assignmentset containing the assignment, this method will return the top-level parent
assignment of the passed assignment.
|
MboRemote |
getTopOwner()
get the top wo owner work order.
|
MboRemote |
getTopWOInWOGen()
IV98821
I
|
java.lang.String |
getTranslatedWorkTypeCal()
Returns the translated value of the PLUSCWORKTYPECAL maxvar.
|
int |
getUnassigned() |
java.util.Vector |
getUnCommittedWOs()
IV98812:uncomm
|
java.lang.String[] |
getValidateOrder()
Validates the Order for work order attributes.
|
java.lang.String |
getWOClassDescription(MboRemote theMboRemote)
Gets the wO class description.
|
java.util.Date |
getWODate()
this method will return the date for search warranties.
|
MboRemote |
getWOforTask(java.lang.String task)
Finds the work order given a task ID.
|
WORemote |
getWOforWonum(java.lang.String wonum)
Finds the work order given a work order number.
|
WORemote |
getWoFromCombined(java.lang.String findWonum)
Looks up the wonum from the parent and children set and returns the one with the matching wonum.
|
java.lang.String |
getWOObjectName()
Gets the wO object name.
|
MboRemote |
getWoOwnerDuringStatusChange()
IV31668/61883 - issue12-14560
|
MboSetRemote |
getWorkLog()
Fetches related worklogs
|
java.lang.String |
getWorkType()
Returns this workorder's WORKTYPE TYPE attribute value, converted to the internal (not translated)
representation.
|
java.lang.String |
getWorkTypeCal()
Returns the value of the PLUSCWORKTYPECAL maxvar, which determines the type of worktype that marks a workorder a
calibration.
|
WOServiceAddressRemote |
getWOServiceAddress()
Return the WO service address for the current WO
|
java.util.Map<java.lang.String,Mbo> |
getWoTaskLookup()
Gets the lookup table for converting original sub-work orders to new JobPlan Tasks.
|
void |
handleChildren()
Deletes the Work Order Hierarchy.
|
void |
handleTasks()
Deletes the Work Order and its Tasks.
|
void |
handleUndeleteChildren()
Undeletes the Work Order, its children and its tasks.
|
void |
handleUndeleteTasks()
Undeletes the Work Order and its Tasks.
|
boolean |
hasActuals()
Determines whether this work order has any actuals.
|
boolean |
hasChildren()
Indicates that this Mbo has Mbos underneth it in the hierarchy
|
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
boolean |
hasParents()
Indicates that this Mbo is owned by another Mbo in the hierarchy.
|
boolean |
hasPlanMoveModify()
Determines whether this work order has any plan move/modify.
|
boolean |
hasSafetyPlan()
Indicates that this WO has a Safety Plan and/or Safety Plan ID.
|
boolean |
hasServiceAddress() |
boolean |
hasUndeleteFRCompleted()
IV79395 - return status of undelete failurereport operation
|
void |
haveReceivedDirectIssue(MboRemote poMbo,
MboRemote poLineMbo)
Called by MatRecTrans when it has received direct request materials for this work order.
|
boolean |
inChildSubSet()
Determines when this work order is a member of children set of another work order.
|
void |
incrActLabCost(double incrAmount,
boolean isOutsideCost)
Adds to the work order's actual labor cost from outside the object.
|
void |
incrActLabHrs(double incrAmount,
boolean isExternal)
Adds to the work order's actual labor hours total from outside the object.
|
void |
incrActMatCost(double incrAmount,
boolean isOutsideCost)
Adds to the work order's actual material cost from outside the object.
|
void |
incrActServCost(double incrAmount)
Adds to the work order's actual service cost from outside the object.
|
void |
incrActToolCost(double incrAmount,
boolean isOutsideCost)
Adds to the work order's actual tool cost from outside the object.
|
void |
incrEstLabCost(double incrAmount,
boolean isExternal)
Increments/Decrements the estimated labor cost that is associated with the work order.
|
void |
incrEstLabHours(double incrAmount,
boolean isExternal)
Used to increment/decrement the estimated labor hours on the work order.
|
void |
incrEstMatCost(double incrAmount)
Adds to the work order's estimated material cost from outside the object.
|
void |
incrEstServCost(double incrAmount)
Adds to the WO's EstServCost attribute from outside object.
|
void |
incrEstToolCost(double incrAmount)
Adds to the work order's estimated tool cost from outside the object.
|
void |
init()
Initialization routine.
|
void |
initMXYesNoHash(java.util.HashMap<java.lang.String,MXApplicationYesNoCancelException> hash)
IJ11288
Initialize the WO's mxYesNoHash with the hash populated and passed from the bean.
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initialized or reset from this Mbo to another MboSet.
|
boolean |
isApproved()
This method determines whether the work order is in an approved state.
|
boolean |
isAssetChargeStore()
Examines the work order's asset to see if it could be on a charge to store work order.
|
boolean |
isAsyncStatusChange()
IJ04817
When cancelling an individual WO in background while the record is open, PM/PO Y/N/C dialog does not show, and WO is not cancelled.
|
boolean |
isCalculationAppliedSuccessfully() |
boolean |
isCalibrationInstalled()
Return true if License Key CALIBRATION is installed.
|
boolean |
isCanceled()
Returns true if this work order was canceled.
|
boolean |
isCharacteristic()
This method checks if the measurepoint belongs to the characteristic meter.
|
boolean |
isCrew(java.lang.String laborCode,
java.lang.String laborOrg)
Return true if labor is a crew member.
|
boolean |
isFlowControlComplete()
Helper method used to determine if the status is at or beyond the WorkType.COMPLETESTATUS value.
|
boolean |
isFlowControlComplete(WO wo,
java.lang.String status)
Helper method used to determine if the status is at or beyond the WorkType.COMPLETESTATUS value.
|
boolean |
isFromMobile()
Checks if is from mobile.
|
boolean |
isFullyIssued(MboRemote wpm)
IV60366: determine if this wpmaterial is fully issued - matusetrans
|
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
static boolean |
isLicensePresent(java.lang.String lic)
returns true if the license is present
|
boolean |
isListSelected() |
boolean |
isMobileCrew(java.lang.String laborCode,
java.lang.String laborOrg)
Return true if it's calling from Mobile and labor is a crew member.
|
boolean |
isPartiallyIssued(MboRemote wpm)
IV73384: determine if this wpmaterial is partially issued - still invreserve recordd with matusetrans
|
boolean |
isQuickReportingMode()
Returns whether this work order is in QuickReporting mode.
|
boolean |
isRevEnabled()
Checks if is WORKORDER revision is enabled.
|
boolean |
isSufficientlyFlowControlComplete(WO wo,
java.lang.String reltypeToSuccessor,
int contemplatedAction)
Helper method used to determine if the status is at or beyond the the correct status value for the relationship
type of the precedence relation.
|
boolean |
isSufficientlyFlowControlComplete(WO wo,
java.lang.String status,
java.lang.String reltypeToSuccessor,
int contemplatedAction)
Helper method used to determine if the status is at or beyond the value that signifies competeness.
|
boolean |
isTolWarning()
This method checks whether the tolerances are within the limits or not.
|
boolean |
isTop()
This method indicates if the Mbo is at the top level of a hierarchy.
|
boolean |
isValidJPRevNum(java.lang.String jpNum,
java.lang.String revNum)
Issue 08-16714
|
boolean |
isWoAcceptsChargesEditable()
Determines the WoAcceptsCharges attribute READONLY status.
|
boolean |
isWOInEditHist()
returns true/false indicating whether the work order in edit history mode or not.
|
void |
makeSelectedChildren(MboSetRemote selectSet)
Attempts to make all selected work orders in the set children of this set.
|
void |
makeSelectedChildren(MboSetRemote selectSet,
java.lang.String dialogLabel) |
void |
manageCircleEffect(MboRemote thisToolTrans)
Manage circle effect.
|
void |
managePlusCNextDate()
Manage plus c next date.
|
void |
modify()
Internal method that marks the record as modified.
|
void |
modifyAllAssetLocationAttributes()
This method will modify all assets, locations and cis attribute Also update Users and Custodians.
|
void |
moveAllAssets()
This method will move the assets
|
void |
moveModifyAssets()
This method will move the assets and modify all assets and locations attributes as planned.
|
boolean |
moveModifyAssets(boolean checkonly)
This method will move the assets and modify all assets and locations attributes as planned when checkonly is
false, otherwise just return the flag see if there is any thing to move/modify.
|
boolean |
mustApplyDJP() |
boolean |
mustApplyLinearCalculation()
Method use to detect if the job plan is set as dynamic and should be apply using the length of the
workorder (startmeasure and endmeasure) or not.
|
boolean |
needPopupOnStopTimer()
Checks for popup in stoptimer return true if need one
|
void |
orphan()
Deletes the parent child association and the deletes the parent work order.
|
void |
ownership()
Allows the ability to Take Ownership of a record.
|
MboRemote |
parentMbo(java.lang.String wonum)
This method fetches the Parent Work Order into a set of its own.
|
MboSetRemote |
pmAlert()
This method retrieves a set of PMs that need to be alerted when PMAlert is turned on.
|
MboSetRemote |
pmAlertStatus(java.lang.String status)
Pm alert status.
|
void |
ProcessParentInVector(MboRemote currentParent)
IV76966:PMR: 12581,999,744: if multiple references of child wos trying to update the same parent wo,
make the oldest ones not modified.
|
boolean |
promptForDowntimeReport(java.lang.String newStatus)
Determines if the work order requires a downtime report.
|
boolean |
promptForFailureReport(java.lang.String newStatus)
Determines if the work order requires a failure report.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Set value for Wonum.
|
void |
refreshWorkPackHierarchy()
Update Work Pack Hierarchy executed from WorkOrder Listener.
|
void |
refreshWorkPackHierarchy(WORemote mbo)
Update the Parents Work Pack Status up the hierarchy.
|
MboSetRemote |
relateTickets(MboSetRemote ticketSet)
Refines the Ticket Set further removing any records that may have already been related.
|
MboSetRemote |
relateWorkorders(MboSetRemote woSet)
Refines the Work Order Set further removing any records that may have already been related.
|
AssignmentSet |
removeCompleteStartedAssigns(AssignmentSet assignSet,
java.util.HashMap assignIndexMap)
Removes completed and started assignments from a chain of split assignments in preparation for restoring the
original unsplit assignments; completed or started assignments should not be touched during this process.
|
void |
removeFailureReport()
Remove all selected failure reports.
|
void |
removeSafetyPlan()
Allows the user to remove the current safety plans and clear the Safety Plan field (non-persistent attribute
safetyplanid).
|
void |
removeUserCust()
This method will clear the the usercust modifications for assets and locations
|
void |
removeUserCust(boolean removeAssetUserCustPlans,
boolean removeLocUserCustPlans) |
void |
removeUserCust(boolean removeAssetUserCustPlans,
boolean removeLocUserCustPlans,
MboRemote multiassetlocci)
This method will clear the the usercust modifications for assets and locations.
|
boolean |
removeWorkPlan()
Allows the user to remove the current work plan and clear the JobPlan field (jpnum).
|
void |
rescheduleAssignments(AssignmentSet assignSet,
java.util.Date reschedDate)
The top-level method for rescheduling this work order's assignments.
|
void |
rescheduleAssignments(AssignmentSet assignSet,
java.util.Date reschedDate,
boolean fromListTab) |
AssignmentSet |
restoreSplitAssignments(AssignmentSet assignSet)
Restores split assignments by deleting all the child assignments and resetting the laborhrs of the top-level
parent.
|
void |
restoreUserCust()
used by MultiAssetLocCI undelete() to reverse changes made in delete() to prevent improper modifications to
woassetusercust and wolocusercust
|
void |
restoreUserCust(MboRemote multiassetlocci)
used by MultiAssetLocCI undelete() to reverse changes made in delete() to prevent
improper modifications to woassetusercust and wolocusercust
|
boolean |
routeStopExists()
Check if Route Stop exists on any of the Work Orders Tasks.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
Implement the logic to save the GIS Data
|
void |
setAppDefaultValue()
IJ04806: if this is duplicate() and copy is called that triggers mboset.addAtIndex,
do not call setAppDefaultValue because that causes duplicated records if CLASSSTRUCTUREID
is in the appFieldsDefaults records.
|
void |
setAsyncChangeStatus()
IJ04817
When cancelling an individual WO in background while the record is open, PM/PO Y/N/C dialog does not show, and WO is not cancelled.
|
void |
setAttrFromWoGen(MboRemote woGen)
Generate work order from PM and set the values for the attributes.
|
WO.MTLStatus |
setAvailibilityStatus(boolean changeStatus)
Sets storeroom status, direct issue status and workpack status.
|
void |
setChangeStatusSet(MboSetRemote changeStatusSet)
IV85972 - When cancelling from the list tab, only cancel most recent WO from a particular PM.
|
void |
setChildrensFlowControl(boolean torf)
Sets the childrens flow control.
|
WO.MTLStatus |
setChildrenStatus(WO.MTLStatus storeroomStatus,
WO.MTLStatus directIssueStatus,
boolean changeStatus)
Finds all the material in the workpack, this includes the all workorders including task that have materials,
including this work order.
|
void |
setClearLBSLocation(boolean setLocation) |
void |
setCompleteWOFromEveryplace(boolean completeWOFromEveryplace) |
WO.MTLStatus |
setDirectIssueStatus()
Finds all direct issue materials and make sure the following conditions are true: 1.
|
WO.MTLStatus |
setDirectIssueStatusWOGen()
IV37283/78664:almost same as setDirectIssueStatus - difference the WO is new and the WPMaterial Set is new too.
|
void |
setDuplicated(boolean duplicated)
get the duplicated.
|
void |
setFromMobile(boolean isFromMobile)
Sets the from mobile.
|
void |
setHashForSelectedRecord(java.util.HashSet hs)
Sets the HashSet that contains the selected workorder object.
|
void |
setJobPlanFieldFlag()
Sets the READONLY flag on or off for the jpnum attribute.
|
void |
setListSelected(boolean isListSelected) |
WO.MTLStatus |
setMaterialAvailStatus()
When status is refreshed from UI.
|
void |
setmultiassetrecord()
Setmultiassetrecord.
|
void |
setMustApplyDJP(boolean mustApplyDJP) |
void |
setParentValuesForNestedjpWO(MboRemote newChild,
MboRemote parent) |
void |
setPMWOCancelUserListResponse(boolean response)
Set and store the User Response from Yes/No Dialog when cancelling a Work Order
|
void |
setPMWOCancelUserMainAndChildren(int response)
IV31668/61883 - issue12-14560
Set and store the User Response from Yes/No Dialog when cancelling a Work Order
it could be MXApplicationYesNoCancelException.NULL, MXApplicationYesNoCancelException.YES,
MXApplicationYesNoCancelException.NO.
|
void |
setPrimaryLinearAssetFieldsReadOnly(MultiAssetLocCIRemote multiAssetMbo,
boolean readonlystate)
Set the linear asset fields as a group to ReadOnly or not for the passed MultiAssetLocCI record.
|
void |
setRelatedMboEditibility(java.lang.String relationName)
Checks the editability of related tables.
|
void |
setRemoveWorkPlan(boolean removeChildFlag)
Sets the Remove Work Plan - Yes/No Dialog Flag
|
void |
setRemoveWorkPlanFlag(boolean removeWorkplan)
Sets the Remove Work Plan Flag-
|
void |
setSafetyPlanFieldFlag()
Sets the READONLY flag on or off for the safetyplanid non-persistent attribute.
|
WO.MTLStatus |
setStoreroomStatus(boolean changeStatus)
Sets the storeroom status.
|
WO.MTLStatus |
setStoreroomStatusWOGen(boolean changeStatus)
IV37283/78664: this is almost a clone of setStoreroomStatus.
|
void |
setTopWOInWOGen(MboRemote topWO)
IV98821
|
void |
setWoOwnerDuringStatusChange(MboRemote parentWO)
IV31668/61883 - issue12-14560
Store this wo as the Owner of the child wos which do not have an owner because they were gotten
from mxserver
|
void |
setWOScheduleDates(WO wo,
java.util.Date schedStartDate)
Sets the schedule dates of the passed wo.
|
void |
setWOScheduleDates(WO wo,
java.util.Date schedStartDate,
double duration)
Sets the schedule dates of the passed wo.
|
MboSetRemote |
smartFillForAllSites(java.lang.String attribute,
java.lang.String value,
boolean exact)
Smart fill for all sites.
|
MboSetRemote |
smartFindForAllSites(java.lang.String attribute,
java.lang.String value,
boolean exact)
Smart find for all sites.
|
boolean |
startSuccessors(Mbo mbo,
java.util.Vector successors,
java.util.Date date,
java.lang.String memo,
long accessModifier)
Try to start a list of successors for a given work order.
|
void |
startTimer()
Method that will start the timer.
|
boolean |
startWFOnWoReqSave()
Return in work request applications should start workflow when work request is created.
|
void |
stopTimer()
Method that will stop the timer.
|
MboRemote |
stopTimer(java.util.Date finishdatetime,
boolean noStopTimerPopup)
Method that will stop the timer as specified date time.
|
MboRemote |
stopTimer(java.util.Date finishdatetime,
java.util.Date startDateTime,
boolean noStopTimerPopup)
Method that will stop the timer as specified date time.
|
void |
storeUnCommittedWOs(MboRemote childWO)
12-10173/IV12943: store the uncommited child wos in vector
|
void |
suspendChildrensProcessFlow(boolean torf)
Suspend childrens process flow.
|
void |
unassignAssignments(AssignmentSet assignSet,
java.util.Date reschedDate)
May be called either as part of the reschedule assignments process or the unassign assignments process.
|
void |
unassignWOAssignments(AssignmentSet assignSet,
java.util.Date reschedDate)
This method exists so that the lower-level method unassignAssignments can be called as part of two different
sequences of method calls, depending on whether the action is unassigning assignments or rescheduling them.
|
void |
undelete()
override undelete method to undelete this and associated records
|
void |
undeleteChildren(boolean task)
Sets up the children hierarchy for undelete.
|
void |
updateChildrensServiceAddress(WO currentWO)
Method to propogate the service address to children workorders (children & tasks).
|
void |
updateForMovedAsset(MboRemote movedAsset)
Updates the work order when a piece of asset is moved to a new location.
|
MboRemote |
updateHierarchyWPStatus(MboRemote parentMbo,
MboRemote mainMbo,
java.lang.String previousParentValue,
java.lang.Boolean parentChanged)
This method updates the work pack status based on the childen in the hierarchy.
|
void |
updateOriginator()
update originate record
|
void |
updatePreviousAsLeftValues()
Searches for previously closed work orders referencing this work order's data sheets and, if found, copy their
"as left" values to this data sheet's "previous as left" fields.
|
void |
updateServiceAddress()
Service Address.
|
void |
updateWarrantyContracts()
this method will repopulate the wocontract records for this work order, it's called from
asset,location,reportdate,actstart field class.
|
void |
updateWorkview()
update crossover fields in workview table .
|
boolean |
userVerifiedRemoveSafetyPlan()
Verifies user really wants to remove the safety plan.
|
boolean |
validateRotatingAsset(MboRemote toolMbo)
Validate rotating asset.
|
boolean |
woCancel()
Rolls PM back to the state it was prior to generation of the work order
that is being canceled.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, 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, 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, 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, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, 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, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, 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, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, 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, unlock, unselect, validate, validateAttributes
public static final java.lang.String crewDurStatic
public static final java.lang.String crewDurDynamic
public static final java.lang.String crewDurCrewPos
public boolean assetMoveFromChangeSttaus
public static final java.lang.String APPLYASSETLOC
BulletinBoardServiceRemote
,
FldWOassetnum
,
FldWOLoc
,
Constant Field Valuespublic static int FLOWCONTROLSUSPENDED
public static int WONOTFLOWCONTROLLED
public static int WORKTYPENOTFLOWCONTROLLED
public static int FLOWCONTROLWOCANCELLED
public static int BEFOREFLOWCONTROLSTART
public static int ATFLOWCONTROLSTART
public static int INFLOWCONTROL
public static int ATFLOWCONTROLCOMPLETE
public static int AFTERFLOWCONTROLCOMPLETE
public static int FLOWCONTROLUNRECOGNIZED
public static int FLOWCONTROLAUTOSTART
public static int FLOWCONTROLMANUALSTART
public static int FLOWCONTROLMANUALCOMPLETE
public java.util.Vector unCommittedWOs
public WO(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- The WO MboSet.MXException
java.rmi.RemoteException
public java.lang.String getProcess()
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void init() throws MXException
init
in class Mbo
MXException
public boolean isCharacteristic() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canEditRelatedSet(java.lang.String relationName) throws MXException, java.rmi.RemoteException
Relation Name (WOSetRemote constant) | Condition | Error Group/Key |
---|---|---|
(any relationship named below) | "historyflag" attribute is true | workorder/wohistory |
WPLABOR , ASSIGNMENT
| canEditWpLab returns false
| workorder/WPLaborEdit |
WPMATERIAL
| canEditWpMat returns false
| workorder/WPMaterialEdit |
WPTOOL
| canEditWpTool returns false
| workorder/WPToolEdit |
WOHAZARD , WOHAZARDPREC , WOLOCKOUT ,
WOPRECAUTION ,
WOSAFETYLINK ,
WOSAFETYPLAN ,
WOTAGLOCK , WOTAGOUT , WOHAZPRECENABLED ,
WOHAZTAGENABLED ,
WOHAZMATENABLED ,
WOSLHAZMATENABLED ,
WOSLHAZPRECENABLED ,
WOSLTAGENABLED ,
WOSAFETYLINKTAG
| canEditSafety returns false
| workorder/WPSafetyEdit |
LABTRANS , MATUSETRANS , TOOLTRANS
| isApproved returns false
| workorder/ActualsAppr |
canEditRelatedSet
in interface WORemote
relationName
- The relationship name that got the related MboSet.MXException
java.rmi.RemoteException
WOSetRemote
,
WoEditSettings
,
isApproved()
public void setRelatedMboEditibility(java.lang.String relationName) throws MXException, java.rmi.RemoteException
relationName
- The relationship name of the related MboSet which need to set the read/only flag.MXException
java.rmi.RemoteException
settings
,
#setEditibilityFlags
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
setRelatedMboEditibility(java.lang.String)
public void modify() throws 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 updateServiceAddress() throws MXException, java.rmi.RemoteException
updateServiceAddress
in interface WORemote
MXException
java.rmi.RemoteException
public MboRemote createJobEntry() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createAssignRepLoc() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getCrewMemberCount(java.util.Date desiredDate) throws MXException, java.rmi.RemoteException, MXApplicationException
desiredDate
- The date you want to know the members countMXException
java.rmi.RemoteException
MXApplicationException
public void copyDoclinksToWO() throws java.rmi.RemoteException, MXException
copyDoclinksToWO
in interface WORemote
java.rmi.RemoteException
MXException
copyDoclinksToWO()
public void copyDoclinksToWO(WO wo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean inChildSubSet()
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in interface WORemote
canDelete
in class Mbo
MXApplicationException
- With the key "workorder", and one of the "WoNoDelete" keys: WoNoDeleteWorkFlow,
WoNoDeleteAppr, WoNoDeleteChildren, WoNoDeletePM, WoNoDeleteFollowup, WoNoDeleteAssettrans,
WoNoDeletePurchase, and WoNoDeleteActualMXException
java.rmi.RemoteException
added for issue 82881
public WOSetRemote getSimilarWorkOrders() throws MXException, java.rmi.RemoteException
The MboSet returned should be reset when no longer needed.
getSimilarWorkOrders
in interface WORemote
MXException
- MAXIMO System Errorjava.rmi.RemoteException
- RMI ErrorgetSimilarWorkOrders()
public WOSetRemote getAlreadyReportedSet() throws java.rmi.RemoteException
getAlreadyReportedSet
in interface WORemote
java.rmi.RemoteException
getAlreadyReportedSet()
public void getLocForAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void applyAssetLoc() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
selectSafetyPlan()
public void applyAssetLoc(boolean calcSafetyPlan) throws MXException, java.rmi.RemoteException
calcSafetyPlan
- the calc safety planMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void copyJobPlanToWorkPlan() throws MXException, java.rmi.RemoteException
MXApplicationException
- With "workorder","CopyJobPlan" is thrown if an error is encountered while
copying the job plan.MXException
java.rmi.RemoteException
public void copyJobPlanToWorkPlanNoNestedJP() throws MXException, java.rmi.RemoteException
MXApplicationException
- With "workorder","CopyJobPlan" is thrown if an error is encountered while
copying the job plan.MXException
java.rmi.RemoteException
public void clearWorkPlanInfo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void calculateConstaintDates(MboValue startOffset, MboValue finishOffset, MboValue woDur) throws MXException, java.rmi.RemoteException
startOffset
- The mboValue object associated with the passed start offset.finishOffset
- The mboValue object associated with the passed finish offset.woDur
- The mboValue object associated with the passed workorder duration.MXException
java.rmi.RemoteException
public java.util.Map<java.lang.String,Mbo> getWoTaskLookup()
public boolean getAddingFirstJobTask() throws MXException, java.rmi.RemoteException
getAddingFirstJobTask
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpsdi.app.workorder.WO#getAddingFirstJobChild
public boolean getCopyingJobTasks() throws MXException, java.rmi.RemoteException
getCopyingJobTasks
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpsdi.app.workorder.WO#getcopyingJobTasks
public boolean getCopyingWorkPlanAssignments() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean applyingJobPlan() throws MXException, java.rmi.RemoteException
applyingJobPlan
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionapplyingJobPlan()
public void setParentValuesForNestedjpWO(MboRemote newChild, MboRemote parent) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateTaskID() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copySafetyPlanToWoSafetyPlan() throws MXException, java.rmi.RemoteException
FldWOSafetyPlanID
.MXException
java.rmi.RemoteException
clearSafetyPlan()
,
copySelectedSafetyPlan(java.lang.String)
public void setJobPlanFieldFlag() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean startWFOnWoReqSave() throws MXException, java.rmi.RemoteException
startWFOnWoReqSave
in interface WORemote
MXException
java.rmi.RemoteException
startWFOnWoReqSave()
public void updateForMovedAsset(MboRemote movedAsset) throws MXException, java.rmi.RemoteException
updateForMovedAsset
in interface WORemote
movedAsset
- The moved asset MboRemote object.MXException
java.rmi.RemoteException
updateForMovedAsset(MboRemote movedAsset)
public void incrEstLabCost(double incrAmount, boolean isExternal) throws MXException, java.rmi.RemoteException
incrAmount
- isExternal
- MXException
java.rmi.RemoteException
public void incrEstLabHours(double incrAmount, boolean isExternal) throws MXException, java.rmi.RemoteException
incrAmount
- The amount to increment/decrement byisExternal
- If the amount that is being changed belongs to an external resources or notMXException
java.rmi.RemoteException
public void incrEstToolCost(double incrAmount) throws MXException, java.rmi.RemoteException
incrAmount
- The amount to add to EstToolCost.MXException
java.rmi.RemoteException
public void incrEstMatCost(double incrAmount) throws MXException, java.rmi.RemoteException
incrAmount
- The amount to add to EstMatCost.MXException
java.rmi.RemoteException
public void incrEstServCost(double incrAmount) throws MXException, java.rmi.RemoteException
incrEstServCost
in interface WORemote
incrAmount
- The amount to add to EstServCost.MXException
java.rmi.RemoteException
incrEstServCost(double incrAmount)
public void incrActMatCost(double incrAmount, boolean isOutsideCost) throws MXException, java.rmi.RemoteException
incrActMatCost
in interface WORemote
isOutsideCost
- Specify if it is a outside costincrAmount
- The amount to add to ActMatCost.MXApplicationException
- CanceledNoActuals when this workorder is cancelled.MXException
java.rmi.RemoteException
incrActMatCost(double incrAmount, boolean isOutsideCost)
public void incrActLabCost(double incrAmount, boolean isOutsideCost) throws MXException, java.rmi.RemoteException
incrActLabCost
in interface WORemote
isOutsideCost
- Specify if it is a outside costincrAmount
- The amount to add to ActLabCost.MXApplicationException
- HistoryNoActuals when this workorder is a history record.MXException
java.rmi.RemoteException
incrActLabCost(double incrAmount, boolean isOutsideCost)
public void incrActLabHrs(double incrAmount, boolean isExternal) throws MXException, java.rmi.RemoteException
incrActLabHrs
in interface WORemote
incrAmount
- The amount to add to ActLabHrs.MXApplicationException
- HistoryNoActuals when this workorder is a history record.MXException
java.rmi.RemoteException
incrActLabHrs(double incrAmount, boolean isExternal)
public void incrActToolCost(double incrAmount, boolean isOutsideCost) throws MXException, java.rmi.RemoteException
incrActToolCost
in interface WORemote
isOutsideCost
- Specify if it is a outside costincrAmount
- The amount to add to ActToolCost.MXApplicationException
- HistoryNoActuals when this workorder is a history record.MXException
java.rmi.RemoteException
incrActToolCost(double incrAmount, boolean isOutsideCost)
public void incrActServCost(double incrAmount) throws MXException, java.rmi.RemoteException
incrActServCost
in interface WORemote
incrAmount
- The amount to add to ActServCost.MXApplicationException
- CanceledNoActuals when this workorder is canceled.MXException
java.rmi.RemoteException
incrActServCost(double incrAmount)
public void haveReceivedDirectIssue(MboRemote poMbo, MboRemote poLineMbo) throws MXException, java.rmi.RemoteException
haveReceivedDirectIssue
in interface WORemote
poMbo
- PO mbo of the received requestpoLineMbo
- PO Line Mbo of the received requestMXException
java.rmi.RemoteException
haveReceivedDirectIssue(MboRemote poMbo, MboRemote poLineMbo)
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
public boolean isCanceled() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateAutoKey() throws java.rmi.RemoteException, MXException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
MXAccessException
- CantGenAutoKey when this workorder is not a newly created onejava.rmi.RemoteException
MXException
MboValue.autoKey()
,
MboValue.generateUniqueID()
public boolean isAssetChargeStore() throws java.rmi.RemoteException, MXException
isAssetChargeStore
in interface WORemote
java.rmi.RemoteException
MXException
FldWOChargeStore
,
psdi.app.workorder.FldWOassetnum
,
This method performs the tests.
public boolean canChargeStore() throws java.rmi.RemoteException, MXException
canChargeStore
in interface WORemote
MXApplicationException
- Thrown with one of the following: java.rmi.RemoteException
MXException
FldWOChargeStore
,
psdi.app.workorder.FldWOassetnum
,
The method only returns true or false, without throwing exceptions.
public void calcGLAccount() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboSetRemote getSubWorkOrders() throws java.rmi.RemoteException, MXException
getSubWorkOrders
in interface WORemote
java.rmi.RemoteException
MXException
getSubWorkOrders()
public void canApplyRoute() throws java.rmi.RemoteException, MXException
canApplyRoute
in interface WORemote
java.rmi.RemoteException
MXException
Calls this method with the flag set to NONE.
public void canApplyRoute(long accessModifier) throws java.rmi.RemoteException, MXException
canApplyRoute
in interface WORemote
accessModifier
- If this value contains the value NOACCESSCHECK, no check is made against signature
security.MXApplicationException
- ClosedNoRoute when this workorder is a history record.java.rmi.RemoteException
MXException
canApplyRoute(long accessModifier)
public void canApplyRoute(java.lang.String routeID) throws java.rmi.RemoteException, MXException
canApplyRoute
in interface WORemote
routeID
- The route to apply to this work order.java.rmi.RemoteException
MXException
Calls this method with the flag set to NONE.
public void canApplyRoute(java.lang.String routeID, long accessModifier) throws java.rmi.RemoteException, MXException
canApplyRoute
in interface WORemote
routeID
- The route to apply to this work order.accessModifier
- If this value contains the value NOACCESSCHECK, no check is made against signature
security.MXApplicationException
- RouteNotFound when the Route does not exist.java.rmi.RemoteException
MXException
This test is performed as part of this method.
public void applyRoute(java.lang.String routeID, java.lang.String storeLoc) throws java.rmi.RemoteException, MXException
applyRoute
in interface WORemote
routeID
- The route to apply to this work order.storeLoc
- The store location for WPMaterial records which need a storeroom.java.rmi.RemoteException
MXException
This method is called with the flag set to NONE.
public void applyRoute(java.lang.String routeID, java.lang.String storeLoc, java.lang.String storeLocSite) throws java.rmi.RemoteException, MXException
applyRoute
in interface WORemote
routeID
- The route to apply to this work order.storeLoc
- The store location for WPMaterial records which need a storeroom.storeLocSite
- The storeromm's Site for WPMaterial records.java.rmi.RemoteException
MXException
This method is called with the flag set to NONE.
public void applyRoute(java.lang.String routeID, java.lang.String storeLoc, java.lang.String storeLocSite, long accessModifier) throws java.rmi.RemoteException, MXException
applyRoute
in interface WORemote
routeID
- The route to apply to this work order.storeLoc
- The store location for WPMaterial records which need a storeroom.storeLocSite
- The storeromm's Site for WPMaterial records.accessModifier
- If this value contains the value NOACCESSCHECK, no check is made against signature
security.java.rmi.RemoteException
MXException
This method is called before the route is applied.
public void applyRoute(java.lang.String routeID, java.lang.String storeLoc, java.lang.String storeLocSite, long accessModifier, MboSetRemote infoSet) throws java.rmi.RemoteException, MXException
applyRoute
in interface WORemote
routeID
- The route to apply to this work order.storeLoc
- The store location for WPMaterial records which need a storeroom.storeLocSite
- The storeromm's Site for WPMaterial records.accessModifier
- If this value contains the value NOACCESSCHECK, no check is made against signature
security.infoSet
- If not null, this is the set to add the work order information to.java.rmi.RemoteException
MXException
This method is called before the route is applied.
,
PM.calculateWork(boolean, java.util.Date)
public java.util.Vector getGrandTotals() throws MXException, java.rmi.RemoteException
getGrandTotals
in interface WORemote
MXException
java.rmi.RemoteException
getGrandTotals()
public boolean getDuplicated()
public void setDuplicated(boolean duplicated)
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
copyWorkPlans(psdi.mbo.MboRemote, boolean)
,
copySafetyPlans(psdi.mbo.MboRemote)
public void canGenFollowUpWo() throws java.rmi.RemoteException, MXException
canGenFollowUpWo
in interface WORemote
java.rmi.RemoteException
MXException
canGenFollowUpWo()
public MboRemote genFollowUpWo() throws java.rmi.RemoteException, MXException
genFollowUpWo
in interface WORemote
java.rmi.RemoteException
MXException
#copyWorkPlans.
,
#copySafetyPlans.
public void setSafetyPlanFieldFlag() throws MXException, java.rmi.RemoteException
FldWOSafetyPlanID
and setFieldEditibilityFlags
.MXException
java.rmi.RemoteException
public double getServiceTotal() throws MXException, java.rmi.RemoteException
getServiceTotal
in interface WORemote
MXException
java.rmi.RemoteException
getServiceTotal()
public boolean isTop() throws MXException, java.rmi.RemoteException
isTop
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
public boolean hasChildren() throws MXException, java.rmi.RemoteException
hasChildren
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
public boolean hasParents() throws MXException, java.rmi.RemoteException
hasParents
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
public boolean hasSafetyPlan() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getChildren() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getChildNoTask() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getTasksOnly() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getParents() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getTop() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String[] getHierarchies() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copySparePartsToWpMatSet(MboSetRemote sparePartSet) throws MXException, java.rmi.RemoteException
copySparePartsToWpMatSet
in interface WORemote
sparePartSet
- the sparepart set to be copied.MXException
java.rmi.RemoteException
copySparePartsToWpMatSet(psdi.mbo.MboSetRemote)
public void copySparePartsToMatUseSet(MboSetRemote sparePartSet) throws MXException, java.rmi.RemoteException
copySparePartsToMatUseSet
in interface WORemote
sparePartSet
- the sparepart set to be copied.MXException
java.rmi.RemoteException
copySparePartsToMatUseSet(psdi.mbo.MboSetRemote)
public void copyInvresvItemsToMatUseSet(MboSetRemote InvresvItemSet) throws MXException, java.rmi.RemoteException
copyInvresvItemsToMatUseSet
in interface WORemote
InvresvItemSet
- the InvresvItem set to be copied.MXException
java.rmi.RemoteException
copyInvresvItemsToMatUseSet(psdi.mbo.MboSetRemote)
public void copyPlanToolToToolTransSet(MboSetRemote planToolSet) throws MXException, java.rmi.RemoteException
copyPlanToolToToolTransSet
in interface WORemote
planToolSet
- the work plan tool set to be copied.MXException
java.rmi.RemoteException
copyPlanToolToToolTransSet(psdi.mbo.MboSetRemote)
public void copyPlanLaborToLabTransSet(MboSetRemote planLaborSet) throws MXException, java.rmi.RemoteException
copyPlanLaborToLabTransSet
in interface WORemote
planToolSet
- the work plan labor set to be copied.MXException
java.rmi.RemoteException
copyPlanToolToToolTransSet(psdi.mbo.MboSetRemote)
public void applyHazardToWoHazardSet(MboRemote spRelatedasset, MboSetRemote hazardSet) throws MXException, java.rmi.RemoteException
applyHazardToWoHazardSet
in interface WORemote
spRelatedasset
- the spRelatedasset mbo the hazardSet associated with. Identifies the assetnum or location
related to the hazard(s).hazardSet
- The Hazard set. Each mbo that is "selected" will be applied to the workorder.MXException
java.rmi.RemoteException
WoSafetyLinkSet.copyHazard(java.lang.String, java.lang.String, java.lang.String, java.lang.String, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote)
public void enterQuickReportingMode() throws MXException, java.rmi.RemoteException
enterQuickReportingMode
in interface WORemote
MXException
java.rmi.RemoteException
enterQuickReportingMode()
public boolean isQuickReportingMode() throws MXException, java.rmi.RemoteException
isQuickReportingMode
in interface WORemote
MXException
java.rmi.RemoteException
isQuickReportingMode()
public boolean isApproved() throws MXException, java.rmi.RemoteException
isApproved
in interface WORemote
MXException
java.rmi.RemoteException
isApproved()
public java.lang.String getTaskForWonum(java.lang.String wonum) throws MXException, java.rmi.RemoteException
wonum
- The wonum to figure out the task ID for.MXException
java.rmi.RemoteException
Uses this to figure out it's value.
public MboRemote getWOforTask(java.lang.String task) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public WORemote getWOforWonum(java.lang.String wonum) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getWOClassDescription(MboRemote theMboRemote) throws MXException, java.rmi.RemoteException
getWOClassDescription
in interface WORemote
theMboRemote
- the the mbo remoteMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionadded for issue 79047
public void changeWorkOrderParent(MboRemote woparent) throws MXException, java.rmi.RemoteException
changeWorkOrderParent
in interface WORemote
woparent
- The new parent of this work order.MXException
java.rmi.RemoteException
psdi.app.workorder.WO#changeWorkOrderParent()
public void changeStatus(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
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
).date
- The effective date of the new status ( java.util.Date
). If null the current date/time is
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
Determines whether the work order can change status.
public void changeStatus(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier, boolean comingFromReceiving) throws MXException, java.rmi.RemoteException
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
).date
- The effective date of the new status ( java.util.Date
). If null the current date/time is
used.memo
- A string briefly describing the circumstances of the change. The memo can be null.comingFromReceiving
- If this flag is set then don't update the children regardless of how the hasChildren
flag is set.MXException
- Thrown if there is a problem, or the status cannot be changed, as determined by
canChangeStatus(String)
.java.rmi.RemoteException
Determines whether the work order can change status.
public void changeChildrenStatus() throws MXException, java.rmi.RemoteException
status
- The new desired status.date
- The effective date of the new status.memo
- A string briefly describing the circumstances of the change.MXException
java.rmi.RemoteException
Referenced.
,
Also referenced.
public WO getParentMbo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public WORemote getWoFromCombined(java.lang.String findWonum) throws MXException, java.rmi.RemoteException
getWoFromCombined
in interface WORemote
findWonum
- The wonum of the work order to return.MXException
java.rmi.RemoteException
psdi.app.workorder.WO#getWoFromCombined()
public void canRemoveSafetyPlan() throws MXException, java.rmi.RemoteException
removeSafetyPlan
.canRemoveSafetyPlan
in interface WORemote
MXAccessException
- group=workorder, key=removesafetyplan if safety plan cannot be removed.MXException
java.rmi.RemoteException
canRemoveSafetyPlan()
public void removeSafetyPlan() throws MXException, java.rmi.RemoteException
removeSafetyPlan
in interface WORemote
MXException
java.rmi.RemoteException
canRemoveSafetyPlan()
public void canReportDowntime() throws MXException, java.rmi.RemoteException
canReportDowntime
in interface WORemote
MXException
java.rmi.RemoteException
canReportDowntime()
public MboSetRemote getOwnSet() throws MXException, java.rmi.RemoteException
getOwnSet
in interface WORemote
MXException
java.rmi.RemoteException
getOwnSet()
public void setAttrFromWoGen(MboRemote woGen) throws java.rmi.RemoteException, MXException
setAttrFromWoGen
in interface WORemote
java.rmi.RemoteException
MXException
public ECommHelperRemote getECommHelperRemote() throws java.rmi.RemoteException
getECommHelperRemote
in interface WORemote
java.rmi.RemoteException
- the remote exceptionpsdi.app.mr.WO#getECommHelperRemote
public void editHistory() throws MXException, java.rmi.RemoteException
editHistory
in interface WORemote
MXException
java.rmi.RemoteException
editHistory()
public boolean isWOInEditHist() throws MXException, java.rmi.RemoteException
isWOInEditHist
in interface WORemote
MXException
java.rmi.RemoteException
isWOInEditHist()
public void propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
propagateKeyValue
in interface MboRemote
propagateKeyValue
in class Mbo
keyName
- Should equal "wonum" or else nothing will be propagated.keyValue
- The new value of wonum.MXException
java.rmi.RemoteException
public PMRemote getPM() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public AssetRemote getAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void delete() throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
MXException
java.rmi.RemoteException
Mbo.delete(long)
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public MboSetRemote getFailListForReport() throws MXException, java.rmi.RemoteException
getFailListForReport
in interface WORemote
MXException
java.rmi.RemoteException
getFailListForReport()
public void copyFailListToReportSet(MboSetRemote failListSet) throws MXException, java.rmi.RemoteException
copyFailListToReportSet
in interface WORemote
failureListSet
- the failurelist set to be copied.MXException
java.rmi.RemoteException
copyFailListToReportSet(psdi.mbo.MboSetRemote)
public void copyLaborToWpLaborSet(MboSetRemote laborSet) throws MXException, java.rmi.RemoteException
copyLaborToWpLaborSet
in interface WORemote
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
copyLaborToWpLaborSet(psdi.mbo.MboSetRemote)
public void copyCraftRateToWpLaborSet(MboSetRemote craftRateSet) throws MXException, java.rmi.RemoteException
copyCraftRateToWpLaborSet
in interface WORemote
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
copyCraftRateToWpLaborSet(psdi.mbo.MboSetRemote)
public void copyLaborToLabTransSet(MboSetRemote laborSet) throws MXException, java.rmi.RemoteException
copyLaborToLabTransSet
in interface WORemote
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
copyLaborToLabTransSet(psdi.mbo.MboSetRemote)
public void copyItemToWpMatSet(MboSetRemote itemSet) throws MXException, java.rmi.RemoteException
copyItemToWpMatSet
in interface WORemote
itemSet
- the item set to be copied.MXException
java.rmi.RemoteException
copyItemToWpMatSet(psdi.mbo.MboSetRemote)
public void copyServiceItemsToWpSerSet(MboSetRemote serviceItemSet) throws MXException, java.rmi.RemoteException
copyServiceItemsToWpSerSet
in interface WORemote
serviceItemSet
- the item set to be copied.MXException
java.rmi.RemoteException
copyServiceItemsToWpSerSet(psdi.mbo.MboSetRemote)
public void copyItemToMatUseTransSet(MboSetRemote itemSet) throws MXException, java.rmi.RemoteException
copyItemToMatUseTransSet
in interface WORemote
itemSet
- the item set to be copied.MXException
java.rmi.RemoteException
copyItemToMatUseTransSet(psdi.mbo.MboSetRemote)
public void copyToolToWpToolSet(MboSetRemote toolSet) throws MXException, java.rmi.RemoteException
copyToolToWpToolSet
in interface WORemote
toolSet
- the tool set to be copied.MXException
java.rmi.RemoteException
copyToolToWpToolSet(psdi.mbo.MboSetRemote)
public void copyMatUseTransToToolTransSet(MboSetRemote matUseTransSet) throws MXException, java.rmi.RemoteException
copyMatUseTransToToolTransSet
in interface WORemote
toolSet
- the tool set to be copied.MXException
java.rmi.RemoteException
public void copyToolToToolTransSet(MboSetRemote toolSet) throws MXException, java.rmi.RemoteException
copyToolToToolTransSet
in interface WORemote
toolSet
- the tool set to be copied.MXException
java.rmi.RemoteException
copyToolToToolTransSet(psdi.mbo.MboSetRemote)
public void copyMRLineToPlanMaterialSet(MboSetRemote mrLineSet) throws MXException, java.rmi.RemoteException
copyMRLineToPlanMaterialSet
in interface WORemote
mrLineSet
- the work plan MRLine set to be copied.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 double getPOTotal() throws MXException, java.rmi.RemoteException
getPOTotal
in interface WORemote
MXException
java.rmi.RemoteException
getPOTotal()
public double getPRTotal() throws MXException, java.rmi.RemoteException
getPRTotal
in interface WORemote
MXException
java.rmi.RemoteException
psdi.app.workorder.WO#getPRotal
public void makeSelectedChildren(MboSetRemote selectSet) throws MXException, java.rmi.RemoteException
makeSelectedChildren
in interface WORemote
selectSet
- The set with selected work orders.MXApplicationException
- Thrown with "workorder", "UnsavedNoUsage" if this Mbo has unsaved changes.MXException
java.rmi.RemoteException
Any work orders that aren't valid children will have warnings in this Mbo's
MboSet.
public void makeSelectedChildren(MboSetRemote selectSet, java.lang.String dialogLabel) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canRemoveWorkPlan() throws MXException, java.rmi.RemoteException
MXAccessException
- With "workorder","removeworkplan" if the work plan may not be removedMXException
java.rmi.RemoteException
public boolean removeWorkPlan() throws MXException, java.rmi.RemoteException
removeWorkPlan
in interface WORemote
MXException
java.rmi.RemoteException
removeWorkPlan()
public boolean hasActuals() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasPlanMoveModify() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void removeFailureReport() throws MXException, java.rmi.RemoteException
removeFailureReport
in interface WORemote
MXException
java.rmi.RemoteException
removeFailureReport()
public boolean promptForDowntimeReport(java.lang.String newStatus) throws MXException, java.rmi.RemoteException
promptForDowntimeReport
in interface WORemote
The
- status the work order is changing to.MXException
java.rmi.RemoteException
promptForDowntimeReport(java.lang.String)
public boolean promptForFailureReport(java.lang.String newStatus) throws MXException, java.rmi.RemoteException
promptForFailureReport
in interface WORemote
The
- status the work order is changing to.MXException
java.rmi.RemoteException
promptForFailureReport(java.lang.String)
public MboRemote createJPFromWO(java.lang.String jpnum, java.lang.String description, java.lang.String longdescription) throws MXException, java.rmi.RemoteException
createJPFromWO
in interface WORemote
jpnum
- the string that contains the new jpnum to be created that can be specified by the userdescription
- the Job Plan's descriptionlongdescription
- the Job Plan's longdescriptionMXException
java.rmi.RemoteException
createJPFromWO(Date,String jpnum,String description, String longdescription)
public MboRemote createJPFromWO(java.util.Date date, java.lang.String jpnum, java.lang.String description, java.lang.String longdescription) throws MXException, java.rmi.RemoteException
date
- the date when the new JP is createdjpnum
- the string that contains the new jpnum to be createddescription
- the JP's descriptionlongdescription
- the JP's longdescriptionMXException
java.rmi.RemoteException
public Mbo createJPHeaderFromWO(java.lang.String jpnum, java.lang.String description, java.lang.String longdescription) throws MXException, java.rmi.RemoteException
jpnum
- the JPNUM of the newly created Job Plan. Pass null if the JPNUM is to be autokeyed.MXException
java.rmi.RemoteException
public MboRemote createWorkorder() throws MXException, java.rmi.RemoteException
createWorkorder
in interface WORemote
MXException
java.rmi.RemoteException
psdi.app.workorder.WO#createWorkOrder
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 orderMXException
java.rmi.RemoteException
public MboRemote createWorkorder(MboSetRemote workorderSet) throws java.rmi.RemoteException, MXException
createWorkorder
in interface WORemote
workorderSet
- the workorder setjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptioncreateWorkorder(MboSetRemote)
public MboRemote createWorkorder(MboSetRemote workorderSet, java.lang.String jpnum, boolean saveSet) throws MXException, java.rmi.RemoteException
createWorkorder
in interface WORemote
workorderSet
- jpnum
- MXException
java.rmi.RemoteException
createWorkorder(MboSetRemote, String, boolean)
public MboRemote createChange() throws MXException, java.rmi.RemoteException
createChange
in interface WORemote
MXException
java.rmi.RemoteException
createChange()
public MboRemote createChange(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createChange
in interface AppActionInterface
jpnum
- Parameter that refers to a job plan, based on which the change is created.MXException
java.rmi.RemoteException
public MboRemote createRelease() throws MXException, java.rmi.RemoteException
createRelease
in interface WORemote
MXException
java.rmi.RemoteException
createRelease()
public MboRemote createRelease(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createRelease
in interface AppActionInterface
jpnum
- Parameter that refers to a job plan, based on which the release is created.MXException
java.rmi.RemoteException
public MboRemote createServiceRequest() throws MXException, java.rmi.RemoteException
createServiceRequest
in interface WORemote
MXException
java.rmi.RemoteException
createServiceRequest()
public MboRemote createServiceRequest(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createServiceRequest
in interface AppActionInterface
tickettemplateid
- Parameter that refers to a ticket template, based on which the service request is created.MXException
java.rmi.RemoteException
public MboRemote createProblem() throws MXException, java.rmi.RemoteException
createProblem
in interface WORemote
MXException
java.rmi.RemoteException
createProblem()
public MboRemote createProblem(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createProblem
in interface AppActionInterface
tickettemplateid
- Parameter that refers to a ticket template, based on which the problem is created.MXException
java.rmi.RemoteException
public MboRemote createIncident() throws MXException, java.rmi.RemoteException
createIncident
in interface WORemote
MXException
java.rmi.RemoteException
createIncident()
public MboRemote createIncident(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createIncident
in interface AppActionInterface
tickettemplateid
- Parameter that refers to a ticket template, based on which the incident is created.MXException
java.rmi.RemoteException
public void orphan() throws MXException, java.rmi.RemoteException
orphan
in interface WORemote
MXException
java.rmi.RemoteException
orphan()
public void handleChildren() throws MXException, java.rmi.RemoteException
handleChildren
in interface WORemote
MXException
java.rmi.RemoteException
handleChildren()
public void handleTasks() throws MXException, java.rmi.RemoteException
handleTasks
in interface WORemote
MXException
java.rmi.RemoteException
handleTasks()
public void handleUndeleteTasks() throws MXException, java.rmi.RemoteException
handleUndeleteTasks
in interface WORemote
MXException
java.rmi.RemoteException
psdi.app.workorder.WO#handleundeleteTasks
public void handleUndeleteChildren() throws MXException, java.rmi.RemoteException
handleUndeleteChildren
in interface WORemote
MXException
java.rmi.RemoteException
handleUndeleteChildren()
public void deleteChildren(boolean task) throws MXException, java.rmi.RemoteException
deleteChildren
in interface WORemote
true
- Prepared to delete the Task Workorders only.false
- Prepares to delete both the Children and Task Work OrdersMXException
java.rmi.RemoteException
deleteChildren(boolean)
public void undeleteChildren(boolean task) throws MXException, java.rmi.RemoteException
task
- MXException
java.rmi.RemoteException
public boolean isWoAcceptsChargesEditable() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getTaskIdsThatAcceptCharges() throws MXException, java.rmi.RemoteException
getTaskIdsThatAcceptCharges
in interface WORemote
MXException
java.rmi.RemoteException
getTaskIdsThatAcceptCharges()
public MboSetRemote pmAlertStatus(java.lang.String status) throws MXException, java.rmi.RemoteException
pmAlertStatus
in interface WORemote
status
- the statusMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpmAlertStatus(java.lang.String)
public MboSetRemote pmAlert() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getStatus(java.lang.String status) throws MXException, java.rmi.RemoteException
getStatus
in interface WORemote
MXException
java.rmi.RemoteException
getStatus(java.lang.String)
public boolean woCancel() throws MXException, java.rmi.RemoteException
woCancel
in interface WORemote
MXException
java.rmi.RemoteException
woCancel()
public void canEnterMeterReadings() throws MXException, java.rmi.RemoteException
canEnterMeterReadings
in interface WORemote
MXApplicationException
- ("workorder","NoAssetLoc") if there is not an asset or location on the workorderMXApplicationException
- ("workorder","NoLocMeter") if there is a location on the work order that does not
have any associated active metersMXApplicationException
- ("workorder","NoAssetMeter") if there is an asset on the work order that does not
have any associated active metersMXApplicationException
- ("workorder","NoAssetOrLocMeter") if there is an asset and a location on the work
order and neither is associated with any active metersMXException
java.rmi.RemoteException
canEnterMeterReadings()
public void startTimer() throws MXException, java.rmi.RemoteException
startTimer
in interface WORemote
MXException
java.rmi.RemoteException
psdi.app.labor.LabTransSet.startTimer
public void stopTimer() throws MXException, java.rmi.RemoteException
stopTimer
in interface WORemote
MXException
java.rmi.RemoteException
LabTransSet.stopTimer()
public MboRemote stopTimer(java.util.Date finishdatetime, boolean noStopTimerPopup) throws MXException, java.rmi.RemoteException
stopTimer
in interface WORemote
Date
- targetDateTime date and time to set finishDate and finishTime withnoStopTimerPopup
- true no need popup on stop timerMXException
java.rmi.RemoteException
LabTransSet.stopTimer()
public MboRemote getStopTimerLabtrans() throws MXException, java.rmi.RemoteException
getStopTimerLabtrans
in interface WORemote
MXException
java.rmi.RemoteException
getStopTimerLabtrans()
public MboRemote stopTimer(java.util.Date finishdatetime, java.util.Date startDateTime, boolean noStopTimerPopup) throws MXException, java.rmi.RemoteException
stopTimer
in interface WORemote
Date
- targetDateTime date and time to set finishDate and finishTime withDate
- startDateTime date and time to set startDate and startTime withnoStopTimerPopup
- true no need popup on stop timerMXException
java.rmi.RemoteException
LabTransSet.stopTimer()
public boolean needPopupOnStopTimer() throws MXException, java.rmi.RemoteException
needPopupOnStopTimer
in interface WORemote
MXException
java.rmi.RemoteException
needPopupOnStopTimer()
public void updateWorkview() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearClassification() throws java.rmi.RemoteException, MXException
clearClassification
in interface WORemote
java.rmi.RemoteException
MXException
clearClassification()
public void applyOwner(java.lang.String ownerID) throws java.rmi.RemoteException, MXException
applyOwner
in interface WORemote
java.rmi.RemoteException
MXException
psdi.app.workorder.WO#applyOwner()
public void applyOwnerGroup(java.lang.String ownergroupID) throws java.rmi.RemoteException, MXException
applyOwnerGroup
in interface WORemote
java.rmi.RemoteException
MXException
psdi.app.workorder.WO#applyOwnerGroup()
public void applyAssignedOwnerGroup(java.lang.String ownergroupID) throws java.rmi.RemoteException, MXException
applyAssignedOwnerGroup
in interface WORemote
java.rmi.RemoteException
MXException
public void ownership() throws java.rmi.RemoteException, MXException
ownership
in interface WORemote
java.rmi.RemoteException
MXException
ownership()
public void copyAssetSpecToAutoAttrUpdateSet(MboSetRemote assetspecset, MboRemote woasset) throws java.rmi.RemoteException, MXException
copyAssetSpecToAutoAttrUpdateSet
in interface WORemote
assetspecset
- the asset spec set to be copiedjava.rmi.RemoteException
MXException
copyAssetSpecToAutoAttrUpdateSet(psdi.mbo.MboSetRemote, psdi.mbo.MboRemote)
public void copyLocSpecToAutoAttrUpdateSet(MboSetRemote locspecset, MboRemote woasset) throws java.rmi.RemoteException, MXException
copyLocSpecToAutoAttrUpdateSet
in interface WORemote
locspecset
- the location spec set to be copiedjava.rmi.RemoteException
MXException
copyLocSpecToAutoAttrUpdateSet(psdi.mbo.MboSetRemote, psdi.mbo.MboRemote)
public void copyCISpecToAutoAttrUpdateSet(MboSetRemote cispecset, MboRemote woasset) throws java.rmi.RemoteException, MXException
copyCISpecToAutoAttrUpdateSet
in interface WORemote
cispecset
- the ci spec set to be copiedjava.rmi.RemoteException
MXException
copyCISpecToAutoAttrUpdateSet(psdi.mbo.MboSetRemote, psdi.mbo.MboRemote)
public void applyToAllAssetLoc(MboRemote attrupdate) throws java.rmi.RemoteException, MXException
applyToAllAssetLoc
in interface WORemote
attrupdate
- the attribute will apply to all asset and locationjava.rmi.RemoteException
MXException
applyToAllAssetLoc(psdi.mbo.MboRemote)
public void copyAssets(MboSetRemote assetset) throws java.rmi.RemoteException, MXException
copyAssets
in interface WORemote
assetset
- assetset will copy to work order children setjava.rmi.RemoteException
MXException
copyAssets(psdi.mbo.MboSetRemote)
public void copyLocations(MboSetRemote locationset) throws java.rmi.RemoteException, MXException
copyLocations
in interface WORemote
locationset
- locationset will copy to work order children setjava.rmi.RemoteException
MXException
copyLocations(psdi.mbo.MboSetRemote)
public void moveModifyAssets() throws java.rmi.RemoteException, MXException
moveModifyAssets
in interface WORemote
java.rmi.RemoteException
MXException
moveModifyAssets()
public boolean moveModifyAssets(boolean checkonly) throws java.rmi.RemoteException, MXException
checkonly
- checkonly will check if we do move/modify or notjava.rmi.RemoteException
MXException
public void moveAllAssets() throws java.rmi.RemoteException, MXException
moveAllAssets
in interface WORemote
java.rmi.RemoteException
MXException
moveAllAssets()
public void modifyAllAssetLocationAttributes() throws java.rmi.RemoteException, MXException
modifyAllAssetLocationAttributes
in interface WORemote
java.rmi.RemoteException
MXException
modifyAllAssetLocationAttributes()
public void removeUserCust() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void removeUserCust(boolean removeAssetUserCustPlans, boolean removeLocUserCustPlans) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void removeUserCust(boolean removeAssetUserCustPlans, boolean removeLocUserCustPlans, MboRemote multiassetlocci) throws java.rmi.RemoteException, MXException
removeAssetUserCustPlans
- - the MultiAssetLocCI ASSETNUM has been set to null.removeLocUserCustPlans
- - the MultiAssetLocCI LOCATION has been set to null.multiassetlocci
- - the MultiAssetLocCI being modified. This can be null (for example, when this method is called during work order cancellation).java.rmi.RemoteException
MXException
public void restoreUserCust() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void restoreUserCust(MboRemote multiassetlocci) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void clearMoveandDeleteAttrUpdate() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void clearMoveAssetFields() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void updateWarrantyContracts() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getServiceContractInClause() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Date getWODate() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean userVerifiedRemoveSafetyPlan() throws MXException, java.rmi.RemoteException
userVerifiedRemoveSafetyPlan
in interface WORemote
MXException
java.rmi.RemoteException
removeSafetyPlan()
public java.lang.String getSafetyPlanID() throws MXException, java.rmi.RemoteException
MboSet cleanup
for the set of JpassetSpLink
.MXException
java.rmi.RemoteException
MboSet.cleanup()
public void copyTicketToRelatedRecSet(MboSetRemote TicketSet) throws MXException, java.rmi.RemoteException
copyTicketToRelatedRecSet
in interface WORemote
ticketSet
- the ticket set to be copied.MXException
java.rmi.RemoteException
copyTicketToRelatedRecSet(psdi.mbo.MboSetRemote)
public void copyTicketToRelatedRecSet(MboSetRemote TicketSet, boolean copyToParent) throws MXException, java.rmi.RemoteException
copyTicketToRelatedRecSet
in interface WORemote
ticketSet
- the ticket set to be copied.copyToParent
- - is the related record being generated against the parent of this WO?MXException
java.rmi.RemoteException
copyTicketToRelatedRecSet(psdi.mbo.MboSetRemote)
public void copyTicketParentToRelatedRecSet(MboSetRemote TicketSet) throws MXException, java.rmi.RemoteException
copyTicketParentToRelatedRecSet
in interface WORemote
ticketSet
- the ticket set to be copied.MXException
java.rmi.RemoteException
copyTicketParentToRelatedRecSet(psdi.mbo.MboSetRemote)
public void copyWOToRelatedRecSet(MboSetRemote woSet) throws MXException, java.rmi.RemoteException
copyWOToRelatedRecSet
in interface WORemote
WOSet
- the work order set to be copied.MXException
java.rmi.RemoteException
copyWOToRelatedRecSet(psdi.mbo.MboSetRemote)
public void copyWOToRelatedRecSet(MboSetRemote woSet, boolean copyToParent) throws MXException, java.rmi.RemoteException
WOSet
- the work order set to be copied.copyToParent
- - is the related record being generated against the parent of this WO?MXException
java.rmi.RemoteException
public void copyWOParentToRelatedRecSet(MboSetRemote woSet) throws MXException, java.rmi.RemoteException
copyWOParentToRelatedRecSet
in interface WORemote
ticketSet
- the ticket set to be copied.MXException
java.rmi.RemoteException
copyWOParentToRelatedRecSet(psdi.mbo.MboSetRemote)
public void copyParentValuesToRelatedRec(MboRemote relatedMbo) throws MXException, java.rmi.RemoteException
copyParentValuesToRelatedRec
in interface WORemote
relatedMbo
- - related record to be setMXException
java.rmi.RemoteException
copyParentValuesToRelatedRec(psdi.mbo.MboRemote)
public void updateOriginator() throws MXException, java.rmi.RemoteException
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
public java.lang.String getWOObjectName() throws MXException, java.rmi.RemoteException
getWOObjectName
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.String getRecordMboName() throws java.rmi.RemoteException, MXException
getRecordMboName
in class Mbo
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setHashForSelectedRecord(java.util.HashSet hs) throws MXException, java.rmi.RemoteException
setHashForSelectedRecord
in interface WORemote
hs
- MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.util.HashSet getHashForSelectedRecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearHashForSelectedRecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote relateWorkorders(MboSetRemote woSet) throws java.rmi.RemoteException, MXException
relateWorkorders
in interface WORemote
woSet
- Work Order Set which has been filtered by a criteria such as Assetnum,Location, Commodity, etc..java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic MboSetRemote relateTickets(MboSetRemote ticketSet) throws java.rmi.RemoteException, MXException
relateTickets
in interface WORemote
ticketSet
- Ticket Set which has been filtered by a criteria such as Affected User, Reportedby User,
Commodity, etc..java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void copyAssetsToMultiAsset(AssetSetRemote assetSetRemote) throws MXException, java.rmi.RemoteException
copyAssetsToMultiAsset
in interface WORemote
MXException
java.rmi.RemoteException
copyAssetsToMultiAsset(psdi.app.asset.AssetSetRemote)
public void copyLocationsToMultiAsset(MboSetRemote locationSetRemote) throws MXException, java.rmi.RemoteException
copyLocationsToMultiAsset
in interface WORemote
MXException
java.rmi.RemoteException
public boolean checkNestedJobPlans() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setRemoveWorkPlan(boolean removeChildFlag) throws java.rmi.RemoteException, MXException
setRemoveWorkPlan
in interface WORemote
removeChildFlag
- - returns true, remove children and tasks by default.java.rmi.RemoteException
MXException
setRemoveWorkPlan(boolean)
public boolean getRemoveWorkPlan() throws java.rmi.RemoteException, MXException
getRemoveWorkPlan
in interface WORemote
java.rmi.RemoteException
MXException
getRemoveWorkPlan()
public void copyCIsToMultiAsset(MboSetRemote ciSetRemote) throws MXException, java.rmi.RemoteException
copyCIsToMultiAsset
in interface WORemote
MXException
java.rmi.RemoteException
public void copyRouteStopsToMultiAsset(MboSetRemote routestopSetRemote) throws MXException, java.rmi.RemoteException
copyRouteStopsToMultiAsset
in interface WORemote
MXException
java.rmi.RemoteException
public void copyCollectDetailsToMultiAsset(MboSetRemote routestopSetRemote) throws MXException, java.rmi.RemoteException
copyCollectDetailsToMultiAsset
in interface WORemote
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void setmultiassetrecord() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void copyWOFieldsToMultiAsset(MultiAssetLocCIRemote multiAssetMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static boolean isLicensePresent(java.lang.String lic) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getFlowControlState() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getFlowControlState(WO wo, java.lang.String status) throws MXException, java.rmi.RemoteException
status
- The current status or the status this wo may be changing toMXException
java.rmi.RemoteException
public boolean isFlowControlComplete() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isFlowControlComplete(WO wo, java.lang.String status) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getStartStatusForWorkType() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.String getStartStatusForWorkType(WO wo) throws MXException, java.rmi.RemoteException
wo
- the woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.String getCompleteStatusForWorkType() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.String getCompleteStatusForWorkType(WO wo) throws MXException, java.rmi.RemoteException
wo
- the woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.util.Vector getPredecessors() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.util.Vector getSuccessors() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.util.Vector getChildrenThatHaveNoPredecessors() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void suspendChildrensProcessFlow(boolean torf) throws MXException, java.rmi.RemoteException
torf
- the torfMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void setChildrensFlowControl(boolean torf) throws MXException, java.rmi.RemoteException
torf
- the new childrens flow controlMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void changeChildrensFieldValue(java.lang.String fieldname, java.lang.String fieldvalue, long accessModifier) throws MXException, java.rmi.RemoteException
fieldname
- the fieldnamefieldvalue
- the fieldvalueaccessModifier
- the access modifierMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void executeProcessFlowControlAction() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void changeStatusProcessFlowControl() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean startSuccessors(Mbo mbo, java.util.Vector successors, java.util.Date date, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
mbo
- The work order that owns the successorssuccessors
- A vector holding a list of the successor work ordersdate
- Status change datememo
- Status memoaccessModifier
- Status access modifierMXException
java.rmi.RemoteException
public void adjustSuccVectors(java.util.Vector existingSuccs, java.util.Vector newSuccs) throws MXException, java.rmi.RemoteException
existingSuccs
- A string vector: the wonums of successor nodes that we already know aboutnewSuccs
- A string vector: the wonums of a new list of successor nodes that are candidates for being
started.MXException
java.rmi.RemoteException
public boolean areAllPredecessorsComplete() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean areAllPredecessorsComplete(WO wo) throws MXException, java.rmi.RemoteException
wo
- the woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean areAllPredecessorsComplete(java.lang.String targetStatus, boolean fully) throws MXException, java.rmi.RemoteException
targetStatus
- 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
).fully
- A boolean which determines whether the predecessors must be fully flow complete (if true) or whether
they need only be sufficiently complete as determined by the context and the precedence relation types.MXException
java.rmi.RemoteException
public boolean areAllPredecessorsComplete(WO wo, java.lang.String targetStatus, boolean fully) throws MXException, java.rmi.RemoteException
wo
- The WO whose predecessors are being checked for flow completeness.targetStatus
- 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
).fully
- A boolean which determines whether the predecessors must be fully flow complete (if true) or whether
they need only be sufficiently complete as determined by the context and the precedence relation types.MXException
java.rmi.RemoteException
public boolean areAllPredecessorsSufficientlyComplete(WO wo, java.lang.String targetStatus) throws MXException, java.rmi.RemoteException
wo
- The WO whose predecessors are being checked for flow completeness.targetStatus
- 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
).MXException
java.rmi.RemoteException
public int getContemplatedAction(WO wo, java.lang.String targetStatus) throws MXException, java.rmi.RemoteException
wo
- The WO for whom the action is being contemplated.targetStatus
- 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
).MXException
java.rmi.RemoteException
public boolean isSufficientlyFlowControlComplete(WO wo, java.lang.String reltypeToSuccessor, int contemplatedAction) throws MXException, java.rmi.RemoteException
wo
- The WO whose flow completeness is being checked.reltypeToSuccessor
- The relationship type of the relation joining wo to its successor.contemplatedAction
- The contemplated action: what the user is trying to do.MXException
java.rmi.RemoteException
public boolean isSufficientlyFlowControlComplete(WO wo, java.lang.String status, java.lang.String reltypeToSuccessor, int contemplatedAction) throws MXException, java.rmi.RemoteException
wo
- The WO whose flow completeness is being checked.status
- The current status of wo.reltypeToSuccessor
- The relationship type of the relation joining wo to its successor.contemplatedAction
- The contemplated action: what the user is trying to do.MXException
java.rmi.RemoteException
public java.util.Vector getChildPFCOrder(boolean getChildrenWOs, boolean appendSiteid) throws MXException, java.rmi.RemoteException
getChildPFCOrder
in interface WORemote
boolean
- getChildrenWOs false if you only want task wos true if you only want child wosboolean
- appendSiteid false do not append siteid to wonums true append siteid to wonumsMXException
java.rmi.RemoteException
public int findPredecessorPosition(java.util.Vector vector2Search, java.lang.String wonum, java.util.Hashtable htNetwork) throws MXException, java.rmi.RemoteException
vector2Search
- wonum
- htNetwork
- MXException
java.rmi.RemoteException
public void bulkReschedule(boolean resched, java.util.Date reschedDate, boolean fromListTab) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void bulkReschedule(boolean resched, java.util.Date reschedDate) throws MXException, java.rmi.RemoteException
resched
- A boolean based on a checkbox on the dialog, this tells whether they are rescheduling the
assignments of this WO or merely unassigning them.reschedDate
- If the action is rescheduling assignments, this is the date on which they will now start, if
availability allows that. If the action is unassigning, this may be either null or contain a date; if it
does contain a date, the date will be the new schedule start date for the Work Order.MXException
java.rmi.RemoteException
public int getRescheduled()
public int getUnassigned()
public void unassignWOAssignments(AssignmentSet assignSet, java.util.Date reschedDate) throws MXException, java.rmi.RemoteException
assignSet
- The AssignmentSet of Assignments that belong to this workorder; they are to be restored to their
original unsplit form and then have their labor removed.reschedDate
- This may or may not contain a date. If it does, the date will become the new schedule start
date for the Work Order. If it's null, the Work Order will retain the schedule dates it already hasMXException
java.rmi.RemoteException
public void unassignAssignments(AssignmentSet assignSet, java.util.Date reschedDate) throws MXException, java.rmi.RemoteException
assignSet
- The AssignmentSet of Assignments that belong to this workorder; they are to be restored to their
original unsplit form and then have their labor removed if their status is Assigned.reschedDate
- This may or may not contain a date. If it does, the date will become the new schedule start
date for the Work Order. If it's null, the Work Order will retain the schedule dates it already has.MXException
java.rmi.RemoteException
public void rescheduleAssignments(AssignmentSet assignSet, java.util.Date reschedDate, boolean fromListTab) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void rescheduleAssignments(AssignmentSet assignSet, java.util.Date reschedDate) throws MXException, java.rmi.RemoteException
assignSet
- The AssignmentSet of Assignments that belong to this workorder; the ones that are in the
Assigned state are to be rescheduled to start on reschedDate, or as soon after that as possible, depending
on availability of the labor.reschedDate
- The date on which the newly rescheduled assignments will start, if possible, depending on the
availability of labor.MXException
java.rmi.RemoteException
public java.util.HashMap getLCRSqlFormatHashMap(AssignmentSet assignSet) throws MXException, java.rmi.RemoteException
assignSet
- The AssignmentSet of Assignments that belong to this workorder; for each one in the Assigned
state a SQLFormat object that will allow its LaborCraftRate to be retrieved later is created and stored in
the hashmap.MXException
java.rmi.RemoteException
public java.util.Date calculateScheduleFinishDate(WO wo, java.util.Date schedStartDate) throws MXException, java.rmi.RemoteException
wo
- The work order whose EstDur is used in the calculation.schedStartDate
- The date used as the schedule start date.MXException
java.rmi.RemoteException
public void setWOScheduleDates(WO wo, java.util.Date schedStartDate) throws MXException, java.rmi.RemoteException
wo
- The work order whose schedule dates are being set.schedStartDate
- The date to be used for the schedule start of the work order.MXException
java.rmi.RemoteException
public void setWOScheduleDates(WO wo, java.util.Date schedStartDate, double duration) throws MXException, java.rmi.RemoteException
wo
- The work order whose schedule dates are being set.schedStartDate
- The date to be used for the schedule start of the work order.MXException
java.rmi.RemoteException
public AssignmentSet restoreSplitAssignments(AssignmentSet assignSet) throws MXException, java.rmi.RemoteException
assignSet
- The AssignmentSet of the Assignments that belong to this workorder; all child assignments will
be marked for deletion while the top-level parents will either have their hours set to the hours of the
WPLabor they were based on, if they were, or the sum of all their children (excepting Completed and
Started ones).MXException
java.rmi.RemoteException
public Assignment getToplevelParentAssign(Assignment assign, AssignmentSet assignSet, java.util.HashMap assignIndexMap) throws MXException, java.rmi.RemoteException
assign
- An assignment whose top-level parent will be returned.assignSet
- The AssignmentSet containing assign.assignIndexMap
- A hashmap containing the indexes of the assignments in assignSet, keyed on the assignmentID
of each assignment.MXException
java.rmi.RemoteException
public AssignmentSet removeCompleteStartedAssigns(AssignmentSet assignSet, java.util.HashMap assignIndexMap) throws MXException, java.rmi.RemoteException
assignSet
- The AssignmentSet whose Assignments are to have the completed and started ones removed from any
chain of splits.assignIndexMap
- A HashMap in which the assignmentID of an Assignment is the key that returns the index of
that Assignment in assignSet.MXException
java.rmi.RemoteException
public void applyToAllUser(MboRemote woModUser) throws java.rmi.RemoteException, MXException
applyToAllUser
in interface WORemote
woModUser
- the modify user and custodian will apply to AssetUserCust and LocationUserCustjava.rmi.RemoteException
MXException
applyToAllUser(psdi.mbo.MboRemote)
public void setPrimaryLinearAssetFieldsReadOnly(MultiAssetLocCIRemote multiAssetMbo, boolean readonlystate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearPrimaryLinearAssetFields(MultiAssetLocCIRemote multiAssetMbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyLinearAssetFieldsFromRouteStop(MboRemote toMbo, MboRemote routestop) throws java.rmi.RemoteException, MXException
toMbo
- the to mboroutestop
- the routestopjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setRemoveWorkPlanFlag(boolean removeWorkplan) throws java.rmi.RemoteException, MXException
removeWorkplan
- - returns true, it's remove workplan, don't need check delete security for task or children
workorder.java.rmi.RemoteException
MXException
public boolean getRemoveWorkPlanFlag() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboRemote getTopOwner() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkCompStatus() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void doClassificationCreateTicketViews(MboRemote newMbo) throws MXException, java.rmi.RemoteException
newMbo
- MXException
java.rmi.RemoteException
public void doClassificationCreateWOViews(MboRemote newMbo) throws MXException, java.rmi.RemoteException
newMbo
- MXException
java.rmi.RemoteException
public void doClassificationCreateWOSpecFromJobPlan(MboRemote newMbo, MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
newMbo
- MXException
java.rmi.RemoteException
public void CheckOrigIsFollowup() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearSkipCopyFields() throws MXException, java.rmi.RemoteException
clearSkipCopyFields
in interface WORemote
MXException
java.rmi.RemoteException
clearSkipCopyFields()
public boolean routeStopExists() throws MXException, java.rmi.RemoteException
routeStopExists
in interface WORemote
MXException
java.rmi.RemoteException
routeStopExists()
public boolean isListSelected()
public void setListSelected(boolean isListSelected)
isListSelected
- the isListSelected to setpublic MboSetRemote getCopydocMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
name
- the nameMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic WO.MTLStatus setAvailibilityStatus(boolean changeStatus) throws java.rmi.RemoteException, MXException
changeStatus
- true if record called from wostatushandlerjava.rmi.RemoteException
MXException
public WO.MTLStatus setStoreroomStatus(boolean changeStatus) throws java.rmi.RemoteException, MXException
changeStatus
- true if record called from wostatushandlerjava.rmi.RemoteException
MXException
public WO.MTLStatus setDirectIssueStatus() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public WO.MTLStatus setChildrenStatus(WO.MTLStatus storeroomStatus, WO.MTLStatus directIssueStatus, boolean changeStatus) throws MXException, java.rmi.RemoteException
storeroomStatus
- The status of the current workorder storeroom materialsdirectIssueStatus
- The status of the current workorder direct issue materialsMXException
java.rmi.RemoteException
public WO.MTLStatus setMaterialAvailStatus() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboSetRemote smartFillForAllSites(java.lang.String attribute, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFillForAllSites
in interface WORemote
attribute
- the attributevalue
- the valueexact
- the exactMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionsmartFillForAllSites(String, String, boolean)
public MboSetRemote smartFindForAllSites(java.lang.String attribute, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFindForAllSites
in interface WORemote
attribute
- the attributevalue
- the valueexact
- the exactMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionsmartFindForAllSites(String, String, boolean)
public boolean isRevEnabled() throws MXException, java.rmi.RemoteException
isRevEnabled
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionisRevEnabled()
public boolean isCalibrationInstalled() throws MXException, java.rmi.RemoteException
isCalibrationInstalled
in interface WORemote
MXException
java.rmi.RemoteException
isCalibrationInstalled()
public boolean isFromMobile()
isFromMobile
in interface WORemote
isFromMobile()
public void setFromMobile(boolean isFromMobile)
setFromMobile
in interface WORemote
isFromMobile
- the new from mobilepsdi.app.workorder.WO#setFromMobile()
public void setCompleteWOFromEveryplace(boolean completeWOFromEveryplace) throws java.rmi.RemoteException
setCompleteWOFromEveryplace
in interface WORemote
java.rmi.RemoteException
public void manageCircleEffect(MboRemote thisToolTrans) throws java.rmi.RemoteException, MXException
thisToolTrans
- the this tool transjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic java.lang.String getWorkTypeCal() throws java.rmi.RemoteException, MXException
getWorkTypeCal
in interface WORemote
java.rmi.RemoteException
MXException
getWorkTypeCal()
public java.lang.String getTranslatedWorkTypeCal() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getJobRevNum(Mbo PlusCWO) throws MXException, java.rmi.RemoteException
PlusCWO
- the plus cwoMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean isValidJPRevNum(java.lang.String jpNum, java.lang.String revNum) throws MXException, java.rmi.RemoteException
jpNum
- revNum
- MXException
java.rmi.RemoteException
public java.lang.String getWorkType() throws MXException, java.rmi.RemoteException
getWorkType
in interface WORemote
MXException
java.rmi.RemoteException
getWorkType()
public boolean checkRequiredDatasheets() throws java.rmi.RemoteException, MXException
checkRequiredDatasheets
in interface WORemote
true
if there's at least one required datasheet or the WO doesn't have attached datasheetsMXException
java.rmi.RemoteException
checkRequiredDatasheets()
public MboRemote duplicateWODS(MboRemote newWO) throws MXException, java.rmi.RemoteException
newWO
- the new woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void canEditRelatedSetCal(java.lang.String relationName) throws MXException, java.rmi.RemoteException
relationName
- the relation nameMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean canEditAsFoundAsLeftFields() throws MXException, java.rmi.RemoteException
canEditAsFoundAsLeftFields
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptioncanEditAsFoundAsLeftFields()
public void copyJobPlanToWorkPlanCal() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void copyDSPlanToWO(Mbo ds) throws MXException, java.rmi.RemoteException
ds
- the datasheet to copyMXException
java.rmi.RemoteException
public void updatePreviousAsLeftValues() throws MXException, java.rmi.RemoteException
updatePreviousAsLeftValues
in interface WORemote
MXException
java.rmi.RemoteException
updatePreviousAsLeftValues()
public boolean isTolWarning() throws MXException, java.rmi.RemoteException
isTolWarning
in interface WORemote
MXException
java.rmi.RemoteException
isTolWarning()
public boolean canEditAsset() throws MXException, java.rmi.RemoteException
canEditAsset
in interface WORemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptioncanEditAsset()
public void changeStatusCal(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier, boolean comingFromReceiving) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
changeStatus(String, Date, String, long, boolean)
public void managePlusCNextDate() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic MboRemote getLoopRotAsset(MboRemote toolMbo) throws MXException, java.rmi.RemoteException
toolMbo
- the tool mboMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean validateRotatingAsset(MboRemote toolMbo) throws MXException, java.rmi.RemoteException
toolMbo
- the tool mboMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void generateWORelRecord(WORemote oldWO) throws java.rmi.RemoteException, MXException
generateWORelRecord
in interface WORemote
oldWO
- MXException
java.rmi.RemoteException
generateWORelRecord(WORemote)
public void checkWorkPackStatus() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
public MboRemote parentMbo(java.lang.String wonum) throws java.rmi.RemoteException, MXException
wonum
- Parent record to be fetched.java.rmi.RemoteException
MXException
public MboRemote updateHierarchyWPStatus(MboRemote parentMbo, MboRemote mainMbo, java.lang.String previousParentValue, java.lang.Boolean parentChanged) throws java.rmi.RemoteException, MXException
parentMbo
- parent mbo to check and change status for.mainMbo
- Work Order record which is having its parent changed.previousParentValue
- parentChanged
- true if parent values has changed from one record to another (instead of null to another)java.rmi.RemoteException
MXException
public void refreshWorkPackHierarchy() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void refreshWorkPackHierarchy(WORemote mbo) throws java.rmi.RemoteException, MXException
mbo
- java.rmi.RemoteException
MXException
public void setPMWOCancelUserListResponse(boolean response) throws MXException, java.rmi.RemoteException
setPMWOCancelUserListResponse
in interface WORemote
MXException
java.rmi.RemoteException
setPMWOCancelUserListResponse(boolean)
public boolean getPMWOCancelUserListResponse() throws MXException, java.rmi.RemoteException
getPMWOCancelUserListResponse
in interface WORemote
MXException
java.rmi.RemoteException
psdi.app.workorder.WO#getPMWOCancelUserListResponse(boolean)
public void canDeleteAttachedDocs() throws MXException, java.rmi.RemoteException
canDeleteAttachedDocs
in interface StatefulMboRemote
canDeleteAttachedDocs
in class StatefulMbo
MXException
java.rmi.RemoteException
StatefulMbo.canDeleteAttachedDocs()
public WOServiceAddressRemote getWOServiceAddress() throws MXException, java.rmi.RemoteException
WORemote
getWOServiceAddress
in interface WORemote
MXException
java.rmi.RemoteException
public boolean hasServiceAddress() throws MXException, java.rmi.RemoteException
hasServiceAddress
in interface AddressableMbo
MXException
java.rmi.RemoteException
public WOServiceAddressRemote getServiceAddress() throws MXException, java.rmi.RemoteException
getServiceAddress
in interface AddressableMbo
MXException
java.rmi.RemoteException
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 java.lang.String getAddressString() throws MXException, java.rmi.RemoteException
GISable
getAddressString
in interface GISable
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
public boolean isGISDataReadonly() throws MXException, java.rmi.RemoteException
GISable
isGISDataReadonly
in interface GISable
MXException
java.rmi.RemoteException
public void updateChildrensServiceAddress(WO currentWO) throws java.rmi.RemoteException, MXException
addresscode
- java.rmi.RemoteException
MXException
public MboRemote getAmCrewLabor(java.lang.String laborCode, java.lang.String laborOrg) throws MXException, java.rmi.RemoteException
laborCode
- Labor CodelaborOrg
- Labor orgMXException
java.rmi.RemoteException
public MboRemote getAmCrew(java.lang.String crew, java.lang.String laborOrg) throws MXException, java.rmi.RemoteException
crew
- CrewlaborOrg
- Labor orgMXException
java.rmi.RemoteException
public MboSetRemote getAmCrewLaborSet(java.lang.String crew, java.lang.String laborOrg) throws MXException, java.rmi.RemoteException
crew
- CrewlaborOrg
- Labor orgMXException
java.rmi.RemoteException
public boolean isMobileCrew(java.lang.String laborCode, java.lang.String laborOrg) throws MXException, java.rmi.RemoteException
laborCode
- Labor CodelaborOrg
- Labor orgMXException
java.rmi.RemoteException
public boolean isCrew(java.lang.String laborCode, java.lang.String laborOrg) throws MXException, java.rmi.RemoteException
isCrew
in interface WORemote
laborCode
- Labor CodelaborOrg
- Labor orgMXException
java.rmi.RemoteException
isCrew(String laborCode, String laborOrg)
public void createToolTransEveryplace(MboRemote labTransMbo) throws MXException, java.rmi.RemoteException
labTransMbo
- LabTransMXException
java.rmi.RemoteException
public MboSetRemote getAmCrewToolSet(java.lang.String crew) throws MXException, java.rmi.RemoteException
crew
- CrewMXException
java.rmi.RemoteException
public MboRemote getAutoLocateObject() throws MXException, java.rmi.RemoteException
AutoLocatable
getAutoLocateObject
in interface AutoLocatable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic 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 void setClearLBSLocation(boolean setLocation) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setPMWOCancelUserMainAndChildren(int response) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getPMWOCancelUserMainAndChildren() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setWoOwnerDuringStatusChange(MboRemote parentWO) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getWoOwnerDuringStatusChange() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean checkForActiveLabTrans() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void copyCrewTypeToWpLaborSet(MboSetRemote crewTypeSet) throws MXException, java.rmi.RemoteException
copyCrewTypeToWpLaborSet
in interface WORemote
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
copyCraftRateToWpLaborSet(psdi.mbo.MboSetRemote)
public WO.MTLStatus setStoreroomStatusWOGen(boolean changeStatus) throws java.rmi.RemoteException, MXException
changeStatus
- java.rmi.RemoteException
MXException
public WO.MTLStatus setDirectIssueStatusWOGen() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void checkSynonymStatusDate(java.lang.String status, java.util.Date date) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getTargStartDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getTargStartDate
in interface WORemote
MXException
java.rmi.RemoteException
getTargStartDate(Date date, String calledFromFlag)
public java.util.Date getPMNextDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMNextDate
in interface WORemote
MXException
java.rmi.RemoteException
getPMNextDate(Date date, String calledFromFlag)
public java.util.Date getPMExtDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMExtDate
in interface WORemote
MXException
java.rmi.RemoteException
getPMExtDate(Date date, String calledFromFlag)
public MboSetRemote getSharedMatUseTransSet(MboRemote wpm) throws MXException, java.rmi.RemoteException
wpm
- MXException
java.rmi.RemoteException
public boolean isFullyIssued(MboRemote wpm) throws MXException, java.rmi.RemoteException
wpm
- MXException
java.rmi.RemoteException
public void ProcessParentInVector(MboRemote currentParent) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isPartiallyIssued(MboRemote wpm) throws MXException, java.rmi.RemoteException
wpm
- MXException
java.rmi.RemoteException
public boolean hasUndeleteFRCompleted()
public void fireEvent(java.lang.String type) throws MXException, java.rmi.RemoteException
fireEvent
in class StatefulMbo
type
- MXException
java.rmi.RemoteException
public MboSetRemote getAvailableLabor() throws MXException, java.rmi.RemoteException
getAvailableLabor
in interface WORemote
MXException
java.rmi.RemoteException
getAvailableLabor()
public void setChangeStatusSet(MboSetRemote changeStatusSet) throws MXException, java.rmi.RemoteException
changeStatusSet
- MXException
java.rmi.RemoteException
public MboSetRemote getChangeStatusSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canCreateRelatedRecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setTopWOInWOGen(MboRemote topWO) throws MXException, java.rmi.RemoteException
topWO
- MXException
java.rmi.RemoteException
public MboRemote getTopWOInWOGen() throws MXException, java.rmi.RemoteException
MXEXException
java.rmi.RemoteException
MXException
public java.util.Vector getUnCommittedWOs() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void storeUnCommittedWOs(MboRemote childWO) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setAsyncChangeStatus() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isAsyncStatusChange() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setAppDefaultValue() throws MXException, java.rmi.RemoteException
setAppDefaultValue
in class Mbo
MXException
java.rmi.RemoteException
public void initMXYesNoHash(java.util.HashMap<java.lang.String,MXApplicationYesNoCancelException> hash)
hash
- The MXYesNoCancel hash populated by the beanpublic java.util.HashMap<java.lang.String,MXApplicationYesNoCancelException> getMXYesNoHash()
public void setMustApplyDJP(boolean mustApplyDJP)
public boolean mustApplyDJP()
public void calculateDynamicJobPlan() throws java.rmi.RemoteException, MXException
calculateDynamicJobPlan
in interface WORemote
MXApplicationException
- if the workorder is not WAPPRjava.rmi.RemoteException
MXException
public boolean mustApplyLinearCalculation() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void calculateTotalWorkUnitsFor(MboRemote multiAssetLocCI, java.lang.String unitOfWork) throws java.rmi.RemoteException, MXException
calculateTotalWorkUnitsFor
in interface WORemote
java.rmi.RemoteException
MXException
public void calculateTotalWorkUnits() throws java.rmi.RemoteException, MXException
calculateTotalWorkUnits
in interface WORemote
java.rmi.RemoteException
MXException
public boolean isCalculationAppliedSuccessfully() throws java.rmi.RemoteException, MXException
isCalculationAppliedSuccessfully
in interface WORemote
java.rmi.RemoteException
MXException
public MboSetRemote getWorkLog() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException