Austin Cai
10/17/2023, 11:06 PMSELECT * FROM transaction WHERE transaction.type = 'VendBill'
• we can query for files using this SuiteQL query: SELECT File.* FROM File WHERE File.id = XXX
However, I can’t figure out how to get the File ids for attachments to a purchase order / vendor bill. Does anyone know how to do this? Thank you! Any help is greatly appreciated 🙏Austin Cai
10/17/2023, 11:15 PMSELECT * FROM purchaseorders
but it did not work.David B
10/18/2023, 1:07 AMDavid B
10/18/2023, 1:07 AMAustin Cai
10/18/2023, 6:19 PMin terms of querying attachments, it seems transaction/record attachments are not queryable via suiteQLAh, I see. That’s disappointing but good to know. What do you mean by
N/search
? Is that a REST endpoint I can use to query for files by purchase order?Austin Cai
10/18/2023, 6:22 PMAustin Cai
10/18/2023, 6:27 PMN/search
can only be used with SuiteScript though, right? Is there any way to query for files attached to a PurchaseOrder using a REST API?David B
10/18/2023, 9:12 PM