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.
Mostrar la cantidad restante en la plantilla PDF/HTML avanzada del comprobante de retiro
Se aplica a
Producto: NetSuite 2025.1
Escenario
Existe un requisito para imprimir la «Cantidad restante» en el Comprobante de retiro utilizando plantillas PDF/HTML avanzadas, siguiendo la fórmula: Cantidad del artículo - Cantidad del artículo ejecutada.
Solución
- Navegue a Personalización > Formularios > Plantillas PDF/HTML avanzadas
2. Plantilla PDF/HTML avanzada preferida: haga clic en Editar o Personalizar
3. Código fuente: agregue el siguiente código Consulte el siguiente fragmento de código para imprimir la cantidad restante debajo de la parte donde se encuentra la tabla de artículos
<thead> ... <tr> <th>Quantity Remaining</th> </tr> </thead> </#if><tr> <#if item.quantityfulfilled?has_content> <#assign x = item.quantity-item.quantityfulfilled> <#else> <#assign x = item.quantity> </#if> <td>${x}</td> </tr> </#list><!-- end items --></table></#if>
¡Hola, Bienvenido/a!
Para ver los detalles completos, inicia sesión.
¿No tienes una cuenta? ¡Haz clic aquí para comenzar!