<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tl/vsc/tlvsc3100s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Warnings (tlvsc3100s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to handle <Link href="/baanerp/tl/glossary/glossary#000102" role="glossary" Update="No">warnings</Link> that VSC generates during the verification of software components. VSC generates warnings, based on the checks that are defined for the <Link href="/baanerp/tl/glossary/glossary#000103" role="glossary" Update="No">verification codes</Link>.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">This session plays an important role in the procedure to handle warnings. For details, refer to <Link href="/baanerp/tl/onlinemanual/vsc_to_handle_warnings" role="manual">To handle warnings</Link>.</Paragraph>
		</GeneralSection>
	</HelpTopic>
	<Fields><FieldGroup><Title>Warning</Title>
			<FieldHelp ID="tlvsc300.vcod"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Verification Code</Title>
				</Header>
				<FuncDesc>The <Link href="/baanerp/tl/glossary/glossary#000103" role="glossary">verification code</Link> for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.clan"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Language</Title>
				</Header>
				<FuncDesc>The language of the software component for which the warning was generated.</FuncDesc>
				<SimpleSection><Paragraph class="Default">This field is only filled for language-dependent components, such as forms, reports, menus and labels.</Paragraph>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.vers"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC (Version)</Title>
				</Header>
				<FuncDesc>The version of the package VRC of the component, for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.rele"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC (Release)</Title>
				</Header>
				<FuncDesc>The release of the package VRC of the component, for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.cust"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package VRC (Customer)</Title>
				</Header>
				<FuncDesc>The customer extension of the package VRC of the component, for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.comt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Component Type</Title>
				</Header>
				<FuncDesc>The type of software component for which the warning was generated. For example: report, session, script, or DLL.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.cpac"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Component (Package)</Title>
				</Header>
				<FuncDesc>The package code of the software component for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.cmod"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Component (Module)</Title>
				</Header>
				<FuncDesc>The module code of the software component for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.scmp"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Component (Code)</Title>
				</Header>
				<FuncDesc>The code that identifies the software component for which the warning was generated.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.subc"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Sub Component</Title>
				</Header>
				<FuncDesc>The subcomponent where the error occurs. Each software component type has its own types of subcomponents.</FuncDesc>
				<SimpleSection><List><ListIntro>Examples of subcomponents are:</ListIntro>
						<ListItem>A form command in a form.</ListItem>
						<ListItem>A field in a form.</ListItem>
						<ListItem>An index in a table.</ListItem>
						<ListItem>A text field in a table.</ListItem>
						<ListItem>A field section in a UI script.</ListItem>
						<ListItem>A choice section in a UI script.</ListItem>
						<ListItem>And so on.</ListItem>
					</List>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.prio"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Priority</Title>
				</Header>
				<FuncDesc>The priority of the <Link href="/baanerp/tl/glossary/glossary#000102" role="glossary">warning</Link>: high, normal, suspicious, or low.</FuncDesc>
				<SimpleSection><List><ListIntro>VSC automatically assigns a priority to each generated warning:</ListIntro>
						<ListItem>The priorities for warnings that are generated based on <Link href="/baanerp/tl/glossary/glossary#000105" role="glossary" Update="No">source analyze codes</Link>, are defined in the <Link href="/baanerp/tl/vsc/tlvsc3111m000" role="session">Source Analyze Codes (tlvsc3111m000)</Link> session.</ListItem>
						<ListItem>The priorities for warnings that are generated based on all other types of checks are hard coded in the VSC software.</ListItem>
					</List>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.catg"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Category</Title>
				</Header>
				<FuncDesc>The category to which the <Link href="/baanerp/tl/glossary/glossary#000102" role="glossary">warning</Link> belongs.</FuncDesc>
				<SimpleSection><List><ListIntro>The following categories exist:</ListIntro>
						<ListItem>General</ListItem>
						<ListItem>Tools Consistency</ListItem>
						<ListItem>Application Design</ListItem>
						<ListItem>Application Logic</ListItem>
						<ListItem>Standards</ListItem>
						<ListItem>Text</ListItem>
						<ListItem>Performance</ListItem>
						<ListItem>Integration</ListItem>
						<ListItem>Runtime</ListItem>
						<ListItem>Export.</ListItem>
					</List>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.lnnr"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Script Line Number</Title>
				</Header>
				<FuncDesc>The line number in a script where the error occurs.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.msid"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Message ID</Title>
				</Header>
				<FuncDesc>The code that uniquely identifies the message that is assigned to the warning.</FuncDesc>
				<SimpleSection><Paragraph class="Default">For example: the message ID for a warning is 5053. The corresponding message text is "Function 'sleep' is not supported by WebTop".</Paragraph>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="mes1" OtherIDs="mes2 mes3"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Description</Title>
				</Header>
				<FuncDesc>The text of the message that is assigned to the warning, usually followed by "=&gt;" and a hint for an alternate implementation.</FuncDesc>
				<SimpleSection><List><ListIntro>For example:</ListIntro>
						<ListItem><Code>Function 'sleep' is not supported by WebTop =&gt; Disable the command</Code>
						</ListItem>
						<ListItem><Code>Goto statements are forbidden =&gt; while, repeat, for</Code>
						</ListItem>
					</List>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="tlvsc300.fiat"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Accepted</Title>
				</Header>
				<FuncDesc>Select this check box to accept the warning. You must enter the reason for acceptance in the <GUIRef href="/baanerp/tl/vsc/tlvsc3100s000#mesaction" role="field">Description</GUIRef> field.</FuncDesc>
				<SimpleSection><Paragraph class="Default">Clear this check box if you want to solve the warning.</Paragraph>
					<List><ListIntro>For example, VSC has generated the following warning: "Possible missing break in case statement".</ListIntro>
						<ListItem>If this break is not missing, but left out on purpose, you can select this check box and accept the warning.</ListItem>
						<ListItem>If this break was left out accidentally, you must clear this check box and solve the warning.</ListItem>
					</List>
					<Paragraph class="Default">For more information, refer to <Link href="/baanerp/tl/onlinemanual/vsc_to_handle_warnings" role="manual">To handle warnings</Link>.</Paragraph>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="mesaction"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Description</Title>
				</Header>
				<FuncDesc>If you select the <GUIRef href="/baanerp/tl/vsc/tlvsc3100s000#tlvsc300.fiat" role="manual">Accepted</GUIRef> check box to accept a warning, you must enter the reason for acceptance in this field.</FuncDesc>
			</FieldHelp>
		</FieldGroup>
		<FieldGroup><Title>Rules Information</Title>
			<FieldHelp ID="sh_desc"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Short Description</Title>
				</Header>
				<FuncDesc>A short description of the error that was found by VSC.</FuncDesc>
				<SimpleSection><Paragraph class="Default">For example:</Paragraph>
					<CodeBlock space-and-orientation="indented-estimated">Presence of goto statements</CodeBlock>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="descr.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Description</Title>
				</Header>
				<FuncDesc>A more detailed description of the error that was found by VSC.</FuncDesc>
				<SimpleSection><Paragraph class="Default">For example:</Paragraph>
					<CodeBlock space-and-orientation="indented-estimated">The use of 'goto' statement is forbidden.

Exception: within #defines it is allowed. Sometimes it is needed (e.g. exception handling)</CodeBlock>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="moti.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Motivation</Title>
				</Header>
				<FuncDesc>The reason why the situation indicated in the error message is not correct.</FuncDesc>
				<SimpleSection><Paragraph class="Default">For example:</Paragraph>
					<CodeBlock space-and-orientation="indented-estimated">'Goto' statements reduce the readability of script code dramatically.</CodeBlock>
				</SimpleSection>
			</FieldHelp>
			<FieldHelp ID="solu.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Possible Solution</Title>
				</Header>
				<FuncDesc>A hint for a possible solution.</FuncDesc>
				<SimpleSection><Paragraph class="Default">For example:</Paragraph>
					<CodeBlock space-and-orientation="indented-estimated">Implement structured code (early return or if-then-else statements)</CodeBlock>
				</SimpleSection>
			</FieldHelp>
		</FieldGroup>
		<FieldGroup><Title>Example 1</Title>
			<FieldHelp ID="ex1_stat"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Status</Title>
				</Header>
				<FuncDesc>The status of the displayed example. For example: "correct" or "wrong".</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex1.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Example 1</Title>
				</Header>
				<FuncDesc>An example that can help you to understand and solve the error.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex1_note"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Note</Title>
				</Header>
				<FuncDesc>A note with additional information about the example.</FuncDesc>
			</FieldHelp>
		</FieldGroup>
		<FieldGroup><Title>Example 2</Title>
			<FieldHelp ID="ex2_stat"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Status</Title>
				</Header>
				<FuncDesc>The status of the displayed example. For example: "correct" or "wrong".</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex2.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Example 2</Title>
				</Header>
				<FuncDesc>An example that can help you to understand and solve the error.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex2_note"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Note</Title>
				</Header>
				<FuncDesc>A note with additional information about the example.</FuncDesc>
			</FieldHelp>
		</FieldGroup>
		<FieldGroup><Title>Example 3</Title>
			<FieldHelp ID="ex3_stat"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Status</Title>
				</Header>
				<FuncDesc>The status of the displayed example. For example: "correct" or "wrong".</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex3.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Example 3</Title>
				</Header>
				<FuncDesc>An example that can help you to understand and solve the error.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex3_note"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Note</Title>
				</Header>
				<FuncDesc>A note with additional information about the example.</FuncDesc>
			</FieldHelp>
		</FieldGroup>
		<FieldGroup><Title>Example 4</Title>
			<FieldHelp ID="ex4_stat"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Status</Title>
				</Header>
				<FuncDesc>The status of the displayed example. For example: "correct" or "wrong".</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex4.txt"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Example 4</Title>
				</Header>
				<FuncDesc>An example that can help you to understand and solve the error.</FuncDesc>
			</FieldHelp>
			<FieldHelp ID="ex4_note"><Header>
					<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Note</Title>
				</Header>
				<FuncDesc>A note with additional information about the example.</FuncDesc>
			</FieldHelp>
		</FieldGroup>
	</Fields>
</Session>
