Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021258Openbravo ERP03. Procurement managementpublic2012-07-31 10:252012-08-30 11:49
VictorVillar 
jecharri 
highmajoralways
closedfixed 
5
3.0MP13 
3.0MP15 
Core
No
0021258: If there are more quantity received than the quantity ordered, pending goods receipt still offers the purchase order
If there are more quantity received than the quantity ordered, pending goods receipt window still offers the purchase order
As group admin role,
Go to Purchase Order window,
  Create a new register for Organization US
    Go to Lines tab:
       Product: Cola
       qty: 270
Go to Pending Goods Receipt window,
   search by US Organization
 Check the Order created before
    received: 300
Process it.
realise that the process creates a new goods receipt document.
If users refresh the pending goods receipt window, the order created before still is showed, the proposition is -30.
This is wrong, if the Goods receipt qty is higher than Purchase Order qty, the pending goods receipt window should not offers the purchase.
if the Goods receipt qty is higher than Purchase Order qty, the pending goods receipt window should not offers the purchase.
No tags attached.
Issue History
2012-07-31 10:25VictorVillarNew Issue
2012-07-31 10:25VictorVillarAssigned To => mirurita
2012-07-31 10:25VictorVillarModules => Core
2012-07-31 10:25VictorVillarResolution time => 1347487200
2012-07-31 10:25VictorVillarIssue Monitored: networkb
2012-07-31 10:25VictorVillarTarget Version3.0MP14 => 3.0MP15
2012-07-31 11:46naiaramartinezAssigned Tomirurita => jonalegriaesarte
2012-08-06 11:53jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-08-07 13:39hgbotCheckin
2012-08-07 13:39hgbotNote Added: 0051142
2012-08-07 13:39hgbotStatusnew => resolved
2012-08-07 13:39hgbotResolutionopen => fixed
2012-08-07 13:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3d6b662ae10c9f6b7b8422fe6b727701160ffe22 [^]
2012-08-07 13:47jecharriNote Added: 0051143
2012-08-08 14:07hgbotCheckin
2012-08-08 14:07hgbotNote Added: 0051173
2012-08-08 14:43hgbotCheckin
2012-08-08 14:43hgbotNote Added: 0051175
2012-08-08 14:43hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/3d6b662ae10c9f6b7b8422fe6b727701160ffe22 [^] => http://code.openbravo.com/erp/devel/pi/rev/99174e84fb164272ddf9b6aedf0d6dae1a666a58 [^]
2012-08-30 11:49VictorVillarNote Added: 0051672
2012-08-30 11:49VictorVillarStatusresolved => closed

Notes
(0051142)
hgbot   
2012-08-07 13:39   
Repository: erp/devel/pi
Changeset: 3d6b662ae10c9f6b7b8422fe6b727701160ffe22
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Aug 07 13:39:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3d6b662ae10c9f6b7b8422fe6b727701160ffe22 [^]

Fixes issue 21258: If there are more quantity received than the quantity ordered
, pending goods receipt still offers the purchase order

---
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending_data.xsql
---
(0051143)
jecharri   
2012-08-07 13:47   
Test cases:
-create a purchase order with qty 10:
+go to "Pending Goods Receipt"
+receive 10 and process
+no more is available

-create a purchase order with qty 10:
+go to "Pending Goods Receipt"
+receive 9 and process
+Is available with qty 1

-create a purchase order with qty 10:
+go to "Pending Goods Receipt"
+receive 20 and process
+no more is available

-create a purchase order with qty 10:
+go to "Pending Goods Receipt"
+receive -10 and process
+is available with qty 20
-------------------------------------------------------
Test cases:
-create a purchase order with qty -10:
+go to "Pending Goods Receipt"
+receive -10 and process
+no more is available

-create a purchase order with qty -10:
+go to "Pending Goods Receipt"
+receive -9 and process
+Is available with qty -1

-create a purchase order with qty -10:
+go to "Pending Goods Receipt"
+receive -20 and process
+no more is available

-create a purchase order with qty -10:
+go to "Pending Goods Receipt"
+receive 10 and process
+is available with qty -20
(0051173)
hgbot   
2012-08-08 14:07   
Repository: erp/devel/pi
Changeset: 435936653f608b51f136c9da9e4c225c365bc33d
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Aug 08 14:05:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/435936653f608b51f136c9da9e4c225c365bc33d [^]

issue 21258: If there are more quantity received than the quantity ordered

---
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending_data.xsql
---
(0051175)
hgbot   
2012-08-08 14:43   
Repository: erp/devel/pi
Changeset: 99174e84fb164272ddf9b6aedf0d6dae1a666a58
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Aug 08 14:37:35 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/99174e84fb164272ddf9b6aedf0d6dae1a666a58 [^]

Fixes issue 21258: If there are more quantity received than the quantity ordered
, pending goods receipt still offers the purchase order

---
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending_data.xsql
---
(0051672)
VictorVillar   
2012-08-30 11:49   
verified