Wanted to ask what is the calculation of amount in sales order item?

I look for script in ERPNext the logic of calculating the amount but I think it doesn’t have an explicit calculation.

I want to know if the calculation is qty * rate or stock_qty * rate?

Best Regards
Pejay

Hi @Pejay

It looks like as following;

(Price List Rate + Margin – Discount) × Qty = Amount

1 Like