A sales order has several lines, each of them havi...
# ask-stanley-ai
m
A sales order has several lines, each of them having a field "job", which connects to a project. How do I get the value in this field with SuiteQL , given that the transactionline field is not called "job" what is it called instead? please give me a valid SuiteQL statement that will list the jobs/projects on each transaction line
c
AI generated answer (using internal Slack threads):
In NetSuite, the field that connects to a project on a sales order line is not called "job", it's called "Project". You can access this field in SuiteQL using the "Project" field in the "TransactionLine" table. Here is a sample SuiteQL statement that will list the projects on each transaction line:
Copy code
sql
SELECT TransactionLine.Transaction, TransactionLine.Project
FROM TransactionLine
This statement will return a list of transactions and the associated projects. Please note that the project field will return the internal ID of the project, not the project name. If you want to get the project name, you would need to join with the "Project" table. ****** 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.840625584
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831749201
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825861931
Please provide your feedback on this answer.