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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036955
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementminorhave not tried2017-08-25 16:502017-09-26 14:26
Reportermarkmm82View Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q3.1
StatusclosedFix in branchFixed in SCM revision0c0cf571d7ae
ProjectionnoneETAnoneTarget Version3.0PR17Q3.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036955: New storage bins are created with Undefined-Overissue inventory status instead of Undefined by default

DescriptionWhen new storage bin is created, it set as Undefined-Overissue its inventory
status by default. This allow negative stock in those locators and it shouldn't be the default behaviour.

By default, new storage bins created should be set with Undefined inventory status to don't allow negative stock.

Note: InitializeInventoryStatus.java modulescript should be adapted to set the inventory status with Undefined-Overissue if related client allows negative stock. Right now it is setting inventory status as Undefined if client doesn't allows negative stock.
Steps To ReproduceCreate a new warehouse.
Create a new Storage Bin to it, and notice inventory status field has Undefined-Overissue status by default.
Proposed SolutionSet Undefined as default inventory status when a new storagebin is created.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00367233.0PR17Q4 closedAtulOpenbravo New storage bins are created with Undefined-Overissue inventory status instead of Undefined by default 

-  Notes
(0099581)
hgbot (developer)
2017-09-26 14:24

Repository: erp/backports/3.0PR17Q3.1
Changeset: 0c0cf571d7ae4ab035202ae31e6800b068d82206
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Sep 21 20:24:21 2017 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/0c0cf571d7ae4ab035202ae31e6800b068d82206 [^]

Fixes issue 36955: New storage bins are created with Undefined-Overissue status
instead of Undefined by default

** Set id of Undefined inventory status as default value for column m_inventorystatus_id
in m_locator table as well as tables and columns in application dictionary

** Adapt Initialize Inventory Status modulescript to set Undefined-overdue status to
locator of the clients where allow negative stock flag is set as Yes

---
M src-db/database/model/tables/M_LOCATOR.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatus.class
M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus.java
---
(0099582)
hgbot (developer)
2017-09-26 14:24

Repository: erp/backports/3.0PR17Q3.1
Changeset: c36f90271c606c8f3603613edc76ff839d343dfc
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Sep 21 18:57:37 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/c36f90271c606c8f3603613edc76ff839d343dfc [^]

Related to issue 36955: Fix modulescript limits

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatus.class
M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus.java
---
(0099583)
hgbot (developer)
2017-09-26 14:24

Repository: erp/backports/3.0PR17Q3.1
Changeset: 6bc3f019779dbcfc3c655f46994b1523abde116f
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Sep 26 12:55:18 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/6bc3f019779dbcfc3c655f46994b1523abde116f [^]

Related to issue 36955: Add preference to execute modulescript only once

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatus.class
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatusData.class
M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus.java
M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus_data.xsql
---
(0099584)
hgbot (developer)
2017-09-26 14:25

Repository: erp/backports/3.0PR17Q3.1
Changeset: 53c792d3f7815bd897344877f86d162be54888d5
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Sep 26 13:26:43 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/53c792d3f7815bd897344877f86d162be54888d5 [^]

Related to issue 36955: Use attribute to create preference instead of property

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatusData.class
M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus_data.xsql
---
(0099585)
aferraz (developer)
2017-09-26 14:26

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2017-09-26 14:06 aferraz Type defect => backport
2017-09-26 14:06 aferraz Target Version => 3.0PR17Q3.1
2017-09-26 14:14 aferraz Assigned To markmm82 => AtulOpenbravo
2017-09-26 14:24 hgbot Checkin
2017-09-26 14:24 hgbot Note Added: 0099581
2017-09-26 14:24 hgbot Status scheduled => resolved
2017-09-26 14:24 hgbot Resolution open => fixed
2017-09-26 14:24 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/757a15bcdfb8a4fef656859cca918e07c9011e36 [^] => http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/0c0cf571d7ae4ab035202ae31e6800b068d82206 [^]
2017-09-26 14:24 hgbot Checkin
2017-09-26 14:24 hgbot Note Added: 0099582
2017-09-26 14:24 hgbot Checkin
2017-09-26 14:24 hgbot Note Added: 0099583
2017-09-26 14:25 hgbot Checkin
2017-09-26 14:25 hgbot Note Added: 0099584
2017-09-26 14:26 aferraz Note Added: 0099585
2017-09-26 14:26 aferraz Status resolved => closed
2017-09-26 14:26 aferraz Fixed in Version => 3.0PR17Q3.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker