Function inclusion into PDF or email template

Each time a new style is created, a progressive identification number (id) is assigned.

style identificator

To include the styled table in the PDF or email template, add the following function syntax

$(custom : PADProductsTableSimple||12)$

or

$(custom : PADProductsTableCursum||42)$

or

$(custom : PADRelatedRecords||32)$

In the first case the simple table for the lineitems is inserted
In the second one the table with currency and summaries are included
In the third one the table of related records.

NB: leave a space before and after “:” and no spaces before and after “||”.

PAD functions can be inserted into specific html tags:

  • directly into body <body>

  • in section <div>

  • paragraph <p>

  • table cell <td>

If a PAD function is inserted inside different html tags, like <a>, <strong>, <b>, <i>, etc, the YetiForce PDF engine will issue an error.

Error

Call to undefined mothod YetiForcePDFLayoutInlineBox::appendStyleBox()