is there any table that joins products and subsidi...
# ask-stanley-ai
b
is there any table that joins products and subsidiary
c
AI generated answer (using internal Slack threads):
Based on the conversations, it appears that there is a table that joins products (items) and subsidiaries in NetSuite. The table is called
kitItemSubsidiaryMap
. You can query this table using SuiteQL. Here is an example of how you can join the
item
table with the
kitItemSubsidiaryMap
table:
Copy code
sql
select * from item JOIN kititemsubsidiarymap ON item.id=kititemsubsidiarymap.item WHERE ...
This will return all items and their associated subsidiaries. If you want to get items that belong to a specific subsidiary, you can modify the WHERE clause like this:
Copy code
sql
select * from item JOIN kititemsubsidiarymap ON item.id=kititemsubsidiarymap.item WHERE subsidiary='A'
This will return all items that belong to subsidiary 'A'. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797504961
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793930233
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.79294759
Please provide your feedback on this answer.