We use our Quotation as a "Schedule" attached to our Master Service Agreement.
We leverage Advanced PDF/HTML Template and have been using the delivered {message} field to populate a section of the Quotation/Schedule.
This {message} field frequently is not big enough to accommodate all necessary characters.
Historically we have been cheating by using "Description" Items to place this text beneath the saleable items on our Quotation/Schedule. This is not the right placement for this text.. Out latest example required us to split the text into multiple Description Items so the text would not extend into the footer and instead, properly page break.
I created a Custom Transaction Body field type = Long text {record.custbody_other_cust_message} which allows plenty of characters in our Advanced PDF/HTML Template table section 5. Other.
My initial test happened to produce great results, because the text did not exceed the page size.
As a second test I replicated the text a couple times to lengthen the result and the table text for 5. Other overflowed into the footer and beyond.
I need the text in this custom field {record.custbody_other_cust_message} to insert a page break when necessary to prevent the overflow.
My current source code on my form is:
<table style="border:1px solid black;display:table;overflow:hidden;width:100%;">
<thead>
<tr>
<th scope="col" style="text-align: left;">Terms and Conditions</th>
</tr>
<tr>
<td scope="col"><strong>1. General</strong><br />This Schedule is subject to the terms and conditions set forth in the Subscription Services Agreement between the parties dated ${record.custbody_master_agreement_date} and as of its execution becomes a part of the Agreement. In the event of a conflict between this Schedule and the Agreement, the terms and conditions of this Schedule shall control. Capitalized terms used in this Schedule and not otherwise defined shall have the meaning indicated in the Agreement. <br /><br /><strong>2. Effective Date</strong><br />The Schedule is effective on the later date in the signature blocks below. Once executed, this order is non-cancellable. <br /><br /><strong>3. Payment Terms and Conditions</strong><br />The Subscription Service Fee is in consideration of providing the Subscription Service for the Subscription Term beginning on ${record.startdate}. The total fee will be billed annually in advance upon the Effective Date of this Schedule. Payment is due and payable ${record.terms} from receipt of invoice. <br /><br />The Subscription Usage Fees and other fees incurred during the Subscription Term will be billed annually in arrears. Invoices are payable ${record.terms} from receipt of invoice. <br /><br /><strong>4. Additional Schedules</strong><br />The following additional schedules are incorporated into the Agreement, only as they apply to the Subscription Services purchased pursuant to this Schedule:<br /><br /> - <strong>None</strong> - <br /><br /><strong>5. Other</strong><br />${record.custbody_other_cust_message}<br /> </td>
</tr>
</thead>
</table>
I looked at SuiteAnswers
66474 Adding Page Breaks to Tables
79825 Insert a Page Break in Advanced PDF/HTML Templates
90686 Add Page Break Condition on the Advanced PDF/HTML Template for
Can anyone offer any suggestions, additional SuiteAnswers that may be on point?
Thanks all.