Files
erpnext/erpnext/buying
Mihir Kandoi 4a572311bc fix(buying): insert default Supplier Scorecard records with ignore_if_duplicate (Postgres)
make_default_records inserted Scorecard Variable/Standing rows in a loop and swallowed DuplicateEntryError (frappe.NameError). On Postgres the failed insert poisons the txn so the next iteration's insert raises InFailedSqlTransaction. insert(ignore_if_duplicate=True) emits ON CONFLICT DO NOTHING, never poisoning the txn. No-op on MariaDB.
2026-06-29 22:38:01 +05:30
..
2021-11-05 11:16:29 +05:30
2021-11-05 11:16:29 +05:30
2013-12-11 10:43:52 +05:30

Manage buying (purchasing).

Transactions include:

  • Material Request
  • Supplier Quotation
  • Purchase Order
  • Quality Inspection