{ "version": "6.0", "module": "production", "files": [ { "module": "production", "file": "configuration.py", "class": "ConfigurationProductionSequence", "method": "__register__", "line": 45, "operations": [ { "object": "backend.TableHandler", "operation": "table_exist", "tables": [ "production_configuration_production_sequence" ], "line": 46, "args": [ "cls._table" ], "kwargs": {}, "code": "backend.TableHandler.table_exist(cls._table)", "phase": "before_super" }, { "object": "", "operation": "migrate_property", "tables": [], "line": 58, "args": [ "'production.configuration'", "field_names", "cls", "value_names" ], "kwargs": { "fields": "fields" }, "code": "migrate_property(\n 'production.configuration', field_names, cls, value_names,\n fields=fields)", "unresolved": true, "phase": "after_super", "condition": "not exist", "via": [ { "method": "_migrate_property", "line": 51 } ] } ] }, { "module": "production", "file": "production.py", "class": "Production", "method": "__register__", "line": 264, "operations": [ { "object": "table_h", "operation": "column_rename", "tables": [ "production" ], "line": 270, "args": [ "'code'", "'number'" ], "kwargs": {}, "code": "table_h.column_rename('code', 'number')", "phase": "before_super", "condition": "table_h.column_exist('code')" }, { "object": "Transaction().connection", "operation": "cursor", "tables": [], "line": 275, "args": [], "kwargs": {}, "code": "Transaction().connection.(Transaction().connection.cursor())()", "unresolved": true, "phase": "after_super" }, { "object": "", "operation": "Transaction", "tables": [], "line": 275, "args": [], "kwargs": {}, "code": "Transaction()", "unresolved": true, "phase": "after_super" }, { "object": "cursor", "operation": "execute", "tables": [ "production" ], "line": 276, "args": [ "*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null)))", "phase": "after_super" }, { "object": "table", "operation": "update", "tables": [ "production" ], "line": 276, "args": [ "[table.planned_start_date]", "[table.planned_date]" ], "kwargs": { "where": "(table.planned_start_date == Null) & (table.planned_date != Null)" }, "code": "table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null))", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "tables": [ "production" ], "line": 283, "args": [ "*table.update([table.state], ['cancelled'], where=table.state == 'cancel')" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.state], ['cancelled'],\n where=table.state == 'cancel'))", "phase": "after_super" }, { "object": "table", "operation": "update", "tables": [ "production" ], "line": 283, "args": [ "[table.state]", "['cancelled']" ], "kwargs": { "where": "table.state == 'cancel'" }, "code": "table.update(\n [table.state], ['cancelled'],\n where=table.state == 'cancel')", "phase": "after_super" } ] } ] }