I am having strange issues querying NetSuite using SuiteQL.
I am using a query based on TO_DATE: where lastmodifieddate > TO_DATE( '2023-03-01 05:24:25', 'YYYY-MM-DD HH:MI:SS' ) order by lastmodifieddate for some reason NetSuite SuiteQL is only using the date part in the WHERE clause.
This seems to work: But this way I guess I won't get an index search:

Has anyone tried anything like this? I am trying to get items changed after a certain timestamp. But I only get update from a certain date ...

OK... It is an Dateformat thing ....
YYYY-MM-DD HH24:MI:SSxFFis the "normal" way of doing things. Extra issue: it is the local time of the NetSuite instance.TO_CHAR ( lastmodifieddate, 'YYYY-MM-DD HH24:MI:SSxFF TZH:TZM' )results in2023-03-01 09:10:19.000000000 +01:00