Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024309 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | trivial | always | 2013-07-10 15:28 | 2013-10-25 17:44 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | Sandrahuguet | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP29 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | fb0daa4e04b9 | |||
Projection | none | ETA | none | Target Version | 3.0MP29 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ngarcia | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 22276 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0024309: Cannot generate an invoice from a commission if a sales representative has a sales representative configured | |||||||
Description | Cannot generate an invoice from a commission if a sales representative has a sales representative configured | |||||||
Steps To Reproduce | As group admin role: Select a business partner configured as employee and sales representative Configure it also as vendor and add fill the following fields: Purchase Pricelist PO Payment Method PO Payment Terms PO Financial Account Configure it also as customer and fill the Sales Representative field Create a Sales Invoice and select that BP as Sales Representative Create a record for that BP in the Commission window: Basis Document: Invoice Basis Status: All documents Basis Amount: Net Amount Add a line to it: Based on Sales Rep.: 'Y' Multiplier Amount: 2 Generate Commission In Commission Payment window, create an invoice for that commission An error message is shown | |||||||
Proposed Solution | In the C_COMMISSIONRUN_PROCESS function, the value of the salesrep_id column of the c_bpartner table (which refers to c_bpartner_id) is inserted in the salesrep_id column of the c_invoice table (which refers to ad_user_id) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0061692) hgbot (developer) 2013-10-16 11:52 |
Repository: erp/devel/pi Changeset: fb0daa4e04b9d15404f1af6c93ee0bef71b18fda Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Wed Oct 09 12:27:58 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/fb0daa4e04b9d15404f1af6c93ee0bef71b18fda [^] Fixed bug 24309 Cannot generate an invoice from a commission with sales_rep configured --- M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml --- |
(0061760) hudsonbot (viewer) 2013-10-16 19:47 |
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/51315988909a [^] Maturity status: Test |
(0061878) hgbot (developer) 2013-10-24 09:22 |
Repository: erp/devel/pi Changeset: acb7c4bb1944d77bf246e4db9a2fa7e9d9c63153 Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Tue Oct 22 09:11:41 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/acb7c4bb1944d77bf246e4db9a2fa7e9d9c63153 [^] Related to issue 24309 --- M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml --- |
(0061885) hgbot (developer) 2013-10-24 15:47 |
Repository: erp/devel/pi Changeset: 3478e80b1ffc9544f7e447acf4f80a7124f151a0 Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Thu Oct 24 15:49:18 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3478e80b1ffc9544f7e447acf4f80a7124f151a0 [^] related to issue 24309 --- M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml --- |
(0061893) hudsonbot (viewer) 2013-10-24 20:04 |
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/d0465c5073ba [^] Maturity status: Test |
(0061910) hudsonbot (viewer) 2013-10-25 17:44 |
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/156e0398fda4 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-07-10 15:28 | ngarcia | New Issue | |
2013-07-10 15:28 | ngarcia | Assigned To | => dmiguelez |
2013-07-10 15:28 | ngarcia | Modules | => Core |
2013-07-10 15:28 | ngarcia | OBNetwork customer | => Yes |
2013-07-10 15:28 | ngarcia | Support ticket | => 22276 |
2013-07-10 15:28 | ngarcia | Triggers an Emergency Pack | => No |
2013-07-10 15:29 | ngarcia | Issue Monitored: networkb | |
2013-07-12 10:45 | dmiguelez | Assigned To | dmiguelez => jonalegriaesarte |
2013-08-27 12:31 | jonalegriaesarte | Target Version | => 3.0MP29 |
2013-10-08 17:33 | jonalegriaesarte | Assigned To | jonalegriaesarte => Sandrahuguet |
2013-10-09 08:38 | Sandrahuguet | Status | new => scheduled |
2013-10-09 08:38 | Sandrahuguet | fix_in_branch | => pi |
2013-10-16 11:52 | hgbot | Checkin | |
2013-10-16 11:52 | hgbot | Note Added: 0061692 | |
2013-10-16 11:52 | hgbot | Status | scheduled => resolved |
2013-10-16 11:52 | hgbot | Resolution | open => fixed |
2013-10-16 11:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fb0daa4e04b9d15404f1af6c93ee0bef71b18fda [^] |
2013-10-16 11:55 | Sandrahuguet | Review Assigned To | => ngarcia |
2013-10-16 19:47 | hudsonbot | Checkin | |
2013-10-16 19:47 | hudsonbot | Note Added: 0061760 | |
2013-10-24 09:22 | hgbot | Checkin | |
2013-10-24 09:22 | hgbot | Note Added: 0061878 | |
2013-10-24 15:47 | hgbot | Checkin | |
2013-10-24 15:47 | hgbot | Note Added: 0061885 | |
2013-10-24 15:55 | ngarcia | Status | resolved => closed |
2013-10-24 15:55 | ngarcia | Fixed in Version | => 3.0MP29 |
2013-10-24 20:04 | hudsonbot | Checkin | |
2013-10-24 20:04 | hudsonbot | Note Added: 0061893 | |
2013-10-25 17:44 | hudsonbot | Checkin | |
2013-10-25 17:44 | hudsonbot | Note Added: 0061910 |
Copyright © 2000 - 2009 MantisBT Group |