Bala
01/09/2025, 6:19 PMCeligo AI
01/09/2025, 6:19 PMAI generated answer (using internal Slack threads):To get the Purchase Order (PO) records based on the last modified date using SuiteQL, you can use the
lastmodifieddate
field in your WHERE clause. Here is a basic example of how you can structure your SuiteQL query:
sql
SELECT * FROM transaction
WHERE type = 'PurchOrd' AND lastmodifieddate >= TO_DATE( '2020-11-24 00:00:00', 'YYYY-MM-DD hh24:mi:ss' )
In this query, replace '2020-11-24 00:00:00'
with the date and time you want to use as your starting point. The format for the date and time is 'YYYY-MM-DD hh24:mi:ss'
.
If you don't need the time precision and only want to compare the date, you can use the following format:
sql
SELECT * FROM transaction
WHERE type = 'PurchOrd' AND lastmodifieddate >= TO_DATE( '2020-11-24', 'YYYY-MM-DD' )
Please note that the type
field is used to filter the transactions for Purchase Orders (PurchOrd).
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
01/09/2025, 6:19 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811186254
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.790405571
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.79012996
Celigo AI
01/09/2025, 6:19 PMCeligo AI
01/10/2025, 5:42 AM