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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010842
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2009-10-02 14:312009-10-05 14:04
ReporterrafarodaView Statuspublic 
Assigned Torafaroda 
PriorityhighResolutionfixedFixed in Version2.35MP15
StatusclosedFix in branch2.3xFixed in SCM revisionc8df912b6602
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010842: Function M_INOUT_CREATE (Create/Generate Shipments) delivers from locators where the quantity is negative

DescriptionCreate Shipments happily delivers from the locators where the quantity is negative.

Proposed SolutionDon't deliver if the stock quantity is negative. See the attached patch.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to backport 00106722.35MP16 closedrafaroda Duplicate lines are added to sales invoice, when the user create's Sales order (POS) for a product which has negative inventory 
blocks defect 0008266 closedgorkaion Function M_INOUT_CREATE (Create/Generate Shipments) delivers from locators where the quantity is negative 

-  Notes
(0020667)
rafaroda (developer)
2009-10-02 14:33

Opened in order that the 2.3x behavior is the same as in 2.40 and pi. See https://issues.openbravo.com/view.php?id=8524#bugnotes [^]
(0020669)
hgbot (developer)
2009-10-02 14:48

Repository: erp/stable/2.3x
Changeset: c8df912b66022bd127a550aed401e205a43421f5
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Thu Oct 01 06:54:15 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.3x/rev/c8df912b66022bd127a550aed401e205a43421f5 [^]

Fixes bug 0010842 Function M_INOUT_CREATE now only delivers from locators where quantity is positive

---
M database/model/functions/M_INOUT_CREATE.xml
---
(0020672)
rafaroda (developer)
2009-10-02 14:51

Current behaviour, including the fix should be:

1) Run stock report and see the quantity stocked of Hats: 499 units in ML1 (Warehouse Management || Analysis Tools || Stock Report)
2) Create Hat stock for ML2 (101 units) and ML3 (50 units) locators and process it (Warehouse Management || Transactions || Physical Inventory || Header)
3) If you run the stock report for Hats, you have now:
* 499 Units in ML1
* 101 Units in ML2
* 50 Units in ML3
* Total = 650
4) Create an POS Sales Order of 670 Hats and complete it.
5) The Shipment created has 4 lines, which is correct:
* 499 Units movement in ML1
* 50 Units movement in ML3
* 101 Units movement in ML2
* 20 Units movement in ML1
6) Run the stock report: you have now -20 Units in ML1
7) The Invoice created has 4 lines: each line is linked with the corresponding shipment line which is the regular behaviour of Openbravo ERP.

- Issue History
Date Modified Username Field Change
2009-10-02 14:31 rafaroda New Issue
2009-10-02 14:31 rafaroda Assigned To => rafaroda
2009-10-02 14:31 rafaroda Issue generated from 0008352
2009-10-02 14:32 rafaroda Relationship added blocks 0008266
2009-10-02 14:33 rafaroda Note Added: 0020667
2009-10-02 14:33 rafaroda Status new => scheduled
2009-10-02 14:33 rafaroda fix_in_branch => 2.3x
2009-10-02 14:33 rafaroda Relationship added related to 0010672
2009-10-02 14:48 hgbot Checkin
2009-10-02 14:48 hgbot Note Added: 0020669
2009-10-02 14:48 hgbot Status scheduled => resolved
2009-10-02 14:48 hgbot Resolution open => fixed
2009-10-02 14:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.3x/rev/c8df912b66022bd127a550aed401e205a43421f5 [^]
2009-10-02 14:51 rafaroda Note Added: 0020672
2009-10-05 14:04 psarobe Status resolved => closed
2009-10-05 14:04 psarobe Fixed in Version => 2.35MP15


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker