and I’m using
get_balance_on(party_type=customer, party=doc.customer) but throwing error “get_balance_on is undefined”.
Please help me on this or suggest me any other method to fetch it.
Sorry for not stating printformat.
Actually I want customer total outstanding in sales invoice print only. And I did not find where to use the above code after custom field creation.