| # Check Report Archiving Rules (ttaad3442m100) Use this session to check whether a report will be archived at run time based on the current Report Archiving rules. You can enter the following run time conditions for a particular report: Package VRC where the report is stored Session that is used to print the report Company that is used to find the data For details of the Report Archiving conditions, refer to the Report Archiving Rules (ttaad3542m000) session. The conclusion appears in a message box. Example messages: Report will be archived under specified condtions. Report will not be archived under specified condtions. Evaluation of the condition: The Report Archiving Rules are evaluated in a "most-specific-first" order. For this reason, if for a particular report multiple archive rules would be applicable, the most specific is chosen. The following priority is applicable: Package VRC Session Company Example: Suppose you have a report INVOICES, VRCs LOCAL and STANDARD, sessions SALES and SERVICE, and companies 200, 300, 400. The rules are defined as the following. Note that, for the sake of convenience, some fields are shortened, and check boxes are replaced by ALL.
Rule | Report | VRC | Session | Company | Active
1 | INVOICES | ALL | ALL | ALL | Yes
2 | INVOICES | LOCAL | ALL | 200 | No
3 | INVOICES | LOCAL | SERVICE | 200 | Yes
4 | INVOICES | LOCAL | SALES | ALL | Yes
5 | INVOICES | LOCAL | ALL | 300 | No
Rule 1 specifies that INVOICES must always be archived. Rule 2, being more specific, specifies that archiving INVOICES is not required in the localized VRC in company 200. Rule 3 specifies that report INVOICES from session SERVICE must also be archived in company 200. Rule 4 and 5 clash for SALES in company 300. Therefore, according to the priority, rule 4 is chosen. The following is an example table with print jobs that also shows whether or not jobs will be archived based on the previous rules:
Job | Report | VRC | Session | Company | Archive?
1 | Orders | STANDARD | SALES | 200 | No (no rule)
2 | INVOICES | STANDARD | SERVICE | 300 | Yes (rule 1)
3 | INVOICES | LOCAL | SALES | 300 | Yes (rule 4)
4 | INVOICES | LOCAL | SALES | 200 | Yes (rule 4)
5 | INVOICES | LOCAL | SERVICE | 200 | Yes (rule 3)
Related topics LN Report Archive |