Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011987Openbravo ERP07. Sales managementpublic2010-01-18 09:482010-02-15 06:29
networkb 
harikrishnan 
highminoralways
closedfixed 
5
2.40MP11 
2.40MP122.40MP12 
Core
No
0011987: 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 backport 0012213 closed rafaroda Create Goods Shipment using "Create Lines From" fails 
blocks defect 00119772.50MP12 closed rafaroda It is possible to create a Good Shipment with more quantity thant Sales Order 
Issue History
2010-01-18 09:48rafarodaNew Issue
2010-01-18 09:48rafarodaAssigned To => rafaroda
2010-01-18 09:48rafarodaIssue generated from0011977
2010-01-18 09:48rafarodaRelationship addedblocks 0011977
2010-01-18 09:48rafarodaReporterrafaroda => networkb
2010-01-18 09:48rafarodaStatusnew => scheduled
2010-01-18 09:48rafarodaTarget Version => 2.40MP12
2010-02-08 11:46harikrishnanAssigned Torafaroda => harikrishnan
2010-02-08 11:47hgbotCheckin
2010-02-08 11:47hgbotNote Added: 0024004
2010-02-08 11:48hgbotStatusscheduled => resolved
2010-02-08 11:48hgbotResolutionopen => fixed
2010-02-08 11:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/3011a4171be8673588181a4e791af252f4dbd01b [^]
2010-02-10 17:14rafarodaRelationship addedrelated to 0012213
2010-02-10 17:58hgbotCheckin
2010-02-10 17:58hgbotNote Added: 0024135
2010-02-10 17:58hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.40/rev/3011a4171be8673588181a4e791af252f4dbd01b [^] => http://code.openbravo.com/erp/stable/2.40/rev/4f6c142b3f52e438bd07d5562c0aae280f3432e7 [^]
2010-02-11 09:15hgbotCheckin
2010-02-11 09:15hgbotNote Added: 0024148
2010-02-11 09:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.40/rev/4f6c142b3f52e438bd07d5562c0aae280f3432e7 [^] => http://code.openbravo.com/erp/stable/2.40/rev/b00e0613f9a08ca4759e3ab4c503ebd4bbcf83a8 [^]
2010-02-15 06:29arunkumarNote Added: 0024233
2010-02-15 06:29arunkumarStatusresolved => closed
2010-02-15 06:29arunkumarFixed in Version => 2.40MP12

Notes
(0024004)
hgbot   
2010-02-08 11:47   
Repository: erp/stable/2.40
Changeset: 3011a4171be8673588181a4e791af252f4dbd01b
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Feb 08 16:16:58 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/3011a4171be8673588181a4e791af252f4dbd01b [^]

Fixes issue 11987: 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
---
(0024135)
hgbot   
2010-02-10 17:58   
Repository: erp/stable/2.40
Changeset: 4f6c142b3f52e438bd07d5562c0aae280f3432e7
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Wed Feb 10 05:06:23 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/4f6c142b3f52e438bd07d5562c0aae280f3432e7 [^]

Fixes issue 12213 Avoids mutating trigger in Oracle introduced by issue 11987

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
---
(0024148)
hgbot   
2010-02-11 09:15   
Repository: erp/stable/2.40
Changeset: b00e0613f9a08ca4759e3ab4c503ebd4bbcf83a8
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Thu Feb 11 09:14:34 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/b00e0613f9a08ca4759e3ab4c503ebd4bbcf83a8 [^]

Issue 12213 issue 11987 Corrected fix.

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
---
(0024233)
arunkumar   
2010-02-15 06:29   
Tested & Working fine