Discusiones
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
Imprimir Transacciones y Declaraciones utilizando SuiteScript
Se aplica a
Producto: Netsuite 2024.1
Escenario
En este artículo, puede ver ejemplos sobre cómo usar nlapiPrintRecord para crear documentos PDF para múltiples escenarios.
nlapiPrintRecord(tipo, ID, modo, propiedades)
Devuelve un objeto nlobjFile que contiene el documento PDF o HTML. Esta API está soportada en scripts de eventos de usuario, programados y Suitelet.
Solución
Hay dos usos principales para nlapiPrintRecord: 1. Mandar archivos adjuntos de mail o fax utilizando nlapiSendEmail (autor, receptor, tema, cuerpo, cc, bcc, registros, adjuntos) o nlapiSendFax (autor, receptor, tema, cuerpo, registros, archivos adjuntos. Por ejemplo, se puede crear un objeto PDF o HTML de una transacción o declaración y enviar el objeto como adjunto. Esto sería útil al enviar avisos de cobro mensuales para clientes con facturas atrasadas. 2. Enviar documentos PDF/HTML al servidor (Por ejemplo, para mantener un registro de declaraciones/transacciones en su servidor)
¡Hola, Bienvenido/a!
Para ver los detalles completos, inicia sesión.
¿No tienes una cuenta? ¡Haz clic aquí para comenzar!