Field help (ARZPATNAM) 

Is used to indicate a template (or "pattern" according to the terminology used) to generate the finale file that will be printed. This field is not mandatory for a manual creation of a file by using the ARZ_REPORT action.

When a template is defined, it is stored in the base and versioned. It is then possible to use a given version number.

A template contains one or several sections with ZPL code inside. In order to create a template, the user must create this file in the PAT directory of the current application by giving it a name that will be the name recalled in the file and an extension pat. It should be noted that a zoom is used to inquire the pattern files but cannot be used to filter them (the user should use a dedicated editor to do so).

To create a new report, the template file must exist if it has been entered and the creation of the record will lead to the reading of the file and the storage of its characteristics in the base in the form of a number 1 version.

It is then possible to supply a modified template by placing a new version of the file in this directory, by storing this new version via right click New version on this template code. It the creation date of the new file is the same as the version of the previous file, the message "No new version" will be displayed, otherwise the system stores in the base the new version, increases the new version and suggests by default this new version for the report (but it is possible to return by selecting a previous version).

A pattern file can be one of the following types: