The Usual Suspect
04/29/2022, 6:14 PMShawn Talbert
04/29/2022, 7:15 PMquery
for is to run SuiteQL. I don't like their object model for non SuiteQL queries. I suggest trying rewriting the query as SuiteQL and see if you get better results).The Usual Suspect
04/29/2022, 7:52 PMbattk
04/30/2022, 1:17 AMbattk
04/30/2022, 1:18 AMbattk
04/30/2022, 1:19 AMThe Usual Suspect
05/02/2022, 4:47 PMbattk
05/03/2022, 2:57 AMbattk
05/03/2022, 2:58 AMbattk
05/03/2022, 3:00 AMbattk
05/03/2022, 3:00 AMbattk
05/03/2022, 3:01 AMThe Usual Suspect
05/03/2022, 8:36 PMThe Usual Suspect
05/03/2022, 8:36 PMThe Usual Suspect
05/03/2022, 8:37 PMbattk
05/04/2022, 3:04 AMThe Usual Suspect
05/04/2022, 4:13 PMbattk
05/04/2022, 4:16 PMSELECT
BUILTIN_RESULT.TYPE_CURRENCY(SUM(BUILTIN.CONSOLIDATE(TransactionAccountingLine.amount, 'LEDGER', 'DEFAULT', 'DEFAULT', 1, 25, 'DEFAULT')), BUILTIN.CURRENCY(SUM(BUILTIN.CONSOLIDATE(TransactionAccountingLine.amount, 'LEDGER', 'DEFAULT', 'DEFAULT', 1, 25, 'DEFAULT')))) AS amount /*SUM({transactionlines.accountingimpact.amount#CURRENCY_CONSOLIDATED})*/,
BUILTIN_RESULT.TYPE_STRING(BUILTIN.DF("TRANSACTION".entity)) AS entity /*{entity#DISPLAY}*/
FROM
"TRANSACTION",
TransactionAccountingLine,
transactionLine
WHERE
((transactionLine."TRANSACTION" = TransactionAccountingLine."TRANSACTION" AND transactionLine."ID" = TransactionAccountingLine.transactionline))
AND "TRANSACTION"."ID" = transactionLine."TRANSACTION"
GROUP BY
BUILTIN.CURRENCY(SUM(BUILTIN.CONSOLIDATE(TransactionAccountingLine.amount, 'LEDGER', 'DEFAULT', 'DEFAULT', 1, 25, 'DEFAULT'))),
BUILTIN.DF("TRANSACTION".entity)
battk
05/04/2022, 4:16 PMGROUP BY
BUILTIN.CURRENCY(SUM(BUILTIN.CONSOLIDATE(TransactionAccountingLine.amount, 'LEDGER', 'DEFAULT', 'DEFAULT', 1, 25, 'DEFAULT'))),
BUILTIN.DF("TRANSACTION".entity)
battk
05/04/2022, 4:17 PMbattk
05/04/2022, 4:17 PMbattk
05/04/2022, 4:18 PMBUILTIN.DF("TRANSACTION".entity)
battk
05/04/2022, 4:18 PMBUILTIN.CURRENCY(SUM(BUILTIN.CONSOLIDATE(TransactionAccountingLine.amount, 'LEDGER', 'DEFAULT', 'DEFAULT', 1, 25, 'DEFAULT')))
battk
05/04/2022, 4:23 PM