PatriciaW Posted June 28, 2005 Posted June 28, 2005 Can anyone explain when does validation occur when one is trying to create a new record via a script. I want to initialize some of the fields in the record via the script, however, there are some mandatory fields. When I execute the script ... which does a New Record/Request followed by a number of set fields (not including the mandatory field,) I get a message that the mandatory field requires a value. If I reply Ok to that message I then get a message that the New Record/Request has been cancelled ... do I wish to continue?. Clearly I am doing things in the wrong order ... but so far I cannot find how this order is controlled. What triggers record validation?
RalphL Posted June 28, 2005 Posted June 28, 2005 Try setting the validation to "Only during data entry" instead of "Always".
Wim Decorte Posted June 28, 2005 Posted June 28, 2005 in your script, after doing the set fields do a commit record step and toggle the option to skip validation. See if that works for you.
Recommended Posts
This topic is 7091 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now