Duplicate popup message for supplier invoice number

Hi all. I need your help for one popup message.
In purchase receipt i have one field named supplier invoice number i want to show popup if that invoice number entered by another some user in another entry that this invoice no is already used like these.

Please help with the client script.

There is an option available under Accounts Settings which archives the same thing you’re looking for:

https://docs.erpnext.com/docs/v13/user/manual/en/accounts/accounts-settings#4-check-supplier-invoice-number-uniqueness

1 Like