You need to sign in to do that
Don't have an account?
MattMet86
fieldsToNull - Multiple Values
Can anyone tell me the proper syntax for the fieldsToNull value?
Problem:
I need to null out three custom date fields; Term_Date__c, Audit_Date__c, Benefit_Ineligibility_Date__c
Current Workaround:
I currently pass all records from my source to Salesforce and call the fieldsToNull for each record in the source and I can only populate one value in the fieldsToNull each time. This results in me having to run the entire data set through 3 times to null out all three fields.
Attempted Tweak:
I attempted to tweak my code a bit and reduced the data set down so I only call the records that actually need these fields nulled but now I am getting this error message.
false Adeptia_ID__c Duplicate external id specified: pio000010006 DUPLICATE_VALUE false
false Adeptia_ID__c Duplicate external id specified: pio000010006 DUPLICATE_VALUE false
false Adeptia_ID__c Duplicate external id specified: pio000010006 DUPLICATE_VALUE false
Hopefull Resolution:
I want to be able to call fieldsToNull one time for each record and pass a value of 'Term_Date__c, Audit_Date__c, Benefit_Ineligibility_Date__c'
Problem:
I need to null out three custom date fields; Term_Date__c, Audit_Date__c, Benefit_Ineligibility_Date__c
Current Workaround:
I currently pass all records from my source to Salesforce and call the fieldsToNull for each record in the source and I can only populate one value in the fieldsToNull each time. This results in me having to run the entire data set through 3 times to null out all three fields.
Attempted Tweak:
I attempted to tweak my code a bit and reduced the data set down so I only call the records that actually need these fields nulled but now I am getting this error message.
false Adeptia_ID__c Duplicate external id specified: pio000010006 DUPLICATE_VALUE false
false Adeptia_ID__c Duplicate external id specified: pio000010006 DUPLICATE_VALUE false
false Adeptia_ID__c Duplicate external id specified: pio000010006 DUPLICATE_VALUE false
Hopefull Resolution:
I want to be able to call fieldsToNull one time for each record and pass a value of 'Term_Date__c, Audit_Date__c, Benefit_Ineligibility_Date__c'
I am using an ETL tool called Adeptia, like Informatica, for processing census data and loading that into Salesforce.
Here is an example screen shot if any other Adeptia user ever runs into this issue. I used the clone node command on the element to create the 1 and 2.
All Answers
com.adeptia.indigo.services.ServiceException: INVALID_FIELD: No such column 'Audit_Date__c, Term_Date__c, Benefit_Ineligibility_Date__c' on entity 'Employees__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
<tns:sObjects xsi:type="Employees__c"><ens:fieldsToNull>Audit_Date__c, Term_Date__c, Benefit_Ineligibility_Date__c</ens:fieldsToNull>
<ens:Adeptia_ID__c>PIO000010006</ens:Adeptia_ID__c>
</tns:sObjects>
</tns:upsert>
I am using an ETL tool called Adeptia, like Informatica, for processing census data and loading that into Salesforce.
Here is an example screen shot if any other Adeptia user ever runs into this issue. I used the clone node command on the element to create the 1 and 2.