﻿<?xml version="1.0" encoding="utf-8"?>
<StiSerializer version="1.02" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="1">
      <MASTER Ref="2" type="Stimulsoft.Report.Dictionary.StiOracleODPDatabase" isKey="true">
        <Alias>MASTER</Alias>
        <ConnectionStringEncrypted>9GxpiUZc08VgW6ml+hj154tU92nvSnv1RRO5vWNEbh/fEq1jTRhL7Wt9oTTreGUjgVb5SN0I85lsSU2EYBluL9RazUg=</ConnectionStringEncrypted>
        <Name>MASTER</Name>
      </MASTER>
    </Databases>
    <DataSources isList="true" count="1">
      <PRINCIPAL Ref="3" type="Stimulsoft.Report.Dictionary.StiOracleODPSource" isKey="true">
        <Alias>PRINCIPAL</Alias>
        <Columns isList="true" count="2">
          <value>CLASFISCCOD,System.String</value>
          <value>CLASFISCNOME,System.String</value>
        </Columns>
        <CommandTimeout>10000000</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>PRINCIPAL</Name>
        <NameInSource>MASTER</NameInSource>
        <Parameters isList="true" count="0" />
        <SqlCommand>SELECT F.CLASFISCCOD,
F.CLASFISCNOME
FROM CLAS_FISCAL F
WHERE (F.CLASFISCCOD = '{CLASFISCCOD}' OR '{CLASFISCCOD}' IS NULL) 
AND (F.CLASFISCNOME LIKE '%'||(UPPER( '{CLASFISCNOME}' ))||'%' OR  '{CLASFISCNOME}' IS NULL)
</SqlCommand>
      </PRINCIPAL>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="4">
      <value>,CLASFISCCOD,CLASFISCCOD,,System.String,,False,False,True</value>
      <value>,CLASFISCNOME,CLASFISCNOME,,System.String,,False,False,True</value>
      <value>,USUARIO,USUARIO,,System.String,,False,False,True</value>
      <value>,PARAMETROS,PARAMETROS,System.String,,False,False</value>
    </Variables>
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <Page1 Ref="4" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="3">
        <ReportTitleBand1 Ref="5" type="ReportTitleBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,1.6</ClientRectangle>
          <Components isList="true" count="5">
            <Text1 Ref="6" type="Text" isKey="true">
              <Brush>White</Brush>
              <ClientRectangle>16,0,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,7</Font>
              <Guid>b52113235c0e4ae1bedc3f08ecf1a8f0</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="4" />
              <Parent isRef="5" />
              <Text>{ReportName}</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>Expression</Type>
            </Text1>
            <Text2 Ref="7" type="Text" isKey="true">
              <Brush>White</Brush>
              <ClientRectangle>16,0.4,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,7</Font>
              <Guid>0ab51c7154884ad4b7fa099314632d0f</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="4" />
              <Parent isRef="5" />
              <Text>{Time}</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>SystemVariables</Type>
            </Text2>
            <Text3 Ref="8" type="Text" isKey="true">
              <Brush>White</Brush>
              <ClientRectangle>16,0.8,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,7</Font>
              <Guid>17d1a180fdba4a58bb6063d31634b8e3</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="4" />
              <Parent isRef="5" />
              <Text>{USUARIO}</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>Expression</Type>
            </Text3>
            <Text4 Ref="9" type="Text" isKey="true">
              <Brush>White</Brush>
              <ClientRectangle>16,1.2,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,7</Font>
              <Guid>60371a250b494fb38e964582e5670e1e</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="4" />
              <Parent isRef="5" />
              <Text>{PageNofMThrough}</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>Expression</Type>
            </Text4>
            <Text5 Ref="10" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,1.2,1.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="4" />
              <Parent isRef="5" />
              <Text>CADASTRO - CLASSIFICAÇÃO FISCAL</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>Expression</Type>
            </Text5>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>ReportTitleBand1</Name>
          <Page isRef="4" />
          <Parent isRef="4" />
        </ReportTitleBand1>
        <ReportTitleBand2 Ref="11" type="ReportTitleBand" isKey="true">
          <BeforePrintEvent>PARAMETROS = "";

if(CLASFISCCOD != "")
{
	PARAMETROS = "Código Classificação: " + CLASFISCCOD + "\n";
}

if(CLASFISCNOME != "")
{
	PARAMETROS = PARAMETROS + "Nome Classificação " + CLASFISCNOME + "\n";
}

</BeforePrintEvent>
          <Brush>Transparent</Brush>
          <ClientRectangle>0,2.8,19,0.4</ClientRectangle>
          <Components isList="true" count="1">
            <Text9 Ref="12" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>0,0,1.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>1543bad3092e4c9089352f68cd196758</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text9</Name>
              <Page isRef="4" />
              <Parent isRef="11" />
              <Text>{PARAMETROS}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>,,,,WordWrap=True,A=0</TextOptions>
              <TextQuality>Typographic</TextQuality>
              <Type>Expression</Type>
            </Text9>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>ReportTitleBand2</Name>
          <Page isRef="4" />
          <Parent isRef="4" />
        </ReportTitleBand2>
        <DataBand1 Ref="13" type="DataBand" isKey="true">
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,4,19,0.4</ClientRectangle>
          <Components isList="true" count="3">
            <Text6 Ref="14" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0,1.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="4" />
              <Parent isRef="13" />
              <Text>Código:</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>Expression</Type>
            </Text6>
            <Text7 Ref="15" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,0,1.6,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>0bdc5041fb864dab97019d428ef0b78a</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text7</Name>
              <Page isRef="4" />
              <Parent isRef="13" />
              <Text>{PRINCIPAL.CLASFISCCOD}</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>DataColumn</Type>
            </Text7>
            <Text8 Ref="16" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>3.2,0,12.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>202d5a9caa2f402ca9598f380e59f79b</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="4" />
              <Parent isRef="13" />
              <Text>{PRINCIPAL.CLASFISCNOME}</Text>
              <TextBrush>Black</TextBrush>
              <TextQuality>Typographic</TextQuality>
              <Type>DataColumn</Type>
            </Text8>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>PRINCIPAL</DataSourceName>
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="4" />
          <Parent isRef="4" />
          <Sort isList="true" count="0" />
        </DataBand1>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>283b4bcbdba847148916ecfe17d6ab39</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="17" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="18" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" />
  <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>RFC12</ReportAlias>
  <ReportChanged>11/10/2016 10:44:31 AM</ReportChanged>
  <ReportCreated>11/4/2016 9:19:13 AM</ReportCreated>
  <ReportDescription>Apolo_595.qr2</ReportDescription>
  <ReportFile>X:\ProgramData\Riosoft\Riosoft.Net\Cptm\ReportSource\RFC12.mrt</ReportFile>
  <ReportGuid>ab61033e7b9849e39281e455d4e803c3</ReportGuid>
  <ReportName>RFC12</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2015.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 RFC12 : Stimulsoft.Report.StiReport
    {
        public RFC12()        {
            this.InitializeComponent();
        }

        #region StiReport Designer generated code - do not modify
		#endregion StiReport Designer generated code - do not modify
    }
}
</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="0" />
</StiSerializer>