Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013243Openbravo ERP04. Warehouse managementpublic2010-05-06 13:022010-05-25 09:12
harikrishnan 
harikrishnan 
normalmajoralways
closedfixed 
5
2.40 
 
Core
No
0013243: 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.Physical Inventory
2.Goods Movements
3.Bill of Materials Production
4.Generate Average Costs
5.Goods Transaction

-Create a document with one user
Process or complete with other user
See that the updatedby is not properly updated.
No tags attached.
depends on defect 0013225pi closed harikrishnan When completing or processing documents the updatedby column is not updated properly 
Issue History
2010-05-06 13:02harikrishnanNew Issue
2010-05-06 13:02harikrishnanAssigned To => harikrishnan
2010-05-06 13:02harikrishnanIssue generated from0013225
2010-05-06 13:02harikrishnanRelationship addeddepends on 0013225
2010-05-06 14:33hgbotCheckin
2010-05-06 14:33hgbotNote Added: 0026985
2010-05-06 14:33hgbotStatusnew => resolved
2010-05-06 14:33hgbotResolutionopen => fixed
2010-05-06 14:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/b26218c4fd00ee4c5f906ffcaa70d4c0de636062 [^]
2010-05-06 14:37harikrishnanNote Added: 0026987
2010-05-25 09:12arunkumarNote Added: 0027697
2010-05-25 09:12arunkumarStatusresolved => closed

Notes
(0026985)
hgbot   
2010-05-06 14:33   
Repository: erp/stable/2.40
Changeset: b26218c4fd00ee4c5f906ffcaa70d4c0de636062
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu May 06 17:49:35 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/b26218c4fd00ee4c5f906ffcaa70d4c0de636062 [^]

Fixes issue 13243: When completing or processing documents the updated-by column is not updated properly

---
M src-db/database/model/functions/M_INVENTORY_LISTCREATE.xml
M src-db/database/model/functions/M_INVENTORY_LISTUPDATE.xml
M src-db/database/model/functions/M_INVENTORY_POST.xml
M src-db/database/model/functions/M_MOVEMENT_POST.xml
M src-db/database/model/functions/M_PRODUCTION_RUN.xml
---
(0026987)
harikrishnan   
2010-05-06 14:37   
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.
(0027697)
arunkumar   
2010-05-25 09:12   
Tested working fine