RE: How to connect invoices to projects using SuiteQl
I am attempting to use SuiteQl to retrieve invoice information together with what project that invoice is connected to.
If I look at the invoice through the NetSuite web site, what project the invoice is linked to is clearly shown in the primary information for the invoice.
What I cannot figure out is how to use SuiteQl to retrieve the invoice and what project it is connected to. I can find the relevant transaction and transactionline records. I can find the project in the NetSuite job table. The records catalog suggest that the entity field can be used to join to the project, but that does not work. The entity field from transaction and transactionline lead to the customer.
What am I missing?
Chris,
I have tried getting all fields and searching for the ID. I have examined the record catalog.
Neither of those things has led me to discover how invoices and projects are connected.
I have also used the rest api to retrieve invoices. In the data returned there, the connection from invoice to project is present. However, using this api one invoice at a time is not practical. I am looking for a SuiteQL solution.
Gary