Audit modifiche

Consulta le modifiche registrate dai trigger database. Gli intervalli data/ora sono interpretati come orario italiano Europe/Rome.

Azzera filtri
Filtro record attivo: codice prodotto #174
4 eventi mostrati · offset 0Ordinati dal più recente
QuandoAzioneTabellaRecordContestoSintesi modifiche
18/06/26, 13:53:26Inserimentoplan_assignments4775app interna · app · magic_plan_confirm · magic_plan:2026-06-15:2026-06-19
id: ∅ → 4775; date: ∅ → 2026-06-16; notes: ∅ → Auto-generato (Ordine #439); shift: ∅ → T2; +14 altri campi
Dettagli before/after
Diff
{
  "id": {
    "new": 4775,
    "old": null
  },
  "date": {
    "new": "2026-06-16",
    "old": null
  },
  "notes": {
    "new": "Auto-generato (Ordine #439)",
    "old": null
  },
  "shift": {
    "new": "T2",
    "old": null
  },
  "status": {
    "new": "planned",
    "old": null
  },
  "machine_id": {
    "new": null,
    "old": null
  },
  "operator_id": {
    "new": 40,
    "old": null
  },
  "scrap_by_type": {
    "new": null,
    "old": null
  },
  "setup_minutes": {
    "new": null,
    "old": null
  },
  "assignment_type": {
    "new": "assembly",
    "old": null
  },
  "planned_minutes": {
    "new": 174,
    "old": null
  },
  "product_code_id": {
    "new": 116,
    "old": null
  },
  "capacity_minutes": {
    "new": 174,
    "old": null
  },
  "planned_quantity": {
    "new": 300,
    "old": null
  },
  "order_allocations": {
    "new": [
      {
        "code": "SCA2001801",
        "orderId": 439,
        "quantity": 300,
        "deliveryDate": "2026-07-16",
        "productCodeId": 116,
        "productionDeadline": "2026-07-14"
      }
    ],
    "old": null
  },
  "produced_quantity": {
    "new": null,
    "old": null
  },
  "residual_capacity_minutes": {
    "new": 0,
    "old": null
  },
  "setup_from_product_code_id": {
    "new": null,
    "old": null
  }
}
Prima
null
Dopo
{
  "id": 4775,
  "date": "2026-06-16",
  "notes": "Auto-generato (Ordine #439)",
  "shift": "T2",
  "status": "planned",
  "machine_id": null,
  "operator_id": 40,
  "scrap_by_type": null,
  "setup_minutes": null,
  "assignment_type": "assembly",
  "planned_minutes": 174,
  "product_code_id": 116,
  "capacity_minutes": 174,
  "planned_quantity": 300,
  "order_allocations": [
    {
      "code": "SCA2001801",
      "orderId": 439,
      "quantity": 300,
      "deliveryDate": "2026-07-16",
      "productCodeId": 116,
      "productionDeadline": "2026-07-14"
    }
  ],
  "produced_quantity": null,
  "residual_capacity_minutes": 0,
  "setup_from_product_code_id": null
}
18/06/26, 13:53:26Inserimentoplan_assignments4763app interna · app · magic_plan_confirm · magic_plan:2026-06-15:2026-06-19
id: ∅ → 4763; date: ∅ → 2026-06-16; notes: ∅ → Auto-generato (Ordine #425); shift: ∅ → T2; +14 altri campi
Dettagli before/after
Diff
{
  "id": {
    "new": 4763,
    "old": null
  },
  "date": {
    "new": "2026-06-16",
    "old": null
  },
  "notes": {
    "new": "Auto-generato (Ordine #425)",
    "old": null
  },
  "shift": {
    "new": "T2",
    "old": null
  },
  "status": {
    "new": "planned",
    "old": null
  },
  "machine_id": {
    "new": null,
    "old": null
  },
  "operator_id": {
    "new": 40,
    "old": null
  },
  "scrap_by_type": {
    "new": null,
    "old": null
  },
  "setup_minutes": {
    "new": null,
    "old": null
  },
  "assignment_type": {
    "new": "assembly",
    "old": null
  },
  "planned_minutes": {
    "new": 276,
    "old": null
  },
  "product_code_id": {
    "new": 111,
    "old": null
  },
  "capacity_minutes": {
    "new": 450,
    "old": null
  },
  "planned_quantity": {
    "new": 30,
    "old": null
  },
  "order_allocations": {
    "new": [
      {
        "code": "SCA1919091",
        "orderId": 425,
        "quantity": 30,
        "deliveryDate": "2026-07-09",
        "productCodeId": 111,
        "productionDeadline": "2026-07-07"
      }
    ],
    "old": null
  },
  "produced_quantity": {
    "new": null,
    "old": null
  },
  "residual_capacity_minutes": {
    "new": 174,
    "old": null
  },
  "setup_from_product_code_id": {
    "new": null,
    "old": null
  }
}
Prima
null
Dopo
{
  "id": 4763,
  "date": "2026-06-16",
  "notes": "Auto-generato (Ordine #425)",
  "shift": "T2",
  "status": "planned",
  "machine_id": null,
  "operator_id": 40,
  "scrap_by_type": null,
  "setup_minutes": null,
  "assignment_type": "assembly",
  "planned_minutes": 276,
  "product_code_id": 111,
  "capacity_minutes": 450,
  "planned_quantity": 30,
  "order_allocations": [
    {
      "code": "SCA1919091",
      "orderId": 425,
      "quantity": 30,
      "deliveryDate": "2026-07-09",
      "productCodeId": 111,
      "productionDeadline": "2026-07-07"
    }
  ],
  "produced_quantity": null,
  "residual_capacity_minutes": 174,
  "setup_from_product_code_id": null
}
27/05/26, 12:44:59Modificaproduct_codes174
throughput_per_shift: 105 → 788
Dettagli before/after
Diff
{
  "throughput_per_shift": {
    "new": 788,
    "old": 105
  }
}
Prima
{
  "id": 174,
  "code": "00408549",
  "notes": null,
  "active": true,
  "customer": "DYNACAST",
  "flow_type": "direct",
  "description": "CORPO 8549",
  "short_label": null,
  "raw_material_id": 64,
  "packaging_quantity": 1,
  "production_flow_id": 1,
  "assembly_throughput": null,
  "throughput_per_shift": 105,
  "external_treatment_status": "none",
  "inventory_source_warehouse": null,
  "inventory_destination_warehouse": null
}
Dopo
{
  "id": 174,
  "code": "00408549",
  "notes": null,
  "active": true,
  "customer": "DYNACAST",
  "flow_type": "direct",
  "description": "CORPO 8549",
  "short_label": null,
  "raw_material_id": 64,
  "packaging_quantity": 1,
  "production_flow_id": 1,
  "assembly_throughput": null,
  "throughput_per_shift": 788,
  "external_treatment_status": "none",
  "inventory_source_warehouse": null,
  "inventory_destination_warehouse": null
}
22/05/26, 14:55:36Cancellazioneplan_assignments1632
id: 1632 → ∅; date: 2026-04-07 → ∅; notes: Import storico consuntivo 2026 - riga Google Form #2251 → ∅; shift: T2 → ∅; +10 altri campi
Dettagli before/after
Diff
{
  "id": {
    "new": null,
    "old": 1632
  },
  "date": {
    "new": null,
    "old": "2026-04-07"
  },
  "notes": {
    "new": null,
    "old": "Import storico consuntivo 2026 - riga Google Form #2251"
  },
  "shift": {
    "new": null,
    "old": "T2"
  },
  "status": {
    "new": null,
    "old": "completed"
  },
  "machine_id": {
    "new": null,
    "old": 14
  },
  "operator_id": {
    "new": null,
    "old": 35
  },
  "scrap_by_type": {
    "new": null,
    "old": {
      "raw": 5
    }
  },
  "setup_minutes": {
    "new": null,
    "old": null
  },
  "assignment_type": {
    "new": null,
    "old": "production"
  },
  "product_code_id": {
    "new": null,
    "old": 101
  },
  "planned_quantity": {
    "new": null,
    "old": null
  },
  "produced_quantity": {
    "new": null,
    "old": 174
  },
  "setup_from_product_code_id": {
    "new": null,
    "old": null
  }
}
Prima
{
  "id": 1632,
  "date": "2026-04-07",
  "notes": "Import storico consuntivo 2026 - riga Google Form #2251",
  "shift": "T2",
  "status": "completed",
  "machine_id": 14,
  "operator_id": 35,
  "scrap_by_type": {
    "raw": 5
  },
  "setup_minutes": null,
  "assignment_type": "production",
  "product_code_id": 101,
  "planned_quantity": null,
  "produced_quantity": 174,
  "setup_from_product_code_id": null
}
Dopo
null