Customer Code xxxxxxxxx will get truncated, as max characters allowed is 140

tried to enter more than 10 customer numbers in customer details part in an item gave me this error as if the limit is on the total number of ref codes not on each one

%D8%A8%D8%AF%D9%88%D9%86%20%D8%B9%D9%86%D9%88%D8%A7%D9%86

@Mohammad_Nasser you can resolve it by changing the type of this field from “Data” to (Small Text, Text or Long Text).
https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/articles/field-types

You can also try to change the “Length” property of the field.

Hi, were you able to get a solution for this? We are facing the same issue.

As @Igormbq has stated you will need to choose a field with a different type to enter more than 140 characters.

Sorry, I am not sure how many characters the other types allow, maybe some one can help on this
Types

  1. Text
  2. Small Text
  3. Long Text
  4. Text Editor (in case you want to format your input with bullet points etc).

have found some info on this

text: 65,535 characters. Should be plenty :smiley: