Virtual column return value length is bigger then field size cause exception

Description

Steps to reproduce issue

1. Login as system admin
2. Open window tab and field and look for sales order. from order line tab navigate to C_OderLine table
3. on C_OrderLine table, add field name comment with reference type string. and length 10 and set column sql as '12345678912345'
4. Login to garden world tenant and open Sales order window. A message displayed "Too many characters are entered. At most 10 characters are allowed."
5. Press Ok and navigate to next order having order line. Error like below is image displayed.

Environment

None

Assignee

Unassigned

Reporter

Deepak Pansheriya

Labels

None

Tested By

None

Components

Affects versions

Priority

Minor
Configure