Discussions
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.
LENGTH OF A LIST
Hi guys,
In a previous question someone help me with this code
<#list transHash["${payment.internalid}"] as transaction>${transaction.tranid}</#list>
And it brings me all the number bills in a payments but i need to have a especific lenght of 30 characters to that information. Someone knows how can i do it?
This is the code
<#if entityBankNo == "012">PTC</#if><#if entityBankNo != "012">PSC</#if>${setPadding(noCuenta,"left","0",18)}${setPadding(cuentaEmpresa,"left","0",18)}MXP${setPadding(formatAmount(tranAmount,"##.00"),"left","0",16)}<#if entityBankNo != "012">${setPadding(entity.companyname,"left"," ",30)}</#if><#if entityBankNo != "012">${setLength(TipoPago,2)}</#if><#if entityBankNo != "012">${setPadding(entityBankNo,"left","0",3)}</#if><#list transHash["${payment.internalid}"] as transaction>${transaction.tranid}</#list>