Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0024309 | Openbravo ERP | 07. Sales management | public | 2013-07-10 15:28 | 2013-10-25 17:44 |
Reporter | ngarcia | ||||
Assigned To | Sandrahuguet | ||||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0MP29 | Fixed in Version | 3.0MP29 | ||
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) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|