Sepasoft MES Module Suite
system.mes.workorder.getActualSupplementalEquipment(workOrderUUID, beginDate, endDate)
Get the Supplemental Equipment associated with a particular Work Order.
Syntax
system.mes.workorder.getActualSupplementalEquipment(workOrderUUID, beginDate, endDate)
- Parameters
String workOrderUUID - The UUID of the Work Order to return the associated Supplemental Equipment for.
Date beginDate - Date (inclusive) when the Operations Request for this Work Order was executed. Pass in 'None' to use the default date [1 Jan, 1970 00:00:00].
Date endDate - Date (inclusive) when the Operations Request for this Work Order finished executing. Pass in 'None' to use the default date [1 Jan, 2200 00:00:00].
- Returns
MESList<MESObjectLink> supplementalEquipmentLinks - A list of MESObjectLinks that each have a reference to a supplemental equipment object.
- Scope
All
Code Example
Python |
#This code will print the Supplemental Equipment associated with a Work Order supEquipLinks = system.mes.workorder.getActualSupplementalEquipment('72b408bf-aaf4-420f-9ec5-4aa7fabbff83', None, None) for responseSupplementalEquipmentLink in supEquipLinks: print(responseSupplementalEquipmentLink.getMESObject()) |
Output
Python |
ResponseEquipment (1930d23c-7983-479c-9c13-e543d0ffb266, supEquip_01, 0 parents, 0 children, 0 custom properties, 0 complex properties) |
Sepasoft MES Module Suite