refactor: use sql for building voucher balance in Receivable report by ruthra-kumar [frappe] PR#47892
From: https://github.com/frappe/erpnext/pull/47892
Date: 2025-07-09 10:45:58+05:30
- chore: rename method
- refactor: build and pass match conditions as qb criterion
- chore: drop unused utility method
- refactor: dynamic DB field types
- refactor: better variable name
- refactor: prefix-ed names for easy distinction
- refactor: utility to drop existing procedures and include cost center
- refactor: order by posting date
- refactor: call procedures based on config
- refactor: introduce sql option for data fetch
- refactor: better readability
- refactor: using sql procedures for AR report
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-47892
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-47892
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease