zoukankan      html  css  js  c++  java
  • org2 Account Load

    crmForm.all.var_remark.Disabled = false;
    if ((crmForm.all.var_businesstype.SelectedText=='other')&&(crmForm.all.var_buyingcategory.SelectedText=='other'))
    {
    crmForm.all.var_remark.Disabled 
    = true;
    }
    else
    {
    crmForm.all.var_remark.Disabled 
    = false;
    }

    var accountID = crmForm.ObjectId;

    crmForm.all.primarycontactid.lookupbrowse 
    = 1;
    crmForm.all.primarycontactid.additionalparams 
    = “fetchXml=<fetch mapping=’logical’> <entity name=’contact’> <all-attributes/><filter type=’and’><condition attribute=’parentcustomerid’ operator=’eq’ value=’” + accountID + “‘/><condition attribute=’statecode’ operator=’eq’ value=0/></filter></entity></fetch>”;

    crmForm.all.primarycontactid.additionalparams 
    += “&selObjects=2&findValue=0″;
  • 相关阅读:
    生活重心
    做自己才对,想多只会徒增烦恼
    列下计划,一个个实现吧
    公司搬迁
    限制文件的类型
    总结
    mvc mvp mvvm区别
    sessionStorage
    localStorage点击次数存储
    2016.09.01 html5兼容
  • 原文地址:https://www.cnblogs.com/janmson/p/1441758.html
Copyright © 2011-2022 走看看