erpcya / adempiere

ADempiere Business Suite ERP/CRM/MFG/SCM/POS done the Bazaar way in an open and unabated fashion. Focus is on the Community that includes Subject Matter Specialists, Implementors and End-Users.
www.adempiere.net
GNU General Public License v2.0
2 stars 5 forks source link

[Bug Report] Reportes ejecutados desde el Programador de Procesos no muestran los valores de parámetros #60

Open yamelsenih opened 5 months ago

yamelsenih commented 5 months ago

Reporte de Error

Cuando se ejecuta un reporte desde el progamador de procesos (Process Scheduler) no muestra correctamente el valor de los párámetros, en su lugar muestra el ID cuando se trata de una referencia a una tabla

Pasos para reproducir

  1. Agregue un proceso tipo reporte al programador de procesos, en mi caso agregué el informe de reabastecimiento
  2. Ejecute el Programador de Procesos
  3. Vea cómo se muestra el parámetro

Screenshot or Gif

2024-04-23_15-42

Comportamiento Esperado

Cuando el parámetro hace referencia a un tipo lookup debería mostrar el valor de visualización y no el ID tal como se muestra a continuación 2024-04-23_15-44

Conteto Adicional

Esto sucede porque los procesos ejecutados en background no tienen el valor de visualización, por lo general sucede en los procesos que se ejecutan desde el manejador ProcessBuilder

https://github.com/adempiere/adempiere/issues/4323 https://github.com/adempiere/adempiere/pull/4324

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Bug Report

When a report is executed from the Process Scheduler, it does not correctly show the value of the parameters, instead it shows the ID when it is a reference to a table

Steps to reproduce

  1. Add a report type process to the process scheduler, in my case I added the replenishment report
  2. Run Process Scheduler
  3. See how the parameter is displayed

Screenshot or Gif

2024-04-23_15-42

Expected Behavior

When the parameter refers to a lookup type it should show the display value and not the ID as shown below 2024-04-23_15-44

Additional Content

This happens because processes executed in the background do not have the display value, it usually happens in processes that are executed from the ProcessBuilder handler