is there somewhere where I can view field restrict...
# suitescript
k
is there somewhere where I can view field restrictions? e.g., the
firstname
field on a Customer record can't have more than 32 characters
s
I did an analysis of various fields several years ago and came up with some numbers. This may have changed in the past 3 years, but should still be fairly accurate
Contact: (Full Name: 40) First Name: 32 Last Name: 32 Email: 64 AltEmail: 64 Phone: 22 AltPhone: 21 Fax: 21 Job Title: 99 Address: Attention: 70 Addressee: 100 Address 1: 150 Address 2: 150 Address 3: 150 City: 50 State: List Zip: 36 Country: List Phone: 50 Customer: Name: 83 Email: 230 Phone: 22 AltPhone: 21 Fax: 21
💯 1
These numbers were accurate as of 9/25/2014 (longer ago than I thought). Hopefully still useful
k
thanks!
s
another oddity of the phone and fax fields. they can either be empty (they are optional), but if they have a value at all, they have a minimum length of 7. You cannot store a value between 1 and 6 characters in them.
m
That phone number restriction is annoying because numbers in Australia can have 6 digits. We have to pad with spaces.
s
Our workaround was to require a country code for all phone numbers, which ensures they will all be at least 7 characters