Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014994Openbravo ERP08. Project and service managementpublic2010-10-22 15:432010-12-21 00:00
networkb 
sivaraman 
normalminoralways
closedfixed 
5
2.50MP21 
2.50MP25 
Core
No
0014994: Field "Order Reference" in Multiphase Project is not used when creating Orders
The field "Order Reference" in Multiphase Project is supposed to be used as reference code used for orders generated by the project. But when the order is generated by the project, it is not used (the field "Order Reference" in the sales order is empty).
1) Go to: Project & Service Management || Transactions || Multiphase Project || Multiphase Project
2) Create a new Project, informing all necessary fields in the header such as Searchkey, Name, Set Project Type. Assign the sales representative as well.
3) In Reference, select a Business Partner and specify the "Order Reference" to be used in the order created.
4) Change the status of the project to "Order".
5) Then create a new phase to this project, specifying a certain product with certain quantity.
6) Click on "Create Sales Order from Project Phase" and see that a new Order has been created.
7) Go to the sales order just created and see in the header that the field "Order Reference" is empty.
No tags attached.
Issue History
2010-10-22 15:43networkbNew Issue
2010-10-22 15:43networkbAssigned To => adrianromero
2010-10-22 15:43networkbIssue Monitored: emartinez
2010-11-25 13:29adrianromeroNote Added: 0032847
2010-12-08 05:19sivaramanAssigned Toadrianromero => sivaraman
2010-12-08 05:24hgbotCheckin
2010-12-08 05:24hgbotNote Added: 0033059
2010-12-08 05:24hgbotStatusnew => resolved
2010-12-08 05:24hgbotResolutionopen => fixed
2010-12-08 05:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2c1319271a2322eb06749205e261d53c1336a092 [^]
2010-12-08 05:26sivaramanNote Added: 0033060
2010-12-08 10:56hudsonbotCheckin
2010-12-08 10:56hudsonbotNote Added: 0033064
2010-12-20 17:54psarobeNote Added: 0033312
2010-12-20 17:54psarobeStatusresolved => closed
2010-12-21 00:00anonymoussf_bug_id0 => 3140999

Notes
(0032847)
adrianromero   
2010-11-25 13:29   
The proposed solution is to copy the Order reference field to the order created
(0033059)
hgbot   
2010-12-08 05:24   
Repository: erp/devel/pi
Changeset: 2c1319271a2322eb06749205e261d53c1336a092
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Wed Dec 08 09:53:54 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2c1319271a2322eb06749205e261d53c1336a092 [^]

Fixes Issue 14994: Field \"Order Reference\" in Multiphase Project is not used when creating Orders

Solution:
The INSERT query has been modified in order to use Order Reference value in Sales Order creation.

Impacts:
None

---
M src-db/database/model/functions/C_GENERATESOFROMPROJECTPHASE.xml
---
(0033060)
sivaraman   
2010-12-08 05:26   
Steps to test:
Kindly follow the steps as given in 'Steps To Reproduce' section and verify if Order Reference is copied in Sales Order created.
(0033064)
hudsonbot   
2010-12-08 10:56   
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/2c1319271a23 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/5535c247b006 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19070.obx [^]
(0033312)
psarobe   
2010-12-20 17:54   
Tested working fine