Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040178Openbravo ERPA. Platformpublic2019-02-11 13:172019-10-01 15:12
JONHM 
collazoandy4 
highminoralways
scheduledopen 
5
 
 
Core
No
0040178: Audit fields of 'Open/Close period control' are not updated when Opening/Closing period
When Opening/Closing a period via process in "Open/Close Period Control" Window, audit fields "Updated" and "Updated by" are not updated for C_Period and C_PeriodControl tables.
- As System Administrator, set C_Period and C_PeriodControl tables as 'Fully Audited'.
- As F&B role admin, open window 'Open/Close period control'
- In the grid view, show column "Updated" both in the main tab and in the Documents one.
- Select a period of the current year and close it using the "Close Period" button.

- Notice that the audit trail button in the toolbar is still not enabled and that the Updated column has not changed nor for the period nor all Documents entries.
Update C_Period_Process procedure (see attached file) to upgrade the updated/updatedby fields to each modified table during this process.
No tags attached.
patch 40178.patch (4,905) 2019-03-04 13:18
https://issues.openbravo.com/file_download.php?file_id=12702&type=bug
Issue History
2019-02-11 13:17JONHMNew Issue
2019-02-11 13:17JONHMAssigned To => platform
2019-02-11 13:17JONHMModules => Core
2019-02-11 13:17JONHMTriggers an Emergency Pack => No
2019-03-04 08:48jarmendarizAssigned Toplatform => jarmendariz
2019-03-04 13:09jarmendarizNote Added: 0110188
2019-03-04 13:09jarmendarizAssigned Tojarmendariz => Triage Finance
2019-03-04 13:09jarmendarizSummarySome audit fields of 'Open/Close period control' window are not registered => Audit fields of 'Open/Close period control' are not updated when Opening/Closing period
2019-03-04 13:09jarmendarizDescription Updatedbug_revision_view_page.php?rev_id=18379#r18379
2019-03-04 13:09jarmendarizSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18381#r18381
2019-03-04 13:18jarmendarizFile Added: 40178.patch
2019-03-04 13:19jarmendarizProposed Solution updated
2019-10-01 06:09collazoandy4Assigned ToTriage Finance => collazoandy4
2019-10-01 06:10collazoandy4Statusnew => scheduled
2019-10-01 15:12collazoandy4Note Added: 0114877

Notes
(0110188)
jarmendariz   
2019-03-04 13:09   
Changed the title and description of this issue because it is not expected to register in the audit trail table the table's audit fields (created, createdby, updated, updatedby). However, those fields should be updated when closing the period
(0114877)
collazoandy4   
2019-10-01 15:12   
Test Plan
  As System Administrator, set C_Period and C_PeriodControl tables as 'Fully Audited'.
  As F&B role admin, open window 'Open/Close period control'
  In the grid view, show column "Updated" both in the main tab and in the Documents one.
  Select a period of the current year and close it using the "Close Period" button.
  Check that the audit trail button in the toolbar is enabled and that the Updated columns has updated