Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027604Openbravo ERP07. Sales managementpublic2014-09-15 09:452014-12-30 23:23
VictorVillar 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
pi 
3.0PR15Q1pi 
daniOpenbravo
Core
No
0027604: It is possible to do the return material twice for the same Goods Shipment
It is possible to do the return material twice for the same Goods Shipment
As Group Admin role,
Go to Return from Customer window,
  Business Partner: Restaurantes Luna Llena, S.A.
  Click on Pick&Edit lines and select Goods Shipment: 1000073 (remove the filter of the popup)
Click on Done button, but do not process the Return (draft status)
 Create a new Return order document for the same business partner and select the same Goods Shipment.
Then process the first Return and then the second Return. It is possible and it should not.

After that you can navigate to the Return Material Receipt window, and select one of them, and process it. Then, you can create a new one and select the other Return and process it, so you are doing the return twice.

No tags attached.
Issue History
2014-09-15 09:45VictorVillarNew Issue
2014-09-15 09:45VictorVillarAssigned To => dmiguelez
2014-09-15 09:45VictorVillarModules => Core
2014-09-15 09:45VictorVillarResolution time => 1410732000
2014-09-15 09:45VictorVillarTriggers an Emergency Pack => No
2014-09-15 09:46VictorVillarIssue Monitored: networkb
2014-09-26 06:08AtulOpenbravoAssigned Todmiguelez => AtulOpenbravo
2014-09-26 06:09AtulOpenbravoStatusnew => scheduled
2014-09-26 06:09AtulOpenbravofix_in_branch => pi
2014-09-26 20:00AtulOpenbravoNote Added: 0070455
2014-10-02 11:04jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-02 11:04jonalegriaesartefix_in_branchpi =>
2014-10-15 13:34daniOpenbravoAssigned ToAtulOpenbravo => daniOpenbravo
2014-10-15 14:53daniOpenbravoAssigned TodaniOpenbravo => VictorVillar
2014-10-15 14:53daniOpenbravoAssigned ToVictorVillar => daniOpenbravo
2014-10-15 14:53daniOpenbravoAssigned TodaniOpenbravo => AtulOpenbravo
2014-10-20 09:53daniOpenbravoReview Assigned To => daniOpenbravo
2014-10-20 09:55hgbotCheckin
2014-10-20 09:55hgbotNote Added: 0071040
2014-10-20 09:55hgbotStatusscheduled => resolved
2014-10-20 09:55hgbotResolutionopen => fixed
2014-10-20 09:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/51ef9d37627480ef68a0fd85f56e5b539063cabb [^]
2014-10-20 09:56daniOpenbravoNote Added: 0071041
2014-10-20 09:56daniOpenbravoStatusresolved => closed
2014-10-20 09:56daniOpenbravoFixed in Version => pi
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072949

Notes
(0070455)
AtulOpenbravo   
2014-09-26 20:00   
Test Plan
- Logic as Group Admin role.
- Go to Return from Customer window and create a record with following details
  Business Partner: Restaurantes Luna Llena, S.A.
- Click on Pick&Edit lines and select Goods Shipment: 1000073 (remove the filter of the popup). [If not possible to use this record can choose any other shipment no but should be same for other return document entry below.]
- Click on Done button, but do not process the Return document by keeping it in draft status.
- Create a new Return order document for the same business partner and select the same Goods Shipment.
- Now process the first Return document and then try to process the second one, Message will shown that Quantity exceeds from the expected quantity in line <lineno>.
(0071040)
hgbot   
2014-10-20 09:55   
Repository: erp/devel/pi
Changeset: 51ef9d37627480ef68a0fd85f56e5b539063cabb
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Oct 17 15:29:57 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/51ef9d37627480ef68a0fd85f56e5b539063cabb [^]

Fixes Issue 27604:Cannot create return material twice for same Goods Shipment

It was possible to process Return From Customer / Return To Vendor for
respective Goods Shipment / Goods Receipt. Now a check is provided in
C_Order_Post1 Method to check whether qty in Return Document line
exceeds the sum of other processed return line qty with same shipment or
Receipt line reference. Message shows line no which exceeds such qtys.

---
M src-db/database/model/functions/C_ORDER_POST1.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0071041)
daniOpenbravo   
2014-10-20 09:56   
Verified.
(0072949)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test