Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005827Openbravo ERP07. Sales managementpublic2008-11-05 09:482011-02-04 09:15
rafaroda 
rmorley 
normalminoralways
acknowledgedopen 
20Ubuntu 7.10
2.35MP5 
 
Core
No
0005827: Commission calculation basis - support shipments and payments
Nowadays, commission calculations are based on invoices and orders. It would be useful to have also commission calculations based on:
* Receipts/Shipments
* Payments
1) Go to 'Sales Management || Setup || Commission'.
2) Take a look at 'Calculation Basis' drop-down list.
In fact, calculation of commissions based on receipts/shipments is to be developed. Please refer to C_COMMISSION_PROCESS procedure [1], lines 189 to 212 "IF(v_DocBasisType='R') THEN".

[1] https://dev.openbravo.com/websvn/openbravo/trunk/src-db/database/model/functions/C_COMMISSION_PROCESS.xml [^]
Clean-up, ReleaseCandidate
related to defect 0005779 closed rafaroda Generate commission don't work with Calculation Basis "Receipt" 
Issue History
2008-11-05 09:48rafarodaNew Issue
2008-11-05 09:48rafarodaAssigned To => rafaroda
2008-11-05 09:48rafarodasf_bug_id0 => 2224507
2008-11-05 09:48rafarodaRegression testing => No
2008-11-05 09:56rafarodaDescription Updated
2008-11-05 09:56rafarodaSteps to Reproduce Updated
2008-11-10 14:25rafarodaAssigned Torafaroda => pjuvara
2008-11-17 15:30pjuvaraTag Attached: Clean-up
2008-11-17 15:30pjuvaraTag Attached: ReleaseCandidate
2008-11-17 15:41pjuvaraStatusnew => acknowledged
2008-11-17 15:41pjuvaraSummaryCommission calculation basis => Commission calculation basis - support shipments and payments
2008-11-18 16:39rafarodaRelationship addedrelated to 0005779
2008-12-01 11:47networkbNote Added: 0010837
2008-12-01 11:47networkbIssue Monitored: networkb
2011-02-04 09:15jpabloaeAssigned Topjuvara => rmorley

Notes
(0010837)
networkb   
2008-12-01 11:47   
For clarification:

1) First of all, this option appeared as available when it was not implemented yet. This bug is now solved and documented in the wiki http://wiki.openbravo.com/wiki/FAQ#What_are_features_of_Openbravo_ERP_that_are_not_fully_implemented.3F [^]

2) Second, the translation of "Receipt" into Spanish in this field was "Ingreso", which doesn't seem the right translation and created some confusion to clients (compounded with the fact the feature was not implemented as stated above).

3) Third, the client's request is to be able to calculate commissions when they receive the actual payment (the cash).