Announcements
No record found.
Hi Community,
I would like to locate PO in SQL and i wonder if you can help me to understand what are the SQL query I should be inputing.
Thank you!
Hi,
You can use below
SELECT *
FROM YourTablenamehere
where [Document Type] = 1;
Thanks Nitin, what if I only wants to select one purchase Order?
You can add one more filter with No.
FROM [Document No_]
where [Document Type] = 1 and [No_] ='YourPONohere'
Hi, just to add a useful info
https://www.w3schools.com/sql/sql_where.asp
Hope this helps as well.
Thanks.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,850 Super User 2026 Season 1
YUN ZHU 1,084 Super User 2026 Season 1
Dhiren Nagar 959 Super User 2026 Season 1