Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020488Openbravo ERP07. Sales managementpublic2012-05-14 13:172012-05-29 13:26
maite 
gorkaion 
urgentmajoralways
closedfixed 
5
 
3.0MP12 
Core
No
0020488: Commission associated to Credit Memo sales invoice should be negative
Commission associated to Credit Memo sales invoice should be negative
1. Create new product with name "commission" and associate any sales price list
2. Go to Business Partner window and define "PO Payment Terms" and "PO PriceList" for BP 'David McHill'
2. Create Commission record for F&B Us, Sales rep= David McHill and "List details" checked
3. Add Commission Line for Business partner= Healthy Food Supermarkets, Co. and Multiplier amount=0.8
4. Create Credit Memo for F&B Us and Healthy Food Supermarkets, Co. Add Line for any product and any quantity and Complete
5. Go to Commission window and run "Generate Commission" process.
6. Go to Comission Payment window and verify that commission created associated to your Credit Memo invoice is positive when it should be negative
No tags attached.
Issue History
2012-05-14 13:17maiteNew Issue
2012-05-14 13:17maiteAssigned To => mirurita
2012-05-14 13:17maiteModules => Core
2012-05-14 13:18maiteTarget Version => 3.0MP12
2012-05-14 13:18maiteIssue Monitored: networkb
2012-05-14 13:22miruritaAssigned Tomirurita => jonalegriaesarte
2012-05-21 13:00jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-05-23 13:50gorkaionStatusnew => scheduled
2012-05-23 13:50gorkaionAssigned Tojecharri => gorkaion
2012-05-23 13:50gorkaionfix_in_branch => pi
2012-05-23 18:26hgbotCheckin
2012-05-23 18:26hgbotNote Added: 0048899
2012-05-23 18:26hgbotStatusscheduled => resolved
2012-05-23 18:26hgbotResolutionopen => fixed
2012-05-23 18:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/54c23859baeb93348f147c35b4cfa7f16282ce77 [^]
2012-05-25 12:13hudsonbotCheckin
2012-05-25 12:13hudsonbotNote Added: 0049194
2012-05-29 13:26maiteNote Added: 0049428
2012-05-29 13:26maiteStatusresolved => closed

Notes
(0048899)
hgbot   
2012-05-23 18:26   
Repository: erp/devel/pi
Changeset: 54c23859baeb93348f147c35b4cfa7f16282ce77
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed May 23 16:25:30 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/54c23859baeb93348f147c35b4cfa7f16282ce77 [^]

Fixed issue 20488.Change amounts on credit memos.

When the invoice is a credit memo (APC or ARC base types) the amount and the
quantities are negated.

---
M src-db/database/model/functions/C_COMMISSION_PROCESS.xml
---
(0049194)
hudsonbot   
2012-05-25 12:13   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^]

Maturity status: Test
(0049428)
maite   
2012-05-29 13:26   
verified