Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #32934 All Revisions ] Back to Issue ]
Summary 0032934: Wrong definition of convertUOM function in RestoreStockValue_data.xsql
Revision 2016-05-17 11:51 by psanjuan
Steps To Reproduce As system admin role:
   Set as Displayed the fields related with second UOM feature in Windows Tab and Fields window, for Purchaser Order window, Lines Tab:
      Order UOM
      Order Quantity
   Set as Active the tabs used in that feature:
      Product window - UOM tab
      Unit Of Measure window - Conversion tab

   Install the org.openbravo.module.fixstock module (it is not available in the module management window, it is on https://code.openbravo.com/erp/pmods [^] repository)
As group admin role:
   Create a product
   Add a new unit in the UOM tab
   Configure the conversion between both of them
   Add a purchase price to it
   Create a purchase order and add the previously created order
   You should fill the Order Quantity and Order UOM fields
   Book it
   Create a partial goods receipt from it
   Check there is an entry in the m_storage_pending for that product
   Go to Process Request window and launch the Fix Stock process
   Check the following error message is shown in the log

867946fe 12275108 [DefaultQuartzScheduler_Worker-7] ERROR org.openbravo.module.fixstock.RestoreStockValue -
java.lang.NullPointerException
    at java.math.BigDecimal.<init>(BigDecimal.java:739)
    at org.openbravo.module.fixstock.RestoreStockValue.addSalesOrderEntries(RestoreStockValue.java:590)
    at org.openbravo.module.fixstock.RestoreStockValue.doExecute(RestoreStockValue.java:70)
    at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:82)
    at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:62)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

Check there is no entry in the m_storage_pending for that product
It is also reproducible in sales flow
Revision 2016-05-11 17:35 by ngarcia
Steps To Reproduce As system admin role:
   Set as Displayed the fields related with second UOM feature:
      Order UOM
      Order Quantity
   Set as Active the tabs used in that feature:
      Product - UOM
      Unit Of Measure - Conversion
   Install the org.openbravo.module.fixstock module (it is not available in the module management window, it is on https://code.openbravo.com/erp/pmods [^] repository)
As group admin role:
   Create a product
   Add a new unit in the UOM tab
   Configure the conversion between both of them
   Add a purchase price to it
   Create a purchase order and add the previously created order
   You should fill the Order Quantity and Order UOM fields
   Book it
   Create a partial goods receipt from it
   Check there is an entry in the m_storage_pending for that product
   Go to Process Request window and launch the Fix Stock process
   Check the following error message is shown in the log

867946fe 12275108 [DefaultQuartzScheduler_Worker-7] ERROR org.openbravo.module.fixstock.RestoreStockValue -
java.lang.NullPointerException
    at java.math.BigDecimal.<init>(BigDecimal.java:739)
    at org.openbravo.module.fixstock.RestoreStockValue.addSalesOrderEntries(RestoreStockValue.java:590)
    at org.openbravo.module.fixstock.RestoreStockValue.doExecute(RestoreStockValue.java:70)
    at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:82)
    at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:62)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

Check there is no entry in the m_storage_pending for that product
It is also reproducible in sales flow
Revision 2016-05-11 17:32 by ngarcia
Steps To Reproduce As system admin role:
   Set as Displayed the fields related with second UOM feature:
      Order UOM
      Order Quantity
   Set as Active the tabs used in that feature:
      Product - UOM
      Unit Of Measure - Conversion
   Install the org.openbravo.module.fixstock module (it is not available in the module management window, it is on https://code.openbravo.com/erp/pmods [^] repository)
As group admin role:
   Create a product
   Add a new unit in the UOM tab
   Configure the conversion between both of them
   Add a purchase price to it
   Create a purchase order and add the previously created order
   You should fill the Order Quantity and Order UOM fields
   Book it
   Create a partial goods receipt from it
   Check there is an entry in the m_storage_pending for that product
   Go to Process Request window and launch the Fix Stock process
   Check the following error message is shown in the log

867946fe 12275108 [DefaultQuartzScheduler_Worker-7] ERROR org.openbravo.module.fixstock.RestoreStockValue -
java.lang.NullPointerException
    at java.math.BigDecimal.<init>(BigDecimal.java:739)
    at org.openbravo.module.fixstock.RestoreStockValue.addSalesOrderEntries(RestoreStockValue.java:590)
    at org.openbravo.module.fixstock.RestoreStockValue.doExecute(RestoreStockValue.java:70)
    at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:82)
    at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:62)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

Check there is no entry in the m_storage_pending for that product


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker