Skip to main content
Version: V3 (Ignition 8.3)

tamaki.mes.backup.compare.flattenProductionOrders

Description

Lifts each production order's nested structures into new top-level lists, adding the owning order's name (as productionOrderName) to every entry:

  • propertyValues → a new productionOrderPropertyValues list.
  • billOfMaterials → a new billOfMaterials list.

The entityLists dictionary is mutated in place. Does nothing if there are no production orders.

Syntax

tamaki.mes.backup.compare.flattenProductionOrders(entityLists)

Parameters

ParameterTypeNullableDescription
entityListsDictFalseA mapping of entity type to a list of entity dictionaries.

Returns

This function does not return a value. It mutates entityLists in place, adding productionOrderPropertyValues and billOfMaterials lists.

Code Examples

tamaki.mes.backup.compare.flattenProductionOrders(data)
print(data["billOfMaterials"])