I'm trying to get System Notes via SuiteQL (tried ...
# suitescript
b
I'm trying to get System Notes via SuiteQL (tried both systemnote and systemnote2 tables) but get empty list. Is it possible? do i need to enable something?
n
System Notes V2 worked for me. You may want to ask in the suiteanalytics channel if you have no luck here.
FROM SystemNote2
CaseSensitive?
b
sql is case insensitive, it does not matter
thanks for your kind help
j
@NElliott What tool are you using for your queries?
b
Tim's one
n
j
Thank you! Is it for free?
Saw now that it is free
sorry
b
btw, you can view the permissions needed here, really helps: https://timdietrich.me/blog/netsuite-suiteql-tables-permissions-reference/
j
Wonderful, thank you
b
j
Can you export the results to excel? I can't seem to find that option
b
yes
j
Not getting my head around the table references.. there is a query in the remote catalogue in the suitelet that is: "-- Contributor: Tim Dietrich (timdietrich@me.com) -- Additional Info: https://timdietrich.me/blog/netsuite-suiteql-journal-entries-gl-impact/ SELECT BUILTIN.DF( TransactionAccountingLine.Account ) AS Account, TransactionAccountingLine.Debit, TransactionAccountingLine.Credit, TransactionAccountingLine.Posting, TransactionLine.Memo FROM TransactionAccountingLine INNER JOIN TransactionLine ON ( TransactionLine.Transaction = TransactionAccountingLine. Transaction ) AND ( TransactionLine.ID = TransactionAccountingLine. TransactionLine ) WHERE ( TransactionAccountingLine.Transaction = 88417362 ) AND ( ( TransactionAccountingLine.Debit IS NOT NULL ) OR ( TransactionAccountingLine.Credit IS NOT NULL ) ) ORDER BY TransactionLine.ID" But, there is no table called "TransactionLine" in the table reference..