Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ScheduledTasks Class, ExcludeWorkOrder Method

Status
Not open for further replies.

reciprocity00

IS-IT--Management
Nov 12, 2007
6
CA
Does anyone have the documentation for this method? My 5.23 documentation (chm file) does not include this method (page cannot be displayed error).

It seems as if this method is new to 5.23 and Mincom forgot to compile the help file with it :)!

Thanks,
Justin
 
The method is new, the function is not. Functionally, Ellipse will automatically include any Work Orders that were scheduled in a prior period but didn't get completed. This method allows the Planner to "exclude" Work Orders (from his/her backlog) that can't be accomplished during the effected period - for whatever reason. This method does NOT apply to forecasted MST Tasks because they do not yet have Work Order numbers assigned to them. From a technical perspective, the method is supposed to REMOVE the Planned Start Dates/Planned Finish Dates from the Work Order Header (MSF620) and Tasks (MSF623), then remove correlating records in MSF740 and MSF062. It goes on to update resource requirements and such for the scheduling period as well.
Personally, I strongly prefer the "reschedule" method; which simply updates the Planned Start/Finish Dates rather than removing them.
 
Thank you Archimedez. I was able use the exclude work order. The only arguments required were the WO # and district. See code below:

Set Modify740Block = gobjMIMS.Blocks.New

With Modify740Block.Requests.New
.AddFieldNameValue MIMSX_FLAG_SERVICE, "SCHEDULEDTASKS.ExcludeWorkOrder"
.AddFieldNameValue MIMSX_FLAG_REPLYLIST, "WorkOrder"


With .Instances.New
.AddFieldNameValue "WorkOrder", CStr(wocell)
.AddFieldNameValue "WorkOrderDstrct", CStr("ILMD")
End With
End With

On Error Resume Next
Set Modify740Reply = Modify740Block.Send
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top