inherited frmNF: TfrmNF
  Left = 436
  Top = 192
  Caption = 'Cadastro de NF'
  ClientHeight = 593
  ClientWidth = 860
  OldCreateOrder = True
  OnClose = FormClose
  ExplicitWidth = 866
  ExplicitHeight = 622
  PixelsPerInch = 96
  TextHeight = 16
  inherited Paginas: TPageControl
    Width = 860
    Height = 555
    ExplicitWidth = 860
    ExplicitHeight = 555
    inherited Acesso: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 852
      ExplicitHeight = 545
      inherited Panel2: TPanel
        Left = 761
        Height = 508
        ExplicitLeft = 761
        ExplicitHeight = 508
      end
      inherited Panel3: TPanel
        Top = 508
        Width = 852
        ExplicitTop = 508
        ExplicitWidth = 852
      end
      inherited pnGrade: TPanel
        Width = 761
        Height = 508
        ExplicitWidth = 761
        ExplicitHeight = 508
        inherited grdPesquisa: TIB_Grid
          Width = 761
          Height = 492
          ExplicitWidth = 761
          ExplicitHeight = 492
        end
        inherited pnlOpcoesPesquisa: TPanel
          Width = 761
          ExplicitWidth = 761
        end
      end
    end
    inherited Manutencao: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 852
      ExplicitHeight = 545
      inherited Panel6: TPanel
        Top = 509
        Width = 852
        ExplicitTop = 509
        ExplicitWidth = 852
        inherited Linhabotao: TShape
          Width = 850
          ExplicitWidth = 824
        end
        inherited Panel7: TPanel
          Left = 599
          Width = 252
          ExplicitLeft = 599
          ExplicitWidth = 252
          inherited BtProximo: TBitBtn
            Left = 156
            ExplicitLeft = 156
          end
          inherited BtAnterior: TBitBtn
            Left = 62
            ExplicitLeft = 62
          end
          inherited BtCancelar: TBitBtn [2]
            Left = 156
            Top = 2
            ExplicitLeft = 156
            ExplicitTop = 2
          end
          inherited BtGravar: TBitBtn [3]
            Left = 62
            ExplicitLeft = 62
          end
        end
        object btnImprimir: TBitBtn [5]
          Left = 306
          Top = 3
          Width = 88
          Height = 30
          Cursor = crHandPoint
          Hint = 'Imprimir'
          BiDiMode = bdRightToLeft
          Caption = '&Imprimir'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          Glyph.Data = {
            76060000424D7606000000000000360400002800000018000000180000000100
            08000000000040020000F30E0000F30E00000001000000010000421821004221
            21004A2121004A29290031313100523131005A31310039393100313939003939
            390042D642004A4A4A007B4A5200844A52004A525200525252005A525200524A
            5A008C4A5A0052525A0063636300736363007B6363006B6B6300736B63007B6B
            63006B5A6B00845A6B007B636B0084636B006B6B6B00846B6B008C6B6B008C63
            7300846B73008C6B73009C6B7300737373007B737300847373007B947300A56B
            7B00A5737B00737B7B007B7B7B00847B7B009C7B7B00A57B7B00AD7B7B007B84
            7B00A5847B0084CE7B008CFF7B00847B84008C7B8400947B8400BD7B84007384
            840084848400A5848400AD848400B58484009C848C00848C8C008C8C8C00948C
            8C009C8C8C00BD8C8C00C68C8C0084948C00BD8C9400C68C9400849494008C94
            9400949494009C9494008C9C940094DE9400AD7B9C008C849C008C949C009494
            9C00AD949C008C9C9C00949C9C009C9C9C00A59C9C00B5A59C009CEF9C00A57B
            A500A5A5A500ADA5A500B5A5A500AD9CAD009CA5AD00BDA5AD00A5ADAD00ADAD
            AD00B5ADAD00ADB5B500B5B5B500B5B5BD00BDB5BD00B5BDBD00BDBDBD00BDD6
            BD00C6C6C600CEC6C600C6C6CE00C6CECE00CECECE00D6CECE00CED6CE00D6CE
            D600CED6D600D6D6D600DED6D600D6DEDE00DEDEDE00DEE7DE00E7D6E700DEE7
            E700E7E7E700EFE7E700E7EFE700E7EFEF00EFEFEF00F7EFEF00EFF7F700F7F7
            F700FF00FF00F7FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00828282828282
            82828282828282828282828282828282828282828282828282825A5555555555
            55555A828282828282828282828282825564737A7D7E7E7E7C76686256828282
            82828282828282820B2B7E816D676A6470846A260B658282828282828282820F
            0B1E7E81736B6F6A73846C170B0F648282828282821E140B0B3A81807671746F
            768472310B0B0B1E828282821E0B0B0B0B3F7972543F40645E7E6D3A0B0B0B0B
            1782822C0B102D0F0B1E556163636464605A51170B13390E0B1E820F142D3A14
            140B0B0B0B0B0B0B0B0B0B0B14116411110B820F355448534C49544A54403145
            4C4954504F6434531A09820F55686661412D221F1F1D1B1C1920213759536464
            5D0B821461755B23243B2F434447464643442A3C29162869640B82256472360D
            383C2F2F30302E2E302F323C3D124E7861148240646E370C0D060B0B0B0B0B0B
            0B0B0B060D0C3E6C613A8268646E52000B03151616151516161618050902566E
            64618282646F5F010B578484848484848484845C0B025C6E648282826863644B
            2741848484848484848483411C42676368828282827D7A7E7B737A8383838484
            848075737A7F7B7C82828282828282828277768184846E646464647282828282
            8282828282828282826F7683847E64646B6A6E73828282828282828282828282
            826A6E818176646484847E6E828282828282828282828282826A6E81816E6476
            847A6E82828282828282828282828282826864737364647E7A6E828282828282
            8282828282828282826A61646464686E6E828282828282828282}
          ParentBiDiMode = False
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          Spacing = 2
          TabOrder = 4
          OnClick = btnImprimirClick
        end
        object btnEmail: TcxButton [6]
          Left = 394
          Top = 3
          Width = 47
          Height = 30
          Hint = 'Enviar Xml e PDF por Email'
          OptionsImage.Glyph.SourceDPI = 96
          OptionsImage.Glyph.Data = {
            [encoded data, 8256 characters]
            00000000000000000000000000000000000000000000}
          ParentShowHint = False
          ShowHint = True
          TabOrder = 5
          OnClick = cxButton5Click
        end
        object btnXML: TcxButton [7]
          Left = 441
          Top = 3
          Width = 47
          Height = 30
          Hint = 'Copiar o Arquivo Xml'
          OptionsImage.Glyph.SourceDPI = 96
          OptionsImage.Glyph.Data = {
            [encoded data, 8256 characters]
            00000000000000000000000000000000000000000000}
          ParentShowHint = False
          ShowHint = True
          TabOrder = 7
          OnClick = btnXML2Click
        end
        object btnPDF: TcxButton [8]
          Left = 488
          Top = 3
          Width = 47
          Height = 31
          Hint = 'Salvar PDF'
          OptionsImage.Glyph.SourceDPI = 96
          OptionsImage.Glyph.Data = {
            [encoded data, 14848 characters]
            0000000000000000000000000000000000000000000000000000}
          ParentShowHint = False
          ShowHint = True
          TabOrder = 6
          OnClick = btnPDF2Click
        end
        inherited btnBtInserir2: TBitBtn
          TabOrder = 8
        end
      end
      object PaginasManutencao: TPageControl
        Left = 0
        Top = 157
        Width = 779
        Height = 239
        ActivePage = tabCliente
        Align = alClient
        Images = cxImageList1
        TabOrder = 1
        object tabCliente: TTabSheet
          Caption = 'Cliente'
          object GroupBox7: TGroupBox
            Left = 0
            Top = 0
            Width = 771
            Height = 208
            Align = alClient
            Color = clInfoBk
            ParentColor = False
            TabOrder = 0
            object edtBairroTransporte: TIB_Edit
              Left = 6
              Top = 179
              Width = 198
              Height = 24
              Hint = 'Bairro'
              AutoLabel.Caption = 'Bairro'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_BAIRRO'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 4
            end
            object edtCepTransporte: TIB_Edit
              Tag = 1
              Left = 6
              Top = 136
              Width = 100
              Height = 24
              Hint = 'Cep'
              AutoLabel.Caption = 'Cep'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_CEP'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 0
            end
            object edtEnderecoTransporte: TIB_Edit
              Left = 110
              Top = 136
              Width = 345
              Height = 24
              Hint = 'Endere'#231'o'
              AutoLabel.Caption = 'Endere'#231'o'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_LOGRADOURO'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 1
            end
            object edtCidadeTransporte: TIB_Edit
              Left = 309
              Top = 179
              Width = 323
              Height = 24
              Hint = 'Cidade'
              AutoLabel.Caption = 'Cidade'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_CIDADE'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 5
            end
            object edtNumeroTransporte: TIB_Edit
              Left = 463
              Top = 136
              Width = 89
              Height = 24
              Hint = 'N'#250'mero'
              AutoLabel.Caption = 'N'#250'mero'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_NUMERO'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 2
            end
            object edtComplementoTransporte: TIB_Edit
              Left = 563
              Top = 136
              Width = 143
              Height = 24
              Hint = 'Complemento'
              AutoLabel.Caption = 'Complemento'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_COMPLEMENTO'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 3
            end
            object edtTele1: TIB_Edit
              Left = 6
              Top = 82
              Width = 121
              Height = 24
              Hint = 'Telefone de contato'
              AutoLabel.Caption = 'Telefone 1'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_TELEFONE1'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 6
            end
            object edtTele2: TIB_Edit
              Left = 139
              Top = 82
              Width = 121
              Height = 24
              Hint = 'Telefone de contato'
              AutoLabel.Caption = 'Telefone 2'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_TELEFONE2'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              ReadOnly = True
              TabOrder = 7
            end
            object dbNomeFantasia: TIB_Edit
              Left = 7
              Top = 34
              Width = 481
              Height = 24
              AutoLabel.Caption = 'Nome Fantasia'
              AutoLabel.Kind = albTop
              DataField = 'CLIENTE_NOME_FANTASIA'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 8
            end
            object dbInscricao: TIB_Edit
              Left = 287
              Top = 82
              Width = 200
              Height = 24
              AutoLabel.Caption = 'Inscri'#231#227'o'
              AutoLabel.Kind = albTop
              DataField = 'CLIENTE_INSCRICAO'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 9
            end
            object dbCod_Municipio_IBGE: TIB_Edit
              Left = 213
              Top = 179
              Width = 89
              Height = 24
              Hint = 'N'#250'mero'
              AutoLabel.Caption = 'C'#243'd. Cidade'
              AutoLabel.Kind = albTop
              AutoLabel.Margin = 0
              DataField = 'CLIENTE_ENDERECO_COD_CIDADE'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              ParentBackground = False
              TabOrder = 10
            end
            object edtUfTransporte: TIB_LookupCombo
              Left = 638
              Top = 179
              Width = 70
              Height = 24
              AutoLabel.Caption = 'UF'
              AutoLabel.Kind = albTop
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              TabOrder = 11
              DisplayField = 'CLIENTE_ENDERECO_UF'
              ShowButton = True
            end
            object btnAlteraCliente: TBitBtn
              Left = 685
              Top = 8
              Width = 27
              Height = 29
              Hint = 'Alterar Cadastro Cliente'
              Glyph.Data = {
                5E060000424D5E06000000000000360400002800000018000000170000000100
                0800000000002802000000000000000000000001000000000000000000000000
                80000080000000808000800000008000800080800000C0C0C000C0DCC000F0CA
                A6000020400000206000002080000020A0000020C0000020E000004000000040
                20000040400000406000004080000040A0000040C0000040E000006000000060
                20000060400000606000006080000060A0000060C0000060E000008000000080
                20000080400000806000008080000080A0000080C0000080E00000A0000000A0
                200000A0400000A0600000A0800000A0A00000A0C00000A0E00000C0000000C0
                200000C0400000C0600000C0800000C0A00000C0C00000C0E00000E0000000E0
                200000E0400000E0600000E0800000E0A00000E0C00000E0E000400000004000
                20004000400040006000400080004000A0004000C0004000E000402000004020
                20004020400040206000402080004020A0004020C0004020E000404000004040
                20004040400040406000404080004040A0004040C0004040E000406000004060
                20004060400040606000406080004060A0004060C0004060E000408000004080
                20004080400040806000408080004080A0004080C0004080E00040A0000040A0
                200040A0400040A0600040A0800040A0A00040A0C00040A0E00040C0000040C0
                200040C0400040C0600040C0800040C0A00040C0C00040C0E00040E0000040E0
                200040E0400040E0600040E0800040E0A00040E0C00040E0E000800000008000
                20008000400080006000800080008000A0008000C0008000E000802000008020
                20008020400080206000802080008020A0008020C0008020E000804000008040
                20008040400080406000804080008040A0008040C0008040E000806000008060
                20008060400080606000806080008060A0008060C0008060E000808000008080
                20008080400080806000808080008080A0008080C0008080E00080A0000080A0
                200080A0400080A0600080A0800080A0A00080A0C00080A0E00080C0000080C0
                200080C0400080C0600080C0800080C0A00080C0C00080C0E00080E0000080E0
                200080E0400080E0600080E0800080E0A00080E0C00080E0E000C0000000C000
                2000C0004000C0006000C0008000C000A000C000C000C000E000C0200000C020
                2000C0204000C0206000C0208000C020A000C020C000C020E000C0400000C040
                2000C0404000C0406000C0408000C040A000C040C000C040E000C0600000C060
                2000C0604000C0606000C0608000C060A000C060C000C060E000C0800000C080
                2000C0804000C0806000C0808000C080A000C080C000C080E000C0A00000C0A0
                2000C0A04000C0A06000C0A08000C0A0A000C0A0C000C0A0E000C0C00000C0C0
                2000C0C04000C0C06000C0C08000C0C0A000F0FBFF00A4A0A000808080000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFFFFFFFFF
                FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6F6F6F6F6F6F6F6F6F6
                F6F6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6F6F6F6F6F6F6F6F6FFFFFFFFFFFF
                FFFFFFFFFFFFFFFFFFFFFFFFFFF6F6F6F6F6FFFFFFFFFFFFFFFFFFFFFFFF0791
                91FFF6F6F6F6F6F6F6F6FFFFFFFFFFFFFFFFFFFFFFFFFFFF91ECFFF6F6F6F6F6
                F6F6FFFFFFFFFFFFFFFFFFFFFFFFFFFFED9A07FFF6F6F6F6F6F6FFFFFFFFFFFF
                FFFFFFFFFFFFFFFFF5DAEDFFF6F6F6F6F6F6FFFFFFFFFFFFFFFFDAFFFFFFFFFF
                ECDADAFFFFFFF6F6F6F6FFFFFFFFFFFFFFE2E2E2FFFFE2E2E2E2E2E2E2FFF6F6
                F6F6FFFFFFFFFFFFE2E2E2E2E2FFFFE2E2E2E2E2FFF6F6F6F6F6FFFFFFFFFFE2
                E2E2E2E2E2E2FFFFE2E2E2FFFFF6F6F6F6F6FFFFFFFFFFFFFFE2E2F4FFFFFFFF
                FFE2FFFFF6F6F6F6F6F6FFFFFFFFFFFFFF09E209FFF6F6F6FFFFFFF6F6F6F6F6
                F6F6FFFFFFFFFFFFFF09EA09FFF6F6F6F6F6F6F6F6F6F6F6F6F6FFFFFFFFFFFF
                FFFF09EAFFFFF6F6F6F6F6F6F6F6F6F6F6F6FFFFFFFFFFFFFFFFFFF2F209FFF6
                F6F6F6F6F6F6F6F6F6F6FFFFFFFFFFFFFFFFFFFFFFFFF6F6F6F6F6F6F6F6F6F6
                F6F6FFFFFFFFFFFFF6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6FFFFFFFFF6F6
                F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6
                F6F6F6F6F6F6F6F6F6F6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FFFF}
              TabOrder = 12
              OnClick = btnAlteraClienteClick
            end
            object dbSimplesNacional: TIB_CheckBox
              Left = 523
              Top = 14
              Width = 150
              Height = 17
              DataField = 'CLIENTE.OPTANTE_SIMPLES'
              DataSource = dtCliente
              BorderStyle = bsNone
              ParentBackground = False
              ReadOnly = True
              TabOrder = 13
              Caption = 'Simples Nacional'
            end
            object IB_Edit24: TIB_Edit
              Left = 496
              Top = 82
              Width = 207
              Height = 24
              AutoLabel.Caption = 'Email'
              AutoLabel.Kind = albTop
              DataField = 'CLIENTE_EMAIL'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 14
            end
          end
        end
        object Produtos: TTabSheet
          Caption = 'Produtos'
          ImageIndex = 1
          object pnlIncluiProdutos: TPanel
            Left = 735
            Top = 0
            Width = 36
            Height = 208
            Align = alRight
            Alignment = taLeftJustify
            BevelOuter = bvNone
            Color = clInactiveBorder
            TabOrder = 0
            object btnIncluirProdutos: TBitBtn
              Tag = 2
              Left = 4
              Top = 20
              Width = 30
              Height = 30
              Hint = 'Incluir Produto'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -9
              Font.Name = 'Verdana'
              Font.Style = [fsBold]
              Glyph.Data = {
                F6060000424DF606000000000000360000002800000018000000180000000100
                180000000000C0060000120B0000120B00000000000000000000FF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FF097711097711097711097711FF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF06770CFFFFFF0EA41B0EA51C0EA51C097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF06770CFFFFFF0EA41B0EA5
                1C0EA51C097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF06770C
                FFFFFF0EA41B0EA51C0EA51C097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FF06770DFFFFFF0EA41B0EA51C0EA51C097711FF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF08780EFFFFFF10A61F0EA51B0EA51B097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF08780EFFFFFF17AB2911A8
                2111A821097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FF09771109771109771109771109771109771108780E
                FFFFFF1DB13218AD2A18AD2A08780E0977110977110977110977110977110977
                11FF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF52DD7E4CD87546D46D41
                CF663CCC5F36C65529BA4324B53B1FB13319AC2B1BB02F17AC2812A8210EA51C
                0EA51B0EA51B0EA51B097711FF00FFFF00FFFF00FFFF00FF097711FFFFFF52DD
                7E4CD87546D46D41CF663CCC5F36C65530BE4C2BBA4426B63D20B2361BB02F17
                AC2812A8210EA51C0EA51B0EA51C0EA51C097711FF00FFFF00FFFF00FFFF00FF
                097711FFFFFF56E08551DA7C4CD67546D26D42CE663CC95E37C55631C04F2CBC
                4827B74022B4381EB03219AC2B13A8230FA41D0EA31B0EA41B097711FF00FFFF
                00FFFF00FFFF00FF097711FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FFFFFF38C55833C1512EBE4AFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FF097711FF00FFFF00FFFF00FFFF00FFFF00FF09771109771109771109771109
                771109771108780EFFFFFF3FCC633BC95C3BC95C08780E097711097711097711
                097711097711097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF46D36E42D06842D068097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF4DD87749D5
                7149D571097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711
                FFFFFF54DD8150DB7B50DB7B097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FF097711FFFFFF59E28957E1855EE890097711FF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF5AE38A5CE58C5EE890097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFFFFFFFFFFFF
                FFFFFFFF097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                097711097711097711097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
              Layout = blGlyphTop
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              TabOrder = 0
              OnClick = btnIncluirProdutosClick
            end
          end
          object Panel9: TPanel
            Left = 0
            Top = 0
            Width = 735
            Height = 208
            Align = alClient
            BevelOuter = bvNone
            Color = clInfoBk
            TabOrder = 1
            object grdProdutos: TIB_Grid
              Left = 0
              Top = 0
              Width = 735
              Height = 208
              TabStop = False
              CustomGlyphsSupplied = []
              DataSource = dtItens
              Align = alClient
              Color = clInactiveBorder
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              OnDblClick = BtEditarClick
              Ctl3D = True
              ParentCtl3D = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 0
              OnKeyDown = grdPesquisaKeyDown
              FixedColor = 14804712
              RowSelect = True
              ColMoving = False
              IndicateSelected = False
              CurrentRowColor = clWhite
              CurrentRowFont.Charset = DEFAULT_CHARSET
              CurrentRowFont.Color = clWindowText
              CurrentRowFont.Height = -13
              CurrentRowFont.Name = 'Verdana'
              CurrentRowFont.Style = [fsBold]
              OrderingColor = 16770222
              OrderingFont.Charset = DEFAULT_CHARSET
              OrderingFont.Color = clBlue
              OrderingFont.Height = -12
              OrderingFont.Name = 'Verdana'
              OrderingFont.Style = []
              FixedFont.Charset = DEFAULT_CHARSET
              FixedFont.Color = clBlack
              FixedFont.Height = -11
              FixedFont.Name = 'Verdana'
              FixedFont.Style = [fsBold]
              OnTitleClick = grdPesquisaTitleClick
            end
          end
        end
        object Outros: TTabSheet
          Caption = 'Outros'
          ImageIndex = 2
          object dbObservacao_2: TIB_Memo
            Left = 13
            Top = 58
            Width = 671
            Height = 113
            Hint = 'Observa'#231#245'es'
            AutoLabel.Caption = 'Observa'#231#227'o'
            AutoLabel.Kind = albTop
            DataField = 'OBSERVACAO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 1
            AutoSize = False
          end
          object dbNumeroPedido: TIB_Edit
            Left = 14
            Top = 19
            Width = 121
            Height = 24
            Hint = 'N'#186' do pedido'
            AutoLabel.Caption = 'Pedido'
            AutoLabel.Kind = albTop
            DataField = 'COD_PEDIDO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 0
            OnExit = dbNumeroPedidoExit
          end
          object dbCondicaoPagamento: TIB_LookupCombo
            Left = 304
            Top = 19
            Width = 345
            Height = 26
            TabStop = False
            AutoLabel.Caption = 'Condi'#231#227'o de Pagamento'
            AutoLabel.Kind = albTop
            DataSource = dtCondicoesPagamento
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 2
            DisplayField = 'DESCRICAO'
            IndicateTitles = True
            ShowButton = True
          end
          object btnPesqCondicao: TBitBtn
            Tag = 2
            Left = 646
            Top = 19
            Width = 25
            Height = 25
            Hint = 'Pesquisar Forma Pagamento'
            Glyph.Data = {
              36050000424D3605000000000000360400002800000010000000100000000100
              08000000000000010000320B0000320B000000010000000100005A6B7300AD7B
              73004A637B00EFBD8400B58C8C00A5948C00C6948C00B59C8C00BD9C8C00F7BD
              8C00BD949400C6949400CE949400C69C9400CEAD9400F7CE9400C6A59C00CEA5
              9C00D6A59C00C6AD9C00CEAD9C00D6AD9C00F7CE9C00F7D69C004A7BA500CEAD
              A500D6B5A500DEBDA500F7D6A500DEBDAD00DEC6AD00E7C6AD00FFDEAD00FFE7
              AD00CEB5B500F7DEB500F7E7B500FFE7B500FFEFB500D6BDBD00DED6BD00E7DE
              BD00FFE7BD006B9CC600EFDEC600FFEFC600FFF7C600F7E7CE00FFF7CE00F7EF
              D600F7F7D600FFF7D600FFFFD6002184DE00F7F7DE00FFFFDE001884E700188C
              E700FFFFE700188CEF00218CEF00B5D6EF00F7F7EF00FFF7EF00FFFFEF00FFFF
              F700FF00FF004AB5FF0052B5FF0052BDFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042020A424242
              424242424242424242422B39180B42424242424242424242424243443C180B42
              4242424242424242424242444438180B42424242424242424242424244433918
              0A424242424242424242424242444335004201101A114242424242424242453D
              05072F343434291942424242424242221A2D34343437403E0442424242424206
              231C303437404146284242424242421B210F30373A414140310D42424242421F
              20032434373A3A37321342424242421D25030F2D37373737311042424242420D
              2D2D1C162430333429424242424242421E463F0F0316252E0842424242424242
              4227312D21252314424242424242424242420E141B1B42424242}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 3
            TabStop = False
            OnClick = btnPesqCondicaoClick
          end
          object btnIncluiCondicao: TBitBtn
            Tag = 2
            Left = 670
            Top = 19
            Width = 25
            Height = 25
            Hint = 'Cadastrar Nova Condi'#231#227'o de Pagamento'
            Glyph.Data = {
              36050000424D3605000000000000360400002800000010000000100000000100
              08000000000000010000130B0000130B000000010000000100002184290039B5
              520063A563006BAD840094DE8C00FF00FF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00050505050505
              0505050505050505050505050505050503000003050505050505050505050505
              0204010005050505050505050505050502040100050505050505050505050505
              0204010005050505050505050505050502040100050505050505050300000000
              0004010000000000030505020101010101010101010101010005050204040404
              0404010404040404000505030202020202040100000000000305050505050505
              0204010005050505050505050505050502040100050505050505050505050505
              0204010005050505050505050505050502040100050505050505050505050505
              0302020305050505050505050505050505050505050505050505}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 4
            TabStop = False
            OnClick = btnIncluiCondicaoClick
          end
          object IB_Edit26: TIB_Edit
            Left = 141
            Top = 19
            Width = 147
            Height = 24
            Hint = 'Ordem de Compra'
            AutoLabel.Caption = 'Ordem de Compra'
            AutoLabel.Kind = albTop
            DataField = 'ORDEM_COMPRA'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 5
            OnExit = dbNumeroPedidoExit
          end
        end
        object Despacho: TTabSheet
          Caption = 'Despacho'
          ImageIndex = 3
          object dbVolumes: TIB_Edit
            Left = 8
            Top = 183
            Width = 65
            Height = 24
            Hint = 'Quantidade de volumes para despacho'
            AutoLabel.Caption = 'Volumes'
            AutoLabel.Kind = albTop
            DataField = 'NF.VOLUMES'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 0
          end
          object GroupBox6: TGroupBox
            Left = 6
            Top = 0
            Width = 705
            Height = 97
            Caption = 'Transportador'
            Color = clWhite
            ParentColor = False
            TabOrder = 1
            object dbNomeTransportador: TIB_Edit
              Left = 144
              Top = 28
              Width = 545
              Height = 24
              AutoLabel.Caption = 'Nome'
              AutoLabel.Kind = albTop
              DataField = 'RAZAO_SOCIAL'
              DataSource = dtTransportador
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 0
            end
            object btnPesquisaTransportador: TBitBtn
              Tag = 2
              Left = 93
              Top = 26
              Width = 25
              Height = 25
              Hint = 'Pesquisar Transportador'
              Glyph.Data = {
                36050000424D3605000000000000360400002800000010000000100000000100
                08000000000000010000320B0000320B000000010000000100005A6B7300AD7B
                73004A637B00EFBD8400B58C8C00A5948C00C6948C00B59C8C00BD9C8C00F7BD
                8C00BD949400C6949400CE949400C69C9400CEAD9400F7CE9400C6A59C00CEA5
                9C00D6A59C00C6AD9C00CEAD9C00D6AD9C00F7CE9C00F7D69C004A7BA500CEAD
                A500D6B5A500DEBDA500F7D6A500DEBDAD00DEC6AD00E7C6AD00FFDEAD00FFE7
                AD00CEB5B500F7DEB500F7E7B500FFE7B500FFEFB500D6BDBD00DED6BD00E7DE
                BD00FFE7BD006B9CC600EFDEC600FFEFC600FFF7C600F7E7CE00FFF7CE00F7EF
                D600F7F7D600FFF7D600FFFFD6002184DE00F7F7DE00FFFFDE001884E700188C
                E700FFFFE700188CEF00218CEF00B5D6EF00F7F7EF00FFF7EF00FFFFEF00FFFF
                F700FF00FF004AB5FF0052B5FF0052BDFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042020A424242
                424242424242424242422B39180B42424242424242424242424243443C180B42
                4242424242424242424242444438180B42424242424242424242424244433918
                0A424242424242424242424242444335004201101A114242424242424242453D
                05072F343434291942424242424242221A2D34343437403E0442424242424206
                231C303437404146284242424242421B210F30373A414140310D42424242421F
                20032434373A3A37321342424242421D25030F2D37373737311042424242420D
                2D2D1C162430333429424242424242421E463F0F0316252E0842424242424242
                4227312D21252314424242424242424242420E141B1B42424242}
              ParentShowHint = False
              ShowHint = True
              TabOrder = 1
              TabStop = False
              OnClick = btnPesquisaTransportadorClick
            end
            object btnIncluiTransportador: TBitBtn
              Tag = 2
              Left = 117
              Top = 26
              Width = 25
              Height = 25
              Hint = 'Cadastrar Novo Transportador'
              Glyph.Data = {
                36050000424D3605000000000000360400002800000010000000100000000100
                08000000000000010000130B0000130B000000010000000100002184290039B5
                520063A563006BAD840094DE8C00FF00FF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00050505050505
                0505050505050505050505050505050503000003050505050505050505050505
                0204010005050505050505050505050502040100050505050505050505050505
                0204010005050505050505050505050502040100050505050505050300000000
                0004010000000000030505020101010101010101010101010005050204040404
                0404010404040404000505030202020202040100000000000305050505050505
                0204010005050505050505050505050502040100050505050505050505050505
                0204010005050505050505050505050502040100050505050505050505050505
                0302020305050505050505050505050505050505050505050505}
              ParentShowHint = False
              ShowHint = True
              TabOrder = 2
              TabStop = False
              OnClick = btnIncluiTransportadorClick
            end
            object dbCodigoTransportador: TIB_Edit
              Tag = 1
              Left = 8
              Top = 27
              Width = 83
              Height = 24
              DataField = 'NF.COD_TRANSPORTADOR'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              TabOrder = 3
              OnExit = dbCodigoTransportadorExit
              OnKeyDown = dbCodigoTransportadorKeyDown
            end
            object IB_Edit3: TIB_Edit
              Left = 408
              Top = 70
              Width = 233
              Height = 24
              AutoLabel.Caption = 'Cidade'
              AutoLabel.Kind = albTop
              DataField = 'ENDERECO_CIDADE'
              DataSource = dtTransportador
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              BorderStyle = bsNone
              ParentBackground = False
              ReadOnly = True
              TabOrder = 4
            end
            object IB_Edit6: TIB_Edit
              Left = 8
              Top = 70
              Width = 185
              Height = 24
              AutoLabel.Caption = 'CNPJ/CPF'
              AutoLabel.Kind = albTop
              DataField = 'CNPJ'
              DataSource = dtTransportador
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              BorderStyle = bsNone
              ParentBackground = False
              ReadOnly = True
              TabOrder = 5
            end
            object IB_Edit7: TIB_Edit
              Left = 216
              Top = 70
              Width = 177
              Height = 24
              AutoLabel.Caption = 'Inscri'#231#227'o'
              AutoLabel.Kind = albTop
              DataField = 'INSCRICAO'
              DataSource = dtTransportador
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              BorderStyle = bsNone
              ParentBackground = False
              ReadOnly = True
              TabOrder = 6
            end
            object IB_Edit22: TIB_Edit
              Left = 648
              Top = 70
              Width = 41
              Height = 24
              AutoLabel.Caption = 'UF'
              AutoLabel.Kind = albTop
              DataField = 'DESCRICAO'
              DataSource = dtUF_Transportador
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              BorderStyle = bsNone
              ParentBackground = False
              ReadOnly = True
              TabOrder = 7
            end
          end
          object edtEspecieMercadoria: TIB_LookupCombo
            Left = 80
            Top = 183
            Width = 281
            Height = 26
            Hint = 'Esp'#233'cie de volume da mercadoria'
            AutoLabel.Caption = 'Esp'#233'cie'
            AutoLabel.Kind = albTop
            DataSource = dtEspecie_Mercadoria
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 2
            DisplayField = 'DESCRICAO'
            IndicateTitles = True
            ShowButton = True
          end
          object btnPesquisaEspecieMercadoria: TBitBtn
            Tag = 2
            Left = 366
            Top = 183
            Width = 25
            Height = 25
            Hint = 'Pesquisar Esp'#233'cie'
            Glyph.Data = {
              36050000424D3605000000000000360400002800000010000000100000000100
              08000000000000010000320B0000320B000000010000000100005A6B7300AD7B
              73004A637B00EFBD8400B58C8C00A5948C00C6948C00B59C8C00BD9C8C00F7BD
              8C00BD949400C6949400CE949400C69C9400CEAD9400F7CE9400C6A59C00CEA5
              9C00D6A59C00C6AD9C00CEAD9C00D6AD9C00F7CE9C00F7D69C004A7BA500CEAD
              A500D6B5A500DEBDA500F7D6A500DEBDAD00DEC6AD00E7C6AD00FFDEAD00FFE7
              AD00CEB5B500F7DEB500F7E7B500FFE7B500FFEFB500D6BDBD00DED6BD00E7DE
              BD00FFE7BD006B9CC600EFDEC600FFEFC600FFF7C600F7E7CE00FFF7CE00F7EF
              D600F7F7D600FFF7D600FFFFD6002184DE00F7F7DE00FFFFDE001884E700188C
              E700FFFFE700188CEF00218CEF00B5D6EF00F7F7EF00FFF7EF00FFFFEF00FFFF
              F700FF00FF004AB5FF0052B5FF0052BDFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042020A424242
              424242424242424242422B39180B42424242424242424242424243443C180B42
              4242424242424242424242444438180B42424242424242424242424244433918
              0A424242424242424242424242444335004201101A114242424242424242453D
              05072F343434291942424242424242221A2D34343437403E0442424242424206
              231C303437404146284242424242421B210F30373A414140310D42424242421F
              20032434373A3A37321342424242421D25030F2D37373737311042424242420D
              2D2D1C162430333429424242424242421E463F0F0316252E0842424242424242
              4227312D21252314424242424242424242420E141B1B42424242}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 3
            TabStop = False
            OnClick = btnPesquisaEspecieMercadoriaClick
          end
          object BitBtn5: TBitBtn
            Tag = 2
            Left = 392
            Top = 183
            Width = 23
            Height = 25
            Hint = 'Cadastrar Nova Esp'#233'cie'
            Glyph.Data = {
              36050000424D3605000000000000360400002800000010000000100000000100
              08000000000000010000130B0000130B000000010000000100002184290039B5
              520063A563006BAD840094DE8C00FF00FF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00050505050505
              0505050505050505050505050505050503000003050505050505050505050505
              0204010005050505050505050505050502040100050505050505050505050505
              0204010005050505050505050505050502040100050505050505050300000000
              0004010000000000030505020101010101010101010101010005050204040404
              0404010404040404000505030202020202040100000000000305050505050505
              0204010005050505050505050505050502040100050505050505050505050505
              0204010005050505050505050505050502040100050505050505050505050505
              0302020305050505050505050505050505050505050505050505}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 4
            TabStop = False
            OnClick = BitBtn5Click
          end
          object IB_Edit8: TIB_Edit
            Left = 421
            Top = 111
            Width = 121
            Height = 24
            Hint = 'Peso bruto'
            AutoLabel.Caption = 'Peso Bruto'
            AutoLabel.Kind = albTop
            DataField = 'NF.PESO_BRUTO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 5
          end
          object IB_Edit9: TIB_Edit
            Left = 584
            Top = 111
            Width = 121
            Height = 24
            Hint = 'Peso l'#237'quido'
            AutoLabel.Caption = 'Peso L'#237'quido'
            AutoLabel.Kind = albTop
            DataField = 'NF.PESO_LIQUIDO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 6
          end
          object GroupBox4: TGroupBox
            Left = 214
            Top = 96
            Width = 200
            Height = 73
            Caption = 'Ve'#237'culo'
            TabOrder = 7
            object IB_Edit11: TIB_Edit
              Left = 6
              Top = 38
              Width = 115
              Height = 24
              Hint = 'Placa do Ve'#237'culo'
              AutoLabel.Caption = 'Placa'
              AutoLabel.Kind = albTop
              DataField = 'NF.VEICULO_PLACA'
              DataSource = DsPrincipal
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              TabOrder = 0
            end
            object IB_LookupCombo3: TIB_LookupCombo
              Left = 125
              Top = 38
              Width = 70
              Height = 24
              Hint = 'UF do Ve'#237'culo'
              AutoLabel.Caption = 'UF'
              AutoLabel.Kind = albTop
              DataSource = dtUF_Veiculo
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 1
              DisplayField = 'DESCRICAO'
              ShowButton = True
            end
          end
          object btnImprimeDespacho: TBitBtn
            Left = 421
            Top = 178
            Width = 288
            Height = 30
            Cursor = crHandPoint
            Hint = 'Imprimir Etiqueta Despacho'
            BiDiMode = bdRightToLeft
            Caption = '&Etiqueta Despacho'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -12
            Font.Name = 'Verdana'
            Font.Style = [fsBold]
            Glyph.Data = {
              76060000424D7606000000000000360400002800000018000000180000000100
              08000000000040020000F30E0000F30E00000001000000010000421821004221
              21004A2121004A29290031313100523131005A31310039393100313939003939
              390042D642004A4A4A007B4A5200844A52004A525200525252005A525200524A
              5A008C4A5A0052525A0063636300736363007B6363006B6B6300736B63007B6B
              63006B5A6B00845A6B007B636B0084636B006B6B6B00846B6B008C6B6B008C63
              7300846B73008C6B73009C6B7300737373007B737300847373007B947300A56B
              7B00A5737B00737B7B007B7B7B00847B7B009C7B7B00A57B7B00AD7B7B007B84
              7B00A5847B0084CE7B008CFF7B00847B84008C7B8400947B8400BD7B84007384
              840084848400A5848400AD848400B58484009C848C00848C8C008C8C8C00948C
              8C009C8C8C00BD8C8C00C68C8C0084948C00BD8C9400C68C9400849494008C94
              9400949494009C9494008C9C940094DE9400AD7B9C008C849C008C949C009494
              9C00AD949C008C9C9C00949C9C009C9C9C00A59C9C00B5A59C009CEF9C00A57B
              A500A5A5A500ADA5A500B5A5A500AD9CAD009CA5AD00BDA5AD00A5ADAD00ADAD
              AD00B5ADAD00ADB5B500B5B5B500B5B5BD00BDB5BD00B5BDBD00BDBDBD00BDD6
              BD00C6C6C600CEC6C600C6C6CE00C6CECE00CECECE00D6CECE00CED6CE00D6CE
              D600CED6D600D6D6D600DED6D600D6DEDE00DEDEDE00DEE7DE00E7D6E700DEE7
              E700E7E7E700EFE7E700E7EFE700E7EFEF00EFEFEF00F7EFEF00EFF7F700F7F7
              F700FF00FF00F7FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00828282828282
              82828282828282828282828282828282828282828282828282825A5555555555
              55555A828282828282828282828282825564737A7D7E7E7E7C76686256828282
              82828282828282820B2B7E816D676A6470846A260B658282828282828282820F
              0B1E7E81736B6F6A73846C170B0F648282828282821E140B0B3A81807671746F
              768472310B0B0B1E828282821E0B0B0B0B3F7972543F40645E7E6D3A0B0B0B0B
              1782822C0B102D0F0B1E556163636464605A51170B13390E0B1E820F142D3A14
              140B0B0B0B0B0B0B0B0B0B0B14116411110B820F355448534C49544A54403145
              4C4954504F6434531A09820F55686661412D221F1F1D1B1C1920213759536464
              5D0B821461755B23243B2F434447464643442A3C29162869640B82256472360D
              383C2F2F30302E2E302F323C3D124E7861148240646E370C0D060B0B0B0B0B0B
              0B0B0B060D0C3E6C613A8268646E52000B03151616151516161618050902566E
              64618282646F5F010B578484848484848484845C0B025C6E648282826863644B
              2741848484848484848483411C42676368828282827D7A7E7B737A8383838484
              848075737A7F7B7C82828282828282828277768184846E646464647282828282
              8282828282828282826F7683847E64646B6A6E73828282828282828282828282
              826A6E818176646484847E6E828282828282828282828282826A6E81816E6476
              847A6E82828282828282828282828282826864737364647E7A6E828282828282
              8282828282828282826A61646464686E6E828282828282828282}
            ParentBiDiMode = False
            ParentFont = False
            ParentShowHint = False
            ShowHint = True
            Spacing = 2
            TabOrder = 8
            OnClick = btnImprimeDespachoClick
          end
          object IB_Edit23: TIB_Edit
            Left = 618
            Top = 153
            Width = 90
            Height = 24
            Hint = 
              'RNTRC - Registro Nacional dos Transportadores Rodovi'#225'rios de Car' +
              'gas'
            AutoLabel.Caption = 'RNTC / ANTT'
            AutoLabel.Kind = albTop
            DataField = 'RNTC'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 9
          end
          object IB_Edit2: TIB_Edit
            Left = 519
            Top = 153
            Width = 90
            Height = 24
            AutoLabel.Caption = 'Marca'
            AutoLabel.Kind = albTop
            DataField = 'MARCA'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 10
          end
          object dbNumeracaoVolumes: TIB_Edit
            Left = 421
            Top = 152
            Width = 90
            Height = 24
            Hint = 'Numera'#231#227'o Volumes'
            AutoLabel.Caption = 'Numera'#231#227'o'
            AutoLabel.Kind = albTop
            DataField = 'NUMERACAO_VOLUME'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 11
          end
          object IB_RadioGroup1: TIB_RadioGroup
            Left = 3
            Top = 96
            Width = 205
            Height = 73
            Caption = 'Frete'
            DataField = 'NF.CIF_FOB'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = [fsBold]
            ParentFont = False
            BorderStyle = bsNone
            ParentBackground = False
            TabOrder = 12
            Items.Strings = (
              'Pago'
              #192' Pagar')
            Values.Strings = (
              'C'
              'F')
          end
          object IB_Edit25: TIB_Edit
            Left = 107
            Top = 133
            Width = 82
            Height = 24
            TabStop = False
            AutoLabel.Caption = 'Valor Frete'
            AutoLabel.Kind = albTop
            DataField = 'NF.VALOR_FRETE'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 13
          end
        end
        object TabSheet1: TTabSheet
          Caption = 'Imposto'
          ImageIndex = 6
          object IB_Edit12: TIB_Edit
            Left = 1
            Top = 35
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Base C'#225'lculo'
            AutoLabel.Kind = albTop
            DataField = 'NF.BASE_CALCULO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 0
          end
          object IB_LookupCombo4: TIB_LookupCombo
            Left = 131
            Top = 35
            Width = 120
            Height = 26
            AutoLabel.Caption = 'Al'#237'quota'
            AutoLabel.Kind = albTop
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 1
            DisplayField = 'DESCRICAO'
            IndicateTitles = True
            ShowButton = True
          end
          object IB_Edit13: TIB_Edit
            Left = 265
            Top = 35
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Valor ICMS'
            AutoLabel.Kind = albTop
            DataField = 'NF.VALOR_ICMS'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 2
          end
          object IB_Edit14: TIB_Edit
            Left = 1
            Top = 89
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Base ST'
            AutoLabel.Kind = albTop
            DataField = 'NF.BASE_ICMS_SUBSTITUICAO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 3
          end
          object IB_Edit15: TIB_Edit
            Left = 131
            Top = 89
            Width = 120
            Height = 24
            AutoLabel.Caption = 'ICM ST'
            AutoLabel.Kind = albTop
            DataField = 'NF.ICMS_SUBSTITUICAO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 4
          end
          object IB_Edit16: TIB_Edit
            Left = 265
            Top = 89
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Outras Despesas'
            AutoLabel.Kind = albTop
            DataField = 'NF.OUTRAS_DESPESAS'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 5
          end
          object IB_Edit17: TIB_Edit
            Left = 1
            Top = 142
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Valor Seguro'
            AutoLabel.Kind = albTop
            DataField = 'NF.VALOR_SEGURO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 6
          end
          object IB_Edit18: TIB_Edit
            Left = 131
            Top = 142
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Credito ICM'
            AutoLabel.Kind = albTop
            DataField = 'PEDIDOS.DESCONTO_VALOR'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 7
          end
          object IB_Edit19: TIB_Edit
            Left = 265
            Top = 142
            Width = 120
            Height = 24
            AutoLabel.Caption = 'Valor IPI'
            AutoLabel.Kind = albTop
            DataField = 'NF.TOTAL_IPI'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 8
          end
          object IB_Memo1: TIB_Memo
            Left = 400
            Top = 34
            Width = 340
            Height = 134
            Hint = 'Observa'#231#245'es do FISCO - Normalmente geradas pelo sistema'
            AutoLabel.Caption = 'Observa'#231#227'o Fisco'
            AutoLabel.Kind = albTop
            DataField = 'NF.OBS_FISCO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 9
            AutoSize = False
          end
        end
        object Historico: TTabSheet
          Caption = 'Hist'#243'rico'
          ImageIndex = 4
          object Panel5: TPanel
            Left = 0
            Top = 0
            Width = 735
            Height = 208
            Align = alClient
            TabOrder = 0
            object IB_Grid1: TIB_Grid
              Left = 1
              Top = 1
              Width = 733
              Height = 206
              TabStop = False
              CustomGlyphsSupplied = []
              DataSource = dtHistorico
              Align = alClient
              Color = clBtnFace
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Verdana'
              Font.Style = []
              ParentFont = False
              Ctl3D = True
              ParentCtl3D = False
              ParentBackground = False
              ReadOnly = True
              TabOrder = 0
              FixedColor = 14804712
              RowSelect = True
              ColMoving = False
              IndicateSelected = False
              CurrentRowColor = clWhite
              CurrentRowFont.Charset = DEFAULT_CHARSET
              CurrentRowFont.Color = clWindowText
              CurrentRowFont.Height = -12
              CurrentRowFont.Name = 'Verdana'
              CurrentRowFont.Style = [fsBold]
              OrderingColor = 16770222
              OrderingFont.Charset = DEFAULT_CHARSET
              OrderingFont.Color = clBlue
              OrderingFont.Height = -12
              OrderingFont.Name = 'Verdana'
              OrderingFont.Style = []
              FixedFont.Charset = DEFAULT_CHARSET
              FixedFont.Color = clBlack
              FixedFont.Height = -12
              FixedFont.Name = 'Verdana'
              FixedFont.Style = [fsBold]
            end
          end
          object Panel8: TPanel
            Left = 735
            Top = 0
            Width = 36
            Height = 208
            Align = alRight
            Alignment = taLeftJustify
            BevelOuter = bvNone
            TabOrder = 1
            object BitBtn2: TBitBtn
              Tag = 2
              Left = 4
              Top = 28
              Width = 30
              Height = 28
              Hint = 'Incluir Produto'
              Glyph.Data = {
                F6060000424DF606000000000000360000002800000018000000180000000100
                180000000000C0060000120B0000120B00000000000000000000FF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FF097711097711097711097711FF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF06770CFFFFFF0EA41B0EA51C0EA51C097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF06770CFFFFFF0EA41B0EA5
                1C0EA51C097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF06770C
                FFFFFF0EA41B0EA51C0EA51C097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FF06770DFFFFFF0EA41B0EA51C0EA51C097711FF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF08780EFFFFFF10A61F0EA51B0EA51B097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF08780EFFFFFF17AB2911A8
                2111A821097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FF09771109771109771109771109771109771108780E
                FFFFFF1DB13218AD2A18AD2A08780E0977110977110977110977110977110977
                11FF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF52DD7E4CD87546D46D41
                CF663CCC5F36C65529BA4324B53B1FB13319AC2B1BB02F17AC2812A8210EA51C
                0EA51B0EA51B0EA51B097711FF00FFFF00FFFF00FFFF00FF097711FFFFFF52DD
                7E4CD87546D46D41CF663CCC5F36C65530BE4C2BBA4426B63D20B2361BB02F17
                AC2812A8210EA51C0EA51B0EA51C0EA51C097711FF00FFFF00FFFF00FFFF00FF
                097711FFFFFF56E08551DA7C4CD67546D26D42CE663CC95E37C55631C04F2CBC
                4827B74022B4381EB03219AC2B13A8230FA41D0EA31B0EA41B097711FF00FFFF
                00FFFF00FFFF00FF097711FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FFFFFF38C55833C1512EBE4AFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                FF097711FF00FFFF00FFFF00FFFF00FFFF00FF09771109771109771109771109
                771109771108780EFFFFFF3FCC633BC95C3BC95C08780E097711097711097711
                097711097711097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF46D36E42D06842D068097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF4DD87749D5
                7149D571097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711
                FFFFFF54DD8150DB7B50DB7B097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FF097711FFFFFF59E28957E1855EE890097711FF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FF097711FFFFFF5AE38A5CE58C5EE890097711FF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF097711FFFFFFFFFFFFFFFF
                FFFFFFFF097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                097711097711097711097711FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
              ParentShowHint = False
              ShowHint = True
              TabOrder = 1
            end
            object BitBtn1: TBitBtn
              Tag = 2
              Left = 4
              Top = 55
              Width = 30
              Height = 28
              Hint = 'Retirar produto'
              Glyph.Data = {
                F6060000424DF606000000000000360000002800000018000000180000000100
                180000000000C0060000120B0000120B00000000000000000000FF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FF00006D00006D00006D00006D00006D00006D
                00006D00006D00006D00006D00006D00006D00006D00006D00006D00006DFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00006D7C8EDA0003E10003E100
                03E10003DC0003D50002CF0002C80002C20002BA0001B50001AE0001A70001A2
                00019A00019A00006DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00006DE1E1
                E10003E10003E00003E00003DC0003D50002CF0002C80002C20002BA0001B500
                01AE0001A70001A200019A00029700006DFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FF00006DE1E1E10001DD0001DC0001DC0001DC0001D50001CF0001C80001
                C30001BB0001B60000B00000A80000A300009D00019800006DFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FF00006DE1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1
                E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1A6B0DAA6B0DA7C8EDA7C8EDA7C8EDA0000
                6DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00006D00006D00006D00
                006D00006D00006D00006D00006D00006D00006D00006D00006D00006D00006D
                00006D00006DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
                FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
                FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
                00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
              ParentShowHint = False
              ShowHint = True
              TabOrder = 0
            end
          end
        end
        object TabSheet2: TTabSheet
          Caption = 'NFe'
          ImageIndex = 5
          object lblAmbienteNFe: TLabel
            Left = 9
            Top = 190
            Width = 115
            Height = 16
            Caption = 'lblAmbienteNFe'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clGray
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object lblIEnviarXML: TLabel
            Left = 5
            Top = 136
            Width = 253
            Height = 13
            Caption = 'Aguarde enquanto enviamos os Emails'
            Color = clWhite
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clOlive
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = [fsBold]
            ParentColor = False
            ParentFont = False
          end
          object lblVerificarprotocolo: TLabel
            Left = 406
            Top = 65
            Width = 176
            Height = 13
            Caption = '::::::::::::::::::::::::::::::::::::::::::::'
            Color = clWhite
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clOlive
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = [fsBold]
            ParentColor = False
            ParentFont = False
          end
          object dbChaveAcesso: TIB_Edit
            Left = 9
            Top = 25
            Width = 424
            Height = 21
            AutoLabel.Caption = 'Chave de Acesso'
            AutoLabel.Kind = albTop
            AutoLabel.Margin = 0
            DataField = 'CHAVE_ACESSO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            ReadOnly = True
            TabOrder = 0
          end
          object edtProtocolo: TIB_Edit
            Left = 9
            Top = 65
            Width = 280
            Height = 21
            AutoLabel.Caption = 'Protocolo'
            AutoLabel.Kind = albTop
            AutoLabel.Margin = 0
            DataField = 'PROTOCOLO_AUTORIZACAO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            ReadOnly = True
            TabOrder = 1
          end
          object btnVerificaTransmissao: TcxButton
            Left = 291
            Top = 56
            Width = 110
            Height = 35
            Hint = 'Consulta o n'#250'mero do recibo de transmiss'#227'o da NFe'
            Caption = 'Verificar'
            OptionsImage.Glyph.SourceDPI = 96
            OptionsImage.Glyph.Data = {
              [encoded data, 8256 characters]
              00000000000000000000000000000000000000000000}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 5
            OnClick = btnVerificaTransmissaoClick
          end
          object btnNFeTudo: TcxButton
            Left = 441
            Top = 14
            Width = 156
            Height = 35
            Hint = 'Gerar e Transmitir a NFe'
            Caption = 'Transmitir'
            OptionsImage.Glyph.SourceDPI = 96
            OptionsImage.Glyph.Data = {
              [encoded data, 8256 characters]
              00000000000000000000000000000000000000000000}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 6
            OnClick = btnNFeTudoClick
          end
          object dbFinalidade: TIB_ComboBox
            Left = 13
            Top = 109
            Width = 169
            Height = 24
            AutoLabel.Caption = 'Finalidade de Emiss'#227'o '
            AutoLabel.Kind = albTop
            DataField = 'FINALIDADE_EMISSAO'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            ParentBackground = False
            TabOrder = 8
            OnExit = dbFinalidadeExit
            Items.Strings = (
              'NORMAL'
              'COMPLEMENTAR'
              'AJUSTE'
              'DEVOLU'#199#195'O')
            ItemValues.Strings = (
              'NORMAL'
              'COMPLEMENTAR'
              'AJUSTE'
              'DEVOLU'#199#195'O')
          end
          object dbChaveNfeReferencia: TIB_Edit
            Left = 185
            Top = 109
            Width = 280
            Height = 21
            AutoLabel.Caption = 'Chave de Acesso Nfe Referencia'
            AutoLabel.Kind = albTop
            AutoLabel.Margin = 0
            DataField = 'REFERENCIA_NFE'
            DataSource = DsPrincipal
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
            Visible = False
            ParentBackground = False
            TabOrder = 9
          end
          object btnPDF2: TcxButton
            Left = 144
            Top = 152
            Width = 47
            Height = 35
            Hint = 'Salvar PDF'
            OptionsImage.Glyph.SourceDPI = 96
            OptionsImage.Glyph.Data = {
              [encoded data, 14848 characters]
              0000000000000000000000000000000000000000000000000000}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 7
            OnClick = btnPDF2Click
          end
          object btnVerificaWebService: TcxButton
            Left = 9
            Top = 152
            Width = 47
            Height = 35
            Hint = 'Verificar o Status do servicos dos servidores da receita federal'
            OptionsImage.Glyph.SourceDPI = 96
            OptionsImage.Glyph.Data = {
              [encoded data, 8256 characters]
              00000000000000000000000000000000000000000000}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 3
            OnClick = btnVerificaWebServiceClick
          end
          object btnEmail2: TcxButton
            Left = 54
            Top = 152
            Width = 47
            Height = 35
            Hint = 'Enviar Xml e PDF por Email'
            OptionsImage.Glyph.SourceDPI = 96
            OptionsImage.Glyph.Data = {
              [encoded data, 8256 characters]
              00000000000000000000000000000000000000000000}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 4
            OnClick = cxButton5Click
          end
          object btnXML2: TcxButton
            Left = 99
            Top = 152
            Width = 47
            Height = 35
            Hint = 'Copiar o Arquivo Xml'
            OptionsImage.Glyph.SourceDPI = 96
            OptionsImage.Glyph.Data = {
              [encoded data, 8256 characters]
              00000000000000000000000000000000000000000000}
            ParentShowHint = False
            ShowHint = True
            TabOrder = 2
            OnClick = btnXML2Click
          end
        end
      end
      object Panel4: TPanel
        Left = 0
        Top = 396
        Width = 852
        Height = 113
        Align = alBottom
        Color = clMoneyGreen
        TabOrder = 2
        object dbItems: TIB_Edit
          Left = 7
          Top = 21
          Width = 42
          Height = 24
          AutoLabel.Caption = 'Itens'
          AutoLabel.Kind = albTop
          DataField = 'NF.ITEMS'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          ReadOnly = True
          TabOrder = 0
        end
        object dbValorDesconto: TIB_Edit
          Left = 407
          Top = 69
          Width = 121
          Height = 24
          AutoLabel.Caption = 'Valor Desconto'
          AutoLabel.Kind = albTop
          DataField = 'DESCONTO_VALOR'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 1
          OnExit = dbValorDescontoExit
        end
        object dbPercentualDesconto: TIB_Edit
          Left = 538
          Top = 69
          Width = 70
          Height = 24
          AutoLabel.Caption = '%'
          AutoLabel.Kind = albTop
          DataField = 'DESCONTO_PERCENTUAL'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 2
          OnExit = dbPercentualDescontoExit
        end
        object dbTotalProdutos: TIB_Edit
          Left = 630
          Top = 21
          Width = 121
          Height = 24
          AutoLabel.Caption = 'Total Produtos'
          AutoLabel.Kind = albTop
          DataField = 'NF.TOTAL_PRODUTOS'
          DataSource = DsPrincipal
          Color = clYellow
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = [fsBold]
          ParentFont = False
          ParentBackground = False
          ReadOnly = True
          TabOrder = 3
        end
        object dbTotalPedidos: TIB_Edit
          Left = 630
          Top = 69
          Width = 121
          Height = 24
          AutoLabel.Caption = 'Total Nota'
          AutoLabel.Kind = albTop
          DataField = 'NF.TOTAL_NF'
          DataSource = DsPrincipal
          Color = clYellow
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = [fsBold]
          ParentFont = False
          ParentBackground = False
          ReadOnly = True
          TabOrder = 4
        end
        object IB_Edit4: TIB_Edit
          Left = 55
          Top = 21
          Width = 115
          Height = 24
          AutoLabel.Caption = 'Base C'#225'lculo'
          AutoLabel.Kind = albTop
          DataField = 'NF.BASE_CALCULO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 5
        end
        object IB_Edit5: TIB_Edit
          Left = 249
          Top = 21
          Width = 115
          Height = 24
          AutoLabel.Caption = 'Valor ICMS'
          AutoLabel.Kind = albTop
          DataField = 'NF.VALOR_ICMS'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 7
        end
        object IB_Edit10: TIB_Edit
          Left = 370
          Top = 21
          Width = 115
          Height = 24
          AutoLabel.Caption = 'Base ST'
          AutoLabel.Kind = albTop
          DataField = 'NF.BASE_ICMS_SUBSTITUICAO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 8
        end
        object dbICMST: TIB_Edit
          Left = 493
          Top = 21
          Width = 115
          Height = 24
          AutoLabel.Caption = 'ICM ST'
          AutoLabel.Kind = albTop
          DataField = 'NF.ICMS_SUBSTITUICAO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 9
        end
        object dbAliquota: TIB_ComboBox
          Left = 172
          Top = 21
          Width = 73
          Height = 24
          Hint = 'Aliquota'
          AutoLabel.Caption = 'Aliquota'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'ALIQUOTA'
          DataSource = DsPrincipal
          DragMode = dmAutomatic
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          TabOrder = 6
          TabStop = False
          Style = csDropDownList
          Items.Strings = (
            '0'
            '12'
            '18')
          ItemValues.Strings = (
            '0'
            '12'
            '18')
        end
        object MemoDados: TMemo
          Left = 759
          Top = 2
          Width = 90
          Height = 105
          TabOrder = 10
          Visible = False
        end
      end
      object grpCliente: TGroupBox
        Left = 0
        Top = 89
        Width = 852
        Height = 68
        Align = alTop
        Caption = 'Cliente'
        Color = clInfoBk
        ParentColor = False
        TabOrder = 3
        TabStop = True
        object edtCNPJ: TLabeledEdit
          Tag = 1
          Left = 8
          Top = 32
          Width = 185
          Height = 24
          EditLabel.Width = 81
          EditLabel.Height = 16
          EditLabel.Caption = 'CNPJ / CPF'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          PopupMenu = popCopiar
          TabOrder = 0
          OnEnter = edtCNPJEnter
          OnExit = edtCNPJExit
          OnKeyDown = edtCNPJKeyDown
        end
        object btnPesquisaCliente: TBitBtn
          Tag = 2
          Left = 196
          Top = 32
          Width = 25
          Height = 25
          Hint = 'Pesquisar Cliente'
          Glyph.Data = {
            36050000424D3605000000000000360400002800000010000000100000000100
            08000000000000010000320B0000320B000000010000000100005A6B7300AD7B
            73004A637B00EFBD8400B58C8C00A5948C00C6948C00B59C8C00BD9C8C00F7BD
            8C00BD949400C6949400CE949400C69C9400CEAD9400F7CE9400C6A59C00CEA5
            9C00D6A59C00C6AD9C00CEAD9C00D6AD9C00F7CE9C00F7D69C004A7BA500CEAD
            A500D6B5A500DEBDA500F7D6A500DEBDAD00DEC6AD00E7C6AD00FFDEAD00FFE7
            AD00CEB5B500F7DEB500F7E7B500FFE7B500FFEFB500D6BDBD00DED6BD00E7DE
            BD00FFE7BD006B9CC600EFDEC600FFEFC600FFF7C600F7E7CE00FFF7CE00F7EF
            D600F7F7D600FFF7D600FFFFD6002184DE00F7F7DE00FFFFDE001884E700188C
            E700FFFFE700188CEF00218CEF00B5D6EF00F7F7EF00FFF7EF00FFFFEF00FFFF
            F700FF00FF004AB5FF0052B5FF0052BDFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042020A424242
            424242424242424242422B39180B42424242424242424242424243443C180B42
            4242424242424242424242444438180B42424242424242424242424244433918
            0A424242424242424242424242444335004201101A114242424242424242453D
            05072F343434291942424242424242221A2D34343437403E0442424242424206
            231C303437404146284242424242421B210F30373A414140310D42424242421F
            20032434373A3A37321342424242421D25030F2D37373737311042424242420D
            2D2D1C162430333429424242424242421E463F0F0316252E0842424242424242
            4227312D21252314424242424242424242420E141B1B42424242}
          ParentShowHint = False
          ShowHint = True
          TabOrder = 1
          OnClick = btnPesquisaClienteClick
        end
        object BitBtn3: TBitBtn
          Tag = 2
          Left = 220
          Top = 32
          Width = 25
          Height = 25
          Hint = 'Cadastrar Novo Cliente'
          Glyph.Data = {
            36050000424D3605000000000000360400002800000010000000100000000100
            08000000000000010000130B0000130B000000010000000100002184290039B5
            520063A563006BAD840094DE8C00FF00FF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00050505050505
            0505050505050505050505050505050503000003050505050505050505050505
            0204010005050505050505050505050502040100050505050505050505050505
            0204010005050505050505050505050502040100050505050505050300000000
            0004010000000000030505020101010101010101010101010005050204040404
            0404010404040404000505030202020202040100000000000305050505050505
            0204010005050505050505050505050502040100050505050505050505050505
            0204010005050505050505050505050502040100050505050505050505050505
            0302020305050505050505050505050505050505050505050505}
          ParentShowHint = False
          ShowHint = True
          TabOrder = 2
          TabStop = False
          OnClick = BitBtn3Click
        end
        object dbRazaoSocial: TIB_Edit
          Left = 252
          Top = 32
          Width = 514
          Height = 24
          TabStop = False
          AutoLabel.Caption = 'Raz'#227'o Social'
          AutoLabel.Kind = albTop
          DataField = 'CLIENTE_RAZAO_SOCIAL'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          ReadOnly = True
          TabOrder = 3
        end
      end
      object pnlBotoesAcoesNF: TPanel
        Left = 779
        Top = 157
        Width = 73
        Height = 239
        Align = alRight
        TabOrder = 4
        object btnGerarXML: TImage
          Left = 6
          Top = 99
          Width = 42
          Height = 48
          Hint = 'Gerar arquivo padr'#227'o XML'
          ParentShowHint = False
          Picture.Data = {
            [encoded data, 4224 characters]
            00000799D1456B4FE14552B28452EC7FFFD9}
          ShowHint = True
          OnClick = btnGerarXMLClick
        end
        object btnValidar: TImage
          Left = 6
          Top = 35
          Width = 42
          Height = 48
          Hint = 'Validar NF no padr'#227'o XML'
          ParentShowHint = False
          Picture.Data = {
            [encoded data, 5312 characters]
            034E70A2A153747C4716E330B8ACCAA62F0692A73B34BB68AFD9AD7BA47FFFD9}
          ShowHint = True
          OnClick = btnValidarClick
        end
        object btnEnviar: TImage
          Left = 2
          Top = 161
          Width = 42
          Height = 48
          Hint = 'Transmitir NF'
          ParentShowHint = False
          Picture.Data = {
            [encoded data, 32384 characters]
            434ED2D5E5F2D512698E18A28D5C2222AA8036000001C3AF75FFD9}
          ShowHint = True
          OnClick = btnEnviarClick
        end
      end
      object Panel12: TPanel
        Left = 0
        Top = 0
        Width = 852
        Height = 89
        Align = alTop
        TabOrder = 5
        object edtNum: TIB_Edit
          Left = 5
          Top = 14
          Width = 140
          Height = 26
          Hint = 'N'#176' da NF'
          TabStop = False
          AutoLabel.Caption = 'N'#250'mero'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NF.NUMERO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          TabOrder = 0
        end
        object IB_Edit1: TIB_Edit
          Left = 5
          Top = 56
          Width = 140
          Height = 24
          Hint = 'Usu'#225'rio emissor'
          TabStop = False
          AutoLabel.Caption = 'Usu'#225'rio'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NOME'
          DataSource = dtUsuario
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          ReadOnly = True
          TabOrder = 1
        end
        object IB_Edit20: TIB_Edit
          Left = 300
          Top = 56
          Width = 417
          Height = 24
          Hint = 'Descri'#231#227'o C'#243'digo Fiscal Opera'#231#227'o'
          TabStop = False
          AutoLabel.Caption = 'Descri'#231#227'o'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'DESCRICAO'
          DataSource = dtCFOP
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          ReadOnly = True
          TabOrder = 2
        end
        object edtdataCadastro: TIB_Edit
          Left = 250
          Top = 16
          Width = 105
          Height = 24
          Hint = 'Data do lan'#231'amento '
          TabStop = False
          AutoLabel.Caption = 'Data Cadastro'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NF.DATA_CADASTRO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          ReadOnly = True
          TabOrder = 3
        end
        object edtDataEmissao: TIB_Date
          Left = 383
          Top = 16
          Width = 120
          Height = 24
          Hint = 'Data de Emiss'#227'o'
          AutoLabel.Caption = 'Data Emiss'#227'o'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NF.DATA_EMISSAO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 4
          OnExit = edtDataEmissaoExit
          IncCellHeight = 1
          IncCellWidth = 2
          DrawYearArrow = False
        end
        object edtDataSaida: TIB_Date
          Left = 539
          Top = 16
          Width = 120
          Height = 24
          Hint = 'Data da Sa'#237'da'
          AutoLabel.Caption = 'Data Sa'#237'da'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NF.DATA_SAIDA'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 5
          IncCellHeight = 1
          IncCellWidth = 2
          DrawYearArrow = False
        end
        object edtHora: TIB_Edit
          Left = 662
          Top = 16
          Width = 56
          Height = 24
          Hint = 'Hora da Sa'#237'da'
          AutoLabel.Caption = 'Hora'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NF.HORA_SAIDA'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          TabOrder = 6
          OnKeyDown = edtHoraKeyDown
        end
        object IB_Edit21: TIB_Edit
          Left = 157
          Top = 16
          Width = 60
          Height = 24
          Hint = 'N'#186' S'#233'rie'
          TabStop = False
          AutoLabel.Caption = 'S'#233'rie'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'NF.SERIE'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          ReadOnly = True
          TabOrder = 7
        end
        object edtCFOP: TIB_Edit
          Tag = 1
          Left = 157
          Top = 56
          Width = 97
          Height = 24
          Hint = 'Descri'#231#227'o C'#243'digo Fiscal Opera'#231#227'o'
          AutoLabel.Caption = 'CFOP'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'COD_CFOP'
          DataSource = dtCFOP
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentShowHint = False
          ShowHint = True
          ParentBackground = False
          TabOrder = 8
          OnExit = edtCFOPExit
          OnKeyDown = edtCFOPKeyDown
        end
        object btnPesquisaCFOP: TBitBtn
          Tag = 2
          Left = 256
          Top = 55
          Width = 25
          Height = 25
          Hint = 'Pesquisar Cliente'
          Glyph.Data = {
            36050000424D3605000000000000360400002800000010000000100000000100
            08000000000000010000320B0000320B000000010000000100005A6B7300AD7B
            73004A637B00EFBD8400B58C8C00A5948C00C6948C00B59C8C00BD9C8C00F7BD
            8C00BD949400C6949400CE949400C69C9400CEAD9400F7CE9400C6A59C00CEA5
            9C00D6A59C00C6AD9C00CEAD9C00D6AD9C00F7CE9C00F7D69C004A7BA500CEAD
            A500D6B5A500DEBDA500F7D6A500DEBDAD00DEC6AD00E7C6AD00FFDEAD00FFE7
            AD00CEB5B500F7DEB500F7E7B500FFE7B500FFEFB500D6BDBD00DED6BD00E7DE
            BD00FFE7BD006B9CC600EFDEC600FFEFC600FFF7C600F7E7CE00FFF7CE00F7EF
            D600F7F7D600FFF7D600FFFFD6002184DE00F7F7DE00FFFFDE001884E700188C
            E700FFFFE700188CEF00218CEF00B5D6EF00F7F7EF00FFF7EF00FFFFEF00FFFF
            F700FF00FF004AB5FF0052B5FF0052BDFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
            FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0042020A424242
            424242424242424242422B39180B42424242424242424242424243443C180B42
            4242424242424242424242444438180B42424242424242424242424244433918
            0A424242424242424242424242444335004201101A114242424242424242453D
            05072F343434291942424242424242221A2D34343437403E0442424242424206
            231C303437404146284242424242421B210F30373A414140310D42424242421F
            20032434373A3A37321342424242421D25030F2D37373737311042424242420D
            2D2D1C162430333429424242424242421E463F0F0316252E0842424242424242
            4227312D21252314424242424242424242420E141B1B42424242}
          ParentShowHint = False
          ShowHint = True
          TabOrder = 9
          TabStop = False
          OnClick = btnPesquisaCFOPClick
        end
        object IB_RadioGroup2: TIB_RadioGroup
          Left = 738
          Top = 6
          Width = 106
          Height = 71
          AutoLabel.Margin = 0
          AutoLabel.Spacing = 0
          DataField = 'NF.ENTRADA_SAIDA'
          DataSource = DsPrincipal
          Color = clActiveCaption
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentColor = False
          ParentFont = False
          BorderStyle = bsNone
          Ctl3D = True
          ParentCtl3D = False
          ParentBackground = False
          TabOrder = 10
          Items.Strings = (
            'Sa'#237'da'
            'Entrada')
          Values.Strings = (
            'S'
            'E')
        end
      end
    end
  end
  inherited Panel1: TPanel
    Width = 860
    ExplicitWidth = 860
    inherited Label2: TLabel
      Width = 105
      Caption = 'Nota Fiscal'
      ExplicitWidth = 105
    end
    inherited Shape1: TShape
      Width = 860
      ExplicitWidth = 834
    end
    inherited imgAcao: TImage
      Left = 500
      ExplicitLeft = 474
    end
  end
  object pnlCancelado: TPanel [2]
    Left = 585
    Top = 43
    Width = 268
    Height = 199
    Color = 4868863
    ParentBackground = False
    TabOrder = 2
    Visible = False
    object lblStatus: TLabel
      Left = 13
      Top = -2
      Width = 205
      Height = 32
      Caption = 'NF Cancelada'
      Color = clRed
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -27
      Font.Name = 'Verdana'
      Font.Style = [fsBold]
      ParentColor = False
      ParentFont = False
      Transparent = True
    end
    object IB_Text3: TIB_Text
      Left = 6
      Top = 93
      Width = 58
      Height = 16
      AutoSize = True
      DataField = 'PROTOCOLO_CANCELAMENTO'
      DataSource = DsPrincipal
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Verdana'
      Font.Style = []
      ParentFont = False
    end
    object IB_Text6: TIB_Text
      Left = 120
      Top = 49
      Width = 58
      Height = 16
      AutoSize = True
      DataField = 'DATA_CANCELADO'
      DataSource = DsPrincipal
      BiDiMode = bdLeftToRight
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Verdana'
      Font.Style = []
      ParentBiDiMode = False
      ParentFont = False
    end
    object Data: TLabel
      Left = 9
      Top = 49
      Width = 103
      Height = 16
      Caption = 'Cancelado em'
    end
    object Label6: TLabel
      Left = 9
      Top = 77
      Width = 74
      Height = 16
      Caption = 'Protocolo:'
    end
    object Label7: TLabel
      Left = 9
      Top = 31
      Width = 96
      Height = 16
      Caption = 'Impresso em'
    end
    object IB_Text4: TIB_Text
      Left = 120
      Top = 31
      Width = 58
      Height = 16
      AutoSize = True
      DataField = 'DATA_IMPRESSAO'
      DataSource = DsPrincipal
      BiDiMode = bdLeftToRight
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Verdana'
      Font.Style = []
      ParentBiDiMode = False
      ParentFont = False
    end
    object IB_Memo2: TIB_Memo
      Left = 4
      Top = 115
      Width = 257
      Height = 82
      DataField = 'MOTIVO_CANCELADO'
      DataSource = DsPrincipal
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Verdana'
      Font.Style = []
      ParentFont = False
      BorderStyle = bsNone
      ParentBackground = False
      TabOrder = 0
      AutoSize = False
      ScrollBars = ssVertical
    end
  end
  inherited TbPrincipal: TIB_Query
    ColumnAttributes.Strings = (
      'CANCELADO=BOOLEAN=,')
    FieldsCharCase.Strings = (
      'ITEMS=UPPER'
      'NUMERO=UPPER'
      'COD_FILIAL=UPPER'
      'COD_CLIENTE=UPPER'
      'COD_FORMA_PAGAMENTO=UPPER'
      'COD_TIPO_PAGAMENTO=UPPER'
      'COD_USUARIO=UPPER'
      'COD_TRANSPORTADOR=UPPER'
      'COD_CFOP=UPPER'
      'SERIE=UPPER'
      'ENTRADA_SAIDA=UPPER'
      'STATUS=UPPER'
      'DATA_CADASTRO=UPPER'
      'DATA_EMISSAO=UPPER'
      'DATA_SAIDA=UPPER'
      'HORA_SAIDA=UPPER'
      'TOTAL_PRODUTOS=UPPER'
      'TOTAL_NF=UPPER'
      'BASE_CALCULO=UPPER'
      'VALOR_ICMS=UPPER'
      'VALOR_FRETE=UPPER'
      'VALOR_SEGURO=UPPER'
      'PESO_BRUTO=UPPER'
      'PESO_LIQUIDO=UPPER'
      'VOLUMES=UPPER'
      'OBSERVACAO=UPPER'
      'ALIQUOTA=UPPER'
      'BASE_ICMS_SUBSTITUICAO=UPPER'
      'ICMS_SUBSTITUICAO=UPPER'
      'OUTRAS_DESPESAS=UPPER'
      'TOTAL_IPI=UPPER'
      'COD_PEDIDO=UPPER'
      'ICM_CREDITO=UPPER'
      'OBS_FISCO=UPPER'
      'DATA_IMPRESSAO=UPPER'
      'CIF_FOB=UPPER'
      'VEICULO_PLACA=UPPER'
      'VEICULO_UF=UPPER'
      'CHAVE_ACESSO=UPPER'
      'PROTOCOLO_AUTORIZACAO=UPPER'
      'COD_ESPECIE_MERCADORIA=UPPER'
      'ALIQUOTA_ICMS_SUBSTITUICAO=UPPER'
      'PERCENTUAL_REDUCAO_BASE_CALCULO=UPPER'
      'CLIENTE_CNPJ=UPPER'
      'CLIENTE_RAZAO_SOCIAL=UPPER'
      'CLIENTE_INSCRICAO=UPPER'
      'CLIENTE_ENDERECO_LOGRADOURO=UPPER'
      'CLIENTE_ENDERECO_NUMERO=UPPER'
      'CLIENTE_ENDERECO_COMPLEMENTO=UPPER'
      'CLIENTE_ENDERECO_BAIRRO=UPPER'
      'CLIENTE_ENDERECO_CEP=UPPER'
      'CLIENTE_ENDERECO_CIDADE=UPPER'
      'CLIENTE_ENDERECO_UF=UPPER'
      'CLIENTE_ENDERECO_COD_CIDADE=UPPER'
      'CLIENTE_ENDERECO_COD_UF=UPPER'
      'CLIENTE_NOME_FANTASIA=UPPER'
      'CLIENTE_TELEFONE1=UPPER'
      'CLIENTE_TELEFONE2=UPPER'
      'DESCONTO_PERCENTUAL=UPPER'
      'DESCONTO_VALOR=UPPER'
      'ANTT=UPPER'
      'RNTC=UPPER'
      'MARCA=UPPER'
      'NOME_VOLUME=UPPER'
      'NUMERACAO_VOLUME=UPPER'
      'REFERENCIA_NFE=UPPER'
      'CLIENTE_EMAIL=LOWER'
      'ORDEM_COMPRA=UPPER')
    FieldsDisplayLabel.Strings = (
      'NUMERO=N'#250'mero'
      'COD_CFOP=CFOP'
      'ENTRADA_SAIDA=Tipo'
      'DATA_CADASTRO=Cadastro'
      'DATA_EMISSAO=Emiss'#227'o'
      'DATA_SAIDA=Sa'#237'da'
      'HORA_SAIDA=Hora'
      'TOTAL_PRODUTOS=Total Produtos'
      'TOTAL_NF=Total NF'
      'BASE_CALCULO=Base C'#225'lculo'
      'VALOR_ICMS=ICMS'
      'VALOR_FRETE=Frete'
      'VALOR_SEGURO=Seguro'
      'PESO_BRUTO=Peso Bruto'
      'PESO_LIQUIDO=Peso L'#237'quido'
      'VOLUMES=Volumes'
      'OBSERVACAO=Observa'#231#227'o'
      'ALIQUOTA=Aliq'
      'BASE_ICMS_SUBSTITUICAO=Base ST'
      'ICMS_SUBSTITUICAO=ICM ST'
      'OUTRAS_DESPESAS=Despesas'
      'TOTAL_IPI=IPI'
      'ITEMS=Itens'
      'COD_PEDIDO=Pedido'
      'ICM_CREDITO=Cr'#233'dito ICM'
      'OBS_FISCO=Fisco'
      'DATA_IMPRESSAO=Impress'#227'o'
      'CIF_FOB=Frete'
      'VEICULO_PLACA=Placa'
      'VEICULO_UF=UF'
      'CHAVE_ACESSO=Chave'
      'CLIENTE_CNPJ=CNPJ/CPF'
      'CLIENTE_RAZAO_SOCIAL=Cliente'
      'CLIENTE_INSCRICAO=Inscri'#231#227'o'
      'CLIENTE_ENDERECO_LOGRADOURO=Endere'#231'o'
      'CLIENTE_ENDERECO_NUMERO=N'#250'mero'
      'CLIENTE_ENDERECO_COMPLEMENTO=Complemento'
      'CLIENTE_ENDERECO_BAIRRO=Bairro'
      'CLIENTE_ENDERECO_CEP=CEP'
      'CLIENTE_ENDERECO_CIDADE=Cidade'
      'CLIENTE_ENDERECO_UF=UF'
      'CLIENTE_NOME_FANTASIA=Nome Fantasia'
      'CLIENTE_TELEFONE1=Telefone'
      'CLIENTE_TELEFONE2=Telefone'
      'DESCONTO_VALOR=Desconto'
      'CANCELADO=Cancelado')
    FieldsDisplayWidth.Strings = (
      'TOTAL_PRODUTOS=103'
      'TOTAL_NF=90'
      'DESCONTO_VALOR=75'
      'BASE_CALCULO=93'
      'VALOR_ICMS=69'
      'BASE_ICMS_SUBSTITUICAO=84'
      'ICMS_SUBSTITUICAO=69'
      'CLIENTE_ENDERECO_CIDADE=125'
      'CLIENTE_ENDERECO_UF=38'
      'CLIENTE_TELEFONE1=99'
      'COD_CFOP=65'
      'DATA_EMISSAO=79')
    FieldsEditMask.Strings = (
      'VEICULO_PLACA=AAA\-9999;0'
      'CLIENTE_TELEFONE1=\(99\)9999\-9999;0'
      'CLIENTE_TELEFONE2=\(99\)9999\-9999;0'
      'CLIENTE_ENDERECO_CEP=99999\-999;0'
      'ITEMS=###'
      'HORA_SAIDA=99:99')
    FieldsIndex.Strings = (
      'NUMERO'
      'COD_FILIAL'
      'COD_CLIENTE'
      'COD_FORMA_PAGAMENTO'
      'COD_TIPO_PAGAMENTO'
      'COD_USUARIO'
      'COD_TRANSPORTADOR'
      'COD_CFOP'
      'SERIE'
      'ENTRADA_SAIDA'
      'STATUS'
      'DATA_CADASTRO'
      'DATA_EMISSAO'
      'DATA_SAIDA'
      'HORA_SAIDA'
      'CLIENTE_RAZAO_SOCIAL'
      'TOTAL_PRODUTOS'
      'TOTAL_NF'
      'DESCONTO_VALOR'
      'BASE_CALCULO'
      'VALOR_ICMS'
      'VALOR_FRETE'
      'VALOR_SEGURO'
      'PESO_BRUTO'
      'PESO_LIQUIDO'
      'VOLUMES'
      'OBSERVACAO'
      'ALIQUOTA'
      'BASE_ICMS_SUBSTITUICAO'
      'ICMS_SUBSTITUICAO'
      'OUTRAS_DESPESAS'
      'TOTAL_IPI'
      'ITEMS'
      'COD_PEDIDO'
      'ICM_CREDITO'
      'OBS_FISCO'
      'DATA_IMPRESSAO'
      'CIF_FOB'
      'VEICULO_PLACA'
      'VEICULO_UF'
      'CHAVE_ACESSO'
      'PROTOCOLO_AUTORIZACAO'
      'COD_ESPECIE_MERCADORIA'
      'ALIQUOTA_ICMS_SUBSTITUICAO'
      'PERCENTUAL_REDUCAO_BASE_CALCULO'
      'CLIENTE_CNPJ'
      'CLIENTE_INSCRICAO'
      'CLIENTE_ENDERECO_LOGRADOURO'
      'CLIENTE_ENDERECO_NUMERO'
      'CLIENTE_ENDERECO_COMPLEMENTO'
      'CLIENTE_ENDERECO_BAIRRO'
      'CLIENTE_ENDERECO_CEP'
      'CLIENTE_ENDERECO_CIDADE'
      'CLIENTE_ENDERECO_UF'
      'CLIENTE_ENDERECO_COD_CIDADE'
      'CLIENTE_ENDERECO_COD_UF'
      'CLIENTE_NOME_FANTASIA'
      'CLIENTE_TELEFONE1'
      'CLIENTE_TELEFONE2'
      'DESCONTO_PERCENTUAL')
    FieldsVisible.Strings = (
      'NUMERO=TRUE'
      'COD_FILIAL=FALSE'
      'COD_CLIENTE=FALSE'
      'COD_FORMA_PAGAMENTO=FALSE'
      'COD_TIPO_PAGAMENTO=FALSE'
      'COD_USUARIO=FALSE'
      'COD_TRANSPORTADOR=FALSE'
      'COD_CFOP=TRUE'
      'SERIE=FALSE'
      'ENTRADA_SAIDA=FALSE'
      'STATUS=FALSE'
      'DATA_CADASTRO=FALSE'
      'DATA_EMISSAO=TRUE'
      'DATA_SAIDA=FALSE'
      'HORA_SAIDA=FALSE'
      'TOTAL_PRODUTOS=TRUE'
      'TOTAL_NF=TRUE'
      'BASE_CALCULO=TRUE'
      'VALOR_ICMS=TRUE'
      'VALOR_FRETE=FALSE'
      'VALOR_SEGURO=FALSE'
      'PESO_BRUTO=FALSE'
      'PESO_LIQUIDO=FALSE'
      'VOLUMES=FALSE'
      'OBSERVACAO=FALSE'
      'ALIQUOTA=FALSE'
      'BASE_ICMS_SUBSTITUICAO=TRUE'
      'ICMS_SUBSTITUICAO=TRUE'
      'OUTRAS_DESPESAS=FALSE'
      'TOTAL_IPI=FALSE'
      'ITEMS=FALSE'
      'COD_PEDIDO=FALSE'
      'ICM_CREDITO=FALSE'
      'OBS_FISCO=FALSE'
      'DATA_IMPRESSAO=FALSE'
      'CIF_FOB=FALSE'
      'VEICULO_PLACA=FALSE'
      'VEICULO_UF=FALSE'
      'CHAVE_ACESSO=FALSE'
      'PROTOCOLO_AUTORIZACAO=FALSE'
      'COD_ESPECIE_MERCADORIA=FALSE'
      'ALIQUOTA_ICMS_SUBSTITUICAO=FALSE'
      'PERCENTUAL_REDUCAO_BASE_CALCULO=FALSE'
      'CLIENTE_CNPJ=FALSE'
      'CLIENTE_RAZAO_SOCIAL=TRUE'
      'CLIENTE_INSCRICAO=FALSE'
      'CLIENTE_ENDERECO_LOGRADOURO=FALSE'
      'CLIENTE_ENDERECO_NUMERO=FALSE'
      'CLIENTE_ENDERECO_COMPLEMENTO=FALSE'
      'CLIENTE_ENDERECO_BAIRRO=FALSE'
      'CLIENTE_ENDERECO_CEP=FALSE'
      'CLIENTE_ENDERECO_CIDADE=TRUE'
      'CLIENTE_ENDERECO_UF=TRUE'
      'CLIENTE_ENDERECO_COD_CIDADE=FALSE'
      'CLIENTE_ENDERECO_COD_UF=FALSE'
      'CLIENTE_NOME_FANTASIA=FALSE'
      'CLIENTE_TELEFONE1=TRUE'
      'CLIENTE_TELEFONE2=FALSE'
      'DESCONTO_PERCENTUAL=FALSE'
      'DESCONTO_VALOR=TRUE'
      'CANCELADO=TRUE'
      'COD_CONDICAO_PAGAMENTO=FALSE'
      'DATA_CANCELADO=FALSE'
      'COD_USUARIO_CANCELADO=FALSE'
      'MOTIVO_CANCELADO=FALSE'
      'ANTT=FALSE'
      'RNTC=FALSE'
      'MARCA=FALSE'
      'NOME_VOLUME=FALSE'
      'NUMERACAO_VOLUME=FALSE'
      'CLIENTE_SIMPLES_NACIONAL=FALSE'
      'INSCRICAO_SUBSTITUICAO=FALSE'
      'FINALIDADE_EMISSAO=FALSE'
      'REFERENCIA_NFE=FALSE'
      'PROTOCOLO_CANCELAMENTO=FALSE'
      'COD_MANIFESTO=FALSE'
      'COD_FILIAL_MANIFESTO=FALSE'
      'MODELO_MANIFESTO=FALSE'
      'DIFAL_VALOR_FCP=FALSE'
      'DIFAL_VALOR_ICMS_UF_DESTINO=FALSE'
      'DIFAL_VALOR_ICMS_UF_REMETEN=FALSE'
      'CLIENTE_EMAIL=FALSE'
      'ORDEM_COMPRA=FALSE')
    SQL.Strings = (
      'SELECT NF.*'
      'FROM NF')
    DeleteSQL.Strings = (
      'DELETE FROM NF NF'
      'WHERE'
      '   NUMERO = :OLD_NUMERO AND'
      '   COD_FILIAL = :OLD_COD_FILIAL')
    EditSQL.Strings = (
      'UPDATE NF NF SET'
      '   NF.NUMERO = :NUMERO, /*PK*/'
      '   NF.COD_FILIAL = :COD_FILIAL, /*PK*/'
      '   NF.COD_CLIENTE = :COD_CLIENTE,'
      '   NF.COD_TIPO_PAGAMENTO = :COD_TIPO_PAGAMENTO,'
      '   NF.COD_USUARIO = :COD_USUARIO,'
      '   NF.COD_TRANSPORTADOR = :COD_TRANSPORTADOR,'
      '   NF.COD_CFOP = :COD_CFOP,'
      '   NF.SERIE = :SERIE,'
      '   NF.ENTRADA_SAIDA = :ENTRADA_SAIDA,'
      '   NF.STATUS = :STATUS,'
      '   NF.DATA_CADASTRO = :DATA_CADASTRO,'
      '   NF.DATA_EMISSAO = :DATA_EMISSAO,'
      '   NF.DATA_SAIDA = :DATA_SAIDA,'
      '   NF.HORA_SAIDA = :HORA_SAIDA,'
      '   NF.CLIENTE_RAZAO_SOCIAL = :CLIENTE_RAZAO_SOCIAL,'
      '   NF.TOTAL_PRODUTOS = :TOTAL_PRODUTOS,'
      '   NF.TOTAL_NF = :TOTAL_NF,'
      '   NF.DESCONTO_VALOR = :DESCONTO_VALOR,'
      '   NF.BASE_CALCULO = :BASE_CALCULO,'
      '   NF.VALOR_ICMS = :VALOR_ICMS,'
      '   NF.VALOR_FRETE = :VALOR_FRETE,'
      '   NF.VALOR_SEGURO = :VALOR_SEGURO,'
      '   NF.PESO_BRUTO = :PESO_BRUTO,'
      '   NF.PESO_LIQUIDO = :PESO_LIQUIDO,'
      '   NF.VOLUMES = :VOLUMES,'
      '   NF.OBSERVACAO = :OBSERVACAO,'
      '   NF.ALIQUOTA = :ALIQUOTA,'
      '   NF.BASE_ICMS_SUBSTITUICAO = :BASE_ICMS_SUBSTITUICAO,'
      '   NF.ICMS_SUBSTITUICAO = :ICMS_SUBSTITUICAO,'
      '   NF.OUTRAS_DESPESAS = :OUTRAS_DESPESAS,'
      '   NF.TOTAL_IPI = :TOTAL_IPI,'
      '   NF.ITEMS = :ITEMS,'
      '   NF.COD_PEDIDO = :COD_PEDIDO,'
      '   NF.ICM_CREDITO = :ICM_CREDITO,'
      '   NF.OBS_FISCO = :OBS_FISCO,'
      '   NF.DATA_IMPRESSAO = :DATA_IMPRESSAO,'
      '   NF.CIF_FOB = :CIF_FOB,'
      '   NF.VEICULO_PLACA = :VEICULO_PLACA,'
      '   NF.VEICULO_UF = :VEICULO_UF,'
      '   NF.CHAVE_ACESSO = :CHAVE_ACESSO,'
      '   NF.PROTOCOLO_AUTORIZACAO = :PROTOCOLO_AUTORIZACAO,'
      '   NF.COD_ESPECIE_MERCADORIA = :COD_ESPECIE_MERCADORIA,'
      '   NF.ALIQUOTA_ICMS_SUBSTITUICAO = :ALIQUOTA_ICMS_SUBSTITUICAO,'
      
        '   NF.PERCENTUAL_REDUCAO_BASE_CALCULO = :PERCENTUAL_REDUCAO_BASE' +
        '_CALCULO,'
      '   NF.CLIENTE_CNPJ = :CLIENTE_CNPJ,'
      '   NF.CLIENTE_INSCRICAO = :CLIENTE_INSCRICAO,'
      
        '   NF.CLIENTE_ENDERECO_LOGRADOURO = :CLIENTE_ENDERECO_LOGRADOURO' +
        ','
      '   NF.CLIENTE_ENDERECO_NUMERO = :CLIENTE_ENDERECO_NUMERO,'
      
        '   NF.CLIENTE_ENDERECO_COMPLEMENTO = :CLIENTE_ENDERECO_COMPLEMEN' +
        'TO,'
      '   NF.CLIENTE_ENDERECO_BAIRRO = :CLIENTE_ENDERECO_BAIRRO,'
      '   NF.CLIENTE_ENDERECO_CEP = :CLIENTE_ENDERECO_CEP,'
      '   NF.CLIENTE_ENDERECO_CIDADE = :CLIENTE_ENDERECO_CIDADE,'
      '   NF.CLIENTE_ENDERECO_UF = :CLIENTE_ENDERECO_UF,'
      
        '   NF.CLIENTE_ENDERECO_COD_CIDADE = :CLIENTE_ENDERECO_COD_CIDADE' +
        ','
      '   NF.CLIENTE_ENDERECO_COD_UF = :CLIENTE_ENDERECO_COD_UF,'
      '   NF.CLIENTE_NOME_FANTASIA = :CLIENTE_NOME_FANTASIA,'
      '   NF.CLIENTE_TELEFONE1 = :CLIENTE_TELEFONE1,'
      '   NF.CLIENTE_TELEFONE2 = :CLIENTE_TELEFONE2,'
      '   NF.DESCONTO_PERCENTUAL = :DESCONTO_PERCENTUAL,'
      '   NF.COD_USUARIO_CANCELADO = :COD_USUARIO_CANCELADO,'
      '   NF.COD_FILIAL_MANIFESTO = :COD_FILIAL_MANIFESTO,'
      '   NF.MODELO_MANIFESTO = :MODELO_MANIFESTO,'
      '   NF.COD_CONDICAO_PAGAMENTO = :COD_CONDICAO_PAGAMENTO,'
      '   NF.COD_MANIFESTO = :COD_MANIFESTO,'
      '   NF.CLIENTE_EMAIL = :CLIENTE_EMAIL,'
      '   NF.CANCELADO = :CANCELADO,'
      '   NF.DATA_CANCELADO = :DATA_CANCELADO,'
      '   NF.MOTIVO_CANCELADO = :MOTIVO_CANCELADO,'
      '   NF.RNTC = :RNTC,'
      '   NF.MARCA = :MARCA,'
      '   NF.NUMERACAO_VOLUME = :NUMERACAO_VOLUME,'
      '   NF.CLIENTE_SIMPLES_NACIONAL = :CLIENTE_SIMPLES_NACIONAL,'
      '   NF.INSCRICAO_SUBSTITUICAO = :INSCRICAO_SUBSTITUICAO,'
      '   NF.PROTOCOLO_CANCELAMENTO = :PROTOCOLO_CANCELAMENTO,'
      '   NF.FINALIDADE_EMISSAO = :FINALIDADE_EMISSAO,'
      '   NF.REFERENCIA_NFE = :REFERENCIA_NFE,'
      '   NF.DIFAL_VALOR_FCP = :DIFAL_VALOR_FCP,'
      
        '   NF.DIFAL_VALOR_ICMS_UF_DESTINO = :DIFAL_VALOR_ICMS_UF_DESTINO' +
        ','
      
        '   NF.DIFAL_VALOR_ICMS_UF_REMETEN = :DIFAL_VALOR_ICMS_UF_REMETEN' +
        ','
      '   NF.CNF = :CNF,'
      '   NF.ORDEM_COMPRA = :ORDEM_COMPRA'
      'WHERE'
      '   NUMERO = :OLD_NUMERO AND'
      '   COD_FILIAL = :OLD_COD_FILIAL')
    InsertSQL.Strings = (
      'INSERT INTO NF('
      '   NUMERO, /*PK*/'
      '   COD_FILIAL, /*PK*/'
      '   COD_CLIENTE,'
      '   COD_TIPO_PAGAMENTO,'
      '   COD_USUARIO,'
      '   COD_TRANSPORTADOR,'
      '   COD_CFOP,'
      '   SERIE,'
      '   ENTRADA_SAIDA,'
      '   STATUS,'
      '   DATA_CADASTRO,'
      '   DATA_EMISSAO,'
      '   DATA_SAIDA,'
      '   HORA_SAIDA,'
      '   CLIENTE_RAZAO_SOCIAL,'
      '   TOTAL_PRODUTOS,'
      '   TOTAL_NF,'
      '   DESCONTO_VALOR,'
      '   BASE_CALCULO,'
      '   VALOR_ICMS,'
      '   VALOR_FRETE,'
      '   VALOR_SEGURO,'
      '   PESO_BRUTO,'
      '   PESO_LIQUIDO,'
      '   VOLUMES,'
      '   OBSERVACAO,'
      '   ALIQUOTA,'
      '   BASE_ICMS_SUBSTITUICAO,'
      '   ICMS_SUBSTITUICAO,'
      '   OUTRAS_DESPESAS,'
      '   TOTAL_IPI,'
      '   ITEMS,'
      '   COD_PEDIDO,'
      '   ICM_CREDITO,'
      '   OBS_FISCO,'
      '   DATA_IMPRESSAO,'
      '   CIF_FOB,'
      '   VEICULO_PLACA,'
      '   VEICULO_UF,'
      '   CHAVE_ACESSO,'
      '   PROTOCOLO_AUTORIZACAO,'
      '   COD_ESPECIE_MERCADORIA,'
      '   ALIQUOTA_ICMS_SUBSTITUICAO,'
      '   PERCENTUAL_REDUCAO_BASE_CALCULO,'
      '   CLIENTE_CNPJ,'
      '   CLIENTE_INSCRICAO,'
      '   CLIENTE_ENDERECO_LOGRADOURO,'
      '   CLIENTE_ENDERECO_NUMERO,'
      '   CLIENTE_ENDERECO_COMPLEMENTO,'
      '   CLIENTE_ENDERECO_BAIRRO,'
      '   CLIENTE_ENDERECO_CEP,'
      '   CLIENTE_ENDERECO_CIDADE,'
      '   CLIENTE_ENDERECO_UF,'
      '   CLIENTE_ENDERECO_COD_CIDADE,'
      '   CLIENTE_ENDERECO_COD_UF,'
      '   CLIENTE_NOME_FANTASIA,'
      '   CLIENTE_TELEFONE1,'
      '   CLIENTE_TELEFONE2,'
      '   DESCONTO_PERCENTUAL,'
      '   COD_USUARIO_CANCELADO,'
      '   COD_FILIAL_MANIFESTO,'
      '   MODELO_MANIFESTO,'
      '   COD_CONDICAO_PAGAMENTO,'
      '   COD_MANIFESTO,'
      '   CLIENTE_EMAIL,'
      '   CANCELADO,'
      '   DATA_CANCELADO,'
      '   MOTIVO_CANCELADO,'
      '   RNTC,'
      '   MARCA,'
      '   NUMERACAO_VOLUME,'
      '   CLIENTE_SIMPLES_NACIONAL,'
      '   INSCRICAO_SUBSTITUICAO,'
      '   PROTOCOLO_CANCELAMENTO,'
      '   FINALIDADE_EMISSAO,'
      '   REFERENCIA_NFE,'
      '   DIFAL_VALOR_FCP,'
      '   DIFAL_VALOR_ICMS_UF_DESTINO,'
      '   DIFAL_VALOR_ICMS_UF_REMETEN,'
      '   CNF,'
      '   ORDEM_COMPRA)'
      'VALUES ('
      '   :NUMERO,'
      '   :COD_FILIAL,'
      '   :COD_CLIENTE,'
      '   :COD_TIPO_PAGAMENTO,'
      '   :COD_USUARIO,'
      '   :COD_TRANSPORTADOR,'
      '   :COD_CFOP,'
      '   :SERIE,'
      '   :ENTRADA_SAIDA,'
      '   :STATUS,'
      '   :DATA_CADASTRO,'
      '   :DATA_EMISSAO,'
      '   :DATA_SAIDA,'
      '   :HORA_SAIDA,'
      '   :CLIENTE_RAZAO_SOCIAL,'
      '   :TOTAL_PRODUTOS,'
      '   :TOTAL_NF,'
      '   :DESCONTO_VALOR,'
      '   :BASE_CALCULO,'
      '   :VALOR_ICMS,'
      '   :VALOR_FRETE,'
      '   :VALOR_SEGURO,'
      '   :PESO_BRUTO,'
      '   :PESO_LIQUIDO,'
      '   :VOLUMES,'
      '   :OBSERVACAO,'
      '   :ALIQUOTA,'
      '   :BASE_ICMS_SUBSTITUICAO,'
      '   :ICMS_SUBSTITUICAO,'
      '   :OUTRAS_DESPESAS,'
      '   :TOTAL_IPI,'
      '   :ITEMS,'
      '   :COD_PEDIDO,'
      '   :ICM_CREDITO,'
      '   :OBS_FISCO,'
      '   :DATA_IMPRESSAO,'
      '   :CIF_FOB,'
      '   :VEICULO_PLACA,'
      '   :VEICULO_UF,'
      '   :CHAVE_ACESSO,'
      '   :PROTOCOLO_AUTORIZACAO,'
      '   :COD_ESPECIE_MERCADORIA,'
      '   :ALIQUOTA_ICMS_SUBSTITUICAO,'
      '   :PERCENTUAL_REDUCAO_BASE_CALCULO,'
      '   :CLIENTE_CNPJ,'
      '   :CLIENTE_INSCRICAO,'
      '   :CLIENTE_ENDERECO_LOGRADOURO,'
      '   :CLIENTE_ENDERECO_NUMERO,'
      '   :CLIENTE_ENDERECO_COMPLEMENTO,'
      '   :CLIENTE_ENDERECO_BAIRRO,'
      '   :CLIENTE_ENDERECO_CEP,'
      '   :CLIENTE_ENDERECO_CIDADE,'
      '   :CLIENTE_ENDERECO_UF,'
      '   :CLIENTE_ENDERECO_COD_CIDADE,'
      '   :CLIENTE_ENDERECO_COD_UF,'
      '   :CLIENTE_NOME_FANTASIA,'
      '   :CLIENTE_TELEFONE1,'
      '   :CLIENTE_TELEFONE2,'
      '   :DESCONTO_PERCENTUAL,'
      '   :COD_USUARIO_CANCELADO,'
      '   :COD_FILIAL_MANIFESTO,'
      '   :MODELO_MANIFESTO,'
      '   :COD_CONDICAO_PAGAMENTO,'
      '   :COD_MANIFESTO,'
      '   :CLIENTE_EMAIL,'
      '   :CANCELADO,'
      '   :DATA_CANCELADO,'
      '   :MOTIVO_CANCELADO,'
      '   :RNTC,'
      '   :MARCA,'
      '   :NUMERACAO_VOLUME,'
      '   :CLIENTE_SIMPLES_NACIONAL,'
      '   :INSCRICAO_SUBSTITUICAO,'
      '   :PROTOCOLO_CANCELAMENTO,'
      '   :FINALIDADE_EMISSAO,'
      '   :REFERENCIA_NFE,'
      '   :DIFAL_VALOR_FCP,'
      '   :DIFAL_VALOR_ICMS_UF_DESTINO,'
      '   :DIFAL_VALOR_ICMS_UF_REMETEN,'
      '   :CNF,'
      '   :ORDEM_COMPRA)')
    KeyLinks.Strings = (
      'NF.NUMERO')
    OrderingItemNo = -1
    OrderingItems.Strings = (
      'NUMERO=NUMERO;NUMERO DESC'
      'COD_CFOP=COD_CFOP;COD_CFOP DESC'
      'DATA_EMISSAO=DATA_EMISSAO;DATA_EMISSAO DESC'
      
        'CLIENTE_RAZAO_SOCIAL=CLIENTE_RAZAO_SOCIAL;CLIENTE_RAZAO_SOCIAL D' +
        'ESC'
      'TOTAL_PRODUTOS=TOTAL_PRODUTOS;TOTAL_PRODUTOS DESC'
      'TOTAL_NF=TOTAL_NF;TOTAL_NF DESC'
      'DESCONTO_VALOR=DESCONTO_VALOR;DESCONTO_VALOR DESC'
      'BASE_CALCULO=BASE_CALCULO;BASE_CALCULO DESC'
      'VALOR_ICMS=VALOR_ICMS;VALOR_ICMS DESC'
      
        'BASE_ICMS_SUBSTITUICAO=BASE_ICMS_SUBSTITUICAO;BASE_ICMS_SUBSTITU' +
        'ICAO DESC'
      'ICMS_SUBSTITUICAO=ICMS_SUBSTITUICAO;ICMS_SUBSTITUICAO DESC'
      
        'CLIENTE_ENDERECO_CIDADE=CLIENTE_ENDERECO_CIDADE;CLIENTE_ENDERECO' +
        '_CIDADE DESC'
      'CLIENTE_ENDERECO_UF=CLIENTE_ENDERECO_UF;CLIENTE_ENDERECO_UF DESC'
      'CLIENTE_TELEFONE1=CLIENTE_TELEFONE1;CLIENTE_TELEFONE1 DESC'
      'CANCELADO=CANCELADO;CANCELADO DESC')
    OrderingLinks.Strings = (
      'NUMERO=1'
      'COD_CFOP=2'
      'DATA_EMISSAO=3'
      'CLIENTE_RAZAO_SOCIAL=4'
      'TOTAL_PRODUTOS=5'
      'TOTAL_NF=6'
      'DESCONTO_VALOR=7'
      'BASE_CALCULO=8'
      'VALOR_ICMS=9'
      'BASE_ICMS_SUBSTITUICAO=10'
      'ICMS_SUBSTITUICAO=11'
      'CLIENTE_ENDERECO_CIDADE=12'
      'CLIENTE_ENDERECO_UF=13'
      'CLIENTE_TELEFONE1=14'
      'CANCELADO=15')
    SearchingLinks.Strings = (
      'NUMERO=NUMERO'
      'COD_CFOP=COD_CFOP'
      'DATA_EMISSAO=DATA_EMISSAO'
      'CLIENTE_RAZAO_SOCIAL=CLIENTE_RAZAO_SOCIAL'
      'TOTAL_PRODUTOS=TOTAL_PRODUTOS'
      'TOTAL_NF=TOTAL_NF'
      'DESCONTO_VALOR=DESCONTO_VALOR'
      'BASE_CALCULO=BASE_CALCULO'
      'VALOR_ICMS=VALOR_ICMS'
      'BASE_ICMS_SUBSTITUICAO=BASE_ICMS_SUBSTITUICAO'
      'ICMS_SUBSTITUICAO=ICMS_SUBSTITUICAO'
      'CLIENTE_ENDERECO_CIDADE=CLIENTE_ENDERECO_CIDADE'
      'CLIENTE_ENDERECO_UF=CLIENTE_ENDERECO_UF'
      'CLIENTE_TELEFONE1=CLIENTE_TELEFONE1'
      'CANCELADO=CANCELADO')
  end
  inherited ImagensPadrao: TImageList
    Bitmap = {
      [encoded data, 8768 characters]
      000000000000}
  end
  object qryUsuario: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM USUARIO')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'COD_USUARIO=COD_USUARIO;COD_USUARIO DESC'
      'NOME=NOME;NOME DESC'
      'LOGIN=LOGIN;LOGIN DESC'
      'SENHA=SENHA;SENHA DESC'
      'EXPIRA_EM=EXPIRA_EM;EXPIRA_EM DESC'
      'SENHA_EXPIRA=SENHA_EXPIRA;SENHA_EXPIRA DESC'
      'DIAS_PARA_EXPIRAR=DIAS_PARA_EXPIRAR;DIAS_PARA_EXPIRAR DESC'
      'EMAIL=EMAIL;EMAIL DESC'
      'UCPRIVILEGED=UCPRIVILEGED;UCPRIVILEGED DESC'
      'UCTYPEREC=UCTYPEREC;UCTYPEREC DESC'
      'UCPROFILE=UCPROFILE;UCPROFILE DESC'
      'UCKEY=UCKEY;UCKEY DESC'
      'UCINATIVE=UCINATIVE;UCINATIVE DESC'
      'COD_SETOR=COD_SETOR;COD_SETOR DESC'
      'DATA_CADASTRO=DATA_CADASTRO;DATA_CADASTRO DESC'
      'DATA_SAIDA=DATA_SAIDA;DATA_SAIDA DESC'
      'SKYPE=SKYPE;SKYPE DESC'
      'NUMERO=NUMERO;NUMERO DESC'
      'BAIRRO=BAIRRO;BAIRRO DESC'
      'CEP=CEP;CEP DESC'
      'CIDADE=CIDADE;CIDADE DESC'
      'LOGRADOURO=LOGRADOURO;LOGRADOURO DESC'
      'COMPLEMENTO=COMPLEMENTO;COMPLEMENTO DESC'
      'FONE1=FONE1;FONE1 DESC'
      'FONE2=FONE2;FONE2 DESC'
      'COD_UF=COD_UF;COD_UF DESC')
    OrderingLinks.Strings = (
      'COD_USUARIO=1'
      'NOME=2'
      'LOGIN=3'
      'SENHA=4'
      'EXPIRA_EM=5'
      'SENHA_EXPIRA=6'
      'DIAS_PARA_EXPIRAR=7'
      'EMAIL=8'
      'UCPRIVILEGED=9'
      'UCTYPEREC=10'
      'UCPROFILE=11'
      'UCKEY=12'
      'UCINATIVE=13'
      'COD_SETOR=14'
      'DATA_CADASTRO=15'
      'DATA_SAIDA=16'
      'SKYPE=17'
      'NUMERO=18'
      'BAIRRO=19'
      'CEP=20'
      'CIDADE=21'
      'LOGRADOURO=22'
      'COMPLEMENTO=23'
      'FONE1=24'
      'FONE2=25'
      'COD_UF=26')
    SearchingLinks.Strings = (
      'COD_USUARIO=COD_USUARIO'
      'NOME=NOME'
      'LOGIN=LOGIN'
      'SENHA=SENHA'
      'EXPIRA_EM=EXPIRA_EM'
      'SENHA_EXPIRA=SENHA_EXPIRA'
      'DIAS_PARA_EXPIRAR=DIAS_PARA_EXPIRAR'
      'EMAIL=EMAIL'
      'UCPRIVILEGED=UCPRIVILEGED'
      'UCTYPEREC=UCTYPEREC'
      'UCPROFILE=UCPROFILE'
      'UCKEY=UCKEY'
      'UCINATIVE=UCINATIVE'
      'COD_SETOR=COD_SETOR'
      'DATA_CADASTRO=DATA_CADASTRO'
      'DATA_SAIDA=DATA_SAIDA'
      'SKYPE=SKYPE'
      'NUMERO=NUMERO'
      'BAIRRO=BAIRRO'
      'CEP=CEP'
      'CIDADE=CIDADE'
      'LOGRADOURO=LOGRADOURO'
      'COMPLEMENTO=COMPLEMENTO'
      'FONE1=FONE1'
      'FONE2=FONE2'
      'COD_UF=COD_UF')
    Left = 312
  end
  object dtUsuario: TIB_DataSource
    Dataset = qryUsuario
    Left = 312
    Top = 28
  end
  object qryCliente: TIB_Query
    ColumnAttributes.Strings = (
      'OPTANTE_SIMPLES=BOOLEAN=T,F')
    FieldsCharCase.Strings = (
      'COD_CLIENTE=UPPER'
      'COD_USUARIO=UPPER'
      'COD_TABELA=UPPER'
      'CNPJ=UPPER'
      'TIPO_CADASTRO=UPPER'
      'STATUS=UPPER'
      'RAZAOSOCIAL=UPPER'
      'NOMEFANTASIA=UPPER'
      'ENDERECO_ENTREGA_NUMERO=UPPER'
      'ENDERECO_ENTREGA_BAIRRO=UPPER'
      'ENDERECO_ENTREGA_CEP=UPPER'
      'ENDERECO_ENTREGA_LOGRADOURO=UPPER'
      'ENDERECO_ENTREGA_COMPLEMENTO=UPPER'
      'ENDERECO_COBRANCA_LOGRADOURO=UPPER'
      'ENDERECO_COBRANCA_NUMERO=UPPER'
      'ENDERECO_COBRANCA_BAIRRO=UPPER'
      'ENDERECO_COBRANCA_CEP=UPPER'
      'ENDERECO_COBRANCA_CIDADE=UPPER'
      'ENDERECO_COBRANCA_COMPLEMENTO=UPPER'
      'CONTATO_TRANSPORTE=UPPER'
      'CONTATO_COBRANCA=UPPER'
      'TELEFONE1=UPPER'
      'TELEFONE2=UPPER'
      'INSCRICAO=UPPER'
      'OBS_FATURAMENTO=UPPER'
      'OBS_TRANSPORTE=UPPER'
      'DATA_CAD=UPPER'
      'VENCIMENTO=UPPER'
      'EMAIL=LOWER'
      'FATURAMENTO=UPPER'
      'ULTIMA_MOVIMENTACAO=UPPER'
      'COD_STATUS=UPPER'
      'COD_CNAE=UPPER'
      'CPF_VENDEDOR=UPPER'
      'VENDEDOR_ALTERADO_EM=UPPER'
      'ENDERECO_ENTREGA_COD_UF=UPPER'
      'ENDERECO_COBRANCA_COD_UF=UPPER'
      'ENDERECO_ENTREGA_TIPO=UPPER'
      'ENDERECO_ENTREGA_CIDADE=UPPER'
      'ENDERECO_COBRANCA_TIPO=UPPER'
      'BANCO_CARTEIRA=UPPER'
      'ABRE=UPPER'
      'FECHA=UPPER'
      'INICIO_ALMOCO=UPPER'
      'FIM_ALMOCO=UPPER'
      'MAPA=UPPER'
      'PERMITE_USAR_OUTRA_TAB_CALCULO=UPPER'
      'SEQUENCIAL=UPPER'
      'DESCRICAO=UPPER'
      'OPTANTE_SIMPLES=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_CLIENTE=C'#243'digo'
      'COD_USUARIO=Usu'#225'rio'
      'COD_TABELA=Tabela'
      'CNPJ=CNPJ/CPF'
      'TIPO_CADASTRO=J/F'
      'STATUS=Status'
      'RAZAOSOCIAL=Raz'#227'o Social'
      'NOMEFANTASIA=Nome Fantasia'
      'ENDERECO_ENTREGA_NUMERO=N'#250'mero'
      'ENDERECO_ENTREGA_BAIRRO=Bairro'
      'ENDERECO_ENTREGA_CEP=CEP'
      'ENDERECO_ENTREGA_LOGRADOURO=Endere'#231'o'
      'ENDERECO_ENTREGA_COMPLEMENTO=Complemento'
      'ENDERECO_COBRANCA_LOGRADOURO=Endere'#231'o'
      'ENDERECO_COBRANCA_NUMERO=N'#250'mero'
      'ENDERECO_COBRANCA_BAIRRO=Bairro'
      'ENDERECO_COBRANCA_CEP=CEP'
      'ENDERECO_COBRANCA_CIDADE=Cidade'
      'ENDERECO_COBRANCA_COMPLEMENTO=Complemento'
      'CONTATO_TRANSPORTE=Contato'
      'CONTATO_COBRANCA=Contato'
      'TELEFONE1=Telefone'
      'TELEFONE2=Telefone'
      'INSCRICAO=Inscri'#231#227'o'
      'OBS_FATURAMENTO=Observa'#231#227'o'
      'OBS_TRANSPORTE=Observa'#231#227'o'
      'DATA_CAD=Desde'
      'VENCIMENTO=Vencimento'
      'EMAIL=Email'
      'FATURAMENTO=Faturamento'
      'ULTIMA_MOVIMENTACAO='#218'ltima Movimenta'#231#227'o'
      'COD_STATUS=Status'
      'COD_CNAE=CNAE'
      'CPF_VENDEDOR=Vendedor'
      'VENDEDOR_ALTERADO_EM=Alterado em'
      'ENDERECO_ENTREGA_COD_UF=UF'
      'ENDERECO_COBRANCA_COD_UF=UF'
      'ENDERECO_ENTREGA_CIDADE=Cidade'
      'DESCRICAO=Estado'
      'OPTANTE_SIMPLES=Simples Nacional')
    FieldsDisplayWidth.Strings = (
      'COD_CLIENTE=55'
      'CNPJ=120'
      'TIPO_CADASTRO=25')
    FieldsEditMask.Strings = (
      'TELEFONE1=\(99\)9999\-9999;0'
      'TELEFONE2=\(99\)9999\-9999;0'
      'ENDERECO_ENTREGA_CEP=99999\-999;0'
      'ENDERECO_COBRANCA_CEP=99999\-999;0'
      'ABRE=99:99'
      'FECHA=99:99'
      'INICIO_ALMOCO=99:99'
      'FIM_ALMOCO=99:99')
    FieldsIndex.Strings = (
      'CLIENTE.COD_CLIENTE'
      'CLIENTE.COD_USUARIO'
      'CLIENTE.COD_TABELA'
      'CLIENTE.SEQUENCIAL'
      'CLIENTE.CNPJ'
      'CLIENTE.TIPO_CADASTRO'
      'CLIENTE.STATUS'
      'CLIENTE.RAZAOSOCIAL'
      'CLIENTE.NOMEFANTASIA'
      'CLIENTE.ENDERECO_ENTREGA_TIPO'
      'CLIENTE.ENDERECO_ENTREGA_NUMERO'
      'CLIENTE.ENDERECO_ENTREGA_BAIRRO'
      'CLIENTE.ENDERECO_ENTREGA_CEP'
      'CLIENTE.ENDERECO_ENTREGA_CIDADE'
      'CLIENTE.ENDERECO_ENTREGA_COD_UF'
      'CLIENTE.ENDERECO_ENTREGA_LOGRADOURO'
      'CLIENTE.ENDERECO_ENTREGA_COMPLEMENTO'
      'CLIENTE.ENDERECO_COBRANCA_TIPO'
      'CLIENTE.ENDERECO_COBRANCA_LOGRADOURO'
      'CLIENTE.ENDERECO_COBRANCA_NUMERO'
      'CLIENTE.ENDERECO_COBRANCA_BAIRRO'
      'CLIENTE.ENDERECO_COBRANCA_CEP'
      'CLIENTE.ENDERECO_COBRANCA_CIDADE'
      'CLIENTE.ENDERECO_COBRANCA_COD_UF'
      'CLIENTE.ENDERECO_COBRANCA_COMPLEMENTO'
      'CLIENTE.CONTATO_TRANSPORTE'
      'CLIENTE.CONTATO_COBRANCA'
      'UF.DESCRICAO'
      'CLIENTE.TELEFONE1'
      'CLIENTE.TELEFONE2'
      'CLIENTE.INSCRICAO'
      'CLIENTE.BANCO_CARTEIRA'
      'CLIENTE.OBS_FATURAMENTO'
      'CLIENTE.OBS_TRANSPORTE'
      'CLIENTE.ABRE'
      'CLIENTE.FECHA'
      'CLIENTE.INICIO_ALMOCO'
      'CLIENTE.FIM_ALMOCO'
      'CLIENTE.MAPA'
      'CLIENTE.DATA_CAD'
      'CLIENTE.VENCIMENTO'
      'CLIENTE.EMAIL'
      'CLIENTE.FATURAMENTO'
      'CLIENTE.ULTIMA_MOVIMENTACAO'
      'CLIENTE.COD_STATUS'
      'CLIENTE.COD_CNAE'
      'CLIENTE.VENDEDOR_ALTERADO_EM'
      'CLIENTE.PERMITE_USAR_OUTRA_TAB_CALCULO'
      'CLIENTE.CODIGO_IDENTIFICACAO'
      'CLIENTE.COD_PRACA'
      'CLIENTE.COD_MUNICIPIO_IBGE'
      'CLIENTE.COD_UF_IBGE'
      'CLIENTE.CPF_VENDEDOR'
      'CLIENTE.COD_VENDEDOR')
    FieldsVisible.Strings = (
      'COD_CLIENTE=TRUE'
      'COD_USUARIO=FALSE'
      'COD_TABELA=FALSE'
      'CNPJ=TRUE'
      'SEQUENCIAL=FALSE'
      'TIPO_CADASTRO=TRUE'
      'STATUS=FALSE'
      'RAZAOSOCIAL=TRUE'
      'NOMEFANTASIA=TRUE'
      'ENDERECO_ENTREGA_TIPO=FALSE'
      'ENDERECO_ENTREGA_NUMERO=FALSE'
      'ENDERECO_ENTREGA_BAIRRO=FALSE'
      'ENDERECO_ENTREGA_CEP=FALSE'
      'ENDERECO_ENTREGA_CIDADE=TRUE'
      'ENDERECO_ENTREGA_LOGRADOURO=FALSE'
      'ENDERECO_ENTREGA_COMPLEMENTO=FALSE'
      'ENDERECO_COBRANCA_TIPO=FALSE'
      'ENDERECO_COBRANCA_LOGRADOURO=FALSE'
      'ENDERECO_COBRANCA_NUMERO=FALSE'
      'ENDERECO_COBRANCA_BAIRRO=FALSE'
      'ENDERECO_COBRANCA_CEP=FALSE'
      'ENDERECO_COBRANCA_CIDADE=FALSE'
      'ENDERECO_COBRANCA_COMPLEMENTO=FALSE'
      'CONTATO_TRANSPORTE=FALSE'
      'CONTATO_COBRANCA=FALSE'
      'TELEFONE1=TRUE'
      'TELEFONE2=FALSE'
      'INSCRICAO=FALSE'
      'BANCO_CARTEIRA=FALSE'
      'OBS_FATURAMENTO=FALSE'
      'OBS_TRANSPORTE=FALSE'
      'ABRE=FALSE'
      'FECHA=FALSE'
      'INICIO_ALMOCO=FALSE'
      'FIM_ALMOCO=FALSE'
      'MAPA=FALSE'
      'DATA_CAD=FALSE'
      'VENCIMENTO=FALSE'
      'EMAIL=FALSE'
      'FATURAMENTO=FALSE'
      'ULTIMA_MOVIMENTACAO=FALSE'
      'COD_STATUS=FALSE'
      'COD_CNAE=FALSE'
      'CPF_VENDEDOR=FALSE'
      'VENDEDOR_ALTERADO_EM=FALSE'
      'PERMITE_USAR_OUTRA_TAB_CALCULO=FALSE'
      'ENDERECO_ENTREGA_COD_UF=FALSE'
      'ENDERECO_COBRANCA_COD_UF=FALSE'
      'COD_MUNICIPIO_IBGE=FALSE'
      'COD_UF_IBGE=FALSE'
      'CODIGO_IDENTIFICACAO=FALSE'
      'COD_PRACA=FALSE'
      'COD_VENDEDOR=FALSE'
      'DESCRICAO=TRUE'
      'OPTANTE_SIMPLES=TRUE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT CLIENTE.*, uf.descricao'
      'FROM CLIENTE'
      
        '   LEFT JOIN STATUS_CLIENTE ON (CLIENTE.COD_STATUS = STATUS_CLIE' +
        'NTE.COD_STATUS)'
      '   LEFT JOIN uf ON (CLIENTE.endereco_entrega_cod_uf = UF.cod_uf)'
      'WHERE CLIENTE.CNPJ=:VARCNPJ')
    DeleteSQL.Strings = (
      'DELETE FROM CLIENTE'
      'WHERE'
      '   COD_CLIENTE = :OLD_COD_CLIENTE')
    EditSQL.Strings = (
      'UPDATE CLIENTE SET'
      '   COD_CLIENTE = :COD_CLIENTE, /*PK*/'
      '   COD_USUARIO = :COD_USUARIO,'
      '   COD_TABELA = :COD_TABELA,'
      '   SEQUENCIAL = :SEQUENCIAL,'
      '   CNPJ = :CNPJ,'
      '   TIPO_CADASTRO = :TIPO_CADASTRO,'
      '   STATUS = :STATUS,'
      '   RAZAOSOCIAL = :RAZAOSOCIAL,'
      '   NOMEFANTASIA = :NOMEFANTASIA,'
      '   ENDERECO_ENTREGA_TIPO = :ENDERECO_ENTREGA_TIPO,'
      '   ENDERECO_ENTREGA_NUMERO = :ENDERECO_ENTREGA_NUMERO,'
      '   ENDERECO_ENTREGA_BAIRRO = :ENDERECO_ENTREGA_BAIRRO,'
      '   ENDERECO_ENTREGA_CEP = :ENDERECO_ENTREGA_CEP,'
      '   ENDERECO_ENTREGA_CIDADE = :ENDERECO_ENTREGA_CIDADE,'
      '   ENDERECO_ENTREGA_COD_UF = :ENDERECO_ENTREGA_COD_UF,'
      '   ENDERECO_ENTREGA_LOGRADOURO = :ENDERECO_ENTREGA_LOGRADOURO,'
      '   ENDERECO_ENTREGA_COMPLEMENTO = :ENDERECO_ENTREGA_COMPLEMENTO,'
      '   ENDERECO_COBRANCA_TIPO = :ENDERECO_COBRANCA_TIPO,'
      '   ENDERECO_COBRANCA_LOGRADOURO = :ENDERECO_COBRANCA_LOGRADOURO,'
      '   ENDERECO_COBRANCA_NUMERO = :ENDERECO_COBRANCA_NUMERO,'
      '   ENDERECO_COBRANCA_BAIRRO = :ENDERECO_COBRANCA_BAIRRO,'
      '   ENDERECO_COBRANCA_CEP = :ENDERECO_COBRANCA_CEP,'
      '   ENDERECO_COBRANCA_CIDADE = :ENDERECO_COBRANCA_CIDADE,'
      '   ENDERECO_COBRANCA_COD_UF = :ENDERECO_COBRANCA_COD_UF,'
      
        '   ENDERECO_COBRANCA_COMPLEMENTO = :ENDERECO_COBRANCA_COMPLEMENT' +
        'O,'
      '   CONTATO_TRANSPORTE = :CONTATO_TRANSPORTE,'
      '   CONTATO_COBRANCA = :CONTATO_COBRANCA,'
      '   TELEFONE1 = :TELEFONE1,'
      '   TELEFONE2 = :TELEFONE2,'
      '   INSCRICAO = :INSCRICAO,'
      '   BANCO_CARTEIRA = :BANCO_CARTEIRA,'
      '   OBS_FATURAMENTO = :OBS_FATURAMENTO,'
      '   OBS_TRANSPORTE = :OBS_TRANSPORTE,'
      '   ABRE = :ABRE,'
      '   FECHA = :FECHA,'
      '   INICIO_ALMOCO = :INICIO_ALMOCO,'
      '   FIM_ALMOCO = :FIM_ALMOCO,'
      '   MAPA = :MAPA,'
      '   DATA_CAD = :DATA_CAD,'
      '   VENCIMENTO = :VENCIMENTO,'
      '   EMAIL = :EMAIL,'
      '   FATURAMENTO = :FATURAMENTO,'
      '   ULTIMA_MOVIMENTACAO = :ULTIMA_MOVIMENTACAO,'
      '   COD_STATUS = :COD_STATUS,'
      '   COD_CNAE = :COD_CNAE,'
      '   VENDEDOR_ALTERADO_EM = :VENDEDOR_ALTERADO_EM,'
      
        '   PERMITE_USAR_OUTRA_TAB_CALCULO = :PERMITE_USAR_OUTRA_TAB_CALC' +
        'ULO,'
      '   CODIGO_IDENTIFICACAO = :CODIGO_IDENTIFICACAO,'
      '   COD_PRACA = :COD_PRACA,'
      '   COD_MUNICIPIO_IBGE = :COD_MUNICIPIO_IBGE,'
      '   COD_UF_IBGE = :COD_UF_IBGE,'
      '   CPF_VENDEDOR = :CPF_VENDEDOR,'
      '   COD_VENDEDOR = :COD_VENDEDOR,'
      '   OPTANTE_SIMPLES = :OPTANTE_SIMPLES'
      'WHERE'
      '   COD_CLIENTE = :OLD_COD_CLIENTE')
    InsertSQL.Strings = (
      'INSERT INTO CLIENTE('
      '   COD_CLIENTE, /*PK*/'
      '   COD_USUARIO,'
      '   COD_TABELA,'
      '   SEQUENCIAL,'
      '   CNPJ,'
      '   TIPO_CADASTRO,'
      '   STATUS,'
      '   RAZAOSOCIAL,'
      '   NOMEFANTASIA,'
      '   ENDERECO_ENTREGA_TIPO,'
      '   ENDERECO_ENTREGA_NUMERO,'
      '   ENDERECO_ENTREGA_BAIRRO,'
      '   ENDERECO_ENTREGA_CEP,'
      '   ENDERECO_ENTREGA_CIDADE,'
      '   ENDERECO_ENTREGA_COD_UF,'
      '   ENDERECO_ENTREGA_LOGRADOURO,'
      '   ENDERECO_ENTREGA_COMPLEMENTO,'
      '   ENDERECO_COBRANCA_TIPO,'
      '   ENDERECO_COBRANCA_LOGRADOURO,'
      '   ENDERECO_COBRANCA_NUMERO,'
      '   ENDERECO_COBRANCA_BAIRRO,'
      '   ENDERECO_COBRANCA_CEP,'
      '   ENDERECO_COBRANCA_CIDADE,'
      '   ENDERECO_COBRANCA_COD_UF,'
      '   ENDERECO_COBRANCA_COMPLEMENTO,'
      '   CONTATO_TRANSPORTE,'
      '   CONTATO_COBRANCA,'
      '   TELEFONE1,'
      '   TELEFONE2,'
      '   INSCRICAO,'
      '   BANCO_CARTEIRA,'
      '   OBS_FATURAMENTO,'
      '   OBS_TRANSPORTE,'
      '   ABRE,'
      '   FECHA,'
      '   INICIO_ALMOCO,'
      '   FIM_ALMOCO,'
      '   MAPA,'
      '   DATA_CAD,'
      '   VENCIMENTO,'
      '   EMAIL,'
      '   FATURAMENTO,'
      '   ULTIMA_MOVIMENTACAO,'
      '   COD_STATUS,'
      '   COD_CNAE,'
      '   VENDEDOR_ALTERADO_EM,'
      '   PERMITE_USAR_OUTRA_TAB_CALCULO,'
      '   CODIGO_IDENTIFICACAO,'
      '   COD_PRACA,'
      '   COD_MUNICIPIO_IBGE,'
      '   COD_UF_IBGE,'
      '   CPF_VENDEDOR,'
      '   COD_VENDEDOR,'
      '   OPTANTE_SIMPLES)'
      'VALUES ('
      '   :COD_CLIENTE,'
      '   :COD_USUARIO,'
      '   :COD_TABELA,'
      '   :SEQUENCIAL,'
      '   :CNPJ,'
      '   :TIPO_CADASTRO,'
      '   :STATUS,'
      '   :RAZAOSOCIAL,'
      '   :NOMEFANTASIA,'
      '   :ENDERECO_ENTREGA_TIPO,'
      '   :ENDERECO_ENTREGA_NUMERO,'
      '   :ENDERECO_ENTREGA_BAIRRO,'
      '   :ENDERECO_ENTREGA_CEP,'
      '   :ENDERECO_ENTREGA_CIDADE,'
      '   :ENDERECO_ENTREGA_COD_UF,'
      '   :ENDERECO_ENTREGA_LOGRADOURO,'
      '   :ENDERECO_ENTREGA_COMPLEMENTO,'
      '   :ENDERECO_COBRANCA_TIPO,'
      '   :ENDERECO_COBRANCA_LOGRADOURO,'
      '   :ENDERECO_COBRANCA_NUMERO,'
      '   :ENDERECO_COBRANCA_BAIRRO,'
      '   :ENDERECO_COBRANCA_CEP,'
      '   :ENDERECO_COBRANCA_CIDADE,'
      '   :ENDERECO_COBRANCA_COD_UF,'
      '   :ENDERECO_COBRANCA_COMPLEMENTO,'
      '   :CONTATO_TRANSPORTE,'
      '   :CONTATO_COBRANCA,'
      '   :TELEFONE1,'
      '   :TELEFONE2,'
      '   :INSCRICAO,'
      '   :BANCO_CARTEIRA,'
      '   :OBS_FATURAMENTO,'
      '   :OBS_TRANSPORTE,'
      '   :ABRE,'
      '   :FECHA,'
      '   :INICIO_ALMOCO,'
      '   :FIM_ALMOCO,'
      '   :MAPA,'
      '   :DATA_CAD,'
      '   :VENCIMENTO,'
      '   :EMAIL,'
      '   :FATURAMENTO,'
      '   :ULTIMA_MOVIMENTACAO,'
      '   :COD_STATUS,'
      '   :COD_CNAE,'
      '   :VENDEDOR_ALTERADO_EM,'
      '   :PERMITE_USAR_OUTRA_TAB_CALCULO,'
      '   :CODIGO_IDENTIFICACAO,'
      '   :COD_PRACA,'
      '   :COD_MUNICIPIO_IBGE,'
      '   :COD_UF_IBGE,'
      '   :CPF_VENDEDOR,'
      '   :COD_VENDEDOR,'
      '   :OPTANTE_SIMPLES)')
    OrderingItemNo = 4
    OrderingItems.Strings = (
      'COD_CLIENTE=CLIENTE.COD_CLIENTE;CLIENTE.COD_CLIENTE DESC'
      'CNPJ=CLIENTE.CNPJ;CLIENTE.CNPJ DESC'
      'TIPO_CADASTRO=CLIENTE.TIPO_CADASTRO;CLIENTE.TIPO_CADASTRO DESC'
      'RAZAOSOCIAL=CLIENTE.RAZAOSOCIAL;CLIENTE.RAZAOSOCIAL DESC'
      'NOMEFANTASIA=CLIENTE.NOMEFANTASIA;CLIENTE.NOMEFANTASIA DESC'
      
        'ENDERECO_ENTREGA_CIDADE=CLIENTE.ENDERECO_ENTREGA_CIDADE;CLIENTE.' +
        'ENDERECO_ENTREGA_CIDADE DESC'
      'DESCRICAO=UF.DESCRICAO;UF.DESCRICAO DESC'
      'TELEFONE1=CLIENTE.TELEFONE1;CLIENTE.TELEFONE1 DESC')
    OrderingLinks.Strings = (
      'COD_CLIENTE=1'
      'CNPJ=2'
      'TIPO_CADASTRO=3'
      'RAZAOSOCIAL=4'
      'NOMEFANTASIA=5'
      'ENDERECO_ENTREGA_CIDADE=6'
      'DESCRICAO=7'
      'TELEFONE1=8')
    SearchingLinks.Strings = (
      'COD_CLIENTE=COD_CLIENTE'
      'CNPJ=CNPJ'
      'TIPO_CADASTRO=TIPO_CADASTRO'
      'RAZAOSOCIAL=RAZAOSOCIAL'
      'NOMEFANTASIA=NOMEFANTASIA'
      'ENDERECO_ENTREGA_CIDADE=ENDERECO_ENTREGA_CIDADE'
      'DESCRICAO=DESCRICAO'
      'TELEFONE1=TELEFONE1')
    CommitAction = caInvalidateCursor
    Left = 344
    ParamValues = (
      'VARCNPJ=')
  end
  object dtCliente: TIB_DataSource
    Dataset = qryCliente
    Left = 344
    Top = 28
  end
  object qryCondicoesPagamento: TIB_Query
    FieldsCharCase.Strings = (
      'CODIGO=UPPER'
      'CNPJ=UPPER'
      'INSCRICAO=UPPER'
      'DATACADASTRO=UPPER'
      'TIPOENDERECO=UPPER'
      'ENDERECO=UPPER'
      'NUMEROENDERECO=UPPER'
      'COMPLEMENTOENDERECO=UPPER'
      'BAIRRO=UPPER'
      'CIDADE=UPPER'
      'UF=UPPER'
      'CEP=UPPER'
      'EMAIL=UPPER'
      'NOME=UPPER'
      'NOME_FANTASIA=UPPER'
      'TELEFONE1=UPPER'
      'TELEFONE2=UPPER'
      'JF=UPPER'
      'STATUS=UPPER'
      'CONTATO=UPPER'
      'PRACA=UPPER'
      'VENDEDOR=UPPER'
      'OBSERVACAO=UPPER'
      'TABELA=UPPER'
      'TIPOENDERECO_COBRANCA=UPPER'
      'ENDERECO_COBRANCA=UPPER'
      'NUMERO_COBRANCA=UPPER'
      'COMPLEMENTO_COBRANCA=UPPER'
      'BAIRRO_COBRANCA=UPPER'
      'CIDADE_COBRANCA=UPPER'
      'UF_COBRANCA=UPPER'
      'CEP_COBRANCA=UPPER'
      'DESCRICAO=UPPER'
      'PARCELAS=UPPER'
      'PRAZOMEDIO=UPPER'
      'PRAZO1=UPPER'
      'PRAZO2=UPPER'
      'PRAZO3=UPPER'
      'PRAZO4=UPPER'
      'PRAZO5=UPPER'
      'PRAZO6=UPPER'
      'PRAZO7=UPPER'
      'PRAZO8=UPPER'
      'PRAZO9=UPPER'
      'PRAZO10=UPPER'
      'PRAZO11=UPPER'
      'PRAZO12=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_FORMA_PAGAMENTO=C'#243'digi'
      'DESCRICAO=Condi'#231#227'o Pagamento'
      'PARCELAS=n'#186' parcelas'
      'PRAZOMEDIO=Prazo M'#233'dio'
      'COD_CONDICAO_PAGAMENTO=C'#243'digo')
    FieldsIndex.Strings = (
      'CODIGO'
      'CNPJ'
      'INSCRICAO'
      'DATACADASTRO'
      'TIPOENDERECO'
      'ENDERECO'
      'NUMEROENDERECO'
      'COMPLEMENTOENDERECO'
      'BAIRRO'
      'NOME'
      'TELEFONE1'
      'CEP'
      'EMAIL'
      'NOME_FANTASIA'
      'CIDADE'
      'UF'
      'TELEFONE2'
      'JF'
      'STATUS'
      'CONTATO'
      'PRACA'
      'VENDEDOR'
      'OBSERVACAO'
      'TABELA'
      'TIPOENDERECO_COBRANCA'
      'ENDERECO_COBRANCA'
      'NUMERO_COBRANCA'
      'COMPLEMENTO_COBRANCA'
      'BAIRRO_COBRANCA'
      'CIDADE_COBRANCA'
      'UF_COBRANCA'
      'CEP_COBRANCA')
    FieldsVisible.Strings = (
      'CODIGO=TRUE'
      'CNPJ=FALSE'
      'INSCRICAO=FALSE'
      'DATACADASTRO=FALSE'
      'TIPOENDERECO=FALSE'
      'ENDERECO=FALSE'
      'NUMEROENDERECO=FALSE'
      'COMPLEMENTOENDERECO=FALSE'
      'BAIRRO=FALSE'
      'CIDADE=TRUE'
      'UF=TRUE'
      'CEP=FALSE'
      'EMAIL=FALSE'
      'NOME=TRUE'
      'NOME_FANTASIA=TRUE'
      'TELEFONE1=TRUE'
      'TELEFONE2=FALSE'
      'JF=FALSE'
      'STATUS=FALSE'
      'CONTATO=FALSE'
      'PRACA=FALSE'
      'VENDEDOR=TRUE'
      'OBSERVACAO=FALSE'
      'TABELA=TRUE'
      'TIPOENDERECO_COBRANCA=FALSE'
      'ENDERECO_COBRANCA=FALSE'
      'NUMERO_COBRANCA=FALSE'
      'COMPLEMENTO_COBRANCA=FALSE'
      'BAIRRO_COBRANCA=FALSE'
      'CIDADE_COBRANCA=FALSE'
      'UF_COBRANCA=FALSE'
      'CEP_COBRANCA=FALSE'
      'PRAZOMEDIO=FALSE'
      'PRAZO1=FALSE'
      'PRAZO2=FALSE'
      'PRAZO3=FALSE'
      'PRAZO4=FALSE'
      'PRAZO5=FALSE'
      'PRAZO6=FALSE'
      'PRAZO7=FALSE'
      'PRAZO8=FALSE'
      'PRAZO9=FALSE'
      'PRAZO10=FALSE'
      'PRAZO11=FALSE'
      'PRAZO12=FALSE'
      'DESCRICAO=TRUE'
      'PARCELAS=FALSE'
      'COD_CONDICAO_PAGAMENTO=TRUE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM CONDICAO_PAGAMENTO')
    KeyLinks.Strings = (
      'CONDICAO_PAGAMENTO.COD_CONDICAO_PAGAMENTO')
    OrderingItemNo = -2
    OrderingItems.Strings = (
      
        'COD_CONDICAO_PAGAMENTO=COD_CONDICAO_PAGAMENTO;COD_CONDICAO_PAGAM' +
        'ENTO DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'COD_CONDICAO_PAGAMENTO=1'
      'DESCRICAO=2')
    SearchingLinks.Strings = (
      'COD_CONDICAO_PAGAMENTO=COD_CONDICAO_PAGAMENTO'
      'DESCRICAO=DESCRICAO')
    Left = 376
  end
  object dtCondicoesPagamento: TIB_DataSource
    Dataset = qryCondicoesPagamento
    Left = 376
    Top = 28
  end
  object qryTransportador: TIB_Query
    FieldsCharCase.Strings = (
      'CNPJ=UPPER'
      'RAZAO_SOCIAL=UPPER'
      'NOME_FANTASIA=UPPER'
      'ENDERECO_LOGRADOURO=UPPER'
      'ENDERECO_NUMERO=UPPER'
      'ENDERECO_COMPLEMENTO=UPPER'
      'ENDERECO_BAIRRO=UPPER'
      'ENDERECO_CEP=UPPER'
      'ENDERECO_CIDADE=UPPER'
      'INSCRICAO=UPPER'
      'TELEFONE1=UPPER'
      'TELEFONE2=UPPER'
      'JF=UPPER'
      'DATACADASTRO=UPPER'
      'CONTATO=UPPER'
      'EMAIL=UPPER'
      'COD_UF=UPPER'
      'COD_TRANSPORTADOR=UPPER'
      'COD_FILIAL=UPPER')
    FieldsDisplayLabel.Strings = (
      'RAZAO_SOCIAL=Transportador'
      'NOME_FANTASIA=Nome Fantasia'
      'ENDERECO_CIDADE=Cidade'
      'TELEFONE1=Telefone')
    FieldsEditMask.Strings = (
      'TELEFONE1=\(99\)9999\-9999;0')
    FieldsVisible.Strings = (
      'CNPJ=FALSE'
      'RAZAO_SOCIAL=TRUE'
      'NOME_FANTASIA=TRUE'
      'ENDERECO_LOGRADOURO=FALSE'
      'ENDERECO_NUMERO=FALSE'
      'ENDERECO_COMPLEMENTO=FALSE'
      'ENDERECO_BAIRRO=FALSE'
      'ENDERECO_CEP=FALSE'
      'ENDERECO_CIDADE=TRUE'
      'INSCRICAO=FALSE'
      'TELEFONE1=TRUE'
      'TELEFONE2=FALSE'
      'JF=FALSE'
      'DATACADASTRO=FALSE'
      'CONTATO=FALSE'
      'EMAIL=FALSE'
      'COD_UF=FALSE'
      'COD_TRANSPORTADOR=FALSE'
      'COD_FILIAL=FALSE'
      'VEICULO_PLACA=FALSE'
      'VEICULO_UF=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM TRANSPORTADORES')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'RAZAO_SOCIAL=RAZAO_SOCIAL;RAZAO_SOCIAL DESC'
      'NOME_FANTASIA=NOME_FANTASIA;NOME_FANTASIA DESC'
      'ENDERECO_CIDADE=ENDERECO_CIDADE;ENDERECO_CIDADE DESC'
      'TELEFONE1=TELEFONE1;TELEFONE1 DESC')
    OrderingLinks.Strings = (
      'RAZAO_SOCIAL=1'
      'NOME_FANTASIA=2'
      'ENDERECO_CIDADE=3'
      'TELEFONE1=4')
    SearchingLinks.Strings = (
      'RAZAO_SOCIAL=RAZAO_SOCIAL'
      'NOME_FANTASIA=NOME_FANTASIA'
      'ENDERECO_CIDADE=ENDERECO_CIDADE'
      'TELEFONE1=TELEFONE1')
    Left = 504
  end
  object dtTransportador: TIB_DataSource
    Dataset = qryTransportador
    Left = 504
    Top = 28
  end
  object qrUF_Cliente: TIB_Query
    FieldsCharCase.Strings = (
      'COD_UF=UPPER'
      'DESCRICAO=UPPER')
    FieldsDisplayLabel.Strings = (
      'DESCRICAO=UF')
    FieldsVisible.Strings = (
      'COD_UF=FALSE'
      'DESCRICAO=TRUE'
      'COD_UF_IBGE=FALSE'
      'ALIQUOTA=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT UF.*'
      'FROM UF')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'DESCRICAO=1')
    SearchingLinks.Strings = (
      'DESCRICAO=DESCRICAO')
    Left = 596
  end
  object dsrUf_Cliente: TIB_DataSource
    Dataset = qrUF_Cliente
    Left = 595
    Top = 28
  end
  object qryEspecie_Mercadoria: TIB_Query
    FieldsCharCase.Strings = (
      'COD_ESPECIE_MERCADORIA=UPPER'
      'DESCRICAO=UPPER'
      'ABREVIATURA=UPPER')
    FieldsDisplayLabel.Strings = (
      'COD_ESPECIE_MERCADORIA=C'#243'digo'
      'DESCRICAO=Descri'#231#227'o'
      'ABREVIATURA=Abreviatura')
    FieldsVisible.Strings = (
      'COD_ESPECIE_MERCADORIA=TRUE'
      'DESCRICAO=TRUE'
      'ABREVIATURA=TRUE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM ESPECIE_MERCADORIA')
    OrderingItemNo = 2
    OrderingItems.Strings = (
      
        'COD_ESPECIE_MERCADORIA=COD_ESPECIE_MERCADORIA;COD_ESPECIE_MERCAD' +
        'ORIA DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC'
      'ABREVIATURA=ABREVIATURA;ABREVIATURA DESC')
    OrderingLinks.Strings = (
      'COD_ESPECIE_MERCADORIA=1'
      'DESCRICAO=2'
      'ABREVIATURA=3')
    SearchingLinks.Strings = (
      'COD_ESPECIE_MERCADORIA=COD_ESPECIE_MERCADORIA'
      'DESCRICAO=DESCRICAO'
      'ABREVIATURA=ABREVIATURA')
    Left = 472
  end
  object dtEspecie_Mercadoria: TIB_DataSource
    Dataset = qryEspecie_Mercadoria
    Left = 472
    Top = 32
  end
  object qrUF_Veiculo: TIB_Query
    FieldsCharCase.Strings = (
      'COD_UF=UPPER'
      'DESCRICAO=UPPER')
    FieldsDisplayLabel.Strings = (
      'DESCRICAO=UF')
    FieldsVisible.Strings = (
      'COD_UF=FALSE'
      'DESCRICAO=TRUE'
      'COD_UF_IBGE=FALSE'
      'ALIQUOTA=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT UF.*'
      'FROM UF')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'DESCRICAO=1')
    SearchingLinks.Strings = (
      'DESCRICAO=DESCRICAO')
    Left = 532
  end
  object dtUF_Veiculo: TIB_DataSource
    Dataset = qrUF_Veiculo
    Left = 531
    Top = 28
  end
  object qrUF_Transportador: TIB_Query
    FieldsCharCase.Strings = (
      'COD_UF=UPPER'
      'DESCRICAO=UPPER')
    FieldsDisplayLabel.Strings = (
      'DESCRICAO=UF')
    FieldsVisible.Strings = (
      'COD_UF=FALSE'
      'DESCRICAO=TRUE'
      'COD_UF_IBGE=FALSE'
      'ALIQUOTA=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT UF.*'
      'FROM UF')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'DESCRICAO=1')
    SearchingLinks.Strings = (
      'DESCRICAO=DESCRICAO')
    Left = 564
  end
  object dtUF_Transportador: TIB_DataSource
    Dataset = qrUF_Transportador
    Left = 563
    Top = 28
  end
  object qryTotalItens: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'select SUM(VALOR_TOTAL) AS TOTAL, '
      '       SUM(QTE) AS TOTAL_QTE, '
      '       COUNT(VALOR_TOTAL) AS QTE_ITENS, '
      '       SUM(DESCONTO_VALOR) AS TOTAL_DESCONTO, '
      '       SUM(DESCONTO_PERCENTUAL) AS PERCENTUAL_DESCONTO,'
      '       SUM(BASE_ICMS_SUBSTITUICAO) AS BASE_ICMS_ST,'
      '       SUM(ICMS_SUBSTITUICAO) AS TOTAL_SUBSTITUICAO,'
      '       SUM(PESO) AS TOTAL_PESO, '
      '       SUM(DESCONTO_VALOR) AS DESCONTO_TOTAL,'
      '       SUM(BASE_CALCULO) AS BASE_CALCULO,'
      '       SUM(VALOR_ICMS) AS VALOR_ICMS,'
      '       SUM(VALOR_IPI) AS TOTAL_IPI,'
      '       SUM(difal_valor_fcp_destino) AS difal_valor_fcp_destino,'
      
        '       SUM(difal_valor_interestadual_dest) AS difal_valor_intere' +
        'stadual_dest,'
      
        '       SUM(difal_valor_interestadual_reme) AS difal_valor_intere' +
        'stadual_reme'
      'FROM NF_ITENS'
      ''
      'WHERE COD_NF =:VARNF')
    Left = 792
    Top = 8
    ParamValues = (
      'VARNF=0')
  end
  object dtTotalItens: TIB_DataSource
    Dataset = qryTotalItens
    Left = 792
    Top = 40
  end
  object qryItens: TIB_Query
    FieldsCharCase.Strings = (
      'COD_ITENS_NF=UPPER'
      'COD_PRODUTO=UPPER'
      'NOME_PRODUTO=UPPER'
      'COD_NF=UPPER'
      'QTE=UPPER'
      'VALOR_UNITARIO=UPPER'
      'VALOR_TOTAL=UPPER'
      'CLASSE_FISCAL=UPPER'
      'PESO=UPPER'
      'ITEM=UPPER'
      'COD_CFOP=UPPER'
      'INFORMACAO_ADICIONAL=UPPER'
      'UNIDADE=UPPER'
      'VALOR_DESCONTO=UPPER'
      'PERCENTUAL_DESCONTO=UPPER'
      'COD_CST=UPPER')
    FieldsDisplayLabel.Strings = (
      'ITEM=Item'
      'COD_PRODUTO=C'#243'digo'
      'NOME_PRODUTO=Produto'
      'QTE=Qte'
      'VALOR_UNITARIO=Unit'#225'rio'
      'VALOR_TOTAL=Total'
      'COD_CFOP=CFOP'
      'UNIDADE=Uni'
      'DESCONTO_VALOR=Desconto'
      'BASE_ICMS_SUBSTITUICAO=Base ST'
      'ICMS_SUBSTITUICAO=ICM ST'
      'BASE_CALCULO=Base C'#225'lculo'
      'ALIQUOTA=Aliquota'
      'VALOR_ICMS=Valor ICMS'
      'COD_NF=NF'
      'PESO=Peso'
      'INFORMACAO_ADICIONAL=Adicional'
      'COD_CST=CST'
      'COD_FILIAL_NF=Filial'
      'CLASSIFICACAO_FISCAL=Classifica'#231#227'o Fiscal'
      'DESCONTO_PERCENTUAL=% Desconto'
      'ALIQUOTA_ICMS_SUBSTITUICAO=Aliq Subs.ICMS'
      'PERCENTUAL_REDUCAO_BASE_CALCULO=%Red Base C'#225'lculo'
      'COD_CSOSN=CSOSN'
      'VALOR_IPI=Valor IPI'
      'ALIQUOTA_IPI=Aliq IPI'
      'DIFAL_BASE_UF_DESTINO=DIFAL Base'
      'DIFAL_PERCENTUAL_FCP_DESTINO=FICAL FCP Destino'
      'DIFAL_ALIQ_INTERNA_DESTINO=% Interno'
      'DIFAL_ALIQ_INTERESTADUAL=DIFAL % Interestadual'
      'DIFAL_PERCENTUAL_PARTILHA=DIFAL % Partilha'
      'DIFAL_VALOR_FCP_DESTINO=DIFAL FCP'
      'DIFAL_VALOR_INTERESTADUAL_DEST=DIFAL R$ Destino'
      'DIFAL_VALOR_INTERESTADUAL_REME=DIFAL R$ Remetente')
    FieldsDisplayWidth.Strings = (
      'COD_PRODUTO=94'
      'ITEM=36'
      'QTE=59'
      'VALOR_UNITARIO=79'
      'VALOR_TOTAL=78'
      'UNIDADE=62'
      'DESCONTO_VALOR=89')
    FieldsIndex.Strings = (
      'COD_ITENS_NF'
      'ITEM'
      'COD_PRODUTO'
      'NOME_PRODUTO'
      'COD_NF'
      'QTE'
      'VALOR_UNITARIO'
      'VALOR_TOTAL'
      'CLASSE_FISCAL'
      'PESO'
      'COD_CFOP'
      'INFORMACAO_ADICIONAL'
      'UNIDADE'
      'VALOR_DESCONTO'
      'PERCENTUAL_DESCONTO'
      'COD_CST')
    FieldsVisible.Strings = (
      'COD_ITENS_NF=FALSE'
      'COD_PRODUTO=TRUE'
      'NOME_PRODUTO=TRUE'
      'COD_NF=FALSE'
      'QTE=TRUE'
      'VALOR_UNITARIO=TRUE'
      'VALOR_TOTAL=TRUE'
      'CLASSE_FISCAL=FALSE'
      'PESO=FALSE'
      'ITEM=TRUE'
      'COD_CFOP=FALSE'
      'INFORMACAO_ADICIONAL=FALSE'
      'UNIDADE=TRUE'
      'VALOR_DESCONTO=FALSE'
      'PERCENTUAL_DESCONTO=FALSE'
      'COD_CST=FALSE'
      'BASE_ICMS_SUBSTITUICAO=TRUE'
      'ALIQUOTA_ICMS_SUBSTITUICAO=FALSE'
      'ICMS_SUBSTITUICAO=TRUE'
      'PERCENTUAL_REDUCAO_BASE_CALCULO=TRUE'
      'CLASSIFICACAO_FISCAL=FALSE'
      'DESCONTO_VALOR=TRUE'
      'DESCONTO_PERCENTUAL=FALSE'
      'BASE_CALCULO=TRUE'
      'ALIQUOTA=TRUE'
      'VALOR_ICMS=TRUE'
      'COD_FILIAL_NF=FALSE'
      'COD_CSOSN=TRUE'
      'VALOR_IPI=TRUE'
      'ALIQUOTA_IPI=TRUE'
      'CODIGO_BARRAS=TRUE'
      'OUTROS=TRUE'
      'DIFAL_BASE_UF_DESTINO=TRUE'
      'DIFAL_PERCENTUAL_FCP_DESTINO=TRUE'
      'DIFAL_ALIQ_INTERNA_DESTINO=TRUE'
      'DIFAL_ALIQ_INTERESTADUAL=TRUE'
      'DIFAL_PERCENTUAL_PARTILHA=TRUE'
      'DIFAL_VALOR_FCP_DESTINO=TRUE'
      'DIFAL_VALOR_INTERESTADUAL_DEST=TRUE'
      'DIFAL_VALOR_INTERESTADUAL_REME=TRUE')
    IB_Connection = Dados.IB_Conexao
    SQL.Strings = (
      'SELECT *'
      'FROM NF_ITENS'
      'WHERE COD_NF=:VARNF')
    DeleteSQL.Strings = (
      'DELETE FROM NF_ITENS NF_ITENS'
      'WHERE'
      '   COD_ITENS_NF = :OLD_COD_ITENS_NF')
    EditSQL.Strings = (
      'UPDATE NF_ITENS NF_ITENS SET'
      '   NF_ITENS.COD_ITENS_NF = :COD_ITENS_NF, /*PK*/'
      '   NF_ITENS.ITEM = :ITEM,'
      '   NF_ITENS.COD_PRODUTO = :COD_PRODUTO,'
      '   NF_ITENS.NOME_PRODUTO = :NOME_PRODUTO,'
      '   NF_ITENS.COD_NF = :COD_NF,'
      '   NF_ITENS.QTE = :QTE,'
      '   NF_ITENS.VALOR_UNITARIO = :VALOR_UNITARIO,'
      '   NF_ITENS.VALOR_TOTAL = :VALOR_TOTAL,'
      '   NF_ITENS.PESO = :PESO,'
      '   NF_ITENS.COD_CFOP = :COD_CFOP,'
      '   NF_ITENS.INFORMACAO_ADICIONAL = :INFORMACAO_ADICIONAL,'
      '   NF_ITENS.UNIDADE = :UNIDADE,'
      '   NF_ITENS.COD_CST = :COD_CST,'
      '   NF_ITENS.DESCONTO_VALOR = :DESCONTO_VALOR,'
      '   NF_ITENS.DESCONTO_PERCENTUAL = :DESCONTO_PERCENTUAL,'
      '   NF_ITENS.BASE_CALCULO = :BASE_CALCULO,'
      '   NF_ITENS.ALIQUOTA = :ALIQUOTA,'
      '   NF_ITENS.VALOR_ICMS = :VALOR_ICMS,'
      '   NF_ITENS.BASE_ICMS_SUBSTITUICAO = :BASE_ICMS_SUBSTITUICAO,'
      
        '   NF_ITENS.ALIQUOTA_ICMS_SUBSTITUICAO = :ALIQUOTA_ICMS_SUBSTITU' +
        'ICAO,'
      '   NF_ITENS.ICMS_SUBSTITUICAO = :ICMS_SUBSTITUICAO,'
      
        '   NF_ITENS.PERCENTUAL_REDUCAO_BASE_CALCULO = :PERCENTUAL_REDUCA' +
        'O_BASE_CALCULO,'
      '   NF_ITENS.CLASSIFICACAO_FISCAL = :CLASSIFICACAO_FISCAL,'
      '   NF_ITENS.COD_FILIAL_NF = :COD_FILIAL_NF,'
      '   NF_ITENS.COD_CSOSN = :COD_CSOSN,'
      '   NF_ITENS.VALOR_IPI = :VALOR_IPI,'
      '   NF_ITENS.ALIQUOTA_IPI = :ALIQUOTA_IPI,'
      '   NF_ITENS.CODIGO_BARRAS = :CODIGO_BARRAS,'
      '   NF_ITENS.OUTROS = :OUTROS,'
      '   NF_ITENS.DIFAL_BASE_UF_DESTINO = :DIFAL_BASE_UF_DESTINO,'
      
        '   NF_ITENS.DIFAL_PERCENTUAL_FCP_DESTINO = :DIFAL_PERCENTUAL_FCP' +
        '_DESTINO,'
      
        '   NF_ITENS.DIFAL_ALIQ_INTERNA_DESTINO = :DIFAL_ALIQ_INTERNA_DES' +
        'TINO,'
      
        '   NF_ITENS.DIFAL_ALIQ_INTERESTADUAL = :DIFAL_ALIQ_INTERESTADUAL' +
        ','
      
        '   NF_ITENS.DIFAL_PERCENTUAL_PARTILHA = :DIFAL_PERCENTUAL_PARTIL' +
        'HA,'
      '   NF_ITENS.DIFAL_VALOR_FCP_DESTINO = :DIFAL_VALOR_FCP_DESTINO,'
      
        '   NF_ITENS.DIFAL_VALOR_INTERESTADUAL_DEST = :DIFAL_VALOR_INTERE' +
        'STADUAL_DEST,'
      
        '   NF_ITENS.DIFAL_VALOR_INTERESTADUAL_REME = :DIFAL_VALOR_INTERE' +
        'STADUAL_REME,'
      '   NF_ITENS.VALOR_FRETE = :VALOR_FRETE'
      'WHERE'
      '   COD_ITENS_NF = :OLD_COD_ITENS_NF')
    InsertSQL.Strings = (
      'INSERT INTO NF_ITENS('
      '   COD_ITENS_NF, /*PK*/'
      '   ITEM,'
      '   COD_PRODUTO,'
      '   NOME_PRODUTO,'
      '   COD_NF,'
      '   QTE,'
      '   VALOR_UNITARIO,'
      '   VALOR_TOTAL,'
      '   PESO,'
      '   COD_CFOP,'
      '   INFORMACAO_ADICIONAL,'
      '   UNIDADE,'
      '   COD_CST,'
      '   DESCONTO_VALOR,'
      '   DESCONTO_PERCENTUAL,'
      '   BASE_CALCULO,'
      '   ALIQUOTA,'
      '   VALOR_ICMS,'
      '   BASE_ICMS_SUBSTITUICAO,'
      '   ALIQUOTA_ICMS_SUBSTITUICAO,'
      '   ICMS_SUBSTITUICAO,'
      '   PERCENTUAL_REDUCAO_BASE_CALCULO,'
      '   CLASSIFICACAO_FISCAL,'
      '   COD_FILIAL_NF,'
      '   COD_CSOSN,'
      '   VALOR_IPI,'
      '   ALIQUOTA_IPI,'
      '   CODIGO_BARRAS,'
      '   OUTROS,'
      '   DIFAL_BASE_UF_DESTINO,'
      '   DIFAL_PERCENTUAL_FCP_DESTINO,'
      '   DIFAL_ALIQ_INTERNA_DESTINO,'
      '   DIFAL_ALIQ_INTERESTADUAL,'
      '   DIFAL_PERCENTUAL_PARTILHA,'
      '   DIFAL_VALOR_FCP_DESTINO,'
      '   DIFAL_VALOR_INTERESTADUAL_DEST,'
      '   DIFAL_VALOR_INTERESTADUAL_REME,'
      '   VALOR_FRETE)'
      'VALUES ('
      '   :COD_ITENS_NF,'
      '   :ITEM,'
      '   :COD_PRODUTO,'
      '   :NOME_PRODUTO,'
      '   :COD_NF,'
      '   :QTE,'
      '   :VALOR_UNITARIO,'
      '   :VALOR_TOTAL,'
      '   :PESO,'
      '   :COD_CFOP,'
      '   :INFORMACAO_ADICIONAL,'
      '   :UNIDADE,'
      '   :COD_CST,'
      '   :DESCONTO_VALOR,'
      '   :DESCONTO_PERCENTUAL,'
      '   :BASE_CALCULO,'
      '   :ALIQUOTA,'
      '   :VALOR_ICMS,'
      '   :BASE_ICMS_SUBSTITUICAO,'
      '   :ALIQUOTA_ICMS_SUBSTITUICAO,'
      '   :ICMS_SUBSTITUICAO,'
      '   :PERCENTUAL_REDUCAO_BASE_CALCULO,'
      '   :CLASSIFICACAO_FISCAL,'
      '   :COD_FILIAL_NF,'
      '   :COD_CSOSN,'
      '   :VALOR_IPI,'
      '   :ALIQUOTA_IPI,'
      '   :CODIGO_BARRAS,'
      '   :OUTROS,'
      '   :DIFAL_BASE_UF_DESTINO,'
      '   :DIFAL_PERCENTUAL_FCP_DESTINO,'
      '   :DIFAL_ALIQ_INTERNA_DESTINO,'
      '   :DIFAL_ALIQ_INTERESTADUAL,'
      '   :DIFAL_PERCENTUAL_PARTILHA,'
      '   :DIFAL_VALOR_FCP_DESTINO,'
      '   :DIFAL_VALOR_INTERESTADUAL_DEST,'
      '   :DIFAL_VALOR_INTERESTADUAL_REME,'
      '   :VALOR_FRETE)')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'ITEM=ITEM;ITEM DESC'
      'COD_PRODUTO=COD_PRODUTO;COD_PRODUTO DESC'
      'NOME_PRODUTO=NOME_PRODUTO;NOME_PRODUTO DESC'
      'QTE=QTE;QTE DESC'
      'VALOR_UNITARIO=VALOR_UNITARIO;VALOR_UNITARIO DESC'
      'VALOR_TOTAL=VALOR_TOTAL;VALOR_TOTAL DESC'
      'UNIDADE=UNIDADE;UNIDADE DESC'
      'DESCONTO_VALOR=DESCONTO_VALOR;DESCONTO_VALOR DESC'
      'BASE_CALCULO=BASE_CALCULO;BASE_CALCULO DESC'
      'ALIQUOTA=ALIQUOTA;ALIQUOTA DESC'
      'VALOR_ICMS=VALOR_ICMS;VALOR_ICMS DESC'
      
        'BASE_ICMS_SUBSTITUICAO=BASE_ICMS_SUBSTITUICAO;BASE_ICMS_SUBSTITU' +
        'ICAO DESC'
      'ICMS_SUBSTITUICAO=ICMS_SUBSTITUICAO;ICMS_SUBSTITUICAO DESC'
      'COD_CSOSN=COD_CSOSN;COD_CSOSN DESC')
    OrderingLinks.Strings = (
      'ITEM=1'
      'COD_PRODUTO=2'
      'NOME_PRODUTO=3'
      'QTE=4'
      'VALOR_UNITARIO=5'
      'VALOR_TOTAL=6'
      'UNIDADE=7'
      'DESCONTO_VALOR=8'
      'BASE_CALCULO=9'
      'ALIQUOTA=10'
      'VALOR_ICMS=11'
      'BASE_ICMS_SUBSTITUICAO=12'
      'ICMS_SUBSTITUICAO=13'
      'COD_CSOSN=14')
    SearchingLinks.Strings = (
      'ITEM=ITEM'
      'COD_PRODUTO=COD_PRODUTO'
      'NOME_PRODUTO=NOME_PRODUTO'
      'QTE=QTE'
      'VALOR_UNITARIO=VALOR_UNITARIO'
      'VALOR_TOTAL=VALOR_TOTAL'
      'UNIDADE=UNIDADE'
      'DESCONTO_VALOR=DESCONTO_VALOR'
      'BASE_CALCULO=BASE_CALCULO'
      'ALIQUOTA=ALIQUOTA'
      'VALOR_ICMS=VALOR_ICMS'
      'BASE_ICMS_SUBSTITUICAO=BASE_ICMS_SUBSTITUICAO'
      'ICMS_SUBSTITUICAO=ICMS_SUBSTITUICAO'
      'COD_CSOSN=COD_CSOSN')
    Left = 285
    ParamValues = (
      'VARNF='#39'0'#39)
  end
  object dtItens: TIB_DataSource
    Dataset = qryItens
    Left = 285
    Top = 28
  end
  object OpenDialog1: TOpenDialog
    Left = 93
    Top = 32
  end
  object qryRegras_Imposto: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT REGRAS_IMPOSTO.*, ALIQUOTAS.ALIQUOTA'
      'FROM REGRAS_IMPOSTO'
      
        'INNER JOIN ALIQUOTAS ON (REGRAS_IMPOSTO.COD_ALIQUOTA = ALIQUOTAS' +
        '.COD_ALIQUOTA)'
      
        'WHERE UF LIKE :VARUF AND INSCRICAO=:VARINSCRICAO AND ENTRADA_SAI' +
        'DA=:VARENTRADA_SAIDA AND EMISSAO = '#39'T'#39)
    OrderingItems.Strings = (
      
        'COD_REGRAS_IMPOSTO=REGRAS_IMPOSTO.COD_REGRAS_IMPOSTO;REGRAS_IMPO' +
        'STO.COD_REGRAS_IMPOSTO DESC'
      'COD_CFOP=REGRAS_IMPOSTO.COD_CFOP;REGRAS_IMPOSTO.COD_CFOP DESC'
      
        'TIPO_CADASTRO=REGRAS_IMPOSTO.TIPO_CADASTRO;REGRAS_IMPOSTO.TIPO_C' +
        'ADASTRO DESC'
      'INSCRICAO=REGRAS_IMPOSTO.INSCRICAO;REGRAS_IMPOSTO.INSCRICAO DESC'
      
        'SUBSTITUICAO_TRIBUTARIA=REGRAS_IMPOSTO.SUBSTITUICAO_TRIBUTARIA;R' +
        'EGRAS_IMPOSTO.SUBSTITUICAO_TRIBUTARIA DESC'
      
        'TEXTO_IMPRESSAO=REGRAS_IMPOSTO.TEXTO_IMPRESSAO;REGRAS_IMPOSTO.TE' +
        'XTO_IMPRESSAO DESC'
      'UF=REGRAS_IMPOSTO.UF;REGRAS_IMPOSTO.UF DESC'
      
        'ENTRADA_SAIDA=REGRAS_IMPOSTO.ENTRADA_SAIDA;REGRAS_IMPOSTO.ENTRAD' +
        'A_SAIDA DESC'
      'EMISSAO=REGRAS_IMPOSTO.EMISSAO;REGRAS_IMPOSTO.EMISSAO DESC'
      
        'CFOP_DEVOLUCAO=REGRAS_IMPOSTO.CFOP_DEVOLUCAO;REGRAS_IMPOSTO.CFOP' +
        '_DEVOLUCAO DESC'
      
        'COD_ALIQUOTA=REGRAS_IMPOSTO.COD_ALIQUOTA;REGRAS_IMPOSTO.COD_ALIQ' +
        'UOTA DESC'
      'ALIQUOTA=ALIQUOTAS.ALIQUOTA;ALIQUOTAS.ALIQUOTA DESC')
    OrderingLinks.Strings = (
      'COD_REGRAS_IMPOSTO=1'
      'COD_CFOP=2'
      'TIPO_CADASTRO=3'
      'INSCRICAO=4'
      'SUBSTITUICAO_TRIBUTARIA=5'
      'TEXTO_IMPRESSAO=6'
      'UF=7'
      'ENTRADA_SAIDA=8'
      'EMISSAO=9'
      'CFOP_DEVOLUCAO=10'
      'COD_ALIQUOTA=11'
      'ALIQUOTA=12')
    SearchingLinks.Strings = (
      'COD_REGRAS_IMPOSTO=COD_REGRAS_IMPOSTO'
      'COD_CFOP=COD_CFOP'
      'TIPO_CADASTRO=TIPO_CADASTRO'
      'INSCRICAO=INSCRICAO'
      'SUBSTITUICAO_TRIBUTARIA=SUBSTITUICAO_TRIBUTARIA'
      'TEXTO_IMPRESSAO=TEXTO_IMPRESSAO'
      'UF=UF'
      'ENTRADA_SAIDA=ENTRADA_SAIDA'
      'EMISSAO=EMISSAO'
      'CFOP_DEVOLUCAO=CFOP_DEVOLUCAO'
      'COD_ALIQUOTA=COD_ALIQUOTA'
      'ALIQUOTA=ALIQUOTA')
    Left = 688
    ParamValues = (
      'VARUF=')
  end
  object qryHistorico: TIB_Query
    FieldsDisplayLabel.Strings = (
      'COD_NF=N'#250'mero NF'
      'DESCRICAO=Hist'#243'rico'
      'DATA_HISTORICO=Data'
      'HORA_HISTORICO=Hora'
      'NOME=Usu'#225'rio')
    FieldsDisplayWidth.Strings = (
      'NOME=109'
      'HORA_HISTORICO=62'
      'DATA_HISTORICO=78'
      'DESCRICAO=620')
    FieldsIndex.Strings = (
      'NF_HISTORICO.COD_NF_HISTORICO'
      'NF_HISTORICO.DATA_HISTORICO'
      'NF_HISTORICO.COD_USUARIO'
      'NF_HISTORICO.COD_NF'
      'NF_HISTORICO.HORA_HISTORICO'
      'USUARIO.NOME'
      'NF_HISTORICO.DESCRICAO'
      'USUARIO.COD_USUARIO'
      'USUARIO.LOGIN'
      'USUARIO.SENHA'
      'USUARIO.EXPIRA_EM'
      'USUARIO.SENHA_EXPIRA'
      'USUARIO.DIAS_PARA_EXPIRAR'
      'USUARIO.EMAIL'
      'USUARIO.UCPRIVILEGED'
      'USUARIO.UCTYPEREC'
      'USUARIO.UCPROFILE'
      'USUARIO.UCKEY'
      'USUARIO.UCINATIVE'
      'USUARIO.COD_SETOR'
      'USUARIO.DATA_CADASTRO'
      'USUARIO.DATA_SAIDA'
      'USUARIO.SKYPE'
      'USUARIO.NUMERO'
      'USUARIO.BAIRRO'
      'USUARIO.CEP'
      'USUARIO.CIDADE'
      'USUARIO.LOGRADOURO'
      'USUARIO.COMPLEMENTO'
      'USUARIO.FONE1'
      'USUARIO.FONE2'
      'USUARIO.COD_UF')
    FieldsVisible.Strings = (
      'COD_NF_HISTORICO=FALSE'
      'COD_USUARIO=FALSE'
      'COD_NF=FALSE'
      'DESCRICAO=TRUE'
      'DATA_HISTORICO=TRUE'
      'NOME=TRUE'
      'LOGIN=FALSE'
      'SENHA=FALSE'
      'EXPIRA_EM=FALSE'
      'SENHA_EXPIRA=FALSE'
      'DIAS_PARA_EXPIRAR=FALSE'
      'EMAIL=FALSE'
      'UCPRIVILEGED=FALSE'
      'UCTYPEREC=FALSE'
      'UCPROFILE=FALSE'
      'UCKEY=FALSE'
      'UCINATIVE=FALSE'
      'COD_SETOR=FALSE'
      'DATA_CADASTRO=FALSE'
      'DATA_SAIDA=FALSE'
      'SKYPE=FALSE'
      'NUMERO=FALSE'
      'BAIRRO=FALSE'
      'CEP=FALSE'
      'CIDADE=FALSE'
      'LOGRADOURO=FALSE'
      'COMPLEMENTO=FALSE'
      'FONE1=FALSE'
      'FONE2=FALSE'
      'COD_UF=FALSE'
      'COD_FILIAL_NF=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT NF_HISTORICO.*,'
      '       usuario.nome'
      'FROM NF_HISTORICO'
      
        'inner join usuario ON (nf_historico.cod_usuario = usuario.cod_us' +
        'uario )'
      'where cod_nf=:varnf'
      'order by data_historico desc, hora_historico desc')
    DeleteSQL.Strings = (
      'DELETE FROM NF_HISTORICO'
      'WHERE'
      '   COD_NF_HISTORICO = :OLD_COD_NF_HISTORICO')
    EditSQL.Strings = (
      'UPDATE NF_HISTORICO SET'
      '   COD_NF_HISTORICO = :COD_NF_HISTORICO, /*PK*/'
      '   DATA_HISTORICO = :DATA_HISTORICO,'
      '   COD_USUARIO = :COD_USUARIO,'
      '   COD_NF = :COD_NF,'
      '   HORA_HISTORICO = :HORA_HISTORICO,'
      '   DESCRICAO = :DESCRICAO,'
      '   COD_FILIAL_NF = :COD_FILIAL_NF'
      'WHERE'
      '   COD_NF_HISTORICO = :OLD_COD_NF_HISTORICO')
    GeneratorLinks.Strings = (
      'COD_NF_HISTORICO=GEN_NF_HISTORICO_ID')
    InsertSQL.Strings = (
      'INSERT INTO NF_HISTORICO('
      '   COD_NF_HISTORICO, /*PK*/'
      '   DATA_HISTORICO,'
      '   COD_USUARIO,'
      '   COD_NF,'
      '   HORA_HISTORICO,'
      '   DESCRICAO,'
      '   COD_FILIAL_NF)'
      'VALUES ('
      '   :COD_NF_HISTORICO,'
      '   :DATA_HISTORICO,'
      '   :COD_USUARIO,'
      '   :COD_NF,'
      '   :HORA_HISTORICO,'
      '   :DESCRICAO,'
      '   :COD_FILIAL_NF)')
    OrderingItemNo = -1
    SearchingLinks.Strings = (
      'DATA_HISTORICO=DATA_HISTORICO'
      'HORA_HISTORICO=HORA_HISTORICO'
      'NOME=NOME'
      'DESCRICAO=DESCRICAO')
    Left = 432
    Top = 1
    ParamValues = (
      'VARNF=0')
  end
  object dtHistorico: TIB_DataSource
    Dataset = qryHistorico
    Left = 432
    Top = 28
  end
  object qryPedido: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM PEDIDOS'
      'WHERE COD_PEDIDO=:VARPEDIDO')
    DeleteSQL.Strings = (
      'DELETE FROM PEDIDOS'
      'WHERE'
      '   COD_FILIAL = :OLD_COD_FILIAL AND'
      '   COD_PEDIDO = :OLD_COD_PEDIDO')
    EditSQL.Strings = (
      'UPDATE PEDIDOS SET'
      '   COD_FILIAL = :COD_FILIAL, /*PK*/'
      '   COD_PEDIDO = :COD_PEDIDO, /*PK*/'
      '   COD_TIPO_PGTO = :COD_TIPO_PGTO,'
      '   COD_USUARIO = :COD_USUARIO,'
      '   DATA_CADASTRO = :DATA_CADASTRO,'
      '   TOTAL_PRODUTOS = :TOTAL_PRODUTOS,'
      '   VALOR_PEDIDO = :VALOR_PEDIDO,'
      '   VOLUMES = :VOLUMES,'
      '   OBSERVACAO = :OBSERVACAO,'
      '   ITEMS = :ITEMS,'
      '   DESCONTO_PERCENTUAL = :DESCONTO_PERCENTUAL,'
      '   DESCONTO_VALOR = :DESCONTO_VALOR,'
      '   COD_CLIENTE = :COD_CLIENTE,'
      '   HORA_EMISSAO = :HORA_EMISSAO,'
      '   QTE = :QTE,'
      '   DATA_SAIDA = :DATA_SAIDA,'
      '   COD_TRANSPORTADOR = :COD_TRANSPORTADOR,'
      '   VALOR_ST = :VALOR_ST,'
      '   NUM_CONTROLE_ROTA = :NUM_CONTROLE_ROTA,'
      '   COD_VENDEDOR = :COD_VENDEDOR,'
      '   PERCENTUAL_COMISSAO = :PERCENTUAL_COMISSAO,'
      '   COMISSAO_DESCONTO = :COMISSAO_DESCONTO,'
      '   COMISSAO_ACRESCIMO = :COMISSAO_ACRESCIMO,'
      '   COMISSAO_VALOR_FINAL = :COMISSAO_VALOR_FINAL,'
      '   COMISSAO_DIFERENCA = :COMISSAO_DIFERENCA,'
      '   COMISSAO_BASE_TABELA = :COMISSAO_BASE_TABELA,'
      '   RECEBE_DIFERENCA = :RECEBE_DIFERENCA,'
      '   COMISSAO_OBSERVACAO = :COMISSAO_OBSERVACAO,'
      '   COD_CONDICAO_PAGAMENTO = :COD_CONDICAO_PAGAMENTO,'
      '   DATA_PEDIDO = :DATA_PEDIDO,'
      '   COD_TABELA = :COD_TABELA,'
      '   TABELA_BASE_PECAS = :TABELA_BASE_PECAS,'
      '   TABELA_BASE_ACESSORIOS = :TABELA_BASE_ACESSORIOS,'
      '   TABELA_BASE_BRINDES = :TABELA_BASE_BRINDES,'
      '   TABELA_BASE_TOTAL_PEDIDO = :TABELA_BASE_TOTAL_PEDIDO'
      'WHERE'
      '   COD_FILIAL = :OLD_COD_FILIAL AND'
      '   COD_PEDIDO = :OLD_COD_PEDIDO')
    InsertSQL.Strings = (
      'INSERT INTO PEDIDOS('
      '   COD_FILIAL, /*PK*/'
      '   COD_PEDIDO, /*PK*/'
      '   COD_TIPO_PGTO,'
      '   COD_USUARIO,'
      '   DATA_CADASTRO,'
      '   TOTAL_PRODUTOS,'
      '   VALOR_PEDIDO,'
      '   VOLUMES,'
      '   OBSERVACAO,'
      '   ITEMS,'
      '   DESCONTO_PERCENTUAL,'
      '   DESCONTO_VALOR,'
      '   COD_CLIENTE,'
      '   HORA_EMISSAO,'
      '   QTE,'
      '   DATA_SAIDA,'
      '   COD_TRANSPORTADOR,'
      '   VALOR_ST,'
      '   NUM_CONTROLE_ROTA,'
      '   COD_VENDEDOR,'
      '   PERCENTUAL_COMISSAO,'
      '   COMISSAO_DESCONTO,'
      '   COMISSAO_ACRESCIMO,'
      '   COMISSAO_VALOR_FINAL,'
      '   COMISSAO_DIFERENCA,'
      '   COMISSAO_BASE_TABELA,'
      '   RECEBE_DIFERENCA,'
      '   COMISSAO_OBSERVACAO,'
      '   COD_CONDICAO_PAGAMENTO,'
      '   DATA_PEDIDO,'
      '   COD_TABELA,'
      '   TABELA_BASE_PECAS,'
      '   TABELA_BASE_ACESSORIOS,'
      '   TABELA_BASE_BRINDES,'
      '   TABELA_BASE_TOTAL_PEDIDO)'
      'VALUES ('
      '   :COD_FILIAL,'
      '   :COD_PEDIDO,'
      '   :COD_TIPO_PGTO,'
      '   :COD_USUARIO,'
      '   :DATA_CADASTRO,'
      '   :TOTAL_PRODUTOS,'
      '   :VALOR_PEDIDO,'
      '   :VOLUMES,'
      '   :OBSERVACAO,'
      '   :ITEMS,'
      '   :DESCONTO_PERCENTUAL,'
      '   :DESCONTO_VALOR,'
      '   :COD_CLIENTE,'
      '   :HORA_EMISSAO,'
      '   :QTE,'
      '   :DATA_SAIDA,'
      '   :COD_TRANSPORTADOR,'
      '   :VALOR_ST,'
      '   :NUM_CONTROLE_ROTA,'
      '   :COD_VENDEDOR,'
      '   :PERCENTUAL_COMISSAO,'
      '   :COMISSAO_DESCONTO,'
      '   :COMISSAO_ACRESCIMO,'
      '   :COMISSAO_VALOR_FINAL,'
      '   :COMISSAO_DIFERENCA,'
      '   :COMISSAO_BASE_TABELA,'
      '   :RECEBE_DIFERENCA,'
      '   :COMISSAO_OBSERVACAO,'
      '   :COD_CONDICAO_PAGAMENTO,'
      '   :DATA_PEDIDO,'
      '   :COD_TABELA,'
      '   :TABELA_BASE_PECAS,'
      '   :TABELA_BASE_ACESSORIOS,'
      '   :TABELA_BASE_BRINDES,'
      '   :TABELA_BASE_TOTAL_PEDIDO)')
    CommitAction = caInvalidateCursor
    Left = 657
    ParamValues = (
      'VARPEDIDO=0')
  end
  object qryCFOP: TIB_Query
    FieldsDisplayLabel.Strings = (
      'COD_CFOP=CFOP'
      'DESCRICAO=Descri'#231#227'o')
    FieldsEditMask.Strings = (
      'COD_CFOP=9\.999;0')
    FieldsVisible.Strings = (
      'ENTRADA_SAIDA=FALSE'
      'DENTRO_FORA=FALSE'
      'COD_CST=FALSE'
      'ST=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM CFOP')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'COD_CFOP=COD_CFOP;COD_CFOP DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC'
      'ENTRADA_SAIDA=ENTRADA_SAIDA;ENTRADA_SAIDA DESC'
      'DENTRO_FORA=DENTRO_FORA;DENTRO_FORA DESC')
    OrderingLinks.Strings = (
      'COD_CFOP=1'
      'DESCRICAO=2'
      'ENTRADA_SAIDA=3'
      'DENTRO_FORA=4')
    SearchingLinks.Strings = (
      'COD_CFOP=COD_CFOP'
      'DESCRICAO=DESCRICAO'
      'ENTRADA_SAIDA=ENTRADA_SAIDA'
      'DENTRO_FORA=DENTRO_FORA')
    Left = 624
  end
  object dtCFOP: TIB_DataSource
    Dataset = qryCFOP
    Left = 624
    Top = 28
  end
  object popCopiar: TPopupMenu
    Left = 64
    Top = 4
    object CopiarCNPJ1: TMenuItem
      Caption = 'Copiar sem M'#225'scara'
    end
  end
  object ppEtiquetaDespacho: TppReport
    PrinterSetup.BinName = 'Default'
    PrinterSetup.DocumentName = 'EtiquetaDespacho'
    PrinterSetup.Duplex = dpNone
    PrinterSetup.Orientation = poLandscape
    PrinterSetup.PaperName = 'A4'
    PrinterSetup.PrinterName = 'Default'
    PrinterSetup.SaveDeviceSettings = False
    PrinterSetup.mmMarginBottom = 5000
    PrinterSetup.mmMarginLeft = 5000
    PrinterSetup.mmMarginRight = 5000
    PrinterSetup.mmMarginTop = 5000
    PrinterSetup.mmPaperHeight = 210000
    PrinterSetup.mmPaperWidth = 297000
    PrinterSetup.PaperSize = 9
    Units = utMillimeters
    ArchiveFileName = '($MyDocuments)\ReportArchive.raf'
    DeviceType = 'Screen'
    DefaultFileDeviceType = 'PDF'
    EmailSettings.ReportFormat = 'PDF'
    LanguageID = 'Default'
    OpenFile = False
    OutlineSettings.CreateNode = True
    OutlineSettings.CreatePageNodes = True
    OutlineSettings.Enabled = True
    OutlineSettings.Visible = True
    ThumbnailSettings.Enabled = True
    ThumbnailSettings.Visible = True
    ThumbnailSettings.DeadSpace = 30
    ThumbnailSettings.PageHighlight.Width = 3
    PDFSettings.EmbedFontOptions = [efUseSubset]
    PDFSettings.EncryptSettings.AllowCopy = True
    PDFSettings.EncryptSettings.AllowInteract = True
    PDFSettings.EncryptSettings.AllowModify = True
    PDFSettings.EncryptSettings.AllowPrint = True
    PDFSettings.EncryptSettings.AllowExtract = True
    PDFSettings.EncryptSettings.AllowAssemble = True
    PDFSettings.EncryptSettings.AllowQualityPrint = True
    PDFSettings.EncryptSettings.Enabled = False
    PDFSettings.EncryptSettings.KeyLength = kl40Bit
    PDFSettings.EncryptSettings.EncryptionType = etRC4
    PDFSettings.FontEncoding = feAnsi
    PDFSettings.ImageCompressionLevel = 25
    PDFSettings.PDFAFormat = pafNone
    PreviewFormSettings.PageBorder.mmPadding = 0
    RTFSettings.DefaultFont.Charset = DEFAULT_CHARSET
    RTFSettings.DefaultFont.Color = clWindowText
    RTFSettings.DefaultFont.Height = -13
    RTFSettings.DefaultFont.Name = 'Arial'
    RTFSettings.DefaultFont.Style = []
    TextFileName = '($MyDocuments)\Report.pdf'
    TextSearchSettings.DefaultString = '<Texto a localizar>'
    TextSearchSettings.Enabled = True
    XLSSettings.AppName = 'ReportBuilder'
    XLSSettings.Author = 'ReportBuilder'
    XLSSettings.Subject = 'Report'
    XLSSettings.Title = 'Report'
    XLSSettings.WorksheetName = 'Report'
    Left = 792
    Top = 68
    Version = '19.04'
    mmColumnWidth = 284300
    object ppDetailBand8: TppDetailBand
      Background1.Brush.Style = bsClear
      Background2.Brush.Style = bsClear
      Border.mmPadding = 0
      mmBottomOffset = 0
      mmHeight = 196850
      mmPrintPosition = 0
      object ppShape10: TppShape
        DesignLayer = ppDesignLayer1
        UserName = 'Shape10'
        Pen.Width = 2
        Shape = stRoundRect
        mmHeight = 41275
        mmLeft = 0
        mmTop = 155575
        mmWidth = 142346
        BandType = 4
        LayerName = Foreground
      end
      object ppDestino: TppRichText
        DesignLayer = ppDesignLayer1
        UserName = 'ppDestino'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 36
        Font.Style = [fsBold]
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'RAYANNE RODRIGUES DE SOUZA'
        ExportRTFAsBitmap = False
        RichText = 
          '{\rtf1\ansi\ansicpg1252\deff0\deflang1046{\fonttbl{\f0\fnil Verd' +
          'ana;}{\f1\fnil\fcharset0 Verdana;}}'#13#10'{\colortbl ;\red0\green0\bl' +
          'ue0;}'#13#10'\viewkind4\uc1\pard\cf1\b\f0\fs72 RAYANNE RODRIGUES DE SO' +
          'UZA\par'#13#10'\f1 RUA TENENTE FA\'#39'c7ANHA N\'#39'ba 363 - MACAMBIRA\f0\par' +
          #13#10'\f1 47.640-000    SANTA MARIA DA VIT\'#39'd3RIA - BA\f0\par'#13#10'}'#13#10#0
        RemoveEmptyLines = False
        mmHeight = 78052
        mmLeft = 0
        mmTop = 74877
        mmWidth = 284957
        BandType = 4
        LayerName = Foreground
        mmBottomOffset = 0
        mmOverFlowOffset = 0
        mmStopPosition = 0
        mmMinHeight = 0
        mmLeftMargin = 794
      end
      object ppLabel51: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label51'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Destino:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 36
        Font.Style = [fsBold]
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 15346
        mmLeft = 0
        mmTop = 59796
        mmWidth = 59531
        BandType = 4
        LayerName = Foreground
      end
      object ppPedidoNF: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'PedidoNF'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Pedido n'#186
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 36
        Font.Style = [fsBold]
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 15346
        mmLeft = 5027
        mmTop = 154782
        mmWidth = 69586
        BandType = 4
        LayerName = Foreground
      end
      object ppShape15: TppShape
        DesignLayer = ppDesignLayer1
        UserName = 'Shape102'
        Pen.Width = 2
        Shape = stRoundRect
        mmHeight = 41275
        mmLeft = 142611
        mmTop = 155575
        mmWidth = 142346
        BandType = 4
        LayerName = Foreground
      end
      object ppLabel63: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'Label63'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = 'Volumes'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 36
        Font.Style = [fsBold]
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        Transparent = True
        mmHeight = 15346
        mmLeft = 146579
        mmTop = 156104
        mmWidth = 61119
        BandType = 4
        LayerName = Foreground
      end
      object ppNF: TppLabel
        DesignLayer = ppDesignLayer1
        UserName = 'ppNF'
        HyperlinkEnabled = False
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Caption = '1.410'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Verdana'
        Font.Size = 72
        Font.Style = [fsBold]
        FormFieldSettings.FormSubmitInfo.SubmitMethod = fstPost
        FormFieldSettings.FormFieldType = fftNone
        TextAlignment = taCentered
        Transparent = True
        mmHeight = 30956
        mmLeft = 7938
        mmTop = 169069
        mmWidth = 125413
        BandType = 4
        LayerName = Foreground
      end
      object ppCabecalho_Etiqueta: TppImage
        DesignLayer = ppDesignLayer1
        UserName = 'ppCabecalho_Jalice1'
        AlignHorizontal = ahLeft
        AlignVertical = avTop
        AutoSize = True
        MaintainAspectRatio = False
        Stretch = True
        Border.Weight = 1.000000000000000000
        Border.mmPadding = 0
        Picture.Data = {
          [encoded data, 94720 characters]
          F01B955271EB74E5949ADFA75C6BE67E96D294AEF4F898FFD9}
        mmHeight = 55033
        mmLeft = 0
        mmTop = 2646
        mmWidth = 284692
        BandType = 4
        LayerName = Foreground
      end
    end
    object ppDesignLayers1: TppDesignLayers
      object ppDesignLayer1: TppDesignLayer
        UserName = 'Foreground'
        LayerType = ltBanded
        Index = 0
      end
    end
    object ppParameterList1: TppParameterList
    end
  end
  object salvar: TSaveDialog
    Left = 121
    Top = 4
  end
  object qryVencimentos: TIB_Query
    FieldsDisplayLabel.Strings = (
      'CODIGO=C'#243'digo'
      'PRAZO=Vencimentos'
      'ORDEM=Ordem'
      'COD_CONDICAO_PAGAMENTO=C'#243'digo')
    FieldsIndex.Strings = (
      'CODIGO'
      'COD_FORMA_PAGAMENTO'
      'ORDEM'
      'PRAZO')
    FieldsVisible.Strings = (
      'CODIGO=FALSE'
      'PRAZO=TRUE'
      'COD_FORMA_PAGAMENTO=FALSE'
      'ORDEM=TRUE'
      'COD_CONDICAO_PAGAMENTO=FALSE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM COND_PAGAMENTO_VENCIMENTOS'
      
        'WHERE COND_PAGAMENTO_VENCIMENTOS.COD_CONDICAO_PAGAMENTO =:VARCON' +
        'DICAO ')
    GeneratorLinks.Strings = (
      'CODIGO=GEN_COND_PGTO_VENCIMENTOS')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'ORDEM=ORDEM;ORDEM DESC'
      'PRAZO=PRAZO;PRAZO DESC')
    OrderingLinks.Strings = (
      'ORDEM=1'
      'PRAZO=2')
    SearchingLinks.Strings = (
      'ORDEM=ORDEM'
      'PRAZO=PRAZO')
    CommitAction = caInvalidateCursor
    Left = 433
  end
  object dtVencimentos: TIB_DataSource
    Dataset = qryVencimentos
    OnStateChanged = DsPrincipalStateChanged
    Left = 473
    Top = 28
  end
  object qryInscricaoST: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      
        'select * from inscricao_subst_tributario where inscricao_subst_t' +
        'ributario.uf=:varuf')
    CommitAction = caInvalidateCursor
    Left = 689
    Top = 32
    ParamValues = (
      'VARPEDIDO=0')
  end
  object cdsAlteracaoINF: TClientDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'ORIGINAL'
        DataType = ftString
        Size = 80
      end
      item
        Name = 'ALTERADO_PARA'
        DataType = ftString
        Size = 80
      end
      item
        Name = 'NOME_CAMPO'
        DataType = ftString
        Size = 80
      end
      item
        Name = 'DESCRICAO_CAMPO'
        DataType = ftString
        Size = 80
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 182
    Top = 4
  end
  object qrItemCartaCorrecao: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM CARTA_CORRECAO_ITENS')
    DeleteSQL.Strings = (
      'DELETE FROM CARTA_CORRECAO_ITENS'
      'WHERE'
      '   CODIGO = :OLD_CODIGO AND'
      '   COD_FILIAL = :OLD_COD_FILIAL')
    EditSQL.Strings = (
      'UPDATE CARTA_CORRECAO_ITENS SET'
      '   CODIGO = :CODIGO, /*PK*/'
      '   COD_FILIAL = :COD_FILIAL, /*PK*/'
      '   CODIGO_CARTA_CORRECAO = :CODIGO_CARTA_CORRECAO,'
      '   COD_FILIAL_CARTA_CORRECAO = :COD_FILIAL_CARTA_CORRECAO,'
      '   ORIGINAL = :ORIGINAL,'
      '   ALTERADO_PARA = :ALTERADO_PARA,'
      '   NOME_CAMPO = :NOME_CAMPO,'
      '   DESCRICAO_CAMPO = :DESCRICAO_CAMPO,'
      '   SEQUENCIA_DESCRITIVA = :SEQUENCIA_DESCRITIVA,'
      '   XML_GRUPO = :XML_GRUPO,'
      '   XML_CAMPO = :XML_CAMPO'
      'WHERE'
      '   CODIGO = :OLD_CODIGO AND'
      '   COD_FILIAL = :OLD_COD_FILIAL')
    InsertSQL.Strings = (
      'INSERT INTO CARTA_CORRECAO_ITENS('
      '   CODIGO, /*PK*/'
      '   COD_FILIAL, /*PK*/'
      '   CODIGO_CARTA_CORRECAO,'
      '   COD_FILIAL_CARTA_CORRECAO,'
      '   ORIGINAL,'
      '   ALTERADO_PARA,'
      '   NOME_CAMPO,'
      '   DESCRICAO_CAMPO,'
      '   SEQUENCIA_DESCRITIVA,'
      '   XML_GRUPO,'
      '   XML_CAMPO)'
      'VALUES ('
      '   :CODIGO,'
      '   :COD_FILIAL,'
      '   :CODIGO_CARTA_CORRECAO,'
      '   :COD_FILIAL_CARTA_CORRECAO,'
      '   :ORIGINAL,'
      '   :ALTERADO_PARA,'
      '   :NOME_CAMPO,'
      '   :DESCRICAO_CAMPO,'
      '   :SEQUENCIA_DESCRITIVA,'
      '   :XML_GRUPO,'
      '   :XML_CAMPO)')
    KeyLinks.Strings = (
      'CARTA_CORRECAO_ITENS.CODIGO'
      'CARTA_CORRECAO_ITENS.COD_FILIAL ')
    Left = 718
  end
  object qrCartaCorrecao: TIB_Query
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM CARTA_CORRECAO')
    DeleteSQL.Strings = (
      'DELETE FROM CARTA_CORRECAO CARTA_CORRECAO'
      'WHERE'
      '   COD_CARTA_CORRECAO = :OLD_COD_CARTA_CORRECAO AND'
      '   COD_FILIAL_GERACAO = :OLD_COD_FILIAL_GERACAO')
    EditSQL.Strings = (
      'UPDATE CARTA_CORRECAO CARTA_CORRECAO SET'
      
        '   CARTA_CORRECAO.COD_CARTA_CORRECAO = :COD_CARTA_CORRECAO, /*PK' +
        '*/'
      
        '   CARTA_CORRECAO.COD_FILIAL_GERACAO = :COD_FILIAL_GERACAO, /*PK' +
        '*/'
      '   CARTA_CORRECAO.COD_CLIENTE = :COD_CLIENTE,'
      '   CARTA_CORRECAO.DATA_LANCAMENTO = :DATA_LANCAMENTO,'
      '   CARTA_CORRECAO.HORA_LANCAMENTO = :HORA_LANCAMENTO,'
      '   CARTA_CORRECAO.COD_USUARIO = :COD_USUARIO,'
      '   CARTA_CORRECAO.TABELA_CORRIGIDA = :TABELA_CORRIGIDA,'
      '   CARTA_CORRECAO.COD_TABELA_CORRIGIDA = :COD_TABELA_CORRIGIDA,'
      
        '   CARTA_CORRECAO.COD_FILIAL_TABELA_CORIGIDA = :COD_FILIAL_TABEL' +
        'A_CORIGIDA,'
      
        '   CARTA_CORRECAO.SERIE_TABELA_CORRIGIDA = :SERIE_TABELA_CORRIGI' +
        'DA,'
      '   CARTA_CORRECAO.OBS = :OBS,'
      '   CARTA_CORRECAO.NOME_CLIENTE = :NOME_CLIENTE,'
      '   CARTA_CORRECAO.ENDERECO_CLIENTE = :ENDERECO_CLIENTE,'
      '   CARTA_CORRECAO.CIDADE_CLIENTE = :CIDADE_CLIENTE,'
      '   CARTA_CORRECAO.DATA_TRANSMISSAO = :DATA_TRANSMISSAO,'
      '   CARTA_CORRECAO.PROTOCOLO_TRANSMISSAO = :PROTOCOLO_TRANSMISSAO'
      'WHERE'
      '   COD_CARTA_CORRECAO = :OLD_COD_CARTA_CORRECAO AND'
      '   COD_FILIAL_GERACAO = :OLD_COD_FILIAL_GERACAO')
    InsertSQL.Strings = (
      'INSERT INTO CARTA_CORRECAO('
      '   COD_CARTA_CORRECAO, /*PK*/'
      '   COD_FILIAL_GERACAO, /*PK*/'
      '   COD_CLIENTE,'
      '   DATA_LANCAMENTO,'
      '   HORA_LANCAMENTO,'
      '   COD_USUARIO,'
      '   TABELA_CORRIGIDA,'
      '   COD_TABELA_CORRIGIDA,'
      '   COD_FILIAL_TABELA_CORIGIDA,'
      '   SERIE_TABELA_CORRIGIDA,'
      '   OBS,'
      '   NOME_CLIENTE,'
      '   ENDERECO_CLIENTE,'
      '   CIDADE_CLIENTE,'
      '   DATA_TRANSMISSAO,'
      '   PROTOCOLO_TRANSMISSAO)'
      'VALUES ('
      '   :COD_CARTA_CORRECAO,'
      '   :COD_FILIAL_GERACAO,'
      '   :COD_CLIENTE,'
      '   :DATA_LANCAMENTO,'
      '   :HORA_LANCAMENTO,'
      '   :COD_USUARIO,'
      '   :TABELA_CORRIGIDA,'
      '   :COD_TABELA_CORRIGIDA,'
      '   :COD_FILIAL_TABELA_CORIGIDA,'
      '   :SERIE_TABELA_CORRIGIDA,'
      '   :OBS,'
      '   :NOME_CLIENTE,'
      '   :ENDERECO_CLIENTE,'
      '   :CIDADE_CLIENTE,'
      '   :DATA_TRANSMISSAO,'
      '   :PROTOCOLO_TRANSMISSAO)')
    OrderingItems.Strings = (
      'COD_CARTA_CORRECAO=COD_CARTA_CORRECAO;COD_CARTA_CORRECAO DESC'
      'COD_FILIAL_GERACAO=COD_FILIAL_GERACAO;COD_FILIAL_GERACAO DESC'
      'COD_CLIENTE=COD_CLIENTE;COD_CLIENTE DESC'
      'DATA_LANCAMENTO=DATA_LANCAMENTO;DATA_LANCAMENTO DESC'
      'HORA_LANCAMENTO=HORA_LANCAMENTO;HORA_LANCAMENTO DESC'
      'COD_USUARIO=COD_USUARIO;COD_USUARIO DESC'
      'TABELA_CORRIGIDA=TABELA_CORRIGIDA;TABELA_CORRIGIDA DESC'
      
        'COD_TABELA_CORRIGIDA=COD_TABELA_CORRIGIDA;COD_TABELA_CORRIGIDA D' +
        'ESC'
      
        'COD_FILIAL_TABELA_CORIGIDA=COD_FILIAL_TABELA_CORIGIDA;COD_FILIAL' +
        '_TABELA_CORIGIDA DESC'
      
        'SERIE_TABELA_CORRIGIDA=SERIE_TABELA_CORRIGIDA;SERIE_TABELA_CORRI' +
        'GIDA DESC'
      'OBS=OBS;OBS DESC'
      'NOME_CLIENTE=NOME_CLIENTE;NOME_CLIENTE DESC'
      'ENDERECO_CLIENTE=ENDERECO_CLIENTE;ENDERECO_CLIENTE DESC'
      'CIDADE_CLIENTE=CIDADE_CLIENTE;CIDADE_CLIENTE DESC'
      'DATA_TRANSMISSAO=DATA_TRANSMISSAO;DATA_TRANSMISSAO DESC'
      
        'PROTOCOLO_TRANSMISSAO=PROTOCOLO_TRANSMISSAO;PROTOCOLO_TRANSMISSA' +
        'O DESC')
    OrderingLinks.Strings = (
      'COD_CARTA_CORRECAO=1'
      'COD_FILIAL_GERACAO=2'
      'COD_CLIENTE=3'
      'DATA_LANCAMENTO=4'
      'HORA_LANCAMENTO=5'
      'COD_USUARIO=6'
      'TABELA_CORRIGIDA=7'
      'COD_TABELA_CORRIGIDA=8'
      'COD_FILIAL_TABELA_CORIGIDA=9'
      'SERIE_TABELA_CORRIGIDA=10'
      'OBS=11'
      'NOME_CLIENTE=12'
      'ENDERECO_CLIENTE=13'
      'CIDADE_CLIENTE=14'
      'DATA_TRANSMISSAO=15'
      'PROTOCOLO_TRANSMISSAO=16')
    SearchingLinks.Strings = (
      'COD_CARTA_CORRECAO=COD_CARTA_CORRECAO'
      'COD_FILIAL_GERACAO=COD_FILIAL_GERACAO'
      'COD_CLIENTE=COD_CLIENTE'
      'DATA_LANCAMENTO=DATA_LANCAMENTO'
      'HORA_LANCAMENTO=HORA_LANCAMENTO'
      'COD_USUARIO=COD_USUARIO'
      'TABELA_CORRIGIDA=TABELA_CORRIGIDA'
      'COD_TABELA_CORRIGIDA=COD_TABELA_CORRIGIDA'
      'COD_FILIAL_TABELA_CORIGIDA=COD_FILIAL_TABELA_CORIGIDA'
      'SERIE_TABELA_CORRIGIDA=SERIE_TABELA_CORRIGIDA'
      'OBS=OBS'
      'NOME_CLIENTE=NOME_CLIENTE'
      'ENDERECO_CLIENTE=ENDERECO_CLIENTE'
      'CIDADE_CLIENTE=CIDADE_CLIENTE'
      'DATA_TRANSMISSAO=DATA_TRANSMISSAO'
      'PROTOCOLO_TRANSMISSAO=PROTOCOLO_TRANSMISSAO')
    Left = 750
  end
  object popRepositorio: TPopupMenu
    Left = 64
    Top = 32
    object RepositrioNacional1: TMenuItem
      Caption = 'Nacional'
      OnClick = RepositrioNacional1Click
    end
    object RepositrioEstadual1: TMenuItem
      Caption = 'Estadual'
      OnClick = RepositrioEstadual1Click
    end
  end
  object cxImageList1: TcxImageList
    SourceDPI = 96
    FormatVersion = 1
    DesignInfo = 96
    ImageInfo = <
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          00000000000000000000000000000000000000000000000000002B2B2B725D5D
          5DFF5A595AFF575657FF535353FF505050FF4D4D4DFF4A4949FF434242FF4242
          43FF404040FF3E3D3DFF3B3A3BFF393838FF363536FF17161772616161F8B1B1
          B1FFC7C7C7FFC7C7C7FFC7C7C7FFC7C7C7FFC7C7C7FF696996FF4F4F7BFFB0B0
          B0FFC4C4C4FFC7C7C7FFC7C7C7FFC7C7C7FFA8A8A8FF353435F8626162F3F4F4
          F4FFF9F9F9FFF7F7F7FFF4F4F4FFF2F2F2FF7E7EAEFF1E1E8CFF18187EFF5858
          85FFD7D7D7FFE7E7E7FFE5E5E5FFDEDEDEFFC0C0C0FF363436F35A5A5AD8E6E6
          E6FFFBFBFBFFF9F9F9FFF7F7F7FFF4F4F4FF262680FF3535BEFF2A2AA6FF1A1A
          6DFFD2D2D2FFE8E8E8FFE6E6E6FFE4E4E4FFB2B2B2FF323132D8505050BAD7D6
          D7FFFDFDFDFFFBFBFBFFF9F9F9FFF6F6F6FF55559CFF3232BAFF2C2DADFF3E3E
          7FFFD8D8D8FFE9E9E9FFE8E8E8FFE2E2E2FFA3A2A3FF2D2C2DBA4646469FC8C8
          C8FFFFFFFFFFFDFDFDFFFAFAFAFFF3F3F3FF8686B9FF2929A7FF2929A5FF6B6B
          9AFFDDDDDDFFE8E8E8FFE9E9E9FFDFDFDFFF959596FF2928299F3A3B3A81B8B8
          B9FFFFFFFFFFFCFCFCFFECECECFFB7B7B7FFA8A8C4FF222296FF212194FF9797
          B4FFAFAFAFFFD8D8D8FFE7E7E7FFDCDCDCFF888788FF2222228129282857A3A3
          A3FFFFFFFFFFF7F7F7FF949595FF555554FF6D6D84FF141484FF12127BFF7D7D
          94FF565757FF808080FFDBDBDBFFD9D9D9FF757475FF18181857090809127E7E
          7FFCFDFDFDFFEDEDEDFF484848FFE6E6E6FF59595CFF181865FF23237BFF6869
          6AFFD8D8D8FF404141FFC4C4C4FFCDCDCDFF555455FC05050512000000005353
          53AED3D3D4FFAFAFAEFF888888FFF5F5F5FFBDBEBDFF484848FF727272FFBEBE
          BEFFE7E7E7FF7F7F7FFF878888FF9C9B9CFF373637AE00000000000000001313
          13278B8B8CFC747473FFCECECEFFC3C3C3FF656565FFCBCBCBFFE2E2E2FF8989
          89FFBFBFBFFFC1C1C1FF5A5A5BFF5F5E5FFC0D0D0D2800000000000000000000
          00004646469560605FFFDFDFDFFF646463FFCCCCCCFFDEDEDEFFE2E2E2FFD9D9
          D9FF767776FFD5D5D5FF525252FF3030309B0000000100000000000000000000
          00000606060F5E5E5EE97C7E7DFF8D8D8DFFB4B4B4FFBDBDBDFFBCBCBCFFB3B3
          B3FF8F8F8FFF808080FF525252EB040404140000000100000000000000000000
          0000000000000505050C424242AB40404087575657BA5D5E5DCE5A5A5BCE5050
          50BA38383887444444AB0404040C000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000}
      end
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000000000000000
          0000000000000000000100000009000000160000001000000004000000000000
          000000000000000000030000000B0000000B0000000400000000000000000000
          000000000001000000090F0804485C3119ED2B160B9500000019000000030000
          0000000000020305091F213B63D01A3153B40103041900000003000000000000
          000100000007110A0541724427F0A96A3DFF844D29FF2B160B97000000190000
          00030000000514243C86152741930F1D3177182F4CA80000000A000000000000
          0005130B063B7A4D2CEEB17040FFB06F3EFFAD6C3DFF824D29FF2B170B960000
          00180000000A203D65D4080E183F03050924254675EF0000000E00000004130C
          073383532FECBD845AFFBE906FFFC09679FFAA6F45FFA9693BFF834D29FF2B16
          0B9501020323264777FA0001010E0204071B274676F20000000D150D072D8C5C
          35EAC67F4AFFC79B7CFFFCFBFAFFEFE7E1FFEDE4DDFFB3825EFFAB6C3BFF834D
          29FF291A119C203F6BF20000000C09121D461F3A60C800000008825330DDD396
          67FFD08F5CFFD5B8A3FFF0E7E2FF9F6035FFE5D8CFFFC9AA93FFA96A3AFFAC6D
          3DFF7D4B2EFF22324DDE0000001D182D4CA0101E326E000000043A261564B178
          4BFDD69869FFD0A788FFEDE0D7FFAE7045FFFCFAF9FFB68A69FFD7BFAEFFA768
          3AFFAC6C3DFF824C29FF2A1C19A124446FE50102030F00000001000000013A26
          1664AF774AFDD49767FFC78756FFCDA589FFF0E7E2FF9A5D33FFF7F4F1FFD0B4
          A0FFB06E3DFFAD6D3DFF4F5161FF2C2D38BA0000001000000001000000000000
          000139261563B0784BFDD99A6BFFC89168FFE8DBD1FFEFE7E1FFFDFCFCFFC296
          7AFFB47B52FF957A6DFF606476FF6A3A1EFF0603022700000001000000000000
          0000000000013A261562B0774AFDD59768FFC89369FFCA9E7EFFC49471FFAB76
          51FF815234FF5F6880FFB78662FF6F3E20FF0603022700000001000000000000
          000000000000000000003A261562B0774AFDD99B6CFFD4915EFFCC834BFF8D57
          31FF281910677F5439FFC18252FF744223FF0603022300000001000000000000
          00000000000000000000000000003A261561B0784BFDDD9E6EFFDB9762FFB271
          40FF8E5730FFA8693BFFC27C46FF794726FF0503021900000001000000000000
          0000000000000000000000000000000000003A261560B0784BFDDD9E6EFFDE9F
          6FFFDB9E6EFFD69A6AFF9F6942FF2E1B0F6B0000000500000000000000000000
          000000000000000000000000000000000000000000003A251560946036FC935E
          35FF8E5A32FF88542EFC321F1166000000040000000100000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000010000000100000001000000000000000000000000}
      end
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          20000000000000040000000000000000000000000000000000007E5446B9B074
          62FFAF7461FFAF7461FFAF7460FFAE735FFFAE725FFFAD715EFFAD715EFFAC70
          5CFFAC705CFFAC6F5BFFAC6F5BFFAB6F5BFFAB6E5AFF7B5041BAB67E6CFFFBF6
          F3FFFAF5F2FFFAF5F2FFFAF5F2FFFAF5F2FFFAF5F1FFFAF4F1FFFAF4F1FFF9F4
          F0FFF9F4F0FFF9F3F0FFF8F3EFFFF9F3EFFFF8F2EEFFB37968FFB77F6FFFFBF7
          F4FF7F00D7FF7F00D7FF8510D8FF8F24DAFF9A3BDDFFA754DFFFB46FE2FFC28A
          E5FFCFA4E8FFDDBDE9FFE7D4ECFFF1E5EEFFF9F4F0FFB47B6AFFB88171FFFBF8
          F5FF8000D8FF8000D8FF8711D9FF9025DBFF9B3CDDFFA856DFFFB570E2FFC38B
          E5FFD0A5E8FFDDBEEAFFE8D4EDFFF1E6EEFFFAF4F2FFB47C6BFFB98472FFFCF9
          F7FFF8F0ECFFF8F0ECFFF8F1ECFFF7F0ECFFF7F0EBFFF8F0EBFFF7F0EBFFF7F0
          EAFFF7EFEAFFF7EFE9FFF7EFE9FFF6EFEAFFFAF6F3FFB67F6DFFBB8674FFBB85
          73FFBA8473FFBA8473FFBA8473FFB98472FFB98472FFB98472FFB98472FFB983
          72FFB98371FFB98371FFB98371FFB88371FFB98271FFB7806FFFBB8674FFFDFA
          F8FFF8F1EDFFF8F1EDFFF8F2EEFFF8F2EEFFF8F2EDFFF7F1EDFFF8F0ECFFF8F0
          ECFFF8F0EBFFF7F0EBFFF7EFEAFFF7F0EAFFFAF7F5FFB7806FFFBB8674FFFDFA
          F8FF8500DAFF8500DAFF8F1CDCFF9C3EDEFFAD5FE2FFC083E5FFD1A6E8FFE1C6
          ECFFEFE1EEFFF8F0ECFFF7F0ECFFF7F0EAFFFAF7F5FFB7806FFFBF8C7AFFFEFC
          FBFF8700DAFF8700DAFF901DDCFF9E3FDFFFAE61E2FFC085E6FFD2A7E8FFE2C7
          ECFFF0E2EFFFF8F3EFFFF8F3EEFFF9F2EEFFFCFAF9FFBB8675FFC08D7DFFFEFD
          FCFFFAF5F2FFFAF5F2FFFAF6F3FFFAF6F2FFFAF5F2FFFAF5F1FFF9F4F1FFF9F4
          F0FFF9F3F0FFF8F3EFFFF8F3EFFFF9F3F0FFFDFBFAFFBC8877FFC28F7EFFBE8B
          7AFFBE8A79FFBE8A79FFBE8B79FFBD8A78FFBD8A78FFBE8978FFBE8978FFBC89
          78FFBC8977FFBD8977FFBD8977FFBC8877FFBC8876FFBE8A79FFC39281FFFEFE
          FDFFFBF7F4FFFBF7F4FFFBF7F4FFFAF7F5FFFBF7F4FFFAF6F4FFFAF6F4FFFAF6
          F3FFFAF6F2FFF9F5F2FFF9F5F2FFF9F6F2FFFDFCFCFFBF8D7BFFC49483FFFFFE
          FEFF8D00DDFF8D00DDFF9E38E0FFB66FE4FFD1A6EAFFE9D5EEFFFBF7F5FFFAF6
          F4FFFBF6F3FFFAF6F3FFF9F6F3FFFAF6F3FFFEFDFCFFC08F7EFFC59584FFFFFE
          FEFF8E00DDFF8E00DDFF9F3AE0FFB770E4FFD2A7EAFFE9D6EEFFFBF8F5FFFCF8
          F5FFFBF8F5FFFBF7F4FFFBF7F4FFFBF7F4FFFEFDFDFFC2907FFFC69786FFFFFF
          FEFFFFFFFEFFFFFFFEFFFFFEFEFFFFFFFEFFFFFEFEFFFFFEFEFFFFFEFEFFFFFE
          FEFFFEFEFEFFFEFEFEFFFFFEFEFFFFFEFDFFFEFEFDFFC39281FF9A796EC0CFA4
          94FFCFA393FFCFA393FFCEA393FFCEA393FFCEA292FFCEA292FFCDA292FFCDA1
          91FFCDA090FFCCA090FFCC9F8FFFCB9E8EFFCB9E8EFF967468C2}
      end
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000000000030000
          000D412C26FF3F2A24FF00000027000000290000002B0000002C0000002D0000
          002C0000002A000000272F1E18FF2E1D17FF0000000E000000040000000B1337
          86FF143785FF143685FF133685FF133685FF133584FF133585FF123584FF1235
          84FF123484FF123584FF123483FF123383FF123483FF0000000C0000000D2456
          A6FF50AEE8FF3E8BC8FF3D8AC8FF4FACE7FF4EACE7FF4DACE7FF4DABE7FF4DAB
          E7FF4CAAE7FF3A88C7FF3A88C8FF4BAAE6FF2252A3FF0000000F0000000C2659
          A9FF55B1E9FFEBFCFEFFD8FAFEFF53B0E9FF52AFE8FF52AFE8FF51AEE8FF51AE
          E8FF4FAEE8FFEBFCFEFFD8FAFEFF4EACE7FF2455A5FF0000000E0000000B285D
          ABFF59B5EAFFEBFCFEFFEBFCFEFF57B3EAFF57B3EAFF56B2E9FF55B2E9FF54B1
          E9FF54B0E8FFEBFCFEFFEBFCFEFF52AFE9FF2659A8FF0000000D0000000B2A62
          AEFF5FB9EBFF5EB8ECFF5DB7ECFF5DB6EBFF5CB6EBFF5BB6EAFF5AB5EAFF5AB5
          EBFF59B4EBFF58B3EAFF58B3EAFF56B2EAFF285DAAFF0000000C0000000A2C66
          B1FF64BDEDFF455058FF50382FFF503830FF50382FFF4F372EFF4E372FFF4E37
          2EFF4D372EFF4E372EFF414C57FF5BB6EBFF2960ADFF0000000C000000092F6B
          B5FF6AC0EFFF432E27FF553C34FF553C33FF543C32FF533B32FF533A32FF533A
          32FF523A31FF523931FF3F2B23FF61BAECFF2B65B1FF0000000B000000083170
          B8FF6FC5F0FF483229FF5A4037FF5A4137FF5A4036FF593F36FF583F36FF583F
          35FF573E35FF573D34FF442E27FF66BFEEFF2D6AB3FF0000000A000000083474
          BBFF75CAF2FF4E362DFF60453BFF60463CFF5F453BFF5F443BFF5E443AFF5E44
          3AFF5D4339FF5C4339FF49322BFF6CC3F0FF306EB7FF00000009000000073679
          BFFF7BCDF3FF654A3EFF86675AFF8F6F61FF957567FF99786AFF977768FF9171
          63FF88695CFF7E6053FF5E4439FF72C7F1FF3373BAFF0000000800000006387E
          C2FF7FD1F5FF967062FFA78575FFA58374FFA48273FFA38172FFA28071FFA07F
          70FF9F7D6EFF9D7C6DFF876658FF77CBF2FF3577BDFF00000008000000053B83
          C6FF84D4F6FF956D5BFFAD8A7AFFAC8979FFAB8878FFAA8778FFA98676FFA885
          76FFA68474FFA58373FF8A6255FF7CCFF4FF377CC1FF0000000700000005408B
          CBFF94DDF8FF88776FFF88543FFF87533FFF85523EFF85513EFF84513EFF8251
          3DFF81503CFF7F4F3BFF80706AFF8ED7F7FF3E85C7FF00000006000000035399
          C7E89DD4F0FFBCECFBFFBBEBFBFFBBEBFBFFBBEBFBFFBBEBFBFFBAEBFBFFBAEA
          FBFFBAEAFBFFB9EAFBFFB9EAFAFF9AD2EEFF5197C6E90000000400000001192C
          3843508DB2CB65B3E2FF65B3E2FF65B3E2FF65B3E2FF65B3E2FF65B3E2FF65B3
          E2FF65B3E1FF65B3E1FF65B2E1FF4F8CB1CC192C374400000002}
      end
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          00000000000000000000150F091D51392270845D37B7A97747EAA97747EA845D
          37B751392270150F091D00000000000000000000000000000000000000000000
          000000000000291D11397F5A35B0B8824DFFB8824DFFB8824DFFB8824DFFB882
          4DFFB8824DFF7F5A35B0291D1139000000000000000000000000000000000000
          0000150F091D7F5A35B0B8824DFF8A613ABF4A341F661610091F1610091F4A34
          1F668A613ABFB8824DFF7F5A35B0150F091D0000000000000000000000000000
          000051392270B8824DFF8A613ABF251A0F330000000000000000000000000000
          0000251A0F338A613ABFB8824DFF513922700000000000000000000000000000
          0000845D37B7B8824DFF4A341F66000000000000000000000000000000000000
          0000000000004A341F66B8824DFF845D37B70000000000000000000000000000
          00000000000000000000000000000000000000000000B8824DFFB8824DFFB882
          4DFF000000001610091FB8824DFFA97747EA000000000000000000000000B882
          4DFFB8824DFFB8824DFFB8824DFFB8824DFF5B40267EB8824DFF000000000000
          0000000000001610091FB8824DFFA97747EA000000000000000000000000B882
          4DFFB8824DFFB8824DFFB8824DFF5B40267E00000000B8824DFF000000000000
          0000000000004A341F66B8824DFF845D37B7000000000000000000000000B882
          4DFFB8824DFFB8824DFFA17243DF251A0F3300000000B8824DFF000000000000
          0000251A0F338A613ABFB8824DFF51392270000000000000000000000000B882
          4DFFB8824DFF9B6E41D7B8824DFF8A613ABF4A341F661610091F1610091F4A34
          1F668A613ABFB8824DFF7F5A35B0150F091D000000000000000000000000B882
          4DFF5B40267E291D11397F5A35B0B8824DFFB8824DFFB8824DFFB8824DFFB882
          4DFFB8824DFF7F5A35B0291D1139000000000000000000000000000000005B40
          267E0000000000000000150F091D51392270845D37B7A97747EAA97747EA845D
          37B751392270150F091D00000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000000}
      end
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000000000000000
          0000000000000000000000000000000000000000000000000002000000080000
          000C0000000D0000000E0000000E0000000D0000000900000002000000000000
          0000000000000000000000000000000000000000000000000007714B3FBF9C68
          57FF9B6755FF9B6655FF9A6655FF996454FF6D473BBF00000008000000000000
          000000000002000000080000000C0000000D0000000D00000016A26D5DFFF9F3
          EEFFF1E6DDFFF1E6DCFFF0E5DBFFF0E5DAFF9C6857FF0000000B000000000000
          0000000000071A4278BF2258A5FF2258A5FF2157A4FF8BA6CBFFA67463FFFAF5
          F1FFF3EAE3FFF3EAE1FFF3E9E2FFF3E9E1FFA16C5CFF00000009000000000000
          0000000000092660AAFF61B8ECFF57B3EBFF57B2EAFF54AEE4FFAB7A69FFFBF8
          F4FFF6EFE9FFF5EEE8FFF6EEE7FFF5EEE7FFA57362FF00000008000000000000
          0000000000092864ADFF6AC0EFFF5DB8EDFF5BB6ECFF59B2E7FFB08171FFFCFA
          F7FFF9F3EEFFF8F3EEFFF8F2EEFFF8F2EDFFAA7968FF00000006000000000000
          0000000000082B69AFFF75C6F0FF63BCEEFF61BBEEFF5FB8EBFFB58776FFFDFB
          FAFFFDFBFAFFFDFBF9FFFDFBF9FFFDFBF9FFAF7F70FF00000005000000020000
          0008000000138EADCEFF78C1E6FF62B5E2FF62B5E3FF62B7E6FFA39898FFB98C
          7BFFB88B7AFFB78A79FFB68978FFB68777FF856358BF00000002000000077C5A
          4DBFAD7C6BFFAC7B69FFAC7A69FFAB7A69FFAA7868FF958686FF68BBE8FF6AC0
          EFFF67BFEEFF75C5EFFF93B3D5FF0000000A000000010000000000000009B281
          71FFF9F3EEFFF1E6DDFFF1E6DCFFF0E5DBFFF0E5DAFFAD7C6BFF6ABDE8FF6FC5
          F2FF6EC4F2FF81CEF3FF2C6CB2FF00000007000000000000000000000008B687
          77FFFAF5F1FFF3EAE3FFF3EAE1FFF3E9E2FFF3E9E1FFB18070FF70C3EAFF73C9
          F3FF72C8F3FF8BD3F6FF2E71B5FF00000006000000000000000000000006BA8D
          7DFFFBF8F4FFF6EFE9FFF5EEE8FFF6EEE7FFF5EEE7FFB58676FF95D5F0FF98DA
          F7FF95D9F7FF93D8F7FF3175B7FF00000004000000000000000000000005BF94
          84FFFCFAF7FFF9F3EEFFF8F3EEFFF8F2EEFFF8F2EDFFB98C7CFF98BCDBFF3881
          C0FF3881C0FF3880C0FF285F8DBF00000003000000000000000000000003C299
          89FFFDFBFAFFFDFBFAFFFDFBF9FFFDFBF9FFFDFBF9FFBE9283FF000000070000
          0003000000030000000300000002000000010000000000000000000000019475
          6ABFC69E8EFFC59D8DFFC49C8CFFC39B8BFFC3998AFF907065BF000000020000
          0000000000000000000000000000000000000000000000000000000000000000
          0001000000010000000200000002000000020000000200000001000000000000
          0000000000000000000000000000000000000000000000000000}
      end
      item
        Image.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000000000000000
          000100000000000000000000000000000000140A00566F3600F36C3400F37438
          00ED010100060000000100000000000000000000000100000001000000000000
          00010000000000000000000000010301000D853F00FF703600FF723700FF773A
          00FF231100770000000000000000000000000000000100000001000000000000
          00010000000000000000000000002C160083793A00FF723700FF723700FF7036
          00FF8C4400FF0000000300000000000000000000000100000001000000010000
          000100000001000000010A050024864100FF713600FF723700FF723700FF7438
          00FF733800DA0000000300000001000000010000000100000001000000010000
          00000000000100000006482300B2753800FF723700FF723700FF723700FF793A
          00F61108004A0000000000000000000000010000000100000001000000010000
          00000000000110070041823E00FF713600FF723700FF713700FF773900FF401F
          008D0000000307030024200F004E000000070000000100000001000000010000
          000000000001190C0067733700FF723700FF723700FF773A00FF653100DC0E07
          003B2E16006C452200A5683200E42F16006F0000000000000001000000010000
          0000000000030302001A803E00FF723700FF743800FF6A3300E522110058602E
          00C3703600F67C3C00FF783A00FF763900F30804002C0000000100000000140A
          00473319007C00000000854000FF713600FF7C3C00FF24120059000000015026
          00A47E3D00FF723700FF723700FF783A00FF542900B600000000040200216430
          00CF743800F01A0D0059391C0095823E00FF3419007C3017007C4723009C1108
          0059623000DA753900FF723700FF713700FF7C3C00FF43210090070300368942
          00FF753900FF6D3400DC110800573E1E009D140A00626F3600ED753900FD6A33
          00CA180C003D6A3300EA733800FF713700FF7B3B00FF673200E10201000E2E17
          007D833F00FF753900FF693200D508040032331900A6783900FF733800FF9448
          00FF000000003B1C00A47F3D00FF793B00FF683300E5190C0038000000010302
          000F2E160086854000FF743800FF6B3300D51209004E663200EA803E00FF3F1F
          00A41F0F006F492300C61E0E005D6F3600EA1209002B00000000000000010000
          00000302000D2B150083864100FF813E00FF753900E629140089160B00482010
          007C7D3C00F0743800FA010000070E0700210000000000000001000000000000
          000000000000020100071F0F00724E2600C9401E00BE2B1500931E0E00817F3D
          00F7813E00FF5D2D00DC00000000000000000000000100000001000000000000
          000100000001000000000000000000000000000000013D1E00A9864100FF6B34
          00F23F1E00AC0000000000000000000000000000000100000001}
      end>
  end
end
