Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007115Openbravo ERP07. Sales managementpublic2009-01-23 17:462009-04-21 12:39
RenateNieuwkoop 
AinhoaPagola 
normalmajoralways
closedfixed 
5
2.40 
 
Core
No
0007115: Commission: Last run date doesn't get updated
Sales Management || Setup || Commission
When running 'Generate commission' the 'last run date should be updated to the run date. However, that's not done. I ran the 'generate commission' today but the date stays at 1-1-2009.
Sales Management || Setup || Commission
- Create a record for a certain BP
- check 'list details' checkbox
- Lines: remove filters and add 'multiplier amount' of 0.20 for example and save
- Header: Click 'Generate Commission' button
- Starting date: 1-1-2009, click ok

Then check if the 'last run date' was updated to today's date.

According to the help function, the last run date is supposed to reflect the last date that the process was run.
comsup_sprint5
depends on backport 0007286 closed AinhoaPagola Commission: Last run date doesn't get updated 
jpg 230109Lastrundate1.jpg (193,711) 2009-01-23 17:46
https://issues.openbravo.com/file_download.php?file_id=718&type=bug
jpg

jpg 230109Commission1.jpg (154,554) 2009-01-23 17:46
https://issues.openbravo.com/file_download.php?file_id=719&type=bug
jpg

jpg 230109Commission2.jpg (158,598) 2009-01-23 17:47
https://issues.openbravo.com/file_download.php?file_id=720&type=bug
jpg
Issue History
2009-01-23 17:46RenateNieuwkoopNew Issue
2009-01-23 17:46RenateNieuwkoopAssigned To => rafaroda
2009-01-23 17:46RenateNieuwkoopsf_bug_id0 => 2531350
2009-01-23 17:46RenateNieuwkoopFile Added: 230109Lastrundate1.jpg
2009-01-23 17:46RenateNieuwkoopFile Added: 230109Commission1.jpg
2009-01-23 17:47RenateNieuwkoopFile Added: 230109Commission2.jpg
2009-01-30 17:55psarobeStatusnew => scheduled
2009-01-30 17:55psarobefix_in_branch => trunk
2009-01-30 18:46AinhoaPagolaAssigned Torafaroda => AinhoaPagola
2009-01-30 18:52AinhoaPagolaNote Added: 0012944
2009-01-30 19:36svnbotCheckin
2009-01-30 19:36svnbotNote Added: 0012948
2009-01-30 19:36svnbotStatusscheduled => resolved
2009-01-30 19:36svnbotResolutionopen => fixed
2009-01-30 19:36svnbotsvn_revision => 12576
2009-02-06 15:59AinhoaPagolaTag Attached: comsup_sprint5
2009-04-21 12:39psarobeStatusresolved => closed

Notes
(0012944)
AinhoaPagola   
2009-01-30 18:52   
Hi Renate,
The last run date is going to be set to "today".
Thanks.
(0012948)
svnbot   
2009-01-30 19:36   
Repository: openbravo
Revision: 12576
Author: AinhoaPagola
Date: 2009-01-30 19:36:12 +0100 (Fri, 30 Jan 2009)

Fixes bug 0007115 Last run date in commission is updated.

---
U trunk/src-db/database/model/functions/C_COMMISSION_PROCESS.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12576&sc=1 [^]