have you considered adding a custom print format to the customer record? This way you can aggregate the data from this customer and get a statement of account. Something like this
I think the point here is that it should be standard in any ERP software and your workaround may be fine for one individual customer statement. The issue is when you need to run customer statements at the end/beginning of every month for ALL customers at one time. Ideally, there would be a Customer Statements module and you’d click to email/print customer statements to everyone at the same time.
Why do you consider this a workaround? This is actually a neat solution to generate statements of account from the customer (or supplier). It also works on a range/selection of customers, simply filter your list for the ones with outstanding_balance > 0, select all and click print…
If you need this in bulk, the use case might be different. For example payment reminders. But that then is not only a statement of account, but also includes payment reminder levels and charges. A module for that is available (not in the core though)…
Ahh… that’s a good idea to filter and the select multiple. I was thinking v10, which would not have allowed the multiple selection with as many options. I will give this a shot.
What about emailing the customer statements? I’m assuming this will only email to the primary contact on the account? We need to email to the Accounts Payable contact.
It is a normal print format, you can include for example a normal letter head to have your logo and header printed:
<!-- HEAD -->
<div id="header-html" class="hidden-pdf">
{% set letter_head = frappe.get_doc("Letter Head", "Standard") %}
{% if letter_head %}
{{ letter_head.content }}
{% else %}
<p>Letter head Standard not found. Please define the letter head under print settings.</p>
{% endif %}
</div>
In this form it is not date-drive, it will shown all sales invoices based on outstanding_amount. If you want this based on a time period, you will have to change the lookup code, e.g. like this (current year):
We using my Jasper Reports Statement and must say a nice alternative for nothing else.
In my report you select first day of month and will calculate last day of month and then you select customer and will generate your statement ready to send out as pdf with links on document number to open actual document on ERPNext.
HI LASALESI
sorry was out of town for some time
i had a look at this it looks good …but its only for outstanding inv the wau i see it
a statements should run from month to month like how albertus has shown
or maybe i have missed something
the second one that is date driven i get an error
expected name name tag but got something else
i must gave done something wrong
Just to note: you can’t select multiple and email it automatically to the contact on file. You still have a lot of manual steps to use this if you plan on emailing your statements rather than print and send via mail.
am i missing something but is there still no customer statements build into erp next
just dumb struck at this
can anyone shed some light on this
oh not any work arounds just old plain fashioned statements
which is so vital to any business
this was a comment from jaichavan " Hello,
We will evaluate the request and see how it can be implemented in the future versions.
We appreciate your patience and cooperation. Thanks." when nov 2018
one year ago https://github.com/frappe/erpnext/issues/14653#issuecomment-437647397
one year later niks nada nothing
Please wait a day or two before evaulating. There was a bug in calculating the balance in the general ledger report from which this was based introduced by the update_payment_reference() function call. I just corrected the bug in my statement solution and I am busy testing.