Home Blog Customizing Core Sales Reports in ERPNext
Customizing Core Sales Reports in ERPNext

Customizing Core Sales Reports In ERPNext

What is a Sales Report?

A Sales Report is a document that provides a summary of the company’s sales activities and performance over a specific period of time. These are crucial for businesses of all sizes, as they provide valuable insights into sales trends, customer behaviour and revenue growth  for better decision making.



Customizing a Sales Report

Businesses may choose to customize it’s sales report for the following reasons:

1. To keep it relevant to their needs and requirements

2. To focus on the key metrics

3. To get industry-specific insights

4. To track and adapt Sales Strategies

5. For Targeted Decision Making

6. To Align with the Changing needs


 To Learn More about ERPNext and stay up to date with our latest blogs, subscribe now.


Customizing a Core Sales Report in ERPNext

In ERPNext, creating custom reports can provide valuable insights into your business data. Our step-by-step guide will walk you through the process of Customizing the Core Sales Report in ERPNext. 



The Steps:


1. Create Custom App Using this Command.

bench  new-app custom_sales_report


2. Install Newly Created Custom app.

​​bench –site yoursitename install-app custom_sales_report


3. Now Open your site in Browser and Search For Report List Menu.


Configuration for Custom Core Sale Report - ERPNext


4. From Report List Open Sales Order Analysis Report.


Configuration for Custom Core Sale Report - ERPNext


5. In the Sale Order Analysis Report, Set the following Parameter.

​a. Is Standard = Yes

​b. Module = Select Your Custom App name(newly created)


Configuration for Custom Core Sale Report - ERPNext



Then Save Record.


6. After Saving Sale Order Analysis Report, it’ll create a report directory in your app and inside that it’ll create sales_order_analysis folder. 


Configuration for Custom Core Sale Report - ERPNext


7. Inside the sales_order_analysis folder there will be the following Files.

​a. sales_order_analysis.js

​b. sales_order_analysis.json

​c. sales_order_analysis.py


8. Now Copy sales_order_analysis.js code from selling app, from this path apps/erpnext/erpnext/selling/report/sales_order_analysis/sales_order_analysis.js

After Copy all code  you can add or remove filters in the js file as per your requirements.


9. Now Copy sales_order_analysis.js code from selling app, from this path apps/erpnext/erpnext/selling/report/sales_order_analysis/sales_order_analysis.py

After Copy all code you can add or remove logic as per your requirements.


By following these steps, you can create a Custom Sales Report. 


Contact us to discuss your customization needs and optimize your ERPNext experience today! 

Get In Touch with Experts



To Know more about Customized Sales Report, Watch this Video



Get In Touch with Us

Leave a Comment

Your email address will not be published.

Submit
Your comment is under review by our moderation team.