What would be the recommended way to get the delet...
# suiteql
p
What would be the recommended way to get the deleted records using SuiteQL? I'm assuming
DeletedRecord
table but wanted to double check.
n
Yep DeletedRecord
Copy code
SELECT
	DeletedRecord.isCustomTransaction,
	DeletedRecord.context,
	DeletedRecord.deletedDate,
	DeletedRecord.deletedBy,
	DeletedRecord.isCustomList,
	DeletedRecord.isCustomRecord,
	DeletedRecord.name,
	DeletedRecord.recordId,
	DeletedRecord.recordTypeId,
	DeletedRecord.scriptId,
	DeletedRecord.type
FROM
	DeletedRecord
Thats all your fields you get along with the joins you can make
p
Thank you for confirming @Nathan L!
👍 1