Any changes made inside the record can be reflected (Bolded) in PDF template.

1. Create a custom field inside the record.
2. write the script to find the changes made inside the record.
3. Store that changes inside the custom field.
4. Similarly create the code given below in the style part of the PDF template.
<#if record.custbody_jj_store_value?length != 0>
${record.custbody_jj_store_value}{
font-weight: bold;
}
</#if>
// custbody_jj_store_value is the custom field created inside the record.
5. Call it with the id given below where the change is to be bolded.
id=”itemtr${item_index}”
6. For example :
Suppose the sales order record 2nd item line is changed
In here if the record 2nd item line/row is changed then the value in the id will be
id=”itemtr${2}” from the custom field.
7. This line with the id will be updated during the iteration.
8. This same scenario can be performed for columns, body fields etc.

Leave a comment

Your email address will not be published. Required fields are marked *