You need to sign in to do that
Don't have an account?

Using API call "create" is not saving non string variables ints and doubles.
The code sample below (from http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_create.htm ) works, but if I add the line "account.AnnualRevenue = 11000.00;" and view the newly created account in SalesForce, the name and website appear but the AnnualRevenue, which is a double does not. In testing any string parameter I added to account (like phone) appeared on the Account tab while non strings (like number of employees which is an ) did not.
private void createAccount() { //Create an account object to send to the service Account account = new Account(); //Set several properties account.Name = "Koka Kola"; account.Website = "www.kokakola.com"; // Add the account to an array of SObjects sObject[] records = new sObject[] {account}; // Invoke the create call, passing in the account properties // and saving the results in a SaveResult object SaveResult[] saveResults = binding.create(records); // Access the new ID String newID = saveResults[0].id; }
account.annualRevenueSpecified = true;
account.annualRevenue = 10;
Currently we are integrating our web site with salesforce using apex api and dotnet.
We have been successful in adding opportunities , accounts etc.
http://blog.sforce.com/sforce/2006/02/data_loading_ma.html