+ Start a Discussion

upsert with relationship

I'm trying to integrate salesforce with our legacy DB.  I have an Order__c with Order_Products__c Master Detail relationship.  When I am building my soap message how do I reference the detail fields?  I'm using Java to do the integration.  Anyone have an sample code or is this possible?  I assume it will be something similar to Order__c.fieldName  Any guidance?
Michael SnowMichael Snow
I found it a lot easier to use Apache Axis to generate stubs for your enterprise WSDL.  Then you can use set and get methods.