Validate if Active or Inactive

0
43
Forum Post: Change the Filter On option on Opportunity Associated View for Account form


Hi,

The following code example shows how to use the ConditionExpression class to test for the inactive state.

ConditionExpression condition3 = new ConditionExpression();  

condition3.AttributeName = “statecode”;  

condition3.Operator = ConditionOperator.Equal;  

condition3.Values.Add(AccountState.Active);

Thanks,

Arshad

Please like and subscribe my YouTube Channel and follow my blog for latest interview question and answer.

www.youtube.com/…/videos

juniorcrmblog.blogspot.com/

juniorazurecrm.blogspot.com/



Source link

Leave a reply

Please enter your comment!
Please enter your name here