You may find it easier to copy an existing document and modify it, but if you want to create a new one, this is how to do it:
To create a new configurable document:
Go to Document Designer.
Select the document type for the document you want to create, and click Add (
).
It is important to set this to the correct document type first, as document types determine which forms Coins ERP+ offers a user when printing a document. Some document types may have additional features, such as more than one type of repeating line.
Give the document a code and a description. Coins ERP+ uses the code to identify the document; the description is used when giving the user a choice of which document to print. You can have different documents for the same document type, to allow you to print using different layouts.
Because continuation headers and footers can be different heights from headers and footers (typically first page headers could show more information than continuation headers), you need to specify the number of body (repeating) lines on first and continuation pages. The number of lines you can fit on the page will depend on the total heights specified for header and footer lines, and the height specified on the body lines.
If you only want the document to be used in some companies (for example if you want to use documents with different company logos or addresses in different companies), select the companies.
If you only want certain users to be able to print the document, select the user group they belong to.
Choose a page layout for the document.
Choose a default Class for the document. A Class is a combination of formatting features, such as font, size, color and background
Add Extra Formatting if required; as a minimum enter the text ‘margin=0mm,padding=0mm’ to account for differing FOP versions.
For each form (header, continuation header, body, continuation footer, footer), give a name. You can call these whatever you like, but when you set up the fields to print on the document, you use these codes to specify which form they appear on. If you want the header and continuation header to be the same, give them the same names (similarly with the footer and continuation footer). Note that the form you nominate as the body form is used to specify the formatting (especially the line height) of blank lines at the end of the repeating body data. Each document must have a form called BODY.
Many documents use other form names that are specific to the type of document. For example, Job Receivables statements use additional forms for certificate lines, invoice lines, CS cash lines and SL cash lines within the body of the document. Enter your names for these on the Extras tab. See the side-frame help or the documentation for each module for more details.
Documents can be stored against tables. The tables available will depend upon the document type you selected. If this option is selected, when the document print file is generated, Coins ERP+ creates separate PDFs for each relevant record in the table, and stores the PDF against that record.
If you do not want users to be able to select the document for printing (for example, while you are still designing it) clear the Live check box.
Save the document.
Then add field records.
As you configure the document, you can preview the layout. Click the Preview link in the header to display a two-page PDF that contains dummy values for all the fields, but allows you to view the general layout of the document.




