Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011216Openbravo ERP07. Sales managementpublic2009-11-02 17:302009-11-04 00:00
nsaleh 
rafaroda 
normalcriticalalways
closedduplicate 
5
2.40 
 
Core
No
0011216: Sales Invoice Dimensional Report displays sales rep. from C_BPARTNER table rather than C_INVOICE table
In the sales invoice dimensional report when the Sales Rep. is selected as a dimension, the value '**' is displayed in the printout despite the fact that sales invoices are capturing values in the salesrep_id column.

It seems that the report is NOT displaying the sales rep. from the table c_invoice, but instead it is displaying the sales rep. assigned to the customer in c_bpartner table.

This won't work for our business. We can't specify a sales representative for each customer because more than one sales representative can sell a specific customer. So we can only specify the sales rep. at invoice time.
* Create a Sales Invoice for a business partner that has no sales rep. defined.
* select a Sales Representative in the invoice from the drop down list.
* Enter all other fields and save the header, also create lines and complete the invoice.
* Go to Sales Management>Analysis Tools>Sales Invoice Dimensional Report.
* Select the date of the invoice.
* Select the dimension "Sales Rep." and print the report.

You will notice that the sales rep. value displayed is "**".

* Go to Master Data Management>Business Partner window.
* Select the business partner record that was used in the Invoice.
* Go to the Customer tab and select a Sales Representative from the list and save.
* Go to Sales Management>Analysis Tools>Sales Invoice Dimensional Report.
* Select the date of the invoice.
* Select the dimension "Sales Rep." and print the report.

You will notice that the sales rep. value displayed is the name of the assigned Sales Rep. for the customer.
Modify the report to print the sales rep. from C_INVOICE table rather than C_BPARTNER table.
No tags attached.
duplicate of defect 0007057 closed rafaroda "Sales Invoice Dimensional Report" does not take Sales rep. information from the current transaction 
Issue History
2009-11-02 17:30nsalehNew Issue
2009-11-02 17:30nsalehAssigned To => rafaroda
2009-11-03 08:19rafarodaRelationship addedduplicate of 0007057
2009-11-03 08:19rafarodaStatusnew => closed
2009-11-03 08:19rafarodaNote Added: 0021524
2009-11-03 08:19rafarodaDuplicate ID0 => 7057
2009-11-03 08:19rafarodaResolutionopen => duplicate
2009-11-04 00:00anonymoussf_bug_id0 => 2891549

Notes
(0021524)
rafaroda   
2009-11-03 08:19   
Hi Nadia,

This issue is duplicated of 0007057. You can find its fix at https://dev.openbravo.com/websvn/openbravo/?op=comp&compare[]=%2F@12107&compare[]=%2F@12108 [^]

This fix is included both in Openbravo ERP 2.50 and Openbravo ERP 2.40 maintenance branch.

Thanks for your feedback.