Discussions
Here are some examples to get your creative juices flowing.
"Did I pay vendor John Doe last month?"
"Take me to my largest sales order for this month."
"What invoices haven't been paid yet?"
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>