Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028459Openbravo ERP04. Warehouse managementpublic2014-12-19 12:492016-05-11 17:22
VictorVillar 
eduardo_Argal 
immediatemajoralways
closedinvalid 
5
pi 
 
Core
No
0028459: It is necessary a modulescript to solve stock inconsistencies
It is necessary a modulescript to solve stock inconsistencies
It is necessary a modulescript to solve stock inconsistencies
We are using the attached script. But is necessary to update it for quotations and for the new columns added in the m_storage_detail table in PR14Q4.

It would be nice to have a preference to either execute it or not.
No tags attached.
related to defect 00246203.0MP28 closed pramakrishnan Sales quotation is modifying qty reserved in m_storage_pending table and it shouldn't 
related to defect 0028618 closed Sandrahuguet It is possible to reserve more qty than the qty of the order 
related to defect 0029571 closed jorge-garcia In Physical Inventory Lines, Book Quantity is not updated to 0 by Update Quantity process if product has a mandatory attribute 
related to defect 0030463 closed AtulOpenbravo Move a Storage Bin process of Goods Movement window allows to choose any locator without taking into account the organization 
blocks defect 0032934 closed markmm82 Wrong definition of convertUOM function in RestoreStockValue_data.xsql 
blocks defect 0032951 closed alostale Fix Stock process rounds the quantities to 6 decimals and it should not 
txt M_RECALCULATE_STOCK_postgres.txt (10,769) 2014-12-19 12:50
https://issues.openbravo.com/file_download.php?file_id=7623&type=bug
Issue History
2014-12-19 12:49VictorVillarNew Issue
2014-12-19 12:49VictorVillarAssigned To => dmiguelez
2014-12-19 12:49VictorVillarModules => Core
2014-12-19 12:49VictorVillarResolution time => 1419721200
2014-12-19 12:49VictorVillarTriggers an Emergency Pack => No
2014-12-19 12:50VictorVillarFile Added: M_RECALCULATE_STOCK_postgres.txt
2014-12-19 12:56VictorVillarProposed Solution updated
2014-12-19 12:56VictorVillarAssigned Todmiguelez => AtulOpenbravo
2014-12-19 12:56VictorVillarIssue Monitored: networkb
2014-12-19 12:57VictorVillarRelationship addedrelated to 0024620
2014-12-19 14:59ngarciaIssue Monitored: ngarcia
2015-01-15 12:46VictorVillarRelationship addedrelated to 0028618
2015-01-21 16:35SandrahuguetNote Added: 0073691
2015-01-21 16:35SandrahuguetAssigned ToAtulOpenbravo => VictorVillar
2015-01-21 16:35SandrahuguetStatusnew => feedback
2015-01-26 17:07VictorVillarAssigned ToVictorVillar => Sandrahuguet
2015-01-26 17:08VictorVillarStatusfeedback => new
2015-02-17 16:24SandrahuguetNote Added: 0074561
2015-02-17 16:24SandrahuguetStatusnew => feedback
2015-02-17 16:24SandrahuguetNote Edited: 0074561bug_revision_view_page.php?bugnote_id=0074561#r7696
2015-02-17 19:05VictorVillarNote Added: 0074570
2015-02-17 19:06VictorVillarStatusfeedback => new
2015-04-07 18:44VictorVillarNote Added: 0076374
2015-04-14 12:48Triage FinanceAssigned ToSandrahuguet => Triage Finance
2015-04-23 13:04eduardo_ArgalNote Added: 0076719
2015-04-23 13:04eduardo_ArgalStatusnew => closed
2015-04-23 13:04eduardo_ArgalResolutionopen => invalid
2015-04-23 13:16eduardo_ArgalAssigned ToTriage Finance => eduardo_Argal
2015-04-23 13:16eduardo_ArgalNote Edited: 0076719bug_revision_view_page.php?bugnote_id=0076719#r8340
2015-07-02 11:51ngarciaRelationship addedrelated to 0029571
2015-08-03 14:42ngarciaRelationship addedrelated to 0030463
2016-05-11 17:22ngarciaSummaryIt is necessary a module script to solve stock inconsistencies => It is necessary a modulescript to solve stock inconsistencies
2016-05-11 17:22ngarciaDescription Updatedbug_revision_view_page.php?rev_id=12054#r12054
2016-05-11 17:22ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12056#r12056
2016-05-11 17:32ngarciaRelationship addedblocks 0032934
2016-05-13 11:22ngarciaRelationship addedblocks 0032951

Notes
(0073691)
Sandrahuguet   
2015-01-21 16:35   
In feedback, steps to reproduce are necessary
(0074561)
Sandrahuguet   
2015-02-17 16:24   
an environment for testing the process is necessary

(0074570)
VictorVillar   
2015-02-17 19:05   
No, it is not necessary a real environment with a wrong data for testing because it is possible to test in a good one. Note: if you have consistent data, you launch the script, and you have the same data, it means that the script is fine.
(0076374)
VictorVillar   
2015-04-07 18:44   
Support ticket: 35123
(0076719)
eduardo_Argal   
2015-04-23 13:04   
(edited on: 2015-04-23 13:16)
There is no issue related. This is a tool to restore something but we need to understand how it was broken. Please log another issue with the details on how you get wrong data in stock. We will first address the issue and plan how to restore data if required.
Script has no need to be updated for quotations, anyway, it should not be used as information related to reservations is not being updated.