+ Start a Discussion
roysmith601.3493067652527424E1roysmith601.3493067652527424E1 

help: how to write validation rule on custom object

Hi,

I create a custom object "opp product"  and the reuirment is below:

field # 1: Process (which is flied date)

field # 2 : closing stage (which is pick list )

field # 3 : closing stage owner  (which is lookup field on oppportunity)

field # 3 : App recieved by  (which is lookup field on user)

 

the requirment is that if the processing filed had  date picked and closing stage = app recv then closing stage owner  should be App recieved by .

I am not sure that how to write a validation rule for this.

please help me and i am new to salesforce.

thanks

roysmith601.3493067652527424E1roysmith601.3493067652527424E1

Hi,

I create a custom object "opp product"  and the reuirment is below:

field # 1: Process (which is flied date)

field # 2 : closing stage (which is pick list )

field # 3 : closing stage owner  (which is lookup field on oppportunity)

field # 4 : App recieved by  (which is lookup field on user)

 

Here is the requirment

" if Processing Complete is not null then set UWClosingStage = App Received  and set UWClosingowner  = Received By"
please help me for validation rule.
thanks

 

AshesAshes

Hi,

 

Why you are doing this by Validation rules. Instead of validation rule you can use Workflow or Trigger.

In workflow you just have to write field update.

If you are going by trigger then just have to write a trigger on before update.

 

Regards,

Ash18