@cwiersum The issue is that both the role and the primary contact indicator isn’t stored on the contact, it’s stored in the join between the entity and the contact. I’ve done this previously by sourcing the contact into a custom field on the transaction, and including it from there.
c
cwiersum
01/29/2018, 5:02 PM
@markderrick Oh okay.. I'm trying to get the primary contact as defined on the transaction, not the entity, but I assume it's similar.
How would you source this? Using Script or can you use the Source List/Source From fields on the transaction body field?
Thank you
m
markderrick
01/29/2018, 5:03 PM
Custom field on the Sales Order - Type=List, Contacts
markderrick
01/29/2018, 5:03 PM
Then you can add a filter in the sourcing to only show contacts for the Entity
c
cwiersum
01/29/2018, 8:42 PM
@markderrick We are currently doing this but we have contacts that belong to more than one customer (e.g. parent & child) so we are ending up with lots of duplicate contacts. Is it possible to filter by the relationships > companies sublist instead of the company field on a contact?
m
markderrick
01/30/2018, 6:26 PM
Are you filtering the contacts by the customer on the transaction?