<!here> does anyone know how I can test Render mod...
# suitescript
s
@here does anyone know how I can test Render module using Script Debugger? I’m able to run it successfully, but it doesn’t open window for PDF. Feels like I’m missing something.
Copy code
/**
 *@NApiVersion 2.x
 */
require([‘N/render’],
    function(render) {
        function renderTransactionToHtml() {
            var transactionFile = render.transaction({
            entityId: 434783,
            printMode: render.PrintMode.PDF
            });
        }
        renderTransactionToHtml();
    });