Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011977Openbravo ERP07. Sales managementpublic2010-01-15 10:272010-03-10 18:28
networkb 
rafaroda 
highminoralways
closedfixed 
5
2.40MP11 
2.50MP122.50MP12 
Core
No
0011977: It is possible to create a Good Shipment with more quantity thant Sales Order
A Sales Order is created with a line with 10 units.
Its Good Shipment is created using Create Lines from. Its line is introduced manually, however user can modify its quantity (IE 12 units) and complete.

It should be not possible to create a Good Shipment with more units that Sales Order
Go to Sales Management > Transactions > Sales Order.
Create a new one. Enter a BP and select as Document type "Standard Order". Save it.
Go to Line tab.
Create a new one. Select one product and enter 10 units.
Go back to Header and complete it.
Go to Sales Management > Transactions > Good Shipment.
Create a new one, but select same BP as Sales order. Save it.
Press "Create lines From". Select the previous Sales order, and select an Storage bin (IE ML1).
Select the line and press OK.
Go to Line tab, and modify its amount. Enter 12.
Go back to Header and complete it.
In Good Shipment, do not allow to create a line with more quantity than Sales Order
No tags attached.
related to defect 0011492 closed rafaroda System allows the user to close the Pur order without a warning messagif the goods received qty is greater then the ordered qty. 
depends on backport 00119872.40MP12 closed harikrishnan It is possible to create a Good Shipment with more quantity thant Sales Order 
related to defect 0012194 closed rafaroda Create Goods Shipment using "Create Lines From" fails 
related to defect 00126502.50MP14 closed adrianromero You can not delete a good shipment line so you can not delete the good shipment 
related to defect 00143522.50MP22 closed adrianromero It is not possible to create a Good Receipt with more quantity than Purchase Order 
Issue History
2010-01-15 10:27networkbNew Issue
2010-01-15 10:27networkbAssigned To => rafaroda
2010-01-15 10:29networkbSteps to Reproduce Updated
2010-01-15 10:30networkbSummaryIt is possible to create a Good Shipment with more amount thant Sales Order => It is possible to create a Good Shipment with more quantity thant Sales Order
2010-01-15 10:30networkbDescription Updated
2010-01-15 10:30networkbSteps to Reproduce Updated
2010-01-15 10:52psarobeNote Added: 0023469
2010-01-15 10:53psarobePriorityimmediate => high
2010-01-15 10:53psarobeTarget Version => 2.50MP12
2010-01-15 10:53psarobeStatusnew => scheduled
2010-01-15 10:53psarobefix_in_branch => pi
2010-01-18 09:48rafarodaIssue cloned0011987
2010-01-18 09:48rafarodaRelationship addeddepends on 0011987
2010-01-18 10:29rafarodaRelationship addedrelated to 0011492
2010-02-08 11:57hgbotCheckin
2010-02-08 11:57hgbotNote Added: 0024005
2010-02-08 11:57hgbotStatusscheduled => resolved
2010-02-08 11:57hgbotResolutionopen => fixed
2010-02-08 11:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9f620d34933bfa45f8165c3dc91307987e028b41 [^]
2010-02-08 13:31harikrishnanNote Added: 0024016
2010-02-10 17:11rafarodaRelationship addedrelated to 0012194
2010-02-10 17:52hgbotCheckin
2010-02-10 17:52hgbotNote Added: 0024133
2010-02-10 17:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/9f620d34933bfa45f8165c3dc91307987e028b41 [^] => http://code.openbravo.com/erp/devel/pi/rev/73a8794c3b1cbfc9a788f0ba85576599f356e1d5 [^]
2010-02-10 19:01jpabloaeIssue Monitored: jpabloae
2010-02-11 09:09hgbotCheckin
2010-02-11 09:09hgbotNote Added: 0024146
2010-02-11 09:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/73a8794c3b1cbfc9a788f0ba85576599f356e1d5 [^] => http://code.openbravo.com/erp/devel/pi/rev/e78ef538fa6f70ac795aff5073f128cacf1e96c0 [^]
2010-02-15 06:50arunkumarNote Added: 0024234
2010-02-15 06:50arunkumarStatusresolved => closed
2010-02-15 06:50arunkumarFixed in Version => 2.50MP12
2010-02-15 17:36hudsonbotCheckin
2010-02-15 17:36hudsonbotNote Added: 0024303
2010-02-15 17:37hudsonbotCheckin
2010-02-15 17:37hudsonbotNote Added: 0024349
2010-02-15 17:37hudsonbotCheckin
2010-02-15 17:37hudsonbotNote Added: 0024351
2010-02-16 00:00anonymoussf_bug_id0 =>
2010-03-10 18:28anonymoussf_bug_id => 2967979
2010-03-11 16:17rafarodaRelationship addedrelated to 0012650
2010-10-19 19:28psarobeRelationship addedrelated to 0014352

Notes
(0023469)
psarobe   
2010-01-15 10:52   
This has to be implemented as well in PI
(0024005)
hgbot   
2010-02-08 11:57   
Repository: erp/devel/pi
Changeset: 9f620d34933bfa45f8165c3dc91307987e028b41
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Feb 08 16:27:08 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9f620d34933bfa45f8165c3dc91307987e028b41 [^]

Fixes Issue 11977: It is possible to create a Good Shipment with more quantity thant Sales Order.

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0024016)
harikrishnan   
2010-02-08 13:31   
Steps To Test:

*Create a new sales order header(Sales Management || Transactions || Sales Order || Header ) with any Business Partner (Example : Mcgiver).
*Create a new line with any product (Example : Hat) and their quantity ordered = 15.
*Complete the sales order.
*Create a new Goods Shipment (Sales Management || Transactions || Goods Shipment || Header ) with the business partner created above (Eg : Mcgiver).
*Click on "Create Line From" and choose the order created above.Go to the lines and change the movement quantity greater than the Quantity order.A error message will be thrown "Movement Quantity is greater than the Ordered Quantity.".
(0024133)
hgbot   
2010-02-10 17:52   
Repository: erp/devel/pi
Changeset: 73a8794c3b1cbfc9a788f0ba85576599f356e1d5
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Wed Feb 10 04:58:39 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/73a8794c3b1cbfc9a788f0ba85576599f356e1d5 [^]

Fixes issue 12194 Avoids mutating trigger in Oracle introduced by issue 11977

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
---
(0024146)
hgbot   
2010-02-11 09:09   
Repository: erp/devel/pi
Changeset: e78ef538fa6f70ac795aff5073f128cacf1e96c0
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Thu Feb 11 09:08:54 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e78ef538fa6f70ac795aff5073f128cacf1e96c0 [^]

Issue 12194 issue 11977 Corrected fix.

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
---
(0024234)
arunkumar   
2010-02-15 06:50   
Tested & Working fine.
(0024303)
hudsonbot   
2010-02-15 17:36   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/9f620d34933b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]
(0024349)
hudsonbot   
2010-02-15 17:37   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/73a8794c3b1c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]
(0024351)
hudsonbot   
2010-02-15 17:37   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e78ef538fa6f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]