Ashley
10/16/2025, 7:14 PMCeligo AI
10/16/2025, 7:14 PMAI generated answer (using internal Slack threads):To locate which record an item image is associated with without going through all of the item records, you can use SuiteQL to query the database directly. Here is a sample query that was shared in the conversations:
sql
SELECT
ItemImage.Item,
ItemImage.Name,
ItemImage.AltTagCaption,
ItemImage.SiteList,
File.CreatedDate,
File.LastModifiedDate,
File.FileType,
File.FileSize,
File.URL,
MediaItemFolder.AppFolder
FROM
ItemImage
INNER JOIN File ON
( File.Name = ItemImage.Name)
INNER JOIN MediaItemFolder ON
(MediaItemFolder.id = File.Folder)
WHERE
( Item = 1671 )
This query joins the ItemImage, File, and MediaItemFolder tables to get the details of the image associated with a specific item. Please replace 1671 with the ID of the item you are interested in.
Please note that this query might be slow if you have a large number of records. If performance is a concern, you might want to consider running this query as a separate utility call on a less regular basis.
******
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
10/16/2025, 7:14 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818359435
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817077696
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816040099
Celigo AI
10/16/2025, 7:14 PM