You need to sign in to do that
Don't have an account?
avideoncrmdev
.Net API data type double, currency
Using the SF API to integrate with a c-sharp web app, whenever I try to insert a record that has a field of SF datatype currency or numeric, the record is inserted with a null value in that field. If I change the field to required in SF, the record does not get inserted, as expected. I created my project by making a web reference to the enterprise wsdl as in the examples.
How do I insert a value into the Numeric type field?
Thanks in advanced,
John
Just solved my own problem. I forgot to set the equivalent field "specified" to true. So for example, where I was trying to update:
----
payment.Amount__c = total; // where total is a double
----
I forgot to add
----
payment.Amount__c = total;
payment.Amount__cSpecified = true;
----