【发布时间】:2016-02-14 07:11:17
【问题描述】:
我们使用下面的代码更新了 3 个字段 - 状态(字符串)、日期和布尔值(SalesForce Enterprise WSDL),只有状态得到更新,而日期和布尔值没有更新。甚至尝试对布尔值使用“_cSpecified = True”,但没有奏效。请帮忙。
'Update SalesForce Status to 9, Delivery Date and Delivered Bit Flag
Dim updateQuery As Obj = New Obj
updateQuery.Id = ReportID
updateQuery.Deliver_to_Customer_Date__c = DateTime.Now.Date.ToString.Replace("#", "").Substring(0, 10)
updateQuery.Delivered_to_Customer__cSpecified = True
updateQuery.Status__c = "9 - Pdf report delivered to customer"
Dim SaveResults() As SaveResult = _sForceRef.update(New sObject() {updateQuery})
【问题讨论】:
标签: .net wsdl salesforce enterprise