function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
m 3m 3 

need to write validation rule

1.If Status = Invoiced and Vehicle usage type is null
2.If Status = Invoiced and sale type is null
3.If Status = Cancelled and Net Payment Amount is not null
4.If Registered owner is Company and Account address type is not Registered
5.If Registered owner is Company and Account is null
6.If Manager Approval is not there for payment
7.If Registered owner is Company and Account is null
8.If Exshowroom Price is null or onroad price is null
Ajay K DubediAjay K Dubedi
Hi,
There are some links in which some examples are given through these examples you will definitely find the solution:
1. https://help.salesforce.com/articleView?id=fields_defining_field_validation_rules.htm&type=5
2.https://trailhead.salesforce.com/en/content/learn/modules/point_click_business_logic
3. https://developer.salesforce.com/docs/atlas.en-us.usefulValidationRules.meta/usefulValidationRules/fields_useful_field_validation_formulas.htm

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi