Duplication in reference Numbers

Dear All,

in Cash transaction reference numbers generate automatically but how can we stop duplication in Bank Transactions, usually i use P-000 for payment and R-000 for Receipt.

the system doesn’t have prefix, so you will not be able to make it automatically. unless, you will do it manually. every time you create the voucher.