I’m trying to create a Customer record via SuiteTa...
# suitetalkapi
m
I’m trying to create a Customer record via SuiteTalk (using Boomi) and I’m having trouble setting a value for a custom segment which is applied to the customer record. Is there a trick to getting the right values set in the SOAP request?
j
this is much easier if you can use the 2019.2 (I think) or later API. Should just appear like a "normal" custom field. Otherwise you have to either modify your schema or use scripting (write to a regular custom field and use the script to push that value to the custom segment)
m
Thanks, Jon. I am using the 2019.2 endpoint and I was able to get it to work by setting
internalid
to a value, and
value->internalid
to the option that I wanted, but I have no idea how to make this account-independent since the first
internalid
would change between accounts.
j
I'm fairly sure there's a way to do this using external IDs - assuming these are populated consistently - I haven't used boomi in a while I'm afraid so this is all from memory. That said, you I think you could also use a saved search to populate a cross-reference table in boomi and look up internal id using your account-independent variable + netsuite account - if the list is static then you wouldn't need to call this as frequently
👍 1