Aaron McCausland
06/09/2026, 1:04 PMCeligo AI
06/09/2026, 1:04 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you're looking for an example of SuiteQL in a MapReduce script, where the SuiteQL is joining Transaction, TransactionLine, and a custom record type. Unfortunately, the conversations provided do not contain a specific example of this. However, they do provide some guidance on how you might approach this. In the getInputData stage of your MapReduce script, you would use SuiteQL to query your data. This query would join the Transaction, TransactionLine, and your custom record type. The result of this query would then be passed to the map stage of your MapReduce script. Here's a simplified example of how you might structure your SuiteQL query:
javascript
function getInputData() {
var suiteQL = "SELECT T.*, TL.*, CR.* FROM Transaction T JOIN TransactionLine TL ON T.id = TL.transactionId JOIN CustomRecord CR ON T.id = CR.transactionId";
var resultSet = query.runSuiteQL(suiteQL);
return resultSet;
}
In this example, T represents the Transaction record, TL represents the TransactionLine record, and CR represents your custom record. The JOIN operation is used to combine these records based on their transactionId.
Please note that this is a simplified example and you would need to adjust it based on your specific needs and the structure of your data.
******
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
06/09/2026, 1:04 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846191406
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.840942442
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832641602
Celigo AI
06/09/2026, 1:04 PM