Chris
01/29/2021, 5:58 PMquery.load({ id: 'myquery' });
and coming back with SSS_RECORD_NOT_FOUND
. The id I’m using is from the SuiteAnalytics UI. I’ve tried an existing system generated workbook ids and those work. I’ve also shared my workbook with all roles. Is there something I’m missing here?Chris
01/29/2021, 6:57 PMjwharton
01/29/2021, 6:58 PMChris
01/29/2021, 6:59 PMjwharton
01/29/2021, 7:00 PMjwharton
01/29/2021, 7:01 PMChris
01/29/2021, 7:02 PMChris
01/29/2021, 7:05 PMjwharton
01/29/2021, 7:07 PMjwharton
01/29/2021, 7:10 PMChris
01/29/2021, 7:31 PMjwharton
01/29/2021, 7:37 PMstalbert
01/29/2021, 7:58 PMmichoel
01/31/2021, 12:11 AMrequire(['N/query'], function(query) {
const sql = query.load({ id: 'custworkbookX' }).toSuiteQL().query;
console.log(sql);
});
stalbert
01/31/2021, 6:09 PM