Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039623 | Openbravo ERP | 07. Sales management | public | 2018-11-13 19:12 | 2018-11-13 19:16 | |||||||
Reporter | AtulOpenbravo | |||||||||||
Assigned To | Triage Omni OMS | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039623: Actual Qty in Commission Amt is set wrongly when Commission is configured as Cascade = No | |||||||||||
Description | When invoice's payment term has multiple lines, Actual Qty in Commission Amt is set wrong when Commission is configured as Cascade = No | |||||||||||
Steps To Reproduce | - Login as International Group Admin. - Create a Payment Term header: Overdue Payment Days Rule: 60 Add a line to it: Percentage due: 50 Overdue Payment Days Rule: 30 - Create a Commission with: Business Partner / Sales Rep.: Javier Martín Frequency Type: Monthly Basis Document: Invoice Basis Status. Fully paid docuemnts Basis Amount: Net amount Cascade = No 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. - Line 1: Product - Agua sin Gas 1L, Quantity: 100, Tax: Entregas IVA 21%, Line Net Amount = 153.00 - Line 2: Product - Cerveza Ale 0,5L, Quantity: 100, Tax: Entregas IVA 21%, Line Net Amount = 204.00 - Line 3: Product - Bebida Energética 0,5L, Quantity: 1, Tax: Entregas IVA 21%, Line Net Amount = 368.00 - Total Gross Amount 877.25, Line Gross Amount:725.00, Complete it. - Realize that two payment plan are available for this invoice. Due Date 1: Today + 30 days, Amount = 438.62 Due Date 2: Today + 60 days, Amount = 438.63 - Pay each of it in three payments with different dates. - Generate commission for the last payment date. - Go to the Commission Payment window: - Realize a there is commission payment created with Total Amount = 94.25. - In Amount Tab: Amount = 94.25, Converted Amount = 725.00, Actual Quantity = 402. ** Realize that Actual Quantity should be set as 201. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ProposedFix.diff (1,019) 2018-11-13 19:12 https://issues.openbravo.com/file_download.php?file_id=12363&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-11-13 19:12 | AtulOpenbravo | New Issue | ||||||||||
2018-11-13 19:12 | AtulOpenbravo | Assigned To | => Triage Finance | |||||||||
2018-11-13 19:12 | AtulOpenbravo | File Added: ProposedFix.diff | ||||||||||
2018-11-13 19:12 | AtulOpenbravo | Modules | => Core | |||||||||
2018-11-13 19:12 | AtulOpenbravo | Triggers an Emergency Pack | => No | |||||||||
2018-11-13 19:15 | AtulOpenbravo | Relationship added | related to 0039474 | |||||||||
2018-11-13 19:16 | AtulOpenbravo | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17912#r17912 |
There are no notes attached to this issue. |