You need to sign in to do that
Don't have an account?
NicolaiP
SOQL behaves really strange!
Hi,
I have an odd problem with a SELECT string, trying to get data from Salesforce.
If I use "SELECT Unit_Price__c FROM Equipment_Data__c", it perfectly returns the Unit_Price__c
If I use "SELECT Deal_Type__c FROM Equipment_Data__c", it perfect returns the Deal_Type__c
But if I use "SELECT Unit_Price__c, Deal_Type__c FROM Equipment_Data__c", it only receives the Deal_Type__c correct, but return a "null" value for Unit_Price__c
Unit_Price__c is a "Number(16,2)" and Deal_Type__c is a Picklist (single).
What is wrong?
Any help really appreciated.
Best regards,
Nicolai
Hi again,
I found out that it was an error ind the wdsl file. So now the problem is solved! :)
Thanks everybody
Best regards,
Nicolai
All Answers
SELECT Unit_Price__c, Deal_Type__c FROM Equipment_Data__c
does have Deal_Type__c value
I mean some records may have Unit_Price__c only or both,
some records may have Deal_Type__c only or both,
and some records may have Unit_Price__c only, but not have Deal_Type__c
All records has both values. I tested the exact same SOQL SELECT in Force.com Explorer, and here it perfectly returns all the records and all of them have a value in both fields...?
post your code.
Here you go: :)
Hi again,
I found out that it was an error ind the wdsl file. So now the problem is solved! :)
Thanks everybody
Best regards,
Nicolai
I'm having a similar problem. What was the issue with the WSDL file?
Thanks,
-Greg