Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036148 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2017-05-31 10:38 | 2017-06-08 17:12 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR17Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 59898e805bfd | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 46973 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036148: Invoices from organizations that do not belong to the organization's tree are taken into account for calculating commissions | |||||||
Description | Invoices from organizations that do not belong to the organization's tree are taken into account for calculating commissions | |||||||
Steps To Reproduce | As group admin role: Create a Business Partner for F&B International Group organization Set it as Employee and Sales Representative Create a User and assign the previously created business partner Create a sales invoice for F&B España, S.A Set the previously created BP as Sales Representative Add a product and complete it Create a sales invoice for F&B US, Inc. Set the previously created BP as Sales Representative Add a product and complete it Create a commission: Organization: for F&B España, S.A Business Partner / Sales Rep: <previously created one> Frequency Type: Monthly Basis Document: Invoice Basis Status: All documents Basis Amount: Net Amount Add a line to it Based on Sales Rep: Y Multiplier Amount: <set one> Launch the Generate Commission process Go to Commission Payment - Amounts- Details tab and check the invoice for F&B US, Inc. is included and it should not | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0097065) AtulOpenbravo (viewer) 2017-06-01 06:59 |
Test Plan - Login as group admin role: - Create a Business Partner for F&B International Group organization - Set it as Employee and Sales Representative - Create a User and assign the previously created business partner - Create a sales invoice for F&B España, S.A - Set the previously created BP as Sales Representative - Add a product and complete it - Create a sales invoice for F&B España, Region Sur Organization. - Set the previously created BP as Sales Representative - Add a product and complete it - Create a sales invoice for F&B US, Inc. - Set the previously created BP as Sales Representative - Add a product and complete it - Create a sales invoice for F&B España, Region Norte Organization - Set the previously created BP as Sales Representative - Add a product and complete it - Create a commission: - Organization: for F&B España, S.A - Business Partner / Sales Rep: <previously created one> - Frequency Type: Monthly - Basis Document: Invoice - Basis Status: All documents - Basis Amount: Net Amount - Add a line to it - Based on Sales Rep: Y - Multiplier Amount: <set one> - Launch the Generate Commission process Go to Commission Payment - Amounts- Details tab and check that invoice for only F&B Espana, Region Norte and Region Sur are included. - Go to Comission Window and edit above created record. Change Organization to F&B US Inc. - - Launch the Generate Commission process and check that invoice for only F&B US Inc is included in it. |
(0097074) hgbot (developer) 2017-06-01 12:40 |
Repository: erp/devel/pi Changeset: 59898e805bfd1c29f21470c006be1221c6e8d467 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Thu Jun 01 10:20:15 2017 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/59898e805bfd1c29f21470c006be1221c6e8d467 [^] Fixes issue 36148: Wrong invoice organizations taken for calculating commission When trx organization is not selected in commission line then consider only the invoices in the organization of the Org tree of commission organization. --- M src-db/database/model/functions/C_COMMISSION_PROCESS.xml --- |
(0097075) aferraz (viewer) 2017-06-01 12:41 |
Code review + Testing OK |
(0097228) hudsonbot (viewer) 2017-06-08 17:12 |
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/fda0f16ab470 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2017-05-31 10:38 | ngarcia | New Issue | |
2017-05-31 10:38 | ngarcia | Assigned To | => Triage Finance |
2017-05-31 10:38 | ngarcia | OBNetwork customer | => Yes |
2017-05-31 10:38 | ngarcia | Modules | => Core |
2017-05-31 10:38 | ngarcia | Support ticket | => 46973 |
2017-05-31 10:38 | ngarcia | Resolution time | => 1497996000 |
2017-05-31 10:38 | ngarcia | Triggers an Emergency Pack | => No |
2017-05-31 10:38 | ngarcia | Issue Monitored: networkb | |
2017-05-31 11:56 | aferraz | Assigned To | Triage Finance => AtulOpenbravo |
2017-05-31 13:14 | AtulOpenbravo | Status | new => scheduled |
2017-06-01 06:59 | AtulOpenbravo | Note Added: 0097065 | |
2017-06-01 12:40 | hgbot | Checkin | |
2017-06-01 12:40 | hgbot | Note Added: 0097074 | |
2017-06-01 12:40 | hgbot | Status | scheduled => resolved |
2017-06-01 12:40 | hgbot | Resolution | open => fixed |
2017-06-01 12:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/59898e805bfd1c29f21470c006be1221c6e8d467 [^] |
2017-06-01 12:41 | aferraz | Review Assigned To | => aferraz |
2017-06-01 12:41 | aferraz | Note Added: 0097075 | |
2017-06-01 12:41 | aferraz | Status | resolved => closed |
2017-06-01 12:41 | aferraz | Fixed in Version | => 3.0PR17Q3 |
2017-06-08 17:12 | hudsonbot | Checkin | |
2017-06-08 17:12 | hudsonbot | Note Added: 0097228 |
Copyright © 2000 - 2009 MantisBT Group |