raghav
08/16/2023, 1:29 PMClay Roper
08/16/2023, 1:35 PMtransactionline
to get createdfrom
- you can always search the Records Catalog for details on fields/columns in various records/tables.raghav
08/17/2023, 7:49 AMClay Roper
08/17/2023, 8:44 PMSELECT
tran.id,
tran.tranid,
BUILTIN.DF(line.createdfrom) AS so_num
FROM transaction AS tran
JOIN transactionline AS line
ON line.transaction = tran.id
WHERE
tran.id = xxxx AND
line.mainline = 'T'
where xxxx
is the internal ID of the customer deposit. In my testing, it works as expected and shows the Sales Order.raghav
08/18/2023, 1:12 PMClay Roper
08/18/2023, 2:59 PMtransaction
table with corresponding line details in transactionline
and data in other joined tables, depending on the transaction type and instance specifics. There might be a Customer Deposit-specific view or search column set that allows you to pull the salesorder
field for convenience, but that's not something accessible via SuiteQL.
Between ODBC SuiteConnect, SuiteQL, Saved Search, Analytics Workbooks, and probably others, there are major and minor differences between record and field names as well as the data accessible by each. It really just takes experience working with them and learning the edges of each to sort it out IMOraghav
08/18/2023, 4:31 PM