Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008292Openbravo ERP03. Procurement managementpublic2009-03-24 12:192009-05-11 11:35
networkb 
sathiyan 
immediatemajoralways
closedfixed 
5
2.40MP2 
2.40MP4 
Core
No
0008292: The documentno of and order shouldn't change without modify the document type
When you have an order saved but without completed, if you change the organization
the documentno is modified. It shouldn't be modified if the document type is not modified.
Besides, if you select again the original organization (the original document type) the documentno takes the next documentno and it should take the documentno used when the order was saved.
It happens in purchese orders and sales order.
-Create an order (sales or purchase).
-Save it
-Change the organization.
-You will see that the documentno changes and the document type has not change what is bad.
-Select again the organization used when the order was saved.
-The documentno is not changed to the documentno used previously
No tags attached.
blocks defect 0008249 closed sathiyan The documentno of and order shouldn't change without modify the document type 
Issue History
2009-03-25 17:06psarobeTypedefect => backport
2009-03-25 17:06psarobefix_in_branch => 2.40
2009-03-25 17:33rafarodaAssigned Torafaroda => sathiyan
2009-04-03 13:45hgbotCheckin
2009-04-03 13:45hgbotNote Added: 0015164
2009-04-03 13:45hgbotStatusscheduled => resolved
2009-04-03 13:45hgbotResolutionopen => fixed
2009-04-03 13:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/69d08585668d8c70288330751b6f5c701839b952 [^]
2009-05-10 19:37psarobeFixed in Version => 2.40MP4
2009-05-11 11:35sureshbabuStatusresolved => closed
2009-05-11 11:35sureshbabuNote Added: 0016252

Notes
(0015164)
hgbot   
2009-04-03 13:45   
Repository: erp/stable/2.40
Changeset: 69d08585668d8c70288330751b6f5c701839b952
Author: Sathiyan Sivaprakasam <sathiyan.sivaprakasam <at> openbravo.com>
Date: Fri Apr 03 17:12:52 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/69d08585668d8c70288330751b6f5c701839b952 [^]

Fixes Bug 8292 The document no of order shouldn't change without modify the document type.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType_data.xsql
---
(0016252)
sureshbabu   
2009-05-11 11:35   
Working fine.