Tras importar Excel el GET /work-program fallaba con 42803 porque fn_work_program_get hacía jsonb_agg(... SUM(...)). El SUM queda en una subquery y jsonb_agg afuera. Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx>