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

CREATE NEW OBJECT INTO SALESFORCE through API BY C#
I want to create a record into salesforce.However, the record is created with correct data of Sales_Memo__c field and Product_Name__c field.But no quantity in the record of .Quantity__c field.In Salesforce, the data type of Quantity__c is 'number(18,2)'.Below is the c# coding for importing into salesforce by API.What wrong of it?
SalesMemoItem.Sales_Memo__c = "a0n90000000HwEo";
SalesMemoItem.Product_Name__c = "Milk container";
Sales_Memo_Item__c SalesMemoItem = new Sales_Memo_Item__c();
string str = "1";
SalesMemoItem.Quantity__c = Convert.ToDouble(str);
SaveResult[] results = binding.create(new sObject[] { SalesMemoItem });
See http://boards.developerforce.com/t5/NET-Development/Why-is-my-date-number-boolean-being-ignored-for-create-and/td-p/4708