Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020333Openbravo ERP07. Sales managementpublic2012-04-24 13:002012-05-29 18:01
VictorVillar 
ioritzCia 
highminoralways
closedfixed 
5
3.0MP10.1 
3.0MP12 
Core
No
0020333: Possible mismatch between the product at Goods Shipment Line and Sales Order Line
Possible mismatch between the product at Goods Shipment Line and Sales Order Line, because you could select another product in Good shipment Lines once you have already selected a Sales order line via "create lines from" button, and then you could complete the good shipment without problem.
As group admin role,
Go to Sales order window.
Create a new register:
   - F&B US
   - Business partner: Healthy food
  Go to Lines tab:
    create a new one:
       - product: Orange Juice bio
       - qty: 1
Book it.

Go to Goods shipment window:
  Create a new register:
     - Business Partner: Healthy Food
Click in create Lines from button:
Select the previous order and select the line.
   Go to Lines tab:
      - change the product: Ale beer
Complete it.
This is the error, it should not be possible to complete a good shipment in relation with a Sales order if the product is different.
You can see the goods shipment line || field: Sales order line, there is a relation between sales order line and goods shipment line but are not the same.

trigger which checks if the goods shipment line in relation with sales order has the same product.
No tags attached.
related to defect 00206383.0MP12 closed ioritzCia Is imposible to delete lines in Good Receipts 
Issue History
2012-04-24 13:00VictorVillarNew Issue
2012-04-24 13:00VictorVillarAssigned To => vmromanos
2012-04-24 13:00VictorVillarModules => Core
2012-04-24 13:00VictorVillarResolution time => 1341352800
2012-04-24 13:00VictorVillarIssue Monitored: networkb
2012-04-24 17:55vmromanosAssigned Tovmromanos => jonalegriaesarte
2012-05-10 17:11ioritzCiaAssigned Tojonalegriaesarte => ioritzCia
2012-05-21 10:16ioritzCiaStatusnew => scheduled
2012-05-21 10:16ioritzCiafix_in_branch => pi
2012-05-24 09:20hgbotCheckin
2012-05-24 09:20hgbotNote Added: 0048903
2012-05-24 09:20hgbotStatusscheduled => resolved
2012-05-24 09:20hgbotResolutionopen => fixed
2012-05-24 09:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d68ebd3dd2fd926f2bad25327ae96ea6c3031ef0 [^]
2012-05-25 12:13hudsonbotCheckin
2012-05-25 12:13hudsonbotNote Added: 0049197
2012-05-29 18:01VictorVillarNote Added: 0049437
2012-05-29 18:01VictorVillarStatusresolved => closed
2012-05-30 12:42jecharriRelationship addedrelated to 0020638

Notes
(0048903)
hgbot   
2012-05-24 09:20   
Repository: erp/devel/pi
Changeset: d68ebd3dd2fd926f2bad25327ae96ea6c3031ef0
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon May 21 10:15:31 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d68ebd3dd2fd926f2bad25327ae96ea6c3031ef0 [^]

Fixes issue 20333: You can change product in m_inoutline with a related order.
Possible mismatch between the product at Goods Shipment Line and Sales Order Line.

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0049197)
hudsonbot   
2012-05-25 12:13   
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/5401e185a8b0 [^]

Maturity status: Test
(0049437)
VictorVillar   
2012-05-29 18:01   
Verified