You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ValidationException with a defined variable

Received Response
12
Views
7
Comments
edited Jan 30, 2020 8:19PM in Sales 7 comments

Content

I'm looking to have a validation exception or warning pop up and visible to the user but I want to include a def variable and not specifically a hard-coded message as seen below. Is this possible in CX Sales 19D. These code snippets in my Functions aren't working for me. Any ideas?

throw new oracle.jbo.ValidationException(‘MESSAGE: ’ + variableName) 

or

throw new oracle.jbo.ValidationException(variableName)

- Ronin

Version

19D

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!