I have found that when using the function `conn.sobject("Opportunity")...` the related record is being deleted when not instructed. I've seen this happen when using `.update` and `.find` Here is an example : const oppUpdateBody = { orca__Orca_Deal_Room_Id__c: unique_id }; await sfConn.sobject("Opportunity").update({ Id: opportunity_id, ...oppUpdateBody }); forgot to add im using v3.10.8
Activity
cristiand391 commentedon Jan 28, 2026
can you run the code with this env var
JSFORCE_LOG_LEVEL=DEBUGand share the logs?conn.sobject.updateshould be doing an sobject PATCH as doc'd here:https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_update_fields.htm