You need to sign in to do that
Don't have an account?
Null value is not updating to Salesforce Contact from Java
Hi,
we have a java application which is connets to Salesforce. based on the some logic, I should set to Contact's Limit(Custom field- Integer type) field to "Null", then I have to update it using EnterpriseConnection.
whereas i have updated from java as below
Contact.setLimit(null);
java Log shows null is assigned to Limit and succesful update command. but if i check in respective salesforce contact. it's not updated to null value.
whereas same code is working for all not null scenario's.
I have checked in salesforce there are no work flows and triggers not available on this field.
any help is appreciated.
Rgds,
Buss
you need to set it via the fieldsToNull properties, e.g. contact.setFieldsToNull( new String [] { "limit" } );