Documenttype vs Document
A DOCUMENTTYPE is a collection of data which describes the characteristics of a type of document. A DOCUMENT is an instance of a DOCUMENTTYPE. Let's explain. Take for example a documenttype named "INVOICE". The documenttype "INVOICE" describes how an invoice looks like, and of which fields it's build up. For example, an invoice has a size of 297 mm x 210 mm, has a 'Customer field', 'Date field' etc.
To create an empty invoice, create a DOCUMENT of this DOCUMENTTYPE. Changes to this DOCUMENT does not affect the DOCUMENTTYPE. For example, you can now fill your invoice with data like Customer, date etc.
If you want to change how the invoice itself looks, you'll have to change the DOCUMENTTYPE.
You can design an unlimited number of documenttypes with CMR-JET.
(eg. MyCMR01, MyInvoice, MyDGD, etc)
A documenttype consists of the following parts :
- General data : eg. Name, Width, Height, Background etc.
- Fields :A document usually has one or more user-editable fields. (eg. Consignee, Remarks etc). You can add an unlimited number of fields of different types to a documenttype. (Text, date, autonumber etc)
- Options : There are a number of options you can set per documenttype, like print options, auto-generate options etc.
also see: Automatically generating documents
|