01-17-2013 08:21 AM
I m new to SalesLogix and really need some help
I need before I save the contact that the Country must be validated this mean that my user most get a notification
telling him that the country most be add before proceding ?
Is there any way to do it ?
01-17-2013 08:27 AM - edited 01-17-2013 08:28 AM
There are a few ways to carry this out:-
On the "OnBeforeInsert" rule, adding your validation code checking the country field is correctly inserted, if not, throwing a ValidationException which will return to the user as a popup when they try to save the record. You would need to add this to the "Address" entity and check the related entity (Field: "EntityID") is a contact rather than an account.
The advantage of the first method would be that the validation would work for the mobile client and any sData applications you have on site. As far as I can remember, both methods are covered by the Sage Web Developer Training Program.
01-17-2013 08:43 AM