Upper case issue

Client script does not work in the quick-entry. You have to create a server script for that.

DocType Event: Before Insert

if doc.item_code:
    doc.item_code = doc.item_code.upper()

if doc.item_name:
    doc.item_name = doc.item_name.upper()

Then test it. it will work (I tested).

1 Like