Isaac
08/11/2025, 10:20 PMCeligo AI
08/11/2025, 10:20 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** Based on the conversations, it seems that fetching the contact role of a contact attached to an invoice via REST, SOAP, or SuiteScript might not be straightforward. In the first thread, the user attempted to retrieve the contact(s) with a particular contact role for a particular customer using SuiteQL or SuiteScript, but it didn't return anything. Another user suggested a join between entity.id (or customer id) and contact.company, but it's unclear if this approach was successful. In the second thread, a user was trying to create a contact with a vendor relationship in SuiteScript. The suggestion was to create the contact and set the company to the vendor ID. However, when it came to setting roles, it was mentioned that the sublist might not be scriptable. In the third thread, a user was trying to get a list of contacts attached to a transaction along with their roles. It was suggested that the contact to transactions could be obtained via search, but the actual role might not be retrievable beyond the primary one. Therefore, it seems that while you can fetch contacts attached to an invoice or transaction, getting the specific contact role might not be possible or straightforward using SuiteScript, REST, or SOAP.
Celigo AI
08/11/2025, 10:20 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831285596
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823691249
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821138322
Celigo AI
08/11/2025, 10:20 PMCeligo AI
08/11/2025, 10:21 PM