Brett Graffis Posted June 5, 2024 Posted June 5, 2024 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.
Lindsay Klatzkin Posted June 5, 2024 Posted June 5, 2024 Putting the RECORDNO in that RVENDOR field should work. That's how it's working for me with a similar situation.
Preston, Charlie Posted June 6, 2024 Posted June 6, 2024 Instead of the integration name for the field, look at the integration name for the relationship (likely to be R*****) and use that passing in the RECORDNO for the vendor.
Recommended Posts