You need to sign in to do that
Don't have an account?
Query problem in accessing downloaded package field using partner and enterprise WSDL
------------------------------------------------------------------------
Provbinding.QueryOptionsValue = New QueryOptions()
Provbinding.QueryOptionsValue.batchSize = 500
Provbinding.QueryOptionsValue.batchSizeSpecified = True
Dim Qresult As QueryResult
Qresult = Nothing
strSOQL = "SELECT sfLma__Install_Date__c, sfLma__Proxy_User__c FROM sfLma__License__c"
Qresult = Provbinding.query(strSOQL)
Dim enddate() As String
if Qresult.size = 0 Then
Me.TotalLicense = Qresult.records.Length
Return 2
end if
------------------------------------------------------------------------
It return queryresult set with 0 value which is not true as I have 1 record in this object sfLma__License__c
and I faced one more problem in above query when I am using created custom field in a downloaded package custom oobject
it throw err like
NVALID_FIELD:
RecordType.Name,sfLma__Expiration__c, Organization_Id__c,PackageExpiryDate__c
^
ERROR at Row:1:Column:91
No such column 'Organization_Id__c' on entity 'sfLma__License__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
------------------------------------------------------------------------
please anybody suggest me any solution on both of the above problem