Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028772
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2015-01-26 16:222015-03-02 11:22
ReporterngarciaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona1c3c8123501
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028772: Commission payment details are duplicated if the invoice is paid in two different months

DescriptionCommission payment details are duplicated if the invoice is paid in two different months
Steps To ReproduceAs group admin role:
   Create a Payment Term header:
      Overdue Payment Days Rule: 30
   Add a line to it:
      Percentage due: 50
      Overdue Payment Days Rule: 0
   Create a Commission with:
      Business Partner / Sales Rep.: define one
      Frequency Type: Monthly
      Basis Document: Invoice
      Basis Status. Fully paid docuemnts
      Basis Amount: Net amount
   Add a line to it:
      Based on Sales Rep. = Y
      Multiplier amount: 0.5
   Create a Sales Invoice and associate the previously created payment terms and the sales representative to it.
   Complete it
   Pay it in two payments: one in each due date
   Generate Commission for the month which contains the first payment
   Generate Commission for the month which contains the second payment
   Go to the Commission Payment window and check the whole invoice amount appears in both of them
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0030184 closedaferraz Wrong commission amount if the invoice has fractionated payment terms but it is paid in the same commission period 

-  Notes
(0074619)
AtulOpenbravo (developer)
2015-02-18 18:01

- Login as International Group Admin.
- Create a Payment Term header:
   Overdue Payment Days Rule: 30
   Add a line to it:
      Percentage due: 50
      Overdue Payment Days Rule: 0
- Create a Commission with:
      Business Partner / Sales Rep.: define one
      Frequency Type: Monthly
      Basis Document: Invoice
      Basis Status. Fully paid docuemnts
      Basis Amount: Net amount
   Add a line to it:
      Based on Sales Rep. = Y
      Multiplier amount: 0.5
- Create a Sales Invoice and associate the previously created payment terms and the sales representative to it. Complete it
- Pay it in two payments: one in each due date
- Generate Commission for the month which contains the first payment
- Generate Commission for the month which contains the second payment
- Go to the Commission Payment window and check amount for each month is not whole invoice amount. It is properly split as per the payment amount done month wise.
(0075069)
aferraz (manager)
2015-03-02 11:21

Fixed in commit https://code.openbravo.com/erp/devel/pi/rev/a1c3c8123501 [^]
(0075070)
aferraz (manager)
2015-03-02 11:22

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2015-01-26 16:22 ngarcia New Issue
2015-01-26 16:22 ngarcia Assigned To => Sandrahuguet
2015-01-26 16:22 ngarcia Modules => Core
2015-01-26 16:22 ngarcia Resolution time => 1424818800
2015-01-26 16:22 ngarcia Triggers an Emergency Pack => No
2015-01-26 16:22 ngarcia Issue generated from 0027280
2015-01-26 16:27 ngarcia Issue Monitored: networkb
2015-01-26 16:35 heccam Issue Monitored: heccam
2015-02-18 10:20 AtulOpenbravo Assigned To Sandrahuguet => AtulOpenbravo
2015-02-18 10:21 AtulOpenbravo Status new => scheduled
2015-02-18 10:21 AtulOpenbravo fix_in_branch => pi
2015-02-18 18:01 AtulOpenbravo Note Added: 0074619
2015-02-18 18:01 AtulOpenbravo Review Assigned To => Sandrahuguet
2015-02-18 18:01 AtulOpenbravo fix_in_branch pi =>
2015-03-02 11:20 aferraz Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/a1c3c8123501 [^]
2015-03-02 11:21 aferraz Note Added: 0075069
2015-03-02 11:21 aferraz Status scheduled => resolved
2015-03-02 11:21 aferraz Resolution open => fixed
2015-03-02 11:22 aferraz Review Assigned To Sandrahuguet => aferraz
2015-03-02 11:22 aferraz Note Added: 0075070
2015-03-02 11:22 aferraz Status resolved => closed
2015-06-16 19:31 aferraz Relationship added causes 0030184


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker