Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008436Openbravo ERP07. Sales managementpublic2009-04-01 18:012009-05-11 10:47
networkb 
rajagopal 
immediatemajoralways
closedfixed 
20rPath Linux
2.40MP3 
2.40MP32.40MP4 
Core
No
0008436: Process "generate commission" does not filter inactives commision lines
When you generate commission it includes inactive commission lines.
in Sales Management || Transactions || Sales Invoice || Header
. create invoice I: select partner A, date D and sales representative B
. create line invoice with any product and any qty
. process invoice

in Sales Management || Setup || Commission || Header
. create commission with sales representative B and Frequency Type monthly
. create line inactive with only selected partner A
. in header, press "generate commission" with date D

in Sales Management || Transactions || Commission Payment || Header
. a commission payment has been generated even if the commission line was inactive
Review C_Commission_Process procedure in order that the SQL does not include inactive commission lines.
No tags attached.
blocks defect 00083862.40MP3 closed rajagopal Process "generate commission" does not filter inactives commision lines 
Issue History
2009-04-03 17:32rafarodaTypedefect => backport
2009-04-03 17:32rafarodafix_in_branch => 2.40
2009-04-06 10:26rajagopalAssigned Tosathiyan => rajagopal
2009-04-07 13:14rafarodaSummaryprocess "generate commission" does not filter to inactives's lines => Process "generate commission" does not filter inactives commision lines
2009-04-07 13:14rafarodaDescription Updated
2009-04-07 14:40hgbotCheckin
2009-04-07 14:40hgbotNote Added: 0015258
2009-04-07 14:40hgbotStatusscheduled => resolved
2009-04-07 14:40hgbotResolutionopen => fixed
2009-04-07 14:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/bd39bc22acd2a40152cc8168586b1303e73a8f3c [^]
2009-05-10 19:37psarobeFixed in Version => 2.40MP4
2009-05-11 10:47sureshbabuStatusresolved => closed
2009-05-11 10:47sureshbabuNote Added: 0016239

Notes
(0015258)
hgbot   
2009-04-07 14:40   
Repository: erp/stable/2.40
Changeset: bd39bc22acd2a40152cc8168586b1303e73a8f3c
Author: Rajagopal Baskaran <rajagopal.baskaran <at> openbravo.com
Date: Tue Apr 07 18:04:01 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/bd39bc22acd2a40152cc8168586b1303e73a8f3c [^]

Fixes bug 8436: Process \"generate commission\" does not filter inactive commission lines has been fixed.

---
M src-db/database/model/functions/C_COMMISSION_PROCESS.xml
---
(0016239)
sureshbabu   
2009-05-11 10:47   
Tested working fine.