1. Set up the extract template for the termination run. For example, the name of this extract template is TAXRUN_TERMINATION.
2. Access the Termination run function (GENHRTEXTTER). In the Termination run screen, the system automatically calls the TAXRUN_TERMINATION extract template.
3. Define the selection criteria for which is run is being performed.
4. Click OK. The system runs the following elements:
Fields
The following fields are present on this tab :
Extract template
| Enter the code of the extract template you are about to create or want to modify. |
| Enter the title of the extract template you are about to create or want to modify. |
Type of run
| Select this check box to generate data to be used on the .csv file and printouts. The file and printouts will be flagged as 'Test'. |
| Select this check box to generate data to be used on the .csv file and printouts. The file and printouts will be flagged as 'Live'. |
| Select this check box if you want to avoid accidental clearing of data from the previous run. |
| Select this check box if you want to clear the data of the previous Live run. |
Setup
| Enter the name of the file you want to generate. |
| Enter the extension of the file (.csv) you want to generate. |
| Define a field separator such as a comma for example. |
| Define a field delimiter such as double quotes for example. |
|   |
| If you want to generate the certificates to print after the data extraction, enter the name of the corresponding report. |
| The system populates the selection criteria by default according to the extract template. |
| Enter the name of the program that compiles the different data coming from the different tables. |
| Enter the access code that protects this extract template. |
Numeric fields
|   |
|   |
|   |
No data message
| Enter the text that displays in the extract file if no header records or no detail records for the parameters are found. |
|   |
Close
Presentation
In the Source data grid, select the level at which the data will be displayed and enter the names of the tables that contain the data.
The Filters grid contains fixed filters for the template. You cannot modify the data of this grid.
Close
Fields
The following fields are present on this tab :
Grid Source data
| Header line
Detail line
Footer line
|
| Enter the name of the table containing the data. |
| Enter the expression that links the data to each other. |
Grid Filters
| The Filtersgrid contains fixed filters for the template. You cannot modify the data of this grid.
|
|   |
|   |
|   |
Close
Presentation
The Selection criteria tab contains default filters provided by Sage. You cannot modify these defaults parameters.
Fields
The following fields are present on this tab :
| The Selection criteria tab contains default filters provided by Sage. You cannot modify these defaults parameters.
|
|   |
|   |
|   |
|   |
| The Selection criteria tab contains default filters provided by Sage. You cannot modify these defaults parameters.
|
|   |
|   |
|   |
|   |
|   |
Presentation
Use the Definitiontab to define the following elements:
Use the Groups grid to define how data are grouped.
Use the Definition grid to define how the extract file looks like physically.
Close
Fields
The following fields are present on this tab :
Grid Groups
| Select the level at which the data is displayed. |
| Enter the fields that you want to group. |
|   |
Grid Definition
| Select the level at which the data is displayed. |
| Name of the field. |
|   |
| Fixed pre-fix text. |
| Field type - alpha or numeric. |
| Field length. |
| Formula used to calculate the value of the field. |
|   |
| Title of field when reporting errors on it. It is only used if the value in the Mandatory field is 'Yes', and the result is blank. |
| Select 'Yes' if the field is mandatory. |
| If you select 'Yes' the system extracts the data of the field even if the field contains a 0 or spaces. |
| Enter an exclude formula to force the field not to print. |
| Specifiy where the item should add up to. |
| Formula used to determine how the total specified in the Total field field is affected. |
|   |
|   |
|   |
|   |
Close
Presentation
Use the Validations tab to validate the data that you have defined in the Definition tab. Define conditions and define if the system should display an error message or set a field value if the condition is true.
Close
Fields
The following fields are present on this tab :
Grid Validations
| Level at which the data is displayed. |
| Select the validation type. Display error
Set field value
|
| If the Warning check box is selected and the condition is not met, the extract process is stopped. |
| If the type is Display error, if there is a condition and if the condition is true, the system displays an error message. Enter this error message in the Message column. If the type is Set field value, if there is a condition and if the condition is true, the system sets the field entered in the Set field column with the value contained in the Formula column. |
| If the type is Set field value, if there is a condition and if the condition is true, the system sets the field entered in the Set field column with the value contained in the Formula column. |
|   |
| If the type is Display error and if there is a condition and if the condition is true, the system displays an error message. Enter this error message in the Message column. |
Close