我正在开发一个插件(asp 页面),它应该作为参数电话号码并在CRM 2013
.
电话号码没有标点符号和空格,例如:
PhoneNum = Replace(PhoneNum, "-", "")
Dim query As New QueryExpression() With
{
.Distinct = False,
.EntityName = "contact",
.ColumnSet = New ColumnSet("contactid", "fullname")
}
Dim queryCriteraFilter1 As New FilterExpression()
queryCriteraFilter1.FilterOperator = LogicalOperator.Or
queryCriteraFilter1.AddCondition(New ConditionExpression("telephone1", ConditionOperator.Like, {PhoneNum}))
我的问题是如何格式化与 PhoneNum 相同的字段 phone1 以匹配确切的记录。
任何帮助,将不胜感激