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] Error con reporte de Reabastecimiento y organización #58

Open yamelsenih opened 7 months ago

yamelsenih commented 7 months ago

Reporte de Error

Cuando se ingresa con organización * y se intenta reabastecer desde el visor Reabastecimiento de Almacén se genera un error con el almacén fuente.

Steps to reproduce

  1. Ingrese a ADempiere con organización *
  2. Vaya a Gestión de Materiales -> Reabastecimiento de Almacén
  3. Liste los reabastecimientos por hacer
  4. Seleccione en el parámetro de proceso Crear la opción Orden de Distribución
  5. Seleccione en el parámetro de proceso Tipo de Documento un tipo de documento de orden de distribución
  6. Procese
  7. Note que existe un error
ReplenishReport.process: @M_Warehouse_ID@ @InTransit@ @FillMandatory@  [20]
UserError: @M_Warehouse_ID@ @InTransit@ @FillMandatory@ 
    at org.compiere.process.ReplenishReport.createDO(ReplenishReport.java:660)
    at org.compiere.process.ReplenishReport.doIt(ReplenishReport.java:116)
    at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
    at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
    at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:171)
    at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:116)
    at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
    at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
    at org.eevolution.form.VBrowser.cmd_Process(VBrowser.java:552)
    at org.eevolution.form.VBrowser.actionPerformed(VBrowser.java:764)
    at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
    at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
    at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
    at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
    at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
    at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
    at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
    at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
    at java.desktop/java.awt.Component.processEvent(Component.java:6400)
    at java.desktop/java.awt.Container.processEvent(Container.java:2263)
    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)

Comportamiento Esperado

Debe tomar el almacén fuente configurado en el reabastecimiento y sino entonces el configurado en el almacén que se encuentra en el reabastecimiento

https://github.com/adempiere/adempiere/issues/4325 https://github.com/adempiere/adempiere/pull/4326

Issues-translate-bot commented 7 months ago

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


Bug Report

When you enter with organization * and try to replenish from the Warehouse Replenishment viewer, an error is generated with the source warehouse.

Steps to play

  1. Enter ADempiere with organization *
  2. Go to Materials Management -> Warehouse Replenishment
  3. List replenishments to do
  4. Select the Distribution Order option in the process parameter Create
  5. Select in the process parameter Document Type a type of distribution order document
  6. Process
  7. Note that there is an error
ReplenishReport.process: @M_Warehouse_ID@ @InTransit@ @FillMandatory@ [20]
UserError: @M_Warehouse_ID@ @InTransit@ @FillMandatory@
at org.compiere.process.ReplenishReport.createDO(ReplenishReport.java:660)
at org.compiere.process.ReplenishReport.doIt(ReplenishReport.java:116)
at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:171)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:116)
at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
at org.eevolution.form.VBrowser.cmd_Process(VBrowser.java:552)
at org.eevolution.form.VBrowser.actionPerformed(VBrowser.java:764)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)

Expected Behavior

It must take the source warehouse configured in the replenishment and if not then the one configured in the warehouse that is in the replenishment