Jump to content

Passing Relationship Value to CREATE of Custom Object


 Share

Recommended Posts

I have a Custom Object named process_log that includes a one-to-many relationship to Vendor (e.g. Many process_logs to one vendor).  Looking at the object definition for process_log, the integration name for the vendor field is "RVENDOR".  However, I'm not having difficulty setting/creating that relationship when creating a process_log via code.  I've tried using both Postman to just send XML and also a custom create object with the Node.js SDK

 

My assumption is that the XML should look like

<create>
	<process_log>
    ...
    <RVENDOR>100010</RVENDOR>
    </process_log>
</create>

where 100010 is the VendorId for the related vendor.  Is that correct?  I also tried the RECORDNO.  Neither is working for me.

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...