Imen
06/12/2025, 4:18 PMCeligo AI
06/12/2025, 4:18 PMAI generated answer (using internal Slack threads):To get the field
vatregnumber
of the customer record using SuiteQL, you would typically use a SELECT statement to query the customer table. However, based on the conversations, it appears that the vatregnumber
field is not directly exposed for querying in SuiteQL.
One of the users mentioned a workaround where they use a custom field custentity_vatregnumber
that copies the vatregnumber
when a vendor is created or edited. This custom field can then be used in SQL queries.
Here is a sample SuiteQL query that you might use if you had such a custom field:
sql
SELECT custentity_vatregnumber FROM customer WHERE id = 'your_customer_id'
Please replace 'your_customer_id'
with the actual ID of the customer record you want to query.
Remember to create and set the custom field custentity_vatregnumber
to copy the vatregnumber
whenever a customer record is created or edited.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
06/12/2025, 4:18 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833522677
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.830414057
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825359941
Celigo AI
06/12/2025, 4:18 PM