Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013242Openbravo ERP05. Production managementpublic2010-05-05 10:522010-05-25 09:15
harikrishnan 
harikrishnan 
normalmajoralways
closedfixed 
5
 
 
No
Core
No
0013242: 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.Internal Consumption
-Create a document with one user
Process or complete with other user
See that the updatedby is not properly updated.
No tags attached.
blocks defect 0013226 closed harikrishnan When completing or processing documents the updatedby column is not updated properly 
Issue History
2010-05-06 13:00harikrishnanTypedefect => backport
2010-05-06 13:00harikrishnanfix_in_branch => 2.40
2010-05-07 05:22harikrishnanAssigned Toadrianromero => harikrishnan
2010-05-07 05:35hgbotCheckin
2010-05-07 05:35hgbotNote Added: 0027011
2010-05-07 05:35hgbotStatusscheduled => resolved
2010-05-07 05:35hgbotResolutionopen => fixed
2010-05-07 05:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/a4a291195da9324914b8d9b64406c65b239e35d0 [^]
2010-05-07 05:36harikrishnanNote Added: 0027013
2010-05-25 09:15arunkumarNote Added: 0027698
2010-05-25 09:15arunkumarStatusresolved => closed

Notes
(0027011)
hgbot   
2010-05-07 05:35   
Repository: erp/stable/2.40
Changeset: a4a291195da9324914b8d9b64406c65b239e35d0
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri May 07 09:04:13 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/a4a291195da9324914b8d9b64406c65b239e35d0 [^]

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

---
M src-db/database/model/functions/M_INTERNAL_CONSUMPTION_POST.xml
---
(0027013)
harikrishnan   
2010-05-07 05:36   
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.
(0027698)
arunkumar   
2010-05-25 09:15   
Tested working fine