So...thanks again! I have been able to successfully auto-populate 4 fields from Sales Org. Here is the XPath for one of them (Payment Terms):
xdXDocument:GetDOM("Default-Values")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Payment_Terms[../d:Sales_Org = xdXDocument:GetDOM("Sales_Orgs1")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[../d:ID = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:SalesOrg7]]
Default-Values: SharePoint List
Payment_Terms: the column in Default-Values which I am populating into the corresponding field in the form
Sales_Org: the column in the data connection Sales_Orgs1
Sales_Orgs1: the data connection mentioned above, which also contains a lookup column SOCountryLook, that points to a SharePoint List called Countries (which contains a column called Country)
SalesOrg7: the field in the form
So...clearly I am not fluent in XPath syntax. I have 8 more fields I want to auto-populate values for, but off of Country values instead of Sales Org values. These are all values that can also be found in the Default-Values SharePoint List.
Here is the XPath for setting the Sales Org from the Country:
xdXDocument:GetDOM("Sales_Orgs1")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[../d:SOCountryLook = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Country4]
Country4: the field in the form
Country: the name of the country column in Default-Values (in case that is needed)
Any ideas? I simply can't seem to make this work...
-Jake