frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.96k stars 7.36k forks source link

Gross Profit for Non-stock (service) item #21633

Open nakul80 opened 4 years ago

nakul80 commented 4 years ago

Description of the issue

I have tried a problem we are facing in our setup by creating demo account on erpnext.com We have an item setup for recording purchase of services (ex. Test Non-stock item in the attached screenshots) which in real scenario could be Installation and Deployment

The Gross profit shows huge loss on account of following:

Purchase invoice of same item of 10 nos for ₹ 100 Sales invoice of same item of 1000 nos for ₹ 10 How can gross profit of a service item be based on incoming valuation of a nonstock item

Context information (for bug reports)

image

Output of bench version

(paste here)

Steps to reproduce the issue

  1. Run Gross Profit report
  2. Check non stock items profitability

Observed result

Expected result

Stacktrace / full error message

(paste here)

Additional information

OS version / distribution, ERPNext install method, etc.

nakul80 commented 2 years ago

@ankush please explain what you meant when u added the tag to-validate?

yrestom commented 1 year ago

I have the same issue also

ERPNext: v13.40.3 (HEAD) Frappe Framework: v13.42.0 (HEAD)

nakul80 commented 1 year ago

Not yet solved. There has to be some way to solve the problem maybe by a special report format.

On Tue, 17 Jan, 2023, 17:17 Yousef Restom, @.***> wrote:

I have the same issue also

ERPNext: v13.40.3 (HEAD) Frappe Framework: v13.42.0 (HEAD)

— Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/21633#issuecomment-1385305032, or unsubscribe https://github.com/notifications/unsubscribe-auth/APPSRLHJ6UHGQU4XXIVJJG3WS2BGZANCNFSM4M3E3SDQ . You are receiving this because you authored the thread.Message ID: @.***>

nakul80 commented 1 year ago

Even using serialised items that are batched. While passing DN correct batch is selected but gross profit showing on item valuation

yrestom commented 1 year ago

Any updates on this ?

sanjay141986 commented 5 months ago

Please check in the latest update and let us know if the issue is resolved