Skip to main content
Hi all!

 

Gist of the issue:

 

Is there any way to create an Order level validation rule that checks criteria at the Order->Product level as well?

 

The situation I want to cover:

 

If Currency type is changed to USD (ex. from USDN to USD) or another Order level field is changed (a number field we'll call CDI), is there a way to then re-check all Order->Product level lines for proper decimal places?

 

I want to use the ISCHANGED function, but I can't figure out how to add Order->Product level variables to the validation rule. Is it possible?

 

Based on what I can find, it seems there may not be a good way other than triggering a general warning message with visualforce.

 

Does anyone know of a way to perform a check like this? Is there a way to trigger an existing Order->Product level validation rule when changing an Order level field?

 

At the least, I'd like to show the user a warning message when changing the Currency Type or CDI fields at the Order level.

 

Thanks!

 

Cheers,

 

James
3 respuestas
0/9000