function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dash27dash27 

Web API - Using External ID to establish Master-Detail or Look Up relationship

Hi -

 

We have a custom object called "Shipments" and a custom object called "ShipmentLineItems".  A ShipmentLineItem has a Master-Detail relationship to a Shipment and has a look-up relationship to Products (the standard object).

 

We are in the process of integrating our web store to automatically create a Shipment and ShipmentLineItems whenever an order is placed. When creating the ShipmentLineItems, I know how to associate it to a Shipment and a Product if i use the SalesForce ID - but how do I associate the ShipmentLineItem to a Product using the Product's External Id (a custom field)? I'm using C#.

 

-Dash27