We have to get the due date in sales order depending upon the Terms used in the SO.The terms mainly used are 1.Due on receipt 2. N days EOM 3. Net N Where is the N number .eg:Net 30, 15 days EOM
Tag: PDF customization
PDF template for a custom record having several child record
Sales Order Due Date
We have to set Due date in Sales order PDF depend upon SO date and term value such as Net7,Net 15,Net 30 etc..
Remittance PDF
Packing Slip Advanced PDF
Print multiple page copies on single print PDF
Solution To print multiple copies of page in PDF template use <pdfset> tag Example <pdfset> <body> .. ….. </body> </pdfset> <pdfset> <body> .. ….. </body> </pdfset> While clicking on print, this prints 2 copies of that same page. The contents written on the pdfset tag considers as one page.
Highlighting a part in particular field -PDF
Customer field’s internal id is entity, here we can highlight one of the entity field that is separated by colon.
Fix Table Text Alignment on Advanced PDF Template
Fix Table Text Alignment on Advanced PDF Template
Removing Currency symbol
In Advanced PDF customization, we have certain amount fields in item table where currency symbol is not needed. But while fetching from the field the currency symbol will be along with it. To remove these currency symbol we have to use the following code: ${record.amount?string[‘#,###,##0.00’]} <td align=”right” colspan=”3″ style=”height: 8px;border-left:.5px; border-left-color: #A1A0A0;”>${discount?string[‘#,###,##0.00’]}</td>
Printing Currency Symbol in Advanced PDF Template
In Advanced PDF customization, we have certain amount fields where we have to print the currency symbol along with it. But while fetching from the field the currency symbol will be missing. So we should give the currency symbols used by them as dynamically.We have to use the following code <#assign currencySymbol = {“USD”:”$”, “EUR”:”€”,… Continue reading Printing Currency Symbol in Advanced PDF Template