<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://sbv.wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://sbv.wiki/index.php?action=history&amp;feed=atom&amp;title=Remove_No_Biometric_Templates</id>
		<title>Remove No Biometric Templates - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://sbv.wiki/index.php?action=history&amp;feed=atom&amp;title=Remove_No_Biometric_Templates"/>
		<link rel="alternate" type="text/html" href="http://sbv.wiki/index.php?title=Remove_No_Biometric_Templates&amp;action=history"/>
		<updated>2026-04-13T10:08:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.5</generator>

	<entry>
		<id>http://sbv.wiki/index.php?title=Remove_No_Biometric_Templates&amp;diff=925&amp;oldid=prev</id>
		<title>Stage at 23:49, 12 November 2015</title>
		<link rel="alternate" type="text/html" href="http://sbv.wiki/index.php?title=Remove_No_Biometric_Templates&amp;diff=925&amp;oldid=prev"/>
				<updated>2015-11-12T23:49:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:49, 12 November 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This script will use the templates from the punches to update the employee's template. Start with a date from the current month and work your way back a month at a time until all employees have a template.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This script will use the templates from the punches to update the employee's template. Start with a date from the current month and work your way back a month at a time until all employees have a template.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;UPDATE&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;UPDATE&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	EmployeeClockID&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	EmployeeClockID&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SET&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SET&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stage</name></author>	</entry>

	<entry>
		<id>http://sbv.wiki/index.php?title=Remove_No_Biometric_Templates&amp;diff=924&amp;oldid=prev</id>
		<title>Stage: Created page with &quot;Under certain circumstances, the no biometric template can update the employee's template. As of November 2015, an employee that is enrolled that is already in the software ca...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sbv.wiki/index.php?title=Remove_No_Biometric_Templates&amp;diff=924&amp;oldid=prev"/>
				<updated>2015-11-12T23:49:32Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Under certain circumstances, the no biometric template can update the employee&amp;#039;s template. As of November 2015, an employee that is enrolled that is already in the software ca...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Under certain circumstances, the no biometric template can update the employee's template. As of November 2015, an employee that is enrolled that is already in the software cannot be made a no biometric employee at the clock. This is now controlled by the software, in the same manner that supervisors are controlled by the software.&lt;br /&gt;
&lt;br /&gt;
This script will use the templates from the punches to update the employee's template. Start with a date from the current month and work your way back a month at a time until all employees have a template.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;UPDATE&lt;br /&gt;
	EmployeeClockID&lt;br /&gt;
SET&lt;br /&gt;
	HandPunchTemplate0 = RawPunch.HandPunchTemplate0,&lt;br /&gt;
	HandPunchTemplate1 = RawPunch.HandPunchTemplate1,&lt;br /&gt;
	HandPunchTemplate2 = RawPunch.HandPunchTemplate2,&lt;br /&gt;
	HandPunchTemplate3 = RawPunch.HandPunchTemplate3,&lt;br /&gt;
	HandPunchTemplate4 = RawPunch.HandPunchTemplate4,&lt;br /&gt;
	HandPunchTemplate5 = RawPunch.HandPunchTemplate5,&lt;br /&gt;
	HandPunchTemplate6 = RawPunch.HandPunchTemplate6,&lt;br /&gt;
	HandPunchTemplate7 = RawPunch.HandPunchTemplate7,&lt;br /&gt;
	HandPunchTemplate8 = RawPunch.HandPunchTemplate8&lt;br /&gt;
FROM&lt;br /&gt;
	EmployeeClockID&lt;br /&gt;
INNER JOIN&lt;br /&gt;
	RawPunch&lt;br /&gt;
ON&lt;br /&gt;
	EmployeeClockID.FkEmployeeID = RawPunch.FkEmployeeID&lt;br /&gt;
WHERE&lt;br /&gt;
	RawPunchType = 7 -- good punch&lt;br /&gt;
	AND RawPunch.HandPunchTemplate0 &amp;lt;&amp;gt; 255 -- do not want no biometric templates&lt;br /&gt;
	AND RawPunchDateTime &amp;gt; '12/1/2015' -- recent punches first&lt;br /&gt;
	AND EmployeeClockID.HandPunchTemplate0 = 255 -- and employee has a no biometric template&lt;br /&gt;
&lt;br /&gt;
SELECT&lt;br /&gt;
	*&lt;br /&gt;
FROM&lt;br /&gt;
	EmployeeClockID&lt;br /&gt;
WHERE&lt;br /&gt;
	HandPunchTemplate0 = 255&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Stage</name></author>	</entry>

	</feed>