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.
PreviousTransactionLineLink.nextline
Here's the query and output of my Netsuite suiteQL query
Query: SELECT * FROM PreviousTransactionLineLink ptll WHERE ptll.nextdoc = 5012317
Result:
[
{
"discount": "F",
"foreignamount": null,
"lastmodifieddate": "2021-08-26 15:43:14",
"linktype": "DropShip",
"nextdate": "2021-08-26 00:00:00",
"nextdoc": 5012317,
"nextline": 1,
"nexttype": "PurchOrd",
"previousdate": "2021-08-26 00:00:00",
"previousdoc": 5012315,
"previousline": 4,
"previoustype": "SalesOrd"
}
]
Yet, If I query
SELECT * FROM PreviousTransactionLineLink ptll WHERE ptll.nextdoc =5012317
AND ptll.nextline = 1
I get no results.
The only think that I added in the second query is AND ptll.nextline = 1
and there's definitely a row with that value as evidenced by the first query result.
Does anyone know why filtering by PreviousTransactionLineLink.nextline doesn't seem to work?