• Ldynes
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies

Hi,

 

Can any of you 'Super Smarties' help me with a validation rule that would say in effect:

 

If Billing country is CA then Currency must be CAD

If Billing country is US then Currency must be USD

 

Thanks to anyone that can help!

Hi,

 

Can any of you 'Super Smarties' help me with a validation rule that would say in effect:

 

If Billing country is CA then Currency must be CAD

If Billing country is US then Currency must be USD

 

Thanks to anyone that can help!

Hi all,
 
I would like to be able to force users to have a solution linked to a case before they can close the case. Salesforce provides the following code, which works great:
Code:
<html>
<head>
<script src="/soap/ajax/13.0/connection.js">
</script>
<script>
function init()
{
var queryResult = sforce.connection.query("Select count() from CaseSolution Where CaseId = '{!Case.Id}'");
var size = queryResult.size;
if (size > 0) {
//go to the standard case close page without invoking the override
window.parent.location.href = "{!URLFOR($Action.Case.CloseCase, Case.Id, [retURL=URLFOR($Action.Case.View, Case.Id)], true)}"
}
else {
alert("Case must contain at least one solution before it can be closed.");
//go to the standard case detail page
this.parent.location.href = "{!URLFOR($Action.Case.View, Case.Id)}";
}
}
</script>
</head>
<body onload="init()">
<p>&nbsp;</p>
</body>
</html>

I need to extend this code to force it only when:
there is no solution linked to the case, and 2 specific values are selected in 2 different case picklist fields.
I have tried different things but nothing works.
 
Does anyone know? Thank you very much
Julian
  • September 09, 2008
  • Like
  • 0
I've set up a number of data validation rules. I'd like to add some code that would make each of these validation rules apply to the other profiles, but not be required by the System Administrator profile.
 
Can someone explain what I need to do?
 
Thanks!
Our recruiter is giving this app a try - he likes but for one thing - we can't figure out how to convert APPLICANTS to CANDIDATES.  Anyone have a clue?  The app is from SFDC but I have no idea who to ask for some help.
 
Thanks,
 
Lee