Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021225Openbravo ERP07. Sales managementpublic2012-07-27 09:042012-09-26 17:17
VictorVillar 
jecharri 
highminoralways
closedfixed 
5
3.0MP13 
3.0MP15 
Core
No
0021225: Not update in Order qty (secondary uom qty) of an order document when you close it
When the users close any order document, the Order Quatity (secondary UOM quatity) does not update its value regarding the delivered quantity of the goods shipment/receipt document.
The only field that change its value is Ordered quantity
The fields that is necessary to show in order to check the problem are

* Window: Goods Receipt
Tab: Lines
Fileds: Order Quantity
Order UOM
* Window: Goods Shipment
Tab: Lines
Fileds: Order Quantity
Order UOM
* Window: Purchase invoice
Tab: Lines
Fileds: Order Quantity
Order UOM
* Window: Purchase Order
Tab: Lines
Fileds: Order Quantity
Order UOM
* Window: Sales invoice
Tab: Lines
Fileds: Order Quantity
Order UOM
* Window: Sales Order
Tab: Lines
Fileds: Order Quantity
Order UOM

As group admin role,
Go to Client window,
    Allow negative quatities for this client
Go to Unit of measure window,
   create two registers:
      1.- meter
      2.- centimeter
        Conversion:
           1.- to centimeter
           2.- to meter
Go to Product window,
   Create a new one,
       Organization: US
       name: test
       UOM: meter
     Price Tab:
       *Be soft list price
       *General
Go to Sales Order/Purchase Order window,
   Create a new register for US Organization
     Go to lines tab:
        select the product created before
        set Order Qty: 5 (centimeter), so the Ordered quantity would be 0.05
Book it

Go to Goods Shipment window,
create a new register for US Organization
   Click in Create Lines From Order created before
      Change the Order quantity: 2, so the Movement quantity would be 0.02
Complete it.

Go to Sales Order window again,
   select the order created before and close it.
We realise that the Ordered quantity changes its value to 0.02 but the Order Quantity (secondary UOM) does not update its value to 2

       
No tags attached.
related to defect 00215403.0MP15 closed jecharri Problems to close and order with different qty than the shipment 
Issue History
2012-07-27 09:04VictorVillarNew Issue
2012-07-27 09:04VictorVillarAssigned To => mirurita
2012-07-27 09:04VictorVillarModules => Core
2012-07-27 09:04VictorVillarResolution time => 1348005600
2012-07-27 09:04VictorVillarIssue Monitored: networkb
2012-07-27 13:49miruritaAssigned Tomirurita => jonalegriaesarte
2012-08-02 10:45jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-08-03 13:21hgbotCheckin
2012-08-03 13:21hgbotNote Added: 0051100
2012-08-03 13:21hgbotStatusnew => resolved
2012-08-03 13:21hgbotResolutionopen => fixed
2012-08-03 13:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/58d977d378fbbc607d362de50171e2e69cd8ed0c [^]
2012-09-03 17:47hgbotCheckin
2012-09-03 17:47hgbotNote Added: 0051786
2012-09-03 17:49jecharriRelationship addedrelated to 0021540
2012-09-03 17:50VictorVillarNote Added: 0051788
2012-09-03 17:50VictorVillarStatusresolved => closed
2012-09-26 17:14hgbotCheckin
2012-09-26 17:14hgbotNote Added: 0052651
2012-09-26 17:17hudsonbotCheckin
2012-09-26 17:17hudsonbotNote Added: 0052673

Notes
(0051100)
hgbot   
2012-08-03 13:21   
Repository: erp/devel/pi
Changeset: 58d977d378fbbc607d362de50171e2e69cd8ed0c
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Aug 03 13:21:25 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/58d977d378fbbc607d362de50171e2e69cd8ed0c [^]

Fixes issue 21225: Not update in Order qty (secondary uom qty)
of an order document when you close it

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0051786)
hgbot   
2012-09-03 17:47   
Repository: erp/devel/pi
Changeset: 3020127b4f3a343b21df39ff36634296f87e021e
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Sep 03 17:46:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3020127b4f3a343b21df39ff36634296f87e021e [^]

Fixes issue 21540 , issue 21225:
Problems to close and order with different qty than the shipment
Not update in Order qty (secondary uom qty) of an order document when you close it

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0051788)
VictorVillar   
2012-09-03 17:50   
Verified
(0052651)
hgbot   
2012-09-26 17:14   
Repository: erp/devel/pi
Changeset: c3e4db466aa887b9b78c2ffce5086c349f559339
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Sep 03 17:46:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c3e4db466aa887b9b78c2ffce5086c349f559339 [^]

Fixes issue 21540 , issue 21225:
Problems to close and order with different qty than the shipment
Not update in Order qty (secondary uom qty) of an order document when you close it

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0052673)
hudsonbot   
2012-09-26 17:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test