Sepasoft MES Module Suite
system.mes.trace.modifyOperation
This method accepts keyword arguments. Modify an existing operation that was recorded with a user-provided id.
system.mes.trace.modifyOperation(userid, name, beginDateTime, endDateTime, equipmentPath, materialIn, materialOut, workOrder, personnel, supplementalEquipment, operationCustomProps, removeLot)
|
Version specific MES 3.81.6 RC 3 and later For version downloads, go to https://www.sepasoft.com/downloads/. |
|
Version specific behavior:
|
Syntax
system.mes.trace.modifyOperation(userid, name, beginDateTime, endDateTime, equipmentPath, materialIn, materialOut, workOrder, personnel, supplementalEquipment, operationCustomProps, removeLot)
- Parameters
userid; string Required This is a user-provided id that is used to specify the operation to modify.
name string Optional. Optionally include this if changing the name of the operation as it appears in the trace graph. Default: None
beginDateTime Optional: Optionally include if changing the begin date-time of the operation. Default: None
endDateTime Optional: Date Optionally include this if changing the end date-time of the operation. Default: None
equipmentPath Optional: String Optionally include if changing the equipment path where the operation occurred. Default: None
materialIn Optional: PyList
Only include material in items that are being changed. If modifying an existing material entry, the id is required. Otherwise, it is optional. Lot Array Entry: {'delete':False, 'UserID':'', 'Name':'', 'LotNo':'', 'MaterialName':'', 'Quantity':, 'UOM':'', 'Status':'', 'BeginDateTime': , 'EndDateTime': , 'EquipmentPath':'', 'ManifestName':'', 'LotCustomProperties': {}, removeLot}
Default: None
materialOut Optional: PyList
Only include material out items that are being changed. If modifying an existing material entry, the id is required. Otherwise, it is optional. Lot Array Entry: {'delete':False, 'UserID':'', 'Name':'', 'LotNo':'', 'MaterialName':'', EquipmentPath':'', 'ManifestName':'', 'Quantity':, 'UOM':'', Status:'', 'BeginDateTime': , 'EndDateTime': ,'LotCustomProperties': {}} LotCustomProperties Array Entry: {'Name':'', 'Value':, 'removeLot':True}
Default: None
personnel Optional: PyList
Only include personnel items that are being changed. If modifying a personnel entry, the id is required. Otherwise, it is optional.Personnel Array Entry: {'delete':False, 'UserID':'', 'Name':'', 'Person':'', 'Quantity': , 'UOM':'', 'BeginDateTime': , 'EndDateTime':}
Default: None
supplementalEquipment Optional: PyList
Only include supplemental equipment items that are being changed. If modifying a supplemental equipment item, the id is required. Otherwise, it is optional.Equipment Array Entry: {'delete':False, 'UserID':'', 'Name':'', 'EquipmentName:'', 'Quantity': , 'UOM':'', 'BeginDateTime': , 'EndDateTime':}
Default: None
operationCustomProps Optional: PyList
An optional array defining the custom properties associated with the operation. Custom Property Array Entry: {'Name':'', 'Value': }
Default: None
removeLot Boolean - Optional: Defaults to True. When true it deletes the Material Lot if the Material Lot is set for deletion. If set to false it only removes the reference from the segment. Included in MES 3.81.10 SP9 and later.
- Returns
Returns previous and next lots when removing or changing the material of the lot.
- Scope
All
Sepasoft MES Module Suite