Sagar Hiray
06/22/2026, 7:10 AMrender.transaction() in SuiteScript 2.x to generate a PDF of transaction records.
var pdfAttachment = render.transaction({
entityId: recordId,
printMode: render.PrintMode.PDF
});
This works correctly for Journal Entries and Bill Payment records, but when I pass the internal ID of a Check transaction, it throws an error and no PDF is generated.
The Check transaction has a print template assigned under the transaction form. I also noticed that manually printing a Check in the UI typically requires using the "Save and Print" button.
My questions are:
1. Does render.transaction() support Check transactions?
2. Are Check PDFs generated differently from other transaction types?
3. Is there any additional setup required (advanced PDF template, check layout, print flag, etc.) for Check records?
4. If render.transaction() is not supported for Checks, what is the recommended way to generate or email a Check PDF from SuiteScript?
Has anyone successfully generated a Check PDF using render.transaction()?Geo
06/22/2026, 1:01 PM<#if records??>
<#assign checkList = records>
<#else>
<#assign checkList = [record]>
</#if>
<#list checkList as check>Geo
06/22/2026, 1:07 PMSagar Hiray
06/23/2026, 8:27 AM