当我们在CRM 4.0里将一个BusinessUnit禁用后,我们会发现引用BusinessUnit的Lookup类型的字段里,这些被禁用的组织单位依然显示在列表中,解决个问题很简单,就是有点繁琐;按照如下步骤即可解决:
1. Customization -> Custom Entities -> Account -> Forms and View -> Main form -> Change the Form Properties -> OnLoad event
Function OnLoad ()
{
var oLookup=crmForm.new_hfi7658id;
oLookup.lookupclass="BasicOwner";
}
Note that new_hfi7658id is the lookup field referencing to businessunit
2. Save and publish the customization
没有评论:
发表评论