New to ERPNext, working with the sales invoice doctype and I am not able to figure out the use of the delivered qty in sales invoice item (reference, when we attach a sales invoice to a sales order). If I were to create a frappe.new_doc(“Sales Invoice”) and explicit the sales_order, so_detail, delivered_qty will it cause any problem in the long run functionality of erpnext?
In my project I need to create a sales invoice and attach it to a sales order. And once it gets submitted the sales order delivered qty should get updated and keep the flow of erpnext.
Thanks for the help,