Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013227Openbravo ERP07. Sales managementpublic2010-05-05 10:562010-05-19 00:01
harikrishnan 
harikrishnan 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0013227: When completing or processing documents the updatedby column is not updated properly
These are the places where the audit fields are not properly updated.

1.Update Price List from Orders
No tags attached.
depends on backport 0013250pi closed adrianromero When completing or processing documents the updatedby column is not updated properly 
Issue History
2010-05-05 10:56harikrishnanNew Issue
2010-05-05 10:56harikrishnanAssigned To => adrianromero
2010-05-07 06:28harikrishnanStatusnew => scheduled
2010-05-07 06:28harikrishnanfix_in_branch => pi
2010-05-07 06:30harikrishnanAssigned Toadrianromero => harikrishnan
2010-05-07 06:31hgbotCheckin
2010-05-07 06:31hgbotNote Added: 0027019
2010-05-07 06:31hgbotStatusscheduled => resolved
2010-05-07 06:31hgbotResolutionopen => fixed
2010-05-07 06:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/787fe8f03234cc695af791d37b8a5be3b94a6793 [^]
2010-05-07 06:34harikrishnanNote Added: 0027020
2010-05-18 13:22arunkumarStatusresolved => closed
2010-05-18 21:44hudsonbotCheckin
2010-05-18 21:44hudsonbotNote Added: 0027493
2010-05-19 00:01anonymoussf_bug_id0 => 3003686

Notes
(0027019)
hgbot   
2010-05-07 06:31   
Repository: erp/devel/pi
Changeset: 787fe8f03234cc695af791d37b8a5be3b94a6793
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri May 07 10:00:41 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/787fe8f03234cc695af791d37b8a5be3b94a6793 [^]

Fixes Issue 13227: When completing or processing documents the updatedby column is not updated properly

---
M src-db/database/model/functions/C_ORDER_ACTUALIZE_PRICELIST.xml
---
(0027020)
harikrishnan   
2010-05-07 06:34   
Steps to test:
*Create two new user.
    1.UserA
    2.userB
*Login as UserA
*Create new record in each above mentioned section(Don't complete it or process it)
*Login as UserB and complete all the record above created.


Root cause & solution:
Audit fields are not properly updated.Hence the user id is taken from the pinstance table and used in update and insert statement.

Impact:
Their is no impact other then these files.
(0027493)
hudsonbot   
2010-05-18 21:44   
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/787fe8f03234 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]