Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025920Openbravo ERP07. Sales managementpublic2014-03-06 10:162014-04-25 13:32
VictorVillar 
AtulOpenbravo 
urgentmajoralways
closedunable to reproduce 
5
pi 
3.0PR14Q3 
VictorVillar
Core
No
0025920: The Actual Amount in Details tab of the Commision Payment is wrong calculated under some circumstancies
The Actual Amount in Details tab of the Commision Payment is wrong calculated when you are working with Returns from Customer
As group Admin role,
Go to Commission window:
 create a new one:
   Org: Región Norte
   Basis Amount: Margin
   Sales Rep: Javier Martín
   Frequency Type: Monthly
   basis document: Invoice
   Cascade: Yes
   List Details: Yes
   Name: Commission
 Go to Lines tab:
   Based on Sales Rep: Yes
   Multiplier Amount: 1

Go to Sales Order:
   Create a new one for 1 unit of product Agua sin Gas 1L
   Business Partner: Alimentos y Supermercados
Go to Goods Shipment window:
   create one related to the Sales Order
Go to Sales invice window:
   create the one related to the Goods Shipment
   Sales Representative: Javier Martín

Go to Return from Customer window:
  create a new one for the Shipment created before
Go to Return Material Receipt window:
  select the Return from Customer created before.

After that realise that the Costing Backgorund Processa has calculated all that new warehouse transactions (Goods Shipment and Return Material Receipt transactions), please check Transactions tab of the Product: Agua sin Gas.
Once those transactions will have been calculated:
 Go to Commission window:
   Generate the Commission
Then check the values in Commission Payment
  You can check the Amount value of the Details tab, which is the sum of the Invoice amount + Cost, but it should be the Margin = Invoice Amount - Cost
No tags attached.
related to defect 00265533.0PR14Q4 closed daniOpenbravo The Actual Amount in Details tab of the Commission Payment is wrong calculated under some circumstancies 
Issue History
2014-03-06 10:16VictorVillarNew Issue
2014-03-06 10:16VictorVillarAssigned To => dmiguelez
2014-03-06 10:16VictorVillarModules => Core
2014-03-06 10:16VictorVillarResolution time => 1396821600
2014-03-06 10:16VictorVillarTriggers an Emergency Pack => No
2014-03-06 10:16VictorVillarAssigned Todmiguelez => jonalegriaesarte
2014-03-06 10:16VictorVillarIssue Monitored: networkb
2014-03-20 12:25jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-03-31 16:17jonalegriaesarteTarget VersionPR14Q2 => PR14Q3
2014-04-10 08:49AtulOpenbravoAssigned Topramakrishnan => AtulOpenbravo
2014-04-10 08:49AtulOpenbravoStatusnew => scheduled
2014-04-10 08:49AtulOpenbravofix_in_branch => pi
2014-04-25 13:32VictorVillarReview Assigned To => VictorVillar
2014-04-25 13:32VictorVillarStatusscheduled => closed
2014-04-25 13:32VictorVillarResolutionopen => unable to reproduce
2014-05-15 10:57VictorVillarRelationship addedrelated to 0026553

There are no notes attached to this issue.