-- SQL script to load 2026 budget formulations (PIA / PIM) from ENERO.xlsx
-- Generated by Antigravity AI

BEGIN;

-- Partida: 401.00.00.00 - GASTOS DE PERSONAL
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 304554810.0, 304554810.0, 489088499.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Sueldos, Salarios y Otras Retribuciones
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 34000000.0, 34000000.0, 34000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Sueldos básicos personal fijo a tiempo completo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 15000000.0, 15000000.0, 15000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Sueldos básicos personal fijo a tiempo parcial
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 15000000.0, 15000000.0, 15000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Salarios a obreros en puestos permanentes a tiempo completo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 4000000.0, 4000000.0, 4000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Remuneraciones al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 40050000.0, 40050000.0, 47598697.5, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Remuneraciones al personal contratado a tiempo determinado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000000.0, 10000000.0, 11439497.5, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Remuneraciones por honorarios profesionales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 12500000.0, 12500000.0, 12500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Retribución por Becas-Salarios, Bolsas de Trabajo, Pasantías y Similares.
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 12500000.0, 12500000.0, 18500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Dietas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 2050000.0, 2050000.0, 2159200.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Sueldos Básico de los Altos Funcionarios y Altas Funcionarias del Poder Público y de Elección Popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Sueldo Básico del Personal de Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 2500000.0, 2500000.0, 2500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Primas a Empleados, Obreros, Personal Militar y Parlamentarios
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 4267500.0, 4267500.0, 4267500.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas de transporte a empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por hogar para la protección y estabilidad familiar del personal 
-- empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por hijos e hijas al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 400000.0, 400000.0, 400000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas de profesionalización al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1750000.0, 1750000.0, 1750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por antigüedad al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 150000.0, 150000.0, 150000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por jerarquía o responsabilidad en el cargo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por hogar para la protección y estabilidad familiar del personal 
-- obrero.
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por hijos e hijas al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por antigüedad al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 150000.0, 150000.0, 150000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas de profesionalización al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas de transporte al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por hogar para la protección y estabilidad familiar del   personal 
-- contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por hijos e hijas al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 200000.0, 200000.0, 200000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas Profesionalización del Personal Contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Primas por Antigüedad al Personal Contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Primas por hijos e hijas de los altos funcionarios y altas funcionarias del poder publico y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Primas de profesionalización  de los altos funcionarios y altas funcionarias del poder publico y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Primas de antigüedad  de los altos funcionarios y altas funcionarias del poder publico y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Primas por hijos e hijas del personal de alto nivel y de dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Primas de antigüedad al personal de alto nivel y de dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 12500.0, 12500.0, 12500.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras Primas Altos y Altas Funcionarios del Poder Público y de Elección Popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras Primas Personal de Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras primas al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras Primas a Empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras Primas a Obreros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Complemento de Sueldos y salarios
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 101305000.0, 101305000.0, 112105000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Complemento a Empleados por Comisión de Servicio
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1500000.0, 1500000.0, 1500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bonificación a Empleados (obvenciones)
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000000.0, 25000000.0, 35000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono compensatorio de alimentación al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 35000000.0, 35000000.0, 35000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Complementos a Empleados por  Días Feriados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 750000.0, 750000.0, 750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Complementos a Obreros por  Trabajo Nocturnos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono Compensatorio de Alimentación a Obreros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 7500000.0, 7500000.0, 7500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Complementos a Obreros por Días Feriados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Complemento  al  personal  contratado  por  horas  extraordinarias  o  por sobre tiempo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Complemento al personal contratado por gastos de alimentación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000000.0, 25000000.0, 25000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono Compensatorio de Alimentación al Personal Contratados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 500000.0, 500000.0, 1300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bonificación a altos funcionarios y altas funcionarias del poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 75000.0, 75000.0, 75000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono compensatorio de transporte a altos funcionarios y altas funcionarias del poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono Compensatorio de Alimentación a Personal de Alto  Nivel y  Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Otros complementos a altos funcionarios y altas funcionarias del sector público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Complementos al Personal de Alto Nivel y Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Complementos a Empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Complementos a Obreros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Complementos a  Contratados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Aguinaldos, utilidades o bonificación legal, y bono vacacional
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 2750000.0, 2750000.0, 2750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aguinaldos al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono vacacional al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1600000.0, 1600000.0, 1600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aguinaldos al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono vacacional al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 200000.0, 200000.0, 200000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aguinaldos al Personal Contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono Vacacional al Personal Contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 600000.0, 600000.0, 600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aguinaldos a Altos(as) Funcionarios(as) del Poder Público y de Elección Popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono Vacacional a Altos(as) Funcionarios(as)  del Poder Público y de Elección Popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aguinaldos al Personal de  Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Bono Vacacional al Personal de Alto Nivel y Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Aportes patronales y legales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 3106000.0, 3106000.0, 4116000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Instituto Venezolano de los Seguros Sociales 
-- (I.V.S.S.) al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo Contributivo del Régimen Prestacional de 
-- Empleo al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo Contributivo del Régimen Prestacional de 
-- Empleo al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo de Ahorro Obligatorio para la Vivienda al 
-- personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 750000.0, 750000.0, 950000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Instituto Venezolano de los Seguros Sociales 
-- (I.V.S.S.) al   personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 75000.0, 75000.0, 75000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo de Jubilaciones al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo Contributivo del Régimen Prestacional de 
-- Empleo al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo de Ahorro Obligatorio para la Vivienda al 
-- personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte legal al Instituto Venezolano de los Seguros Sociales (IVSS) 
-- por personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 600000.0, 600000.0, 600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo de Ahorro Obligatorio para la Vivienda por 
-- personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 835000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo Contributivo del Régimen Prestacional de 
-- Empleo  al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 200000.0, 200000.0, 200000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo de Jubilaciones por personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Instituto Venezolano de los Seguros Sociales 
-- (IVSS) por altos funcionarios y altas funcionarias del poder público y 
-- de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal De Fondos De Jubilación De Altos(A) Funcionarios Del Poder Público Y De Elección Popular.
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte  patronal  al Fondo de Ahorro Obligatorio para la Vivienda por 
-- altos funcionarios y altas funcionarias del poder público y de elección 
-- popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal De  IVSS Alto Nivel Y Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 125000.0, 125000.0, 125000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal Del Fondo De  Jubilación Alto Nivel  Y Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo de Ahorro Obligatorio para la Vivienda por 
-- personal de alto nivel y de dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 16000.0, 16000.0, 16000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte patronal al Fondo Contributivo del Régimen Prestacional de 
-- Empleo por personal de alto nivel y de dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros aportes patronales por el personal de alto nivel y de dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Asistencia socio económica
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 118696310.0, 118696310.0, 283871301.5, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Capacitación y adiestramiento al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Becas al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas para medicinas, gastos médicos, odontológicos y de 
-- hospitalización al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal a Cajas de Ahorro por Empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Dotación De Uniformes A Empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Becas al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas por matrimonio al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayuda. Por Nacimientos De  Hijos Del Personal Obreros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas para medicinas, gastos médicos, odontológicos y de 
-- hospitalización al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 2700000.0, 2700000.0, 2700000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal a Cajas de Ahorro por Obreros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas al personal obrero para adquisición de uniformes y útiles 
-- escolares de sus hijos e hijas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Dotación de uniformes al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 750000.0, 750000.0, 750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aportes para la adquisición de juguetes para los hijos e hijas del 
-- personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 150000.0, 150000.0, 150000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas por matrimonio a altos funcionarios y altas funcionarias del poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas Por Nacimiento De Hijos Altos Funcionarios Y Altas Funcionarias Del Poder Público Y De Elección Popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas  para  medicinas,  gastos  médicos,  odontológicos  y  de hospitalización  a  altos  funcionarios  y  altas  funcionarias  del  poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas Por Matrimonio Al Personal De Alto Nivel Y De Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas Por Nacimiento De Hijos Al Personal De Alto Nivel Y De Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas Por Defunción Al Personal De Alto Nivel Y De Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas para Medicinas, Gastos Médicos, Odontológicos y de Hospitalización al Personal de Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1791100.0, 1791100.0, 1791100.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal a Cajas de Ahorro por Personal de Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Capacitación y adiestramiento al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Becas al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Ayudas para Medicinas, Gastos Médicos, Odontológicos y de Hospitalización al Personal Contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Aporte Patronal a Cajas de Ahorro por Personal Contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 5000.0, 5000.0, 5000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Dotación de uniformes al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 1500000.0, 1500000.0, 1500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras Subvenciones A Altos Funcionarios Y Altas Funcionarias Del Poder Público Y De Elección Popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras Subvenciones Al Personal De Alto Nivel Y De Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000000.0, 25000000.0, 177174991.5, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras subvenciones a empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 25000000.0, 25000000.0, 35000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otras subvenciones a obreros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 2500000.0, 2500000.0, 3500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 401.00.00.00 - Otras subvenciones al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '6b0fa606-5a63-57b7-8f6e-3f1e98207b01', 48060210.0, 48060210.0, 50060210.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Prestaciones sociales e indemnizaciones
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Prestaciones sociales e indemnizaciones al personal empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Prestaciones sociales e indemnizaciones al personal obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Prestaciones sociales e indemnizaciones al personal contratado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Prestaciones sociales e indemnizaciones a altos funcionarios y altas 
-- funcionarias del poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Prestaciones sociales e indemnizaciones al personal de alto nivel y 
-- de dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros gastos de los altos funcionarios y altas funcionarias del
-- poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros gastos de los altos funcionarios y altas funcionarias del poder público y de elección popular
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Gastos del Personal de Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Gastos del Personal de Alto Nivel y de Dirección
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Gastos del Personal Empleado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 300000.0, 300000.0, 300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Gastos de Personal Empleados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 300000.0, 300000.0, 300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Gastos del Personal Obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.01.00.00 - Otros Gastos del Personal Obrero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e660586d-44da-5c8e-86be-c93826c6d6cb', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - MATERIALES, SUMINISTROS Y MERCANCIAS
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 144796825.0, 144796825.0, 347096825.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos alimenticios y agropecuarios
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 40000000.0, 40000000.0, 100000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Alimentos y bebidas para personas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 40000000.0, 40000000.0, 100000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de minas, canteras y yacimientos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1000000.0, 1000000.0, 2500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Petróleo crudo y gas natural
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Piedra, arcilla, arena y tierra
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 750000.0, 750000.0, 2250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Textiles y vestuarios
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 8351825.0, 8351825.0, 10851825.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Textiles
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Prendas de vestir
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 5750000.0, 5750000.0, 7750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Calzados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Otros productos textiles y vestuarios
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 2101825.0, 2101825.0, 2101825.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de cuero y caucho
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 600000.0, 600000.0, 600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Cueros y pieles
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 600000.0, 600000.0, 600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos de papel, cartón e impresos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 5450000.0, 5450000.0, 7650000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Pulpa de madera, papel y cartón
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Envases y cajas de papel y cartón
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de papel y cartón para oficina
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 2500000.0, 2500000.0, 4500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Libros, revistas y periódicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 450000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de papel y cartón para la imprenta y reproducción
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 2250000.0, 2250000.0, 2250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Otros productos de pulpa, papel y cartón
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos químicos y derivados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 33310000.0, 33310000.0, 110310000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Sustancias químicas y de uso industrial
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 750000.0, 750000.0, 750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Tintas, pinturas y colorantes
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 0.0, 0.0, 7000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos farmacéuticos y medicamentos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 20000000.0, 20000000.0, 90000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de tocador
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Combustibles y lubricantes
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos plásticos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 12500000.0, 12500000.0, 12500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos minerales no metálicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 1200000.0, 1200000.0, 2200000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de barro, loza y porcelana
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Vidrios y productos de vidrio
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de arcilla para la construcción
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Cemento, cal y yeso
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 600000.0, 600000.0, 1600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos metálicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 4160000.0, 4160000.0, 11460000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos primarios de hierro y acero
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de metales no ferrosos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Herramientas menores, cuchillería y artículos generales de ferretería
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1000000.0, 1000000.0, 8000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos metálicos estructurales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Materiales de orden público, seguridad y defensa
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Repuestos y accesorios para equipos de transporte
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1000000.0, 1000000.0, 1100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Repuestos y accesorios para otros equipos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 500000.0, 500000.0, 700000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Otros productos metálicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 150000.0, 150000.0, 150000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos de madera
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 200000.0, 200000.0, 200000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Muebles y accesorios de madera para edificaciones
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Otros productos de madera
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Productos varios y útiles diversos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 49275000.0, 49275000.0, 93075000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Artículos de deporte,  recreación y juguetes
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Materiales y útiles de limpieza y aseo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1000000.0, 1000000.0, 11300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Útiles Menores Medicos-Quirurgcos, de Laboratorio, Dentales y de Veterinaria
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 25000000.0, 25000000.0, 58000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Útiles de escritorio, oficina y materiales de instrucción
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 15000000.0, 15000000.0, 15000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Condecoraciones, ofrendas y similares
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 3000000.0, 3000000.0, 3000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Productos de seguridad en el trabajo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Materiales para equipos de computación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Especies timbradas y valores
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Materiales eléctricos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1500000.0, 1500000.0, 1500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Materiales para instalaciones sanitarias
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Materiales fotográficos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.02.00.00 - Otros productos y útiles diversos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'e759b953-201a-599e-aab7-bea0a86e3a7b', 1250000.0, 1250000.0, 1750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Otros materiales y suministros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 1250000.0, 1250000.0, 8250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 402.00.00.00 - Otros materiales y suministros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7dc74413-aa96-5c11-8b71-981ab25840d5', 1250000.0, 1250000.0, 8250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Servicios no personales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 1401792146.0, 1401792146.0, 2148375470.45, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Alquileres de maquinaria y equipos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 131000000.0, 131000000.0, 194000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Alquileres de maquinaria y demás equipos de construcción, campo, industria y taller
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Alquileres de equipos de transporte, tracción y elevación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 10000000.0, 10000000.0, 30000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Alquileres de equipos de comunicaciones y de señalamiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Alquileres de equipos científicos, religiosos, de enseñanza y recreación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 100000000.0, 100000000.0, 100000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Alquileres de máquinas, muebles y demás equipos de oficina y alojamiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 10000000.0, 10000000.0, 53000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Alquileres de otras maquinaria y equipos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Derechos sobre bienes intangibles
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 300000.0, 300000.0, 300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Paquetes y programas de computación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 300000.0, 300000.0, 300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Servicios básicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 20000000.0, 20000000.0, 23000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Electricidad
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 10000000.0, 10000000.0, 13000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Gas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 10000000.0, 10000000.0, 10000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Teléfonos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 13250000.0, 13250000.0, 17733324.45, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios de telefonía prestados por organismos públicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios de telefonía prestados por instituciones privadas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 3500000.0, 3500000.0, 6383324.45, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicio de comunicaciones
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 3500000.0, 3500000.0, 4500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicio de aseo urbano y domiciliario
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 3500000.0, 3500000.0, 3500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicio de condominio
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 2500000.0, 2500000.0, 3100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicio de administración, vigilancia y mantenimiento de los servicios básicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicio  de  administración,  vigilancia y mantenimiento del servicio de electricidad
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicio  de  administración,  vigilancia y mantenimiento del servicio de comunicaciones
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Servicios de transporte y almacenaje
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 1000000.0, 1000000.0, 1300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Estacionamiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 1000000.0, 1000000.0, 1300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Servicios de información, impresión y relaciones públicas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 95175625.0, 95175625.0, 188175625.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Publicidad y propaganda
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 60000000.0, 60000000.0, 60000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Imprenta y reproducción
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 5000000.0, 5000000.0, 8000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Relaciones sociales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 30175625.0, 30175625.0, 120175625.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Primas y otros gastos de seguros y comisiones bancarias
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 5200000.0, 5200000.0, 5300000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Primas y gastos de seguros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 100000.0, 100000.0, 200000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Comisiones y gastos bancarios
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Comisiones y gastos de adquisición de seguros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Viáticos y pasajes
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 575000.0, 575000.0, 575000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Viáticos y pasajes dentro del país
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 100000.0, 100000.0, 100000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Viáticos y pasajes fuera del país
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 475000.0, 475000.0, 475000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Servicios profesionales y técnicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 113350000.0, 113350000.0, 534050000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios de procesamiento de datos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 80000000.0, 80000000.0, 250000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios de capacitación y adiestramiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 3000000.0, 3000000.0, 3000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios para la elaboración y suministro de comida
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 350000.0, 350000.0, 221050000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Otros servicios profesionales y técnicos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 30000000.0, 30000000.0, 60000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Conservación y reparaciones menores de maquinaria y equipos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 11000000.0, 11000000.0, 18000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Conservación y reparaciones menores de equipos de transporte, tracción y elevación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 11000000.0, 11000000.0, 18000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Conservación y reparaciones menores de obras
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 730500000.0, 730500000.0, 740500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Conservación y reparaciones menores de obras en bienes del dominio privado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 10500000.0, 10500000.0, 20500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Conservación y reparaciones menores de obras en bienes del dominio público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 720000000.0, 720000000.0, 720000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios de diversión, esparcimiento y culturales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 50000000.0, 50000000.0, 50000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.03.00.00 - Servicios de diversión, esparcimiento y culturales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'dce12d2f-ffce-559e-82ff-0ebec63123ef', 50000000.0, 50000000.0, 50000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Impuesto indirectos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 170250000.0, 170250000.0, 300250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Impuesto al Valor Agregado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 170000000.0, 170000000.0, 300000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Otros impuestos indirectos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Otros servicios no personales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 60091521.0, 60091521.0, 75091521.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 403.00.00.00 - Otros servicios no personales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '59469c6f-f1ad-50d3-8dd3-37c7edf5fa85', 60091521.0, 60091521.0, 75091521.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 404.00.00.00 - Activos reales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7c75750d-18a1-52f4-97a4-64eba4d46e2c', 402053275.0, 402053275.0, 557616506.87, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Repuestos y reparaciones mayores
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 3228275.0, 3228275.0, 3228275.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Repuestos mayores
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 3228275.0, 3228275.0, 3228275.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Repuestos mayores para maquinarias y demás equipos de construcción, campo, industria y taller
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 1228275.0, 1228275.0, 1228275.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Repuestos mayores para equipos de transporte, tracción y elevación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2000000.0, 2000000.0, 2000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Conservación, ampliaciones y mejoras mayores de obras
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 355000000.0, 355000000.0, 422500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Conservación, ampliaciones y mejoras mayores de obras en  bienes del dominio privado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 5000000.0, 5000000.0, 5000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Conservación, ampliaciones y  mejoras mayores de obras  en bienes del dominio público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 350000000.0, 350000000.0, 417500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Maquinaria y demás equipos de construcción, campo, industria y taller
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Maquinaria   y   demás equipos   de   construcción  y mantenimiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 500000.0, 500000.0, 500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 404.00.00.00 - Maquinarias y demás equipos de construcción, campo, industria y taller
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7c75750d-18a1-52f4-97a4-64eba4d46e2c', 16000000.0, 16000000.0, 51122062.96, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Vehículos automotores terrestres
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 15000000.0, 15000000.0, 50122062.96, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Vehículos de tracción no motorizados
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 404.00.00.00 - Equipos de comunicaciones y de señalamiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7c75750d-18a1-52f4-97a4-64eba4d46e2c', 5000000.0, 5000000.0, 44941168.91, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Equipos de telecomunicaciones
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 5000000.0, 5000000.0, 44941168.91, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Equipos Médicos - Quirúrgicos Dentales y Veterinaria
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 1500000.0, 1500000.0, 1500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Equipos Médicos - Quirúrgicos Dentales y Veterinaria
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 1500000.0, 1500000.0, 1500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 404.00.00.00 - Equipos científicos, religiosos, de enseñanza y recreación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7c75750d-18a1-52f4-97a4-64eba4d46e2c', 5050000.0, 5050000.0, 9050000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Equipos de enseñanza, deporte y recreación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 50000.0, 50000.0, 50000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - obras de Arte
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 5000000.0, 5000000.0, 9000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 404.00.00.00 - Máquinas, muebles y demás equipos de oficina y alojamiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '7c75750d-18a1-52f4-97a4-64eba4d46e2c', 5000000.0, 5000000.0, 6000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Mobiliario y equipos de oficina
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 1500000.0, 1500000.0, 1500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Equipos de computación
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 1000000.0, 1000000.0, 1000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Mobiliario y equipos de alojamiento
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2500000.0, 2500000.0, 3500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Activos intangibles
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Estudios y proyectos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Estudios y proyectos para inversión en activos fijos
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2500000.0, 2500000.0, 5500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Estudios y proyectos aplicables a bienes del dominio público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2500000.0, 2500000.0, 5500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Contratación de inspección de obras
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 3000000.0, 3000000.0, 3000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Contratación de inspección de obras de bienes del domino público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 3000000.0, 3000000.0, 3000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Construcciones del dominio público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2525000.0, 2525000.0, 7525000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Otras construcciones del dominio público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2525000.0, 2525000.0, 7525000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Otros activos reales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2500000.0, 2500000.0, 2500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.04.00.00 - Otros activos reales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'c052dba8-084a-5135-893f-a0e3686b479e', 2500000.0, 2500000.0, 2500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - TRANSFERENCIAS Y DONACIONES
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 1294028055.0, 1294028055.0, 2123047809.68, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias Y Donaciones Corrientes Internas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 519028055.0, 519028055.0, 864465320.48, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias Corrientes Internas al Sector Privado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 3885000.0, 3885000.0, 3885000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Pensiones del Personal Empleado, Obrero y Militar
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 1600000.0, 1600000.0, 1600000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Jubilaciones del Personal Empleado, Obrero y Militar
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 1750000.0, 1750000.0, 1750000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Aportes a Caja de Ahorro del Personal Empleado, Obrero y Militar Pensionado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 25000.0, 25000.0, 25000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Otras subvenciones socio-económicas del personal empleado, obrero y militar pensionado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Aportes a caja de ahorro del personal jubilado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 10000.0, 10000.0, 10000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Otras subvenciones socio - económicas del personal jubilado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 250000.0, 250000.0, 250000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias Corrientes Internas al Sector Privado
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 32500000.0, 32500000.0, 32500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Donaciones corrientes a personas
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 30000000.0, 30000000.0, 30000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Donaciones corrientes a instituciones sin fines de lucro
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 2500000.0, 2500000.0, 2500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias Corrientes Internas al Sector Público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 482643055.0, 482643055.0, 828080320.48, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias Corrientes a Entes Descentralizados sin Fines Empresariales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 87643055.0, 87643055.0, 87643055.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias Corrientes a Entes Descentralizados con fines empresariales no petroleros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 95000000.0, 95000000.0, 95000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Otras Transferencias corrientes internas al sector público (Concejo y Contraloría)
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 300000000.0, 300000000.0, 645437265.48, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias de capital internas al sector público
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 425000000.0, 425000000.0, 903582489.2, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias de capital a entes descentralizados sin fines empresariales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 350000000.0, 350000000.0, 775590131.9000001, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias de capital a entes descentralizados con fines empresariales no petroleros
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 75000000.0, 75000000.0, 127992357.30000001, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias y donaciones a consejos comunales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 350000000.0, 350000000.0, 355000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias y donaciones corrientes a consejos comunales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 350000000.0, 350000000.0, 355000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.07.00.00 - Transferencias corrientes a consejos comunales
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', '02c071c6-51a4-5e77-8971-a6975deb361f', 350000000.0, 350000000.0, 355000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - DISMINUCIÓN DE PASIVOS
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 6722500.0, 6722500.0, 88722500.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de gastos de personal por pagar
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 0.0, 0.0, 22000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de sueldos, salarios y otras remuneraciones por pagar
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 0.0, 0.0, 22000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de aportes patronales y retenciones laborales por pagar
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 2000000.0, 2000000.0, 2000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de aportes patronales y retenciones laborales por pagar
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 2000000.0, 2000000.0, 2000000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de aportes patronales y retenciones laborales por pagar al Instituto Venezolano de los Seguros Sociales (IVSS)
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 340000.0, 340000.0, 340000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de aportes patronales y retenciones laborales por pagar al Fondo de Ahorro Obligatorio para la Vivienda (FAOV)
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 1660000.0, 1660000.0, 1660000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de cuentas y efectos por pagar a proveedores
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 4722500.0, 4722500.0, 64722500.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.11.00.00 - Disminución de cuentas por pagar a proveedores a corto plazo
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'ae5e10a5-8842-556e-afd1-c6e1cb10add6', 4722500.0, 4722500.0, 64722500.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.98.00.00 - RECTIFICACIONES AL PRESUPUESTO
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'cdc2d211-4700-5f62-96ba-9e555ee82f62', 45500000.0, 45500000.0, 45500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

-- Partida: 004.98.00.00 - Rectificaciones al presupuesto
INSERT INTO budget.formulations (id, fiscal_year_id, org_unit_id, classifier_id, requested_amount, approved_amount, current_amount, status)
VALUES (gen_random_uuid(), 'f2026a32-9fc1-4eb9-ea98-05f37f5d6e01', 'a1000000-0000-0000-0000-000000000001', 'cdc2d211-4700-5f62-96ba-9e555ee82f62', 45500000.0, 45500000.0, 45500000.0, 'approved')
ON CONFLICT (fiscal_year_id, org_unit_id, classifier_id) DO UPDATE
SET requested_amount = EXCLUDED.requested_amount,
    approved_amount = EXCLUDED.approved_amount,
    current_amount = EXCLUDED.current_amount,
    status = EXCLUDED.status,
    updated_at = CURRENT_TIMESTAMP;

COMMIT;
