To display item table in pdf based on date created using advanced pdf/html template. The button is available in invoice record. The date considered should be the created date in the related sales order. <#if record.item?has_content> <#assign cutoffDate = “01/02/2025”?date(“dd/MM/yyyy”)> <#assign createdFromDate = record.createdfrom.trandate> <#if createdFromDate?has_content> <#assign soDate = createdFromDate> <#if soDate < cutoffDate>… Continue reading To display item table in pdf based on date created using advanced pdf/html template
Tag: createddate
Filters using suitelet script
Problem: Create a suitelet script that loads a custom search US CASES – HOURS TO CLOSE search result in a given format for klipfolio and create filters for ‘created date condition’ also replace the same condition with that of UI by using splice() method. Solution load the custom search 2.Add the filters 3.Replace the condition… Continue reading Filters using suitelet script