Using web services to create a library document creates the record but puts NULL values in fields that are integers (IDs and filesize). I confirmed that the IDs are valid and tried passing them as integers and strings with the same results. Any ideas
Dim MyEWBase As CRM_WS.ewarebase()
ReDim MyEWBase(1)
Dim newEntry As New CRM_WS.library()
newEntry.filepath = strpath & "\"
newEntry.filename = strFile
newEntry.companyid = intComp
If intPers > 0 Then newEntry.personid = intPers
newEntry.type = "Report"
newEntry.caseid = intCase
newEntry.status = "Final"
newEntry.global = "N"
newEntry.filesize = intSize
newEntry.mergetemplate = "N"
newEntry.note = "Auto created from email from " & strFrom
MyEWBase(0) = newEntry
Dim aresult As CRM_WS.addresult
aresult = binding.add(SH, "Library", MyEWBase)
Dim newLibID As CRM_WS.crmid
newLibID = aresult.records(0)