<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/aad/ttaad3442m100" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Check Report Archiving Rules (ttaad3442m100)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">Use this session to check whether a report will be archived at run time based on the current Report Archiving rules.</Paragraph>
		</AimSection>
		<GeneralSection><List><ListIntro>You can enter the following run time conditions for a particular report:</ListIntro>
				<ListItem>Package VRC where the report is stored</ListItem>
				<ListItem>Session that is used to print the report</ListItem>
				<ListItem>Company that is used to find the data</ListItem>
			</List>
			<Paragraph class="Default">For details of the Report Archiving conditions, refer to the <Link href="/baanerp/tt/aad/ttaad3542m000" role="session">Report Archiving Rules (ttaad3542m000)</Link> session.</Paragraph>
			<List><ListIntro>The conclusion appears in a message box. Example messages:</ListIntro>
				<ListItem>Report will be archived under specified condtions.</ListItem>
				<ListItem>Report will not be archived under specified condtions.</ListItem>
			</List>
			<Paragraph class="Default">Evaluation of the condition:</Paragraph>
			<Paragraph class="Default">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.</Paragraph>
			<ProcedureList><ListIntro>The following priority is applicable:</ListIntro>
				<ListItem>Package VRC</ListItem>
				<ListItem>Session</ListItem>
				<ListItem>Company</ListItem>
			</ProcedureList>
			<Paragraph class="Default">Example:</Paragraph>
			<Paragraph class="Default">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.</Paragraph>
			<TABLE width="20%" border="2" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Rule</TD>
						<TD rowspan="1" colspan="1">Report</TD>
						<TD rowspan="1" colspan="1">VRC</TD>
						<TD rowspan="1" colspan="1">Session</TD>
						<TD rowspan="1" colspan="1">Company</TD>
						<TD rowspan="1" colspan="1">Active</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD rowspan="1" colspan="1">1</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">ALL</TD>
						<TD rowspan="1" colspan="1">ALL</TD>
						<TD rowspan="1" colspan="1">ALL</TD>
						<TD rowspan="1" colspan="1">Yes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">2</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">ALL</TD>
						<TD rowspan="1" colspan="1">200</TD>
						<TD rowspan="1" colspan="1">No</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">3</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">SERVICE</TD>
						<TD rowspan="1" colspan="1">200</TD>
						<TD rowspan="1" colspan="1">Yes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">4</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">SALES</TD>
						<TD rowspan="1" colspan="1">ALL</TD>
						<TD rowspan="1" colspan="1">Yes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">5</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">ALL</TD>
						<TD rowspan="1" colspan="1">300</TD>
						<TD rowspan="1" colspan="1">No</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph class="Default"></Paragraph>
			<List><ListItem>Rule 1 specifies that INVOICES must always be archived.</ListItem>
				<ListItem>Rule 2, being more specific, specifies that archiving INVOICES is not required in the localized VRC in company 200.</ListItem>
				<ListItem>Rule 3 specifies that report INVOICES from session SERVICE must also be archived in company 200.</ListItem>
				<ListItem>Rule 4 and 5 clash for SALES in company 300. Therefore, according to the priority, rule 4 is chosen.</ListItem>
			</List>
			<Paragraph class="Default">The following is an example table with print jobs that also shows whether or not jobs will be archived based on the previous rules:</Paragraph>
			<TABLE width="51%" border="2" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Job</TD>
						<TD rowspan="1" colspan="1">Report</TD>
						<TD rowspan="1" colspan="1">VRC</TD>
						<TD rowspan="1" colspan="1">Session</TD>
						<TD rowspan="1" colspan="1">Company</TD>
						<TD width="102" rowspan="1" colspan="1">Archive?</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD rowspan="1" colspan="1">1</TD>
						<TD rowspan="1" colspan="1">Orders</TD>
						<TD rowspan="1" colspan="1">STANDARD</TD>
						<TD rowspan="1" colspan="1">SALES</TD>
						<TD rowspan="1" colspan="1">200</TD>
						<TD width="102" rowspan="1" colspan="1">No (no rule)</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">2</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">STANDARD</TD>
						<TD rowspan="1" colspan="1">SERVICE</TD>
						<TD rowspan="1" colspan="1">300</TD>
						<TD width="102" rowspan="1" colspan="1">Yes (rule 1)</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">3</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">SALES</TD>
						<TD rowspan="1" colspan="1">300</TD>
						<TD width="102" rowspan="1" colspan="1">Yes (rule 4)</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">4</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">SALES</TD>
						<TD rowspan="1" colspan="1">200</TD>
						<TD width="102" rowspan="1" colspan="1">Yes (rule 4)</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">5</TD>
						<TD rowspan="1" colspan="1">INVOICES</TD>
						<TD rowspan="1" colspan="1">LOCAL</TD>
						<TD rowspan="1" colspan="1">SERVICE</TD>
						<TD rowspan="1" colspan="1">200</TD>
						<TD width="102" rowspan="1" colspan="1">Yes (rule 3)</TD>
					</TR>
				</TBODY>
			</TABLE>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/tt/onlinemanual/100110" role="manual">ERP LN Report Archive</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
</Session>
