Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How to Link Work Orders Completion with Work Order in ODBC?
I am trying to get all of the work order completion transactions for a particular work order using the NetSuite data connector.
I can get the work order completion transactions with something like "select * from transaction where recordtype = 'workordercompletion';" and I can get the work order transactions with a similar query. What I can't find is anything that connects the two transaction types to each other.
I had a quick look at adding a custom field to the work order completion record. I thought I might be able to use the 'Created From' or 'Applied To Transaction' fields to link work orders to work order completions and then use that field in my SQL query. But there doesn't seem to be a way to add a field to the work order completion transaction.