mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 09:23:09 +00:00
Convert test-only raw frappe.db.sql calls that have an exact ORM equivalent: full-table/filtered deletes -> frappe.db.delete, count -> frappe.db.count, row-existence assertions -> frappe.db.exists, single-row scalar fetches -> frappe.db.get_value, and simple equality/range-filter selects -> frappe.get_all. No behaviour change. Raw SQL that genuinely needs it is left as-is (dynamic identifiers, aggregates/group-by, positional as_list consumers, DB-catalog introspection).
Plan and manage manufacturing operations, bill of materials for manufacturing.