Si Hobbs
02/20/2025, 7:40 AMCeligo AI
02/20/2025, 7:40 AMAI generated answer (using internal Slack threads):In NetSuite, an Item Fulfillment record is related to a Sales Order record through the
createdFrom
field. This field on the Item Fulfillment record points to the Sales Order from which it was created.
You can use SuiteQL to query this relationship. Here is a simple example of how you might do this:
sql
SELECT * FROM transaction
WHERE createdFrom = {salesOrderId}
AND type = 'ItemFulfillment'
In this query, replace {salesOrderId}
with the internal ID of the Sales Order you are interested in. This will return all Item Fulfillment records that were created from that Sales Order.
However, please note that there is no direct relationship between an Item Fulfillment and an Invoice. Both are created from the Sales Order and have the createdFrom
field pointing to it. If you need to establish a relationship between an Item Fulfillment and an Invoice, you might need to use a custom field and script to store your own link.
******
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
02/20/2025, 7:40 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848475039
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.840665221
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84002459
Celigo AI
02/20/2025, 7:40 AMCeligo AI
02/20/2025, 7:43 AM