
Originally Posted by
tomkerswill Hi,
This has been touched on before in the forums but I could do with a little more info if anyone is able to help...
Our company uses Sage, which assigns a unique ID to each customer account. I'd like to add this to the list of fields in the Accounts module.
I've done this using the custom fields panel, editing the necessary forms in the studio to display the new customer_id field.
However, I need to make sure the field is unique. The only way I could find to do this was to use phpmyadmin and assign a unique index to the new customer_id field.
This is fine, but when a user *does* type a non-unique ID, Sugar gives no error, but the customer ID is not recorded. Is there any facility for handling unique fields in Sugar itself?
Thanks in advance
Tom
Bookmarks