<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tl/onlinemanual/vsc_to_handle_warnings" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To handle warnings</Title>
		<Keyword ContextSensitive="No"><Level1>VSC</Level1>
			<Level2>warnings</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>VSC</Level1>
			<Level2>handle warnings</Level2>
		</Keyword>
	</Header>
	<AimSection><Paragraph class="Default">As a result of the <Link href="/baanerp/tl/glossary/glossary#000100" role="glossary" Update="No">VSC</Link> run a list of <Link href="/baanerp/tl/glossary/glossary#000102" role="glossary" Update="No">warnings</Link> is generated.</Paragraph>
		<List><ListIntro>Each warning has various attributes, such as:</ListIntro>
			<ListItem><Link href="/baanerp/tl/glossary/glossary#000103" role="glossary" Update="No">Verification code</Link>.</ListItem>
			<ListItem>Component Type.</ListItem>
			<ListItem>Component, subcomponent and line number where the error occurs.</ListItem>
			<ListItem>Priority: high, normal, suspicious, or low.</ListItem>
			<ListItem>Category: General, Tools Consistency, Application Design, Application Logic, Standards, Text, Performance, Integration, Runtime, or Export.</ListItem>
			<ListItem>Message ID and message text.</ListItem>
		</List>
		<Paragraph class="Default">Whether a warning can be accepted or must be solved, depends on the settings in the <GUIRef href="/baanerp/tl/vsc/tlvsc2110m000" role="session">Verification Filter Defaults (tlvsc2110m000)</GUIRef> session.</Paragraph>
		<List><ListIntro>This section explains:</ListIntro>
			<ListItem>How to handle the filtered warnings on the ERP LN server</ListItem>
			<ListItem>How to accept or solve filtered warnings</ListItem>
			<ListItem>The accepted warnings list</ListItem>
		</List>
	</AimSection>
	<Important><SectionTitle>
                              Important!
                           </SectionTitle>
		<Paragraph class="Default">The following procedure describes how you can handle warnings on the ERP LN server. If you verify software components via the Infor ERP LN Application Studio, the warnings are handled in the Application Studio. For details, refer to the Application Studio documentation.</Paragraph>
	</Important>
	<ProcedureSection><SectionTitle>To handle warnings on the ERP LN server</SectionTitle>
		<ProcIntro><Paragraph class="Default">To handle warnings you must take the following steps:</Paragraph>
		</ProcIntro>
		<Steps><Step><StepTitle>View the list of warnings and the warning details</StepTitle>
				<Paragraph class="Default">To view the generated warnings, you must run the <Link href="/baanerp/tl/vsc/tlvsc3500m000" role="session">Warnings (tlvsc3500m000)</Link> session. You can start this session through the <GUIRef href="/baanerp/tl/vsc/tlvsc3400m000#exec.user.4" role="command" Update="No">Maintain</GUIRef> command in the <GUIRef href="/baanerp/tl/vsc/tlvsc3400m000" role="session">Verify Software Components (tlvsc3400m000)</GUIRef> session, or from the <GUIRef href="" role="manual">Verify Software Components / End Users</GUIRef> menu in the menu browser. To view detailed information for each warning, you must go to the <GUIRef href="" role="manual">Details</GUIRef> tab.</Paragraph>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="405" width="691" SRC="../images/nt_screen_vsc_to_handle_warnings1.gif" path="/enterpriseserver/tools/tl/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_vsc_to_handle_warnings1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tl/images/nt_screen_vsc_to_handle_warnings1.gif" ID="IDARLCAC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>List of generated warnings</FigCaption>
				</Figure>
			</Step>
			<Step><StepTitle>Display the "Filtered to Handle" warnings</StepTitle>
				<Paragraph class="Default">Make sure that the warnings that must be handled immediately are displayed.</Paragraph>
				<List><ListIntro>Depending on the verification filter settings, VSC generates the following types of warnings:</ListIntro>
					<ListItem>"Filtered to Handle" warnings. You must handle these warnings immediately. You must either solve or accept these filtered warnings.</ListItem>
					<ListItem>"Non-filtered" warnings that you do not have to handle immediately.</ListItem>
				</List>
				<Paragraph class="Default">To display the "Filtered to Handle" warnings, you must make sure that the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#tlvsc300.chck" role="field">Filtered to Handle</GUIRef> check box is selected. You cannot select the check box by clicking it. To select (or clear) the check box you must click the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#check.switch" role="command">Switch Filtered to Handle</GUIRef> command on the <GUIRef href="" role="menu">Specific</GUIRef> menu.</Paragraph>
				<Paragraph class="Default"><Emphasis>Note:</Emphasis> If the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#tlvsc300.chck" role="field">Filtered to Handle</GUIRef> check box is not selected, the session displays the warnings that you do not have to handle at this moment. However, you are allowed to accept or solve these warnings before they get the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#tlvsc300.chck" role="field">Filtered to Handle</GUIRef> status.</Paragraph>
			</Step>
			<Step><StepTitle>Accept or solve the warnings</StepTitle>
				<Paragraph class="Default">For each "Filtered to Handle" warning, you must decide whether you want to accept it or solve it.</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 accept the warning.</ListItem>
					<ListItem>If this break was left out accidentally, you must solve the warning.</ListItem>
				</List>
				<ProcedureList><ListTitle>Accept a warning</ListTitle>
					<ListIntro>To accept a warning take the following steps:</ListIntro>
					<ListItem>Double-click the warning, or select the warning and click the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#exec.user.2" role="command">Accept Warning</GUIRef> command on the <GUIRef href="" role="menu">Specific</GUIRef> menu. The <Link href="/baanerp/tl/vsc/tlvsc3100s000" role="session">Warnings (tlvsc3100s000)</Link> details session starts.</ListItem>
					<ListItem>Select the <GUIRef href="/baanerp/tl/vsc/tlvsc3100s000#tlvsc300.fiat" role="field">Accepted</GUIRef> check box and enter the reason for acceptance in the <GUIRef href="/baanerp/tl/vsc/tlvsc3100s000#mesaction" role="field">Description</GUIRef> field.</ListItem>
					<ListItem>Click <GUIRef href="" role="manual">Save and Close</GUIRef>.</ListItem>
				</ProcedureList>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="545" width="697" SRC="../images/nt_screen_vsc_to_handle_warnings2.gif" path="/enterpriseserver/tools/tl/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_vsc_to_handle_warnings2.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tl/images/nt_screen_vsc_to_handle_warnings2.gif" ID="IDA0LCAC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Warnings (tlvsc3100s000) details session</FigCaption>
				</Figure>
				<List><ListTitle>Note</ListTitle>
					<ListIntro>As a result of the filter settings that are specified in the <GUIRef href="/baanerp/tl/vsc/tlvsc2110m000" role="session">Verification Filter Defaults (tlvsc2110m000)</GUIRef> session:</ListIntro>
					<ListItem>VSC can block an accepted warning. You must solve the warning, before you can accept it.</ListItem>
					<ListItem>A "Filtered to Handle" warning can block the check-in procedure for the component. You must solve the warning, before you can check-in the component.</ListItem>
				</List>
				<ProcedureList><ListTitle>Solve a warning</ListTitle>
					<ListIntro>To solve a warning take the following steps:</ListIntro>
					<ListItem>Double-click the warning. The <GUIRef href="/baanerp/tl/vsc/tlvsc3100s000" role="session">Warnings (tlvsc3100s000)</GUIRef> details session starts.</ListItem>
					<ListItem>View the detailed information and examples. The session usually displays a lot of information that will help you to solve the warning, such as: <List><ListItem>A description, a motivation and a possible solution for the warning.</ListItem>
							<ListItem>A wrong example.</ListItem>
							<ListItem>A correct example.</ListItem>
						</List>
					</ListItem>
					<ListItem>Close the details session and return to the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000" role="session">Warnings (tlvsc3500m000)</GUIRef> overview session.</ListItem>
					<ListItem>On the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#show.component" role="command">Show component</GUIRef>. The appropriate editor for the software component starts automatically. Edit the software component and fix the problem. <List><ListItem>For example: VSC has generated the following warning "Possible missing break in case statement". The <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000#show.component" role="command">Show component</GUIRef> command starts the script editor, where you can add the missing statement.</ListItem>
						</List>
					</ListItem>
					<ListItem>Run VSC again. If no further errors are found, the warning automatically disappears from the warnings list.</ListItem>
				</ProcedureList>
			</Step>
		</Steps>
	</ProcedureSection>
	<GeneralSection><SectionTitle>Accepted warnings list</SectionTitle>
		<Paragraph class="Default">You can view the accepted warnings and the corresponding reasons for acceptance in the <Link href="/baanerp/tl/vsc/tlvsc3501m000" role="session">Accepted Warnings (tlvsc3501m000)</Link> session. You can start this session from the <GUIRef href="" role="menu">Specific</GUIRef> menu in the <GUIRef href="/baanerp/tl/vsc/tlvsc3500m000" role="session">Warnings (tlvsc3500m000)</GUIRef> overview session, or from the <GUIRef href="" role="manual">Verify Software Components / End Users</GUIRef> menu in the menu browser.</Paragraph>
		<Figure space-and-orientation="indented-estimated"><HTML:IMG height="379" width="694" SRC="../images/nt_screen_vsc_to_handle_warnings3.gif" path="/enterpriseserver/tools/tl/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_vsc_to_handle_warnings3.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tl/images/nt_screen_vsc_to_handle_warnings3.gif" ID="IDADMCAC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Accepted warnings list</FigCaption>
		</Figure>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                              Related topics
                           </SectionTitle>
		<RelTopic><Link href="/baanerp/tl/onlinemanual/vsc_to_run_vsc" role="manual">To run VSC</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
