Specifying the structure of documents and pages within the batch
In addition to creating page types for each document type, you need to configure rules and variables for the pages and documents.
About this task
- Car Rental document
- Rental Agreement page
- Optional Insurance page
- Flight document
- Air_Ticket page
- Hotel document
- Room_Receipt page
The business requirements specify the following rules for the structure of each document type:
Document type | Number | Required? | Order |
---|---|---|---|
Car Rental | Any number per batch | No | Any position within batch |
Rental Agreement | One per document | Yes | Must be first in document |
Optional Insurance | One per document | No | Cannot be first in document |
Flight | Any number per batch | No | Any position within batch |
Air_Ticket | One per document | Yes | Must be first in document |
Hotel | Any number per batch | No | Any position within batch |
Room_Receipt | One per document | Yes | Must be first in document |
Variable | Description |
---|---|
Max | Maximum number of objects of this type for each parent object. 0 means no maximum; 1 means Datacap creates a new document each time it encounters a page of this type, and so forth. |
Min | Minimum number of objects of this type for each parent object. 0 means no minimum; 1 means there must be at least one, and so forth. |
Order | Position of this object relative to other child objects of the same parent. 0 means any position. |
Document type | Max | Min | Order |
---|---|---|---|
Car Rental | 0 | 0 | 0 |
Rental Agreement | 1 | 1 | 1 |
Optional Insurance | 1 | 0 | 2 |
Flight | 0 | 0 | 0 |
Air_Ticket | 1 | 1 | 1 |
Hotel | 0 | 0 | 0 |
Room_Receipt | 1 | 1 | 1 |
To specify the structure of documents and pages within the batch:
Procedure
- Confirm that the document hierarchy is still locked for editing.
- Right-click the Car_Rental document node and choose Manage variables.
- Set the Max, Min, and Order values (The Car_Rental document is 0, 0, 0.), and click Done.
- Right-click the Rental_Agreement page node and choose Manage variables.
- Enter the Max, Min, and Order values. (The Rental_Agreement page is 1, 1, 1.), and click Done.
- Repeat for each of the remaining document and page types.
- Click Save.