﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="2">
      <W_Access Ref="2" type="Stimulsoft.Report.Dictionary.StiSqlDatabase" isKey="true">
        <Alias>W_Access</Alias>
        <ConnectionStringEncrypted>9Hj7CUhKYzVwBWlMxEwlHsRgaSjFX8OBRku9wHxsJQ/VDMsjXkuzmXRbTdzklORe0yi1K0hcSllyE6XM5XEiD8N0+4nHWfP8bEbl+MNcYufVePsrTQW7/MxBZYRqhCX381ZhjF1Io81pR7nMw1jhJ9FS2etfTMOZ7X2h9P1J4H/x1mnv105zTUVGpb18XHdn3uj3jVQDet3hRtWA5XjhJ9l41ctWS3Otan+EKGpcYQ==</ConnectionStringEncrypted>
        <Name>W_Access</Name>
      </W_Access>
      <W_Access_Events Ref="3" type="Stimulsoft.Report.Dictionary.StiSqlDatabase" isKey="true">
        <Alias>W_Access_Events</Alias>
        <ConnectionStringEncrypted>9HjLCUgYQ4X7BaHEYoh3J8Q0+atNW2tN7EehOGpcImLeDNEjVkzLAXpb7YThGONe01r5jEhcS1l9E4xM6VzkY/MM2ShWVruZ8kGE/GB4YhfCasErS0jT+WpphNxqqDJrw/L5D2JXo83hBuXMTX3je9PI98nFWfP8y0258HGE9nvDyE8JXUt6nWJEtRRztG5z0Vb3T05ZkplyUdXEYVzy99VwrU5GUdKBaVol8Gpc4D+Nas9PVBU=</ConnectionStringEncrypted>
        <Name>W_Access_Events</Name>
      </W_Access_Events>
    </Databases>
    <DataSources isList="true" count="2">
      <CHMain Ref="4" type="Stimulsoft.Report.Dictionary.StiSqlSource" isKey="true">
        <Alias>CHMain</Alias>
        <Columns isList="true" count="20">
          <value>Name,System.String</value>
          <value>IdNumber,System.String</value>
          <value>EMail,System.String</value>
          <value>CHStartValidityDateTime,System.DateTime</value>
          <value>CHEndValidityDateTime,System.DateTime</value>
          <value>ClearCode,System.String</value>
          <value>CompanyName,System.String</value>
          <value>CHType,System.String</value>
          <value>CHStatus,System.String</value>
          <value>AuxChk02,System.Byte</value>
          <value>AuxText06,System.String</value>
          <value>CardStartValidityDateTime,System.DateTime</value>
          <value>CardEndValidityDateTime,System.DateTime</value>
          <value>CardStatus,System.String</value>
          <value>CardType,System.String</value>
          <value>CHID,System.Int32</value>
          <value>LocalityID,System.Nullable`1[System.Int32]</value>
          <value>Locality,System.String</value>
          <value>Funcao,System.String</value>
          <value>SubZona,System.String</value>
        </Columns>
        <CommandTimeout>600</CommandTimeout>
        <Dictionary isRef="1" />
        <Key>a6e027cf365f4b3396059beebafd29fc</Key>
        <Name>CHMain</Name>
        <NameInSource>W_Access</NameInSource>
        <Parameters isList="true" count="6">
          <value>_x0040_lstBDM_CompanyID_1,_x002D_1,8,100</value>
          <value>_x0040_lblBD_CHName,_x0022__x0025__x0022_,22,250</value>
          <value>_x0040_LoadParamsOnly,_x0031_,2,1</value>
          <value>_x0040_lstBD_LocalityID,_x0031_,8,100</value>
          <value>_x0040_lstBD_CHType,_x0032_,8,100</value>
          <value>_x0040_lblBD_ClearCode,_x0022__x0025__x0022_,22,250</value>
        </Parameters>
        <SqlCommand>DECLARE
@strQuery nvarchar(max),
@ParmDefinition nvarchar(max),
@_lstBDM_CompanyID_1 int,
@_lstBD_CHType smallint,
@_lblBD_CHName varchar(250),
@_lblBD_ClearCode varchar (250),
@_lstBD_LocalityID int
/*,
@_lstBD_SubZoneID int*/


SET @strQuery = 
	'SELECT 
CHMain.FirstName AS Name,
CHMain.CHID, IdNumber, 
CHCards.ClearCode,
CHCompanies.CompanyName AS CompanyName,
CfgCHTypes.strLanguage2 AS CHType,
/*(select SubZoneName from CfgACSubZones where SubZoneID = CHMain.SubZoneID ) as SubZona,*/
(SELECT CfgCHComboFields.strLanguage2 FROM CfgCHComboFields WHERE FieldID = ''lstBDA_AuxLst01'' AND CHAux.Auxlst01 = CfgCHComboFields.ComboIndex AND CHMain.CHType = CfgCHComboFields.CHType) AS Funcao,
(SELECT CfgCHComboFields.strLanguage2 FROM CfgCHComboFields WHERE FieldID = ''lstBDA_AuxLst10'' AND CHAux.AuxLst10 = CfgCHComboFields.ComboIndex AND CHMain.CHType = CfgCHComboFields.CHType) AS Funcao_Diario,
(SELECT CfgCHComboFields.strLanguage' + CAST({LanguageID} AS char(1)) + ' FROM CfgCHComboFields WHERE FieldID = ''lstBD_CardState'' AND CHCards.CardState = CfgCHComboFields.ComboIndex) AS CardStatus,
(SELECT CfgCHComboFields.strLanguage' + CAST({LanguageID} AS char(1)) + ' FROM CfgCHComboFields WHERE FieldID = ''lstBD_CardType'' AND CHCards.CardType = CfgCHComboFields.ComboIndex) AS CardType,
	(SELECT strLanguage2 FROM CfgSYLocalities where localityID = @_lstBD_LocalityID) as Locality

FROM CHMain

LEFT JOIN CHCards on CHCards.CHID = CHMain.CHID
LEFT JOIN CHCompanies ON CHMain.CompanyID = CHCompanies.CompanyID
LEFT JOIN CHAux on CHMain.CHID = CHAux.CHID
JOIN CfgCHTypes ON CHMain.CHType = CfgCHTypes.CHType

WHERE
CHMain.CHID in

(
select tb14.chid 
	from
(select distinct tb12.CHID as AcID
	from
	[CfgACAccessLevels] as tb11,
	[CHAccessLevels] as tb12
	where
	tb11.LocalityID=@_lstBD_LocalityID
              and
              tb12.AccessLevelID=tb11.AccessLevelID
              and 
              tb12.AccessLevelID not in (select AccessLevelID from CfgACAccessLevels where AccessLevelName like ''%Gest%Doc%'' or AccessLevelName like ''%Gerenciamento'')) as tb13,
      CHMain as tb14 
where 
			tb13.AcID=tb14.CHID
            and
            tb14.CHType in (2,3)
            and
			tb14.CHState = 0
)
'

IF @lstBD_CHType &gt; 0
SET @strQuery = @strQuery + ' AND CHMain.CHType = @_lstBD_CHType'

IF @lstBDM_CompanyID_1 &gt;= 0
SET @strQuery = @strQuery + ' AND CHMain.CompanyID =  @_lstBDM_CompanyID_1'

IF @lblBD_CHName &lt;&gt; '%'
SET @strQuery = @strQuery + ' AND 
	CASE 
		WHEN CHMain.LastName IS NULL THEN CHMain.FirstName
		WHEN CHMain.LastName = '''' THEN CHMain.FirstName
WHEN (SELECT W_Access..CfgCOGeneralSettings.CfgValue FROM W_Access..CfgCOGeneralSettings 
	WHERE CfgID = ''Cfg001'') = ''0'' THEN CHMain.FirstName  + '' '' + CHMain.LastName 
		ELSE CHMain.LastName + '', '' + CHMain.FirstName 
	END LIKE @_lblBD_CHName'

/*
IF @lstBD_SubZoneID &gt; 0
SET @strQuery = @strQuery + ' AND CHMain.SubZoneID = @_lstBD_SubZoneID'
*/

IF @lblBD_ClearCode &lt;&gt; '%'
SET @strQuery = @strQuery + ' AND CHCards.ClearCode LIKE @_lblBD_ClearCode'

SET @strQuery = @strQuery + ' ORDER BY FirstName'





SET @ParmDefinition = N'@_lstBDM_CompanyID_1 int,
						@_lstBD_CHType smallint,
						@_lblBD_CHName varchar(250),
						@_lstBD_LocalityID int,
						@_lblBD_ClearCode varchar(250)
						/*,@_lstBD_SubZoneID int*/';

IF @LoadParamsOnly = 0
EXECUTE sp_executesql @strQuery, @ParmDefinition,
						@_lstBDM_CompanyID_1 = @lstBDM_CompanyID_1,
						@_lstBD_CHType = @lstBD_CHType,
						@_lblBD_CHName = @lblBD_CHName,
						@_lstBD_LocalityID = @lstBD_LocalityID,
						@_lblBD_ClearCode = @lblBD_ClearCode
						/*,@_lstBD_SubZoneID = @lstBD_SubZoneID*/;</SqlCommand>
      </CHMain>
      <CfgCHTypes Ref="5" type="Stimulsoft.Report.Dictionary.StiSqlSource" isKey="true">
        <Alias>CfgCHTypes</Alias>
        <Columns isList="true" count="1">
          <value>UserType,System.String</value>
        </Columns>
        <CommandTimeout>600</CommandTimeout>
        <Dictionary isRef="1" />
        <Key>8bfdfe31cc46477788fa93a4cd17ff2e</Key>
        <Name>CfgCHTypes</Name>
        <NameInSource>W_Access</NameInSource>
        <Parameters isList="true" count="1">
          <value>_x0040_lstBD_CHType,_x002D_1,8,100</value>
        </Parameters>
        <SqlCommand>SELECT CASE
	WHEN {LanguageID} = 1 THEN strLanguage1 
	WHEN {LanguageID} = 2 THEN strLanguage2
	WHEN {LanguageID} = 3 THEN strLanguage3
	WHEN {LanguageID} = 4 THEN strLanguage4
	END	AS UserType
FROM CfgCHTypes
WHERE CHType = @lstBD_CHType</SqlCommand>
      </CfgCHTypes>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Resources isList="true" count="0" />
    <Variables isList="true" count="9">
      <value>W-Access,ServerName,ServerName,,System.String,tenda.canteiro-online.com.br,False,False,False,False</value>
      <value>W-Access,ApplicationName,ApplicationName,,System.String,W-Access,False,False,False,False</value>
      <value>W-Access,ClientTimeZone,ClientTimeZone,,System.Int32,_x002D_180,False,False,False,False</value>
      <value>W-Access,OperName,OperName,,System.String,Admin,False,False,False,False</value>
      <value>W-Access,ProfileID,ProfileID,,System.Int32,_x0031_,False,False,False,False</value>
      <value>W-Access,LanguageID,LanguageID,,System.Int32,_x0032_,False,False,False,False</value>
      <value>W-Access,WAccessDBName,WAccessDBName,,System.String,W_Access,False,False,False,False</value>
      <value>W-Access,WAccessEventsDBName,WAccessEventsDBName,,System.String,W_Access_Events,False,False,False,False</value>
      <value>HPC Networks</value>
    </Variables>
  </Dictionary>
  <EngineVersion>EngineV1</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <Key>aa5d5f7c145f439a86e85819fc875b88</Key>
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <Page1 Ref="6" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="6">
        <PageHeader1 Ref="7" type="PageHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,4.1</ClientRectangle>
          <Components isList="true" count="5">
            <Text7 Ref="8" type="Text" isKey="true">
              <Brush>[173:193:217]</Brush>
              <ClientRectangle>4.8,0,14.2,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,9.75,Bold,Point,False,0</Font>
              <Guid>93197fb120954f0ca00fcd7b29059b23</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text7</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>RELATÓRIO DE CADASTRO DE COLABORADORES</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text7>
            <Image3 Ref="9" type="Image" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.2,1.1,4.6,1.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Guid>330f1ad6a3a2453a8db0de17a1e52d71</Guid>
              <HorAlignment>Right</HorAlignment>
              <IconColor>68, 114, 196</IconColor>
              <ImageBytes>iVBORw0KGgoAAAANSUhEUgAAAQEAAABQCAIAAACWK1dMAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACVoSURBVHhe7Z2Hf1vXlef3H9idmc18ZnYnjhPn
M+vZOJ/ZzU52ZixZsmzLTbHjbse9RLGduCSOa9Zjq1GVsmSr2Oq9d4nqlZIoUhIlUY0SRTQCIAAC
BAiiEB0P2u/FfQRBFBIUJUoW8ftc8gPcd24/v3PPuXh4+E+Xiyiif6PIgSL6O4ocKKK/o8iBIvo7
ihwoor+jyIEi+juKHCiiv6PIgSL6O4ocKKK/40bkQFsgULZ950eff7Fm4ya/v03NLaKIa4MbiwPR
aPT4iZOvv/3O3//09v/y33/E/6dfenX/wUPkqxJFFHG1cQNxIBgKzVu85PZf/BLt/8//7RaZeP3j
n/3zqPETPV6vKnddkUgo8UBrm/Zoy6FFzTu/ce791nOqLNLccFlRVIl8SCTibW7f+b2e4xs81Zva
NFWJSFC9lB9KNBg0nfGe2eU7vy9oPp+IdbIFiVgkbL3ordnadqlCiQTU3HYk4tGIQ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2uysRjqwQwLoUB/B56C0ETldojA4WBHtPJk1QJ5WI2lavpgkiZuhROAFArzgQD3rDTmPY
oc9MLZb0Zz4qEfHEsohdn5GizQ2dnjSoxCNOY1t9ZXYK2zTiy4HtED8w4TRm1EaKuhqVcMdnhBSJ
tdozZEi0G/P1+Df5WG/MEvqH9UI7WSS5ckw3eoNPTMTGJaiComBxZSmu8hp9TTktgNf4S2RSUOZI
MerE3sscwFWqSnkgdADz7/V4ZCmK0AGK0BnapWNISgJIYeqnlRSoikzKqu/bIbmaDrqHbuHIUa0U
IIfQOdV0OugGArROJ+iJy+mkrBwszYm7StIgY18pT+WYADmNVJKsTIBRIInR4TUBLq/Tpw7IIVCJ
LEVx3lKb6G1LSyq/cPSKA4D2sqFeywD52SkD4vujmY9PFEmJ5xLurjaJDBmZrhRygClVS4e8BNT3
XaJAsUJAZ7ruj4Sa2zlfzcoFruasNh8Qzq5T5kioWe0gJ1/96cLZBbMhau9hb9PRWw4UUcT3HUUO
FNHfUeRAEf0dRQ4U0d9R5EAR/R1FDhTRv3H58v8HM5QVblWJ62sAAAAASUVORK5CYII=</ImageBytes>
              <Margins>0,0,0,0</Margins>
              <MultipleFactor>0.75</MultipleFactor>
              <Name>Image3</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
            </Image3>
            <Panel3 Ref="10" type="Panel" isKey="true">
              <Brush>[214:224:236]</Brush>
              <ClientRectangle>4.8,0.6,14.2,3.1</ClientRectangle>
              <Components isList="true" count="7">
                <Text67 Ref="11" type="Text" isKey="true">
                  <Brush>EmptyBrush</Brush>
                  <ClientRectangle>0.2,1.8,1.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,9.75,Regular,Point,False,0</Font>
                  <Guid>d79b10a70a294597b4f8feb99f05e401</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text67</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>Empresa</Text>
                  <TextBrush>Black</TextBrush>
                  <VertAlignment>Center</VertAlignment>
                </Text67>
                <Text68 Ref="12" type="Text" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0.2,2.2,7.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,10,Bold</Font>
                  <Guid>2cf4cb3223a94b8fb3f197066b1b523f</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text68</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>{IIF((int)CHMain.Parameters["@lstBDM_CompanyID_1"].ParameterValue == -1,"*",CHMain.CompanyName)}</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <VertAlignment>Center</VertAlignment>
                </Text68>
                <Text69 Ref="13" type="Text" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0.2,0.2,6.4,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,10,Bold</Font>
                  <Guid>8497855d3a8a4040ab8b80fb1dba0ca7</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text69</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>{CHMain.Locality}</Text>
                  <TextBrush>Black</TextBrush>
                </Text69>
                <Text9 Ref="14" type="Text" isKey="true">
                  <Brush>EmptyBrush</Brush>
                  <ClientRectangle>0.2,0.8,1.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,9.75,Regular,Point,False,0</Font>
                  <Guid>68ce9e7c3962419c8733ee4f86fe1827</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text9</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>Nome</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <VertAlignment>Center</VertAlignment>
                </Text9>
                <Text10 Ref="15" type="Text" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0.2,1.2,7.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,10,Bold</Font>
                  <Guid>1f65e56ecf664301b0374af0e03a3687</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text10</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>{((string)CHMain.Parameters["@lblBD_CHName"].ParameterValue).Replace("%", "*")}</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <VertAlignment>Center</VertAlignment>
                </Text10>
                <Text15 Ref="16" type="Text" isKey="true">
                  <Brush>EmptyBrush</Brush>
                  <ClientRectangle>10.4,1.8,3.6,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,9.75,Regular,Point,False,0</Font>
                  <Guid>c0ebcba74a2c4a5c8bea4fe8887ead4d</Guid>
                  <HorAlignment>Right</HorAlignment>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text15</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>Tipo de Colaborador</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <VertAlignment>Center</VertAlignment>
                </Text15>
                <Text16 Ref="17" type="Text" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>8.4,2.2,5.6,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Expressions isList="true" count="0" />
                  <Font>Calibri,10,Bold</Font>
                  <Guid>68c42fc26ac040c8984f94cbd78f84bd</Guid>
                  <HorAlignment>Right</HorAlignment>
                  <Margins>0,0,0,0</Margins>
                  <Name>Text16</Name>
                  <Page isRef="6" />
                  <Parent isRef="10" />
                  <Text>{IIF((int)CHMain.Parameters["@lstBD_CHType"].ParameterValue == 0,"*",CHMain.CHType)}</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <VertAlignment>Center</VertAlignment>
                </Text16>
              </Components>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Guid>a07effb631464af588abcb0786ec4e9a</Guid>
              <Name>Panel3</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
            </Panel3>
            <Text70 Ref="18" type="Text" isKey="true">
              <Brush>White</Brush>
              <ClientRectangle>14.2,3.7,4.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Microsoft Sans Serif,8.25,Italic,Point,False,0</Font>
              <Guid>7754a74db385427db4920d39beeb7bb4</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text70</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>www.canteiro-online.com.br</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text70>
            <HorizontalLine2 Ref="19" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0,3.7,19,0.0254</ClientRectangle>
              <Color>Red</Color>
              <Conditions isList="true" count="0" />
              <EndCap Ref="20" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Expressions isList="true" count="0" />
              <Guid>5dd38bfd898b497fae34d31be1efcf1b</Guid>
              <Name>HorizontalLine2</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Size>3</Size>
              <StartCap Ref="21" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLine2>
          </Components>
          <Conditions isList="true" count="0" />
          <Expressions isList="true" count="0" />
          <Name>PageHeader1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </PageHeader1>
        <PageFooterBand1 Ref="22" type="PageFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,26.9,19,0.8</ClientRectangle>
          <Components isList="true" count="6">
            <Text5 Ref="23" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.2,4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,8</Font>
              <Guid>572348951fa74808a417789f23f780d0</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="6" />
              <Parent isRef="22" />
              <Text>Um produto </Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text5>
            <Text14 Ref="24" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.5,0.2,4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,8,Bold</Font>
              <Guid>ca868bd544354cdd88c8e5bb5c76018e</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text14</Name>
              <Page isRef="6" />
              <Parent isRef="22" />
              <Text>HPC Networks</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text14>
            <Text72 Ref="25" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>16.6,0.2,2.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,8</Font>
              <Guid>682f628649d64a878c53df2bf6e9255a</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text72</Name>
              <Page isRef="6" />
              <Parent isRef="22" />
              <Text>{Time}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="26" type="CustomFormat" isKey="true">
                <StringFormat>dd/MM/yyyy HH:mm</StringFormat>
              </TextFormat>
              <TextOptions>,,,,WordWrap=True,A=0</TextOptions>
            </Text72>
            <Text73 Ref="27" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>13.8,0.6,5.2,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,8</Font>
              <Guid>b5ee1991b9eb42b0b1a557d77e401aa6</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text73</Name>
              <Page isRef="6" />
              <Parent isRef="22" />
              <Text>Página {PageNumber} de {TotalPageCountThrough}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text73>
            <Text74 Ref="28" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>15.4,0.2,1.2,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,8</Font>
              <Guid>2274f71851c2456cbacc29b8d7430c65</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text74</Name>
              <Page isRef="6" />
              <Parent isRef="22" />
              <Text>Emissão:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text74>
            <HorizontalLinePrimitive3 Ref="29" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0,0.1,19,0.0254</ClientRectangle>
              <Color>Black</Color>
              <Conditions isList="true" count="0" />
              <EndCap Ref="30" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Expressions isList="true" count="0" />
              <Guid>e58ae3ec1f574b70862d94f9e3e64243</Guid>
              <Name>HorizontalLinePrimitive3</Name>
              <Page isRef="6" />
              <Parent isRef="22" />
              <StartCap Ref="31" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive3>
          </Components>
          <Conditions isList="true" count="0" />
          <Expressions isList="true" count="0" />
          <Guid>54d00fef23f44309ad31fb8015339545</Guid>
          <Name>PageFooterBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </PageFooterBand1>
        <GroupHeader1 Ref="32" type="GroupHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,5.3,19,1.2</ClientRectangle>
          <Components isList="true" count="3">
            <Text11 Ref="33" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.2,19,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,12,Bold</Font>
              <Guid>4ba8ee436495462c814698b37b2e62ba</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text11</Name>
              <Page isRef="6" />
              <Parent isRef="32" />
              <Text>{IIF(CHMain.CompanyName=="","Sem Empresa",CHMain.CompanyName)}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text11>
            <Text12 Ref="34" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.6,19,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Calibri,9</Font>
              <Guid>2627fae2eb67469988298f6faff51c19</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text12</Name>
              <Page isRef="6" />
              <Parent isRef="32" />
              <Text>{CountDistinct(GroupHeaderBand1,CHMain.CHID)}  {IIF(LanguageID==1,"Result(s)","")}{IIF(LanguageID==2,"Colaborador(es)","")}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text12>
            <HorizontalLinePrimitive2 Ref="35" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0,1.2,19,0.0254</ClientRectangle>
              <Color>Black</Color>
              <Conditions isList="true" count="0" />
              <EndCap Ref="36" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Expressions isList="true" count="0" />
              <Guid>6c74dd049baf4229b681100fddb4fc28</Guid>
              <Name>HorizontalLinePrimitive2</Name>
              <Page isRef="6" />
              <Parent isRef="32" />
              <StartCap Ref="37" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive2>
          </Components>
          <Condition>{CHMain.CompanyName}</Condition>
          <Conditions isList="true" count="0" />
          <Expressions isList="true" count="0" />
          <Name>GroupHeader1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <StartNewPage>True</StartNewPage>
        </GroupHeader1>
        <GroupHeaderBand2 Ref="38" type="GroupHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,7.3,19,0</ClientRectangle>
          <Components isList="true" count="0" />
          <Condition>{CHMain.IdNumber}</Condition>
          <Conditions isList="true" count="0" />
          <Expressions isList="true" count="0" />
          <Name>GroupHeaderBand2</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <SortDirection>None</SortDirection>
        </GroupHeaderBand2>
        <GroupHeaderBand1 Ref="39" type="GroupHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,8.1,19,1.8</ClientRectangle>
          <Components isList="true" count="10">
            <Text2 Ref="40" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>2.6,0.1,7,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,8,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>{CHMain.Name}</Text>
              <TextBrush>Black</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text2>
            <lblBD_CHName_0_1 Ref="41" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.1,2.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,8,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>lblBD_CHName_0-1</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>Nome:</Text>
              <TextBrush>Black</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </lblBD_CHName_0_1>
            <Text4 Ref="42" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>2.6,0.5,7,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>{CHMain.IdNumber}</Text>
              <TextBrush>Black</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text4>
            <Text1 Ref="43" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.9,2.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>Função:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text1>
            <Text3 Ref="44" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>2.6,0.9,7,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>{CHMain.Funcao}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text3>
            <Text8 Ref="45" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.5,2.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>CPF:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text8>
            <Text6 Ref="46" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,1.3,2.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7</Font>
              <Guid>90c2855ee61e4e0fb732b07b1913030f</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>Tipo de Colaborador:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text6>
            <Text13 Ref="47" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>2.6,1.3,7,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text13</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Text>{CHMain.CHType}</Text>
              <TextBrush>Black</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text13>
            <Image1 Ref="48" type="Image" isKey="true">
              <AspectRatio>True</AspectRatio>
              <Brush>Transparent</Brush>
              <ClientRectangle>17.4,0.1,1.2,1.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Guid>c2c00132bf44439cbc9ac5442f9a7e64</Guid>
              <HorAlignment>Center</HorAlignment>
              <IconColor>68, 114, 196</IconColor>
              <ImageURL>https://tenda.canteiro-online.com.br/{ApplicationName}/GetThumbnail.aspx?image=PhotoID/Photo_1/{CHMain.CHID}_1.JPG&amp;x=0&amp;y=0&amp;w=354&amp;h=472&amp;angle=0</ImageURL>
              <Margins>0,0,0,0</Margins>
              <MultipleFactor>5</MultipleFactor>
              <Name>Image1</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <Stretch>True</Stretch>
            </Image1>
            <HorizontalLinePrimitive1 Ref="49" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0,0,19,0.0254</ClientRectangle>
              <Color>Black</Color>
              <Conditions isList="true" count="0" />
              <EndCap Ref="50" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Expressions isList="true" count="0" />
              <Guid>fa52870fdbd84006bd76ec8bf750b2bb</Guid>
              <Name>HorizontalLinePrimitive1</Name>
              <Page isRef="6" />
              <Parent isRef="39" />
              <StartCap Ref="51" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive1>
          </Components>
          <Condition>{CHMain.Name}</Condition>
          <Conditions isList="true" count="0" />
          <Expressions isList="true" count="0" />
          <Name>GroupHeaderBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </GroupHeaderBand1>
        <Data1 Ref="52" type="DataBand" isKey="true">
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,10.7,19,0.4</ClientRectangle>
          <Components isList="true" count="2">
            <Text17 Ref="53" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.4,0,1,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7,Italic</Font>
              <Guid>7bd42c80569a44b2b24119d6ee362ce7</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text17</Name>
              <Page isRef="6" />
              <Parent isRef="52" />
              <Text>Cartão:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text17>
            <Text18 Ref="54" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.4,0,4.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Expressions isList="true" count="0" />
              <Font>Tahoma,7,Italic</Font>
              <Guid>d24b4029091d4f5ea91840417fc882ce</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text18</Name>
              <Page isRef="6" />
              <Parent isRef="52" />
              <Text>{IIF(CHMain.ClearCode=="","Sem Cartão Associado",CHMain.ClearCode)}{IIF(CHMain.ClearCode=="",""," - ")}{IIF(CHMain.ClearCode=="","",CHMain.CardStatus)}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text18>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>CHMain</DataSourceName>
          <Expressions isList="true" count="0" />
          <Filters isList="true" count="0" />
          <Name>Data1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Sort isList="true" count="2">
            <value>ASC</value>
            <value>ClearCode</value>
          </Sort>
        </Data1>
      </Components>
      <Conditions isList="true" count="0" />
      <Expressions isList="true" count="0" />
      <Guid>3808859abcd4439196b21db88aeea912</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
    </Page1>
  </Pages>
  <ReferencedAssemblies isList="true" count="8">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Report</ReportAlias>
  <ReportChanged>3/3/2022 1:42:40 PM</ReportChanged>
  <ReportCreated>12/29/2008 9:17:01 AM</ReportCreated>
  <ReportGuid>44ef65b8706945629ce70a6205915231</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2021.1.1.0</ReportVersion>
  <Script>using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;

namespace Reports
{
    
    public class Report : Stimulsoft.Report.StiReport
    {
        
        public Report()
        {
            this.InitializeComponent();
        }
        #region StiReport Designer generated code - do not modify
		#endregion StiReport Designer generated code - do not modify
    }
            

	public class Custom
	{

		public static string FormatCommaSeparatedParameter(string Column, string Parameters)
		{
			string query = "";
			string[] param = Parameters.Split(new Char[]{','}); 

			for (int i = 0; i &lt;= param.Length - 1; i++)
			{
				query += Column + " LIKE '" + param[i].Replace(".", "").Replace(" ", "") + "'";
				if (i &lt; param.Length - 1)
				{
					query += " OR ";
				}
			}   
			return "(" + query + ")";
		}
	}
	
}
</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="0" />
</StiSerializer>