...
If you are not sure what each of these does, edit them in the regular user interface, then update Mavens Mate so it helps to make sense. Then you can try to get some consistency throughout your app by quickly setting the right values and then saving the object. See https://www.salesforce.com/us/developer/docs/api_meta/Content/meta_searchlayouts.htm for more details.
Validation Rules
Code Block | ||
---|---|---|
| ||
<validationRules> <fullName>Billing_State_in_Aus</fullName> <active>true</active> <description>Check that the Billing State is correct in AUS</description> <errorConditionFormula>AND ( OR(BillingCountry = "Australia", BillingCountry="Aus", ISBLANK(BillingCountry)), OR( LEN(BillingState) < 2, NOT( CONTAINS("WA:SA:NT:NSW:QLD:VIC:ACT:TAS", BillingState) )))</errorConditionFormula> <errorDisplayField>BillingState</errorDisplayField> <errorMessage>The state must be a valid Australian State. WA,SA,NT,NSW,QLD,VIC,ACT,TAS, or enter a Country other than Australia.</errorMessage> </validationRules> |
...