All mail merge templates (see “Set up Mail Merge Documents” for more information) work the same way: in Word, type the text you want to create and when you need a merge field, select the Insert Merge Fields button from the Mail Merge toolbar and select the desired Merge Field to use.
If you create a brand new template or want to experiment with the samples (Club Invoices and Tax Invoices only), then you need to know what template features are required in order to have a useful letter or invoice.
There are two main components to each template: Single Data and Data Indicator Merge Fields. All merge fields in a template are recognized by the << and >> angle bracket symbols surrounding the merge field name.
¨Single Data Merge Fields
These are true merge fields in that they are replaced with a single piece of data. You may place as many merge fields as you want, as many times as you want in a template, but a template should optimally only be one page in length. Most of the Single Data merge fields are self explanatory - like <<Member_Number>> and <<Title>> - but some need an explanation:
<<Formatted_Address…>> - the typical address block formation used in Jonas. Includes blank line roll up and appending ZIP/Postal Code on last address line
<<Raw_Address…>> - raw address data from each address field in the member’s profile; no roll up or appending
<<Reprint_Description>> - will contain the text “Reprint” if the invoice is being reprinted; “Paid in Full” if all charges on the invoice for that member are paid; and “Credit Balance” if the invoice total is negative
<<Invoice_Date>> - the Date of Record the charges were posted
<<TOT_...>> - Column totals. These can be placed anywhere but they will print on all pages of a multi-page invoice.
<<LASTPG_...>> - Column totals. Same as <<TOT_>> merge fields but will only print on the last page of a multi-page invoice. On single page invoices, these behave exactly like <<TOT_>> fields.
<<Custom_Merge_Field_A - E>> - Custom data from the five available Custom Member Info Fields
If the resulting letter or invoice becomes multi-page because of an overflow of data, then these special merge fields will print on each page of the invoice. The <<LASTPG_>> merge fields are normally used within the details table as they are all column total merge fields.
¨Data Indicator Merge Fields
These are unique to the Jonas Mail Merge templates. These fields are always placed within a Word table - the table is where the rows of invoice transaction data is displayed on the invoice. The merge fields’ function is to let the program know what data to print and in which column. The data in these fields repeats for each line of transaction detail printed.
Note: Each Club Invoice template must contain a table in order to display the invoice details. Mail Merge and Dues Renewal Letters depend on a similar construction called a “Billing Block.”
There are two main types of data indicator fields:
Column Indicators (required) - These are the fields that start with <<TBL1_...>>. These tell the system what type of transaction data to print and in which column. They also indicate what row to start displaying the data.
So if your table has the following 6 columns: Date, Reference, Description, Base, Taxes, Total, then in the first column in row 1 or 2, place the <<TBL1_Date>> merge field, etc..
Note: If you have column headings in your table, then place the data indicator merge fields starting in row 2.
End of Detail (recommended) - The <<End_of_Details>> merge field tells the system what row to stop displaying data in and perform a page break if there are more invoice transactions to display. Most of the time this will go in the last row of the table; if omitted, the system will use the last row of the table as its’ End of Details indicator. To use it, it must be placed in Column 1 of the table to be seen and recognized by the system.
So in summary, the details table needs to consist of Column Indicators, an End of Details indicator, and an invoice total code (either <<TOT_>> or <<LASTPG_>> fields depending on the length of your invoice).
¨Billing Blocks
Mail Merge Letters and Dues Renewals will usually include a <<Billing_Block>> element. If you want a letter to include billing information, then you will want to include a Billing Block. This is a table showing all pending Fee Billings for the member (it will include dependants as well). The Billing Block is not considered a merge field because it consists of multiple types of information (like Member #, Fee Billing Description, Amount, etc.). Also, the number of Fee Billings will differ for each member so the number of rows of data will differ from member to member (and thus, letter to letter).
To include a Billing Block:
Place your cursor in the location where you want the Billing Block information to occur.
Go to Insert > Bookmark.
Type Billing_Block for the name of the bookmark and select Add.
¨Special Notes for VAT Users
Clubs who use a tax inclusive system (VAT) will see a slightly different set of merge fields. Any of the tax column fields will incorporate VAT and are labeled accordingly (e.g. <<TBL1_VAT>>, <<TOT_VAT>>, etc.). There are also a separate set of merge fields that would be used if adding a VAT Summary table to the Club Invoice - see the sample UK Invoice Design A provided in your [Jonas drive letter]:\GJCWIN\CLUB\ folder for more information.
¨Tips and Tricks
Once you've created a new template, there are a few things you’ll want to do with it to make the presentation more desirable. Here are a few suggestions:
Lock the row height of any tables. This is highly recommended; because when data is inserted into a table cell, if the data is too long for the cell width, the text will wrap causing the row height to double. This will push everything below it downwards causing unwanted results. This is especially required if using preprinted forms. Do this by:
Selecting the table; then right click and select Table Properties
Select the Row tab
In the Size section, select Specify Height and set to 0.2" (or whatever measure works for you) and set Row height is to Exactly
Make tables transparent. This is required if using preprinted forms that already have the lines and boxes for the data. Do this by:
Select the table; then right click and select Borders and Shading
Select the Borders tab
Select the None setting
Right justify data in the amounts columns. Normally, monetary amounts are right justified in a table. Do this by:
Select all cells in the table that are used to display monetary amounts
Right click and choose the appropriate positioning from the Cell Alignment sub menu
Place text around a table or logo. If you use a small table or a logo in the top portion of the invoice, you probably want to have text and merge fields placed on the same line in the document as the table or logo. By default Word will not allow this. You need to modify the layout of the table or logo:
For tables, select the table, then right click and select Table Properties
Select the Table tab
Under Text Wrapping select Around
For logos, select the logo, then right click and select Format Picture
Select the Layout tab
Under Wrapping Style select Square
Under Horizontal Alignment, select Left or Right (depending if the logo is in the top right or top left of the invoice design)
You may need to play around with some of these to get exactly what you want. As you explore these options screens, you'll find many other ways to enhance your invoices.