By default, the transaction table shows the status field as internal IDs in the form of letters. However, they are not descriptive, and users would constantly need to check their equivalent if used as-is. The query below shows how users can retrieve the status field of transactions that show their complete text.
SELECT id AS internal_id, status, BUILTIN.DF(transaction.status) as status_text, number, trandate, type
FROM transaction
WHERE type = 'SalesOrd';
For more information on Internal IDs of the Status field, users may visit SuiteAnswers Transaction Status List of Internal IDs.
—
Got any feedback? Let us know in the comments!