Sales Invoice - change mode of payment from Cash to Cheque

Hi all,
I need a suggestion for a customisation I’m working on currently.
For every sales invoice, if the selected customer is a dealer, the payments table section should change the mode of payment from ‘Cash’ to ‘Cheque’. The amount should now reflect under ‘Cheque’. Kindly advise the best way to go about this. Is it sufficient if I change the payments table before save (using custom script) or are there other places I should consider changing?

You can set Payment Terms Template at Customer level.

@Pawan - Thanks a lot for the response. Is this a new version feature? I’m unable to locate it in version v7.2.27

Yes I think it is available from v10 onwards

Thanks a lot for the information. A really useful enhancement.