Beispiel #1
0
 private void ActivateRuleConfig(msdyn_PostRuleConfig qualifyLeadRule)
 {
     _serviceProxy.Execute(new SetStateRequest
     {
         EntityMoniker = qualifyLeadRule.ToEntityReference(),
         State         = new OptionSetValue((int)msdyn_PostRuleConfigState.Active),
         Status        = new OptionSetValue((int)msdyn_postruleconfig_statuscode.Active)
     });
 }
 private void ActivateRuleConfig(msdyn_PostRuleConfig qualifyLeadRule)
 {
     _serviceProxy.Execute(new SetStateRequest
     {
         EntityMoniker = qualifyLeadRule.ToEntityReference(),
         State = new OptionSetValue((int)msdyn_PostRuleConfigState.Active),
         Status = new OptionSetValue((int)msdyn_postruleconfig_statuscode.Active)
     });
 }