Don't allow renaming ( No. change) of customers.

how can we does not allow renaming in customer tables…can we do this with codeunit

You should write code in OnRename() trigger of Customer table…

can u suggest me the code plz

Simply write ERROR(‘You cannot Rename Customer. Contact System Administrator.’);

One more Make the field non editable [:)]

It will also stop inserting Customers manually. [;)]

thanks for ur response amol and mohana

Yes It will but I thought they are generating customer no automatically

So I suggested the simple way[;)]