system.mes.trace.deleteOperation(userid, removeLot)

Sepasoft MES Module Suite

deleteOperation(userid, removeLot)

Removes a previously created operation.

Warning

Scripting Function added in

MES 3.81.6 RC 3 and later

For version downloads, go to https://www.sepasoft.com/downloads/.

Syntax

system.mes.trace.deleteOperation(userid, removeLot)

  • Parameters

userid: This is a user-defined id that is specified when creating the operation. 

removeLot Boolean - Optional: Defaults to True. When true, all output lots are deleted. If set to false, only the lots referenced from the segment are deleted. Included in MES 3.81.10 SP9 and later.

  • Returns

Returns previous and next lots.

If the request is not successful, an exception is returned with a message with the reason. 

  • Scope

All



Sepasoft MES Module Suite