Home » Developer & Programmer » JDeveloper, Java & XML » Passing values to the Validation Rule error message (JDeveloper, 10.1.3 , Windows)  () 1 Vote
icon9.gif  Passing values to the Validation Rule error message [message #330356] Sun, 29 June 2008 20:43 Go to next message
ahmad_zabin
Messages: 2
Registered: June 2008
Junior Member
Hello

Could anybody help me please

I have the following inquiry :
I am using JDeveloper 10.1.3
I am working on ADF and JSF environment
I have entity object called "Invoices"
and I have the following business rule
" Total purchases from any supplier should not exceed 5000 $ per month "
I am using a validation query to check for the purchases from
specific supplier and validate the Amount.
and I want the message for this validation rule to be :
" Total purchases for this supplier is X , you cannot purchase more than 5000 $ "
where X is variable depending on the supplier ?

Regards
Re: Passing values to the Validation Rule error message [message #331284 is a reply to message #330356] Wed, 02 July 2008 21:38 Go to previous message
ahmad_zabin
Messages: 2
Registered: June 2008
Junior Member
I think I have to make a custom rule bean
:
see "Implementing Custom Validation Rules"

http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.sm0477/vtTopicFile.bcadfdevguid e%7Cbcadveo~htm/

Previous Topic: loading xml file into table
Next Topic: SQL using Java
Goto Forum:
  


Current Time: Thu Mar 28 18:18:24 CDT 2024