inherited frmCadCFOP: TfrmCadCFOP
  Left = 259
  Top = 252
  Caption = 'Cadastro CFOP'
  ClientHeight = 384
  ClientWidth = 624
  OldCreateOrder = True
  ExplicitWidth = 630
  ExplicitHeight = 413
  PixelsPerInch = 96
  TextHeight = 16
  inherited Paginas: TPageControl
    Width = 624
    Height = 346
    ExplicitWidth = 624
    ExplicitHeight = 346
    inherited Acesso: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 616
      ExplicitHeight = 336
      inherited Panel2: TPanel
        Left = 525
        Height = 299
        ExplicitLeft = 525
        ExplicitHeight = 299
      end
      inherited Panel3: TPanel
        Top = 299
        Width = 616
        ExplicitTop = 299
        ExplicitWidth = 616
        inherited edPesquisa: TEdit
          Left = 90
          Width = 440
          ExplicitLeft = 90
          ExplicitWidth = 440
        end
      end
      inherited pnGrade: TPanel
        Width = 525
        Height = 299
        ExplicitWidth = 525
        ExplicitHeight = 299
        inherited grdPesquisa: TIB_Grid
          Width = 525
          Height = 283
          DefaultRowHeight = 21
          OrderingFont.Height = -13
          FixedFont.Height = -13
          ExplicitWidth = 525
          ExplicitHeight = 283
        end
        inherited pnlOpcoesPesquisa: TPanel
          Width = 525
          ExplicitWidth = 525
        end
      end
    end
    inherited Manutencao: TTabSheet
      Font.Style = []
      ExplicitLeft = 8
      ExplicitTop = 6
      ExplicitWidth = 616
      ExplicitHeight = 336
      inherited Panel6: TPanel
        Top = 300
        Width = 616
        TabOrder = 4
        ExplicitTop = 300
        ExplicitWidth = 616
        inherited Linhabotao: TShape
          Width = 614
          ExplicitWidth = 614
        end
        inherited Panel7: TPanel
          Left = 288
          ExplicitLeft = 288
          inherited BtAnterior: TBitBtn [0]
          end
          inherited BtProximo: TBitBtn [1]
          end
        end
      end
      object edtDescricao: TIB_Edit
        Left = 15
        Top = 107
        Width = 533
        Height = 24
        Hint = 'Descri'#231#227'o do CFOP'
        AutoLabel.Caption = 'Descri'#231#227'o'
        AutoLabel.Kind = albTop
        AutoLabel.Margin = 0
        DataField = 'DESCRICAO'
        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 = 3
      end
      object GroupBox2: TGroupBox
        Left = 15
        Top = 11
        Width = 131
        Height = 57
        Caption = 'C'#243'digo'
        TabOrder = 0
        object edtCodigo: TIB_Edit
          Left = 4
          Top = 17
          Width = 120
          Height = 24
          Hint = 'C'#243'digo'
          AutoLabel.Margin = 0
          DataField = 'COD_CFOP'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 0
        end
      end
      object IB_RadioGroup1: TIB_RadioGroup
        Left = 163
        Top = 11
        Width = 155
        Height = 64
        DataField = 'ENTRADA_SAIDA'
        DataSource = DsPrincipal
        BorderStyle = bsNone
        ParentBackground = False
        TabOrder = 1
        Items.Strings = (
          'Entrada '
          'Sa'#237'da')
        Values.Strings = (
          'E'
          'S')
      end
      object IB_RadioGroup2: TIB_RadioGroup
        Left = 324
        Top = 11
        Width = 155
        Height = 64
        DataField = 'DENTRO_FORA'
        DataSource = DsPrincipal
        BorderStyle = bsNone
        ParentBackground = False
        TabOrder = 2
        Items.Strings = (
          'Dentro do estado'
          'Fora do estado')
        Values.Strings = (
          'D'
          'F')
      end
      object IB_Edit1: TIB_Edit
        Left = 15
        Top = 163
        Width = 82
        Height = 24
        Hint = 'CST do CFOP'
        AutoLabel.Caption = 'C'#243'digo CST'
        AutoLabel.Kind = albTop
        AutoLabel.Margin = 0
        DataField = 'CODIGO'
        DataSource = dtCST
        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 btnPesquisaCST: TBitBtn
        Tag = 2
        Left = 100
        Top = 162
        Width = 25
        Height = 25
        Hint = 'Pesquisa CST'
        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 = 6
        TabStop = False
        OnClick = btnPesquisaCSTClick
      end
      object btnAdicionaCST: TBitBtn
        Tag = 2
        Left = 124
        Top = 162
        Width = 25
        Height = 25
        Hint = 'Novo CST'
        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 = 7
        TabStop = False
      end
      object IB_Edit2: TIB_Edit
        Left = 155
        Top = 163
        Width = 394
        Height = 24
        Hint = 'CST do CFOP'
        AutoLabel.Caption = 'Descri'#231#227'o CST'
        AutoLabel.Kind = albTop
        AutoLabel.Margin = 0
        DataField = 'DESCRICAO'
        DataSource = dtCST
        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 = 8
      end
    end
  end
  inherited Panel1: TPanel
    Width = 624
    ExplicitWidth = 624
    inherited Label2: TLabel
      Width = 139
      Caption = 'Cadastro CFOP'
      ExplicitWidth = 139
    end
    inherited Shape1: TShape
      Width = 624
      ExplicitWidth = 624
    end
    inherited imgAcao: TImage
      Left = 264
      ExplicitLeft = 264
    end
  end
  inherited TbPrincipal: TIB_Query
    ColumnAttributes.Strings = (
      'ST=BOOLEAN=T,F')
    FieldsCharCase.Strings = (
      'COD_CFOP=UPPER'
      'DESCRICAO=UPPER'
      'ENTRADA_SAIDA=UPPER'
      'DENTRO_FORA=UPPER')
    FieldsDisplayFormat.Strings = (
      'COD_CFOP=0,000')
    FieldsDisplayLabel.Strings = (
      'COD_CFOP=C'#243'digo'
      'DESCRICAO=Descri'#231#227'o'
      'TIPO=Tipo')
    FieldsDisplayWidth.Strings = (
      'COD_CFOP=79'
      'TIPO=63'
      'DESCRICAO=393')
    FieldsVisible.Strings = (
      'DENTRO_FORA=FALSE'
      'ENTRADA_SAIDA=FALSE'
      'DESCRICAO=TRUE'
      'COD_CFOP=TRUE'
      'EXPORTADO=FALSE'
      'COD_FILIAL=FALSE'
      'COD_CST=FALSE'
      'ST=FALSE')
    SQL.Strings = (
      'SELECT CFOP.*'
      'FROM CFOP')
    DeleteSQL.Strings = (
      'DELETE FROM CFOP'
      'WHERE'
      '   COD_CFOP = :OLD_COD_CFOP')
    EditSQL.Strings = (
      'UPDATE CFOP SET'
      '   COD_CFOP = :COD_CFOP, /*PK*/'
      '   DESCRICAO = :DESCRICAO,'
      '   ENTRADA_SAIDA = :ENTRADA_SAIDA,'
      '   DENTRO_FORA = :DENTRO_FORA,'
      '   COD_CST = :COD_CST'
      'WHERE'
      '   COD_CFOP = :OLD_COD_CFOP')
    InsertSQL.Strings = (
      'INSERT INTO CFOP('
      '   COD_CFOP, /*PK*/'
      '   DESCRICAO,'
      '   ENTRADA_SAIDA,'
      '   DENTRO_FORA,'
      '   COD_CST)'
      'VALUES ('
      '   :COD_CFOP,'
      '   :DESCRICAO,'
      '   :ENTRADA_SAIDA,'
      '   :DENTRO_FORA,'
      '   :COD_CST)')
    KeyLinks.Strings = (
      'CFOP.COD_CFOP')
    OrderingItemNo = 2
    OrderingItems.Strings = (
      'COD_CFOP=COD_CFOP;COD_CFOP DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC'
      'TIPO=TIPO;TIPO DESC')
    OrderingLinks.Strings = (
      'COD_CFOP=1'
      'DESCRICAO=2'
      'TIPO=3')
    SearchingLinks.Strings = (
      'COD_CFOP=COD_CFOP'
      'DESCRICAO=DESCRICAO'
      'TIPO=TIPO')
  end
  inherited ImagensPadrao: TImageList
    Bitmap = {
      [encoded data, 8768 characters]
      000000000000}
  end
  inherited uc_Controle_Acesso: TUCControls
    GroupName = 'Cadastro de CFOP'
  end
  object dtCST: TIB_DataSource
    Dataset = qryCST
    OnStateChanged = DsPrincipalStateChanged
    Left = 297
    Top = 28
  end
  object qryCST: TIB_Query
    FieldsCharCase.Strings = (
      'CODIGO=UPPER'
      'DESCRICAO=UPPER')
    FieldsDisplayLabel.Strings = (
      'CODIGO=C'#243'digo'
      'DESCRICAO=CST')
    FieldsDisplayWidth.Strings = (
      'CODIGO=48'
      'DESCRICAO=331')
    FieldsVisible.Strings = (
      'CODIGO=TRUE'
      'DESCRICAO=TRUE')
    IB_Connection = Dados.IB_Conexao
    IB_Transaction = Dados.transacao
    SQL.Strings = (
      'SELECT *'
      'FROM CST')
    KeyLinks.Strings = (
      'CST.CODIGO')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'CODIGO=CODIGO;CODIGO DESC'
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'CODIGO=1'
      'DESCRICAO=2')
    SearchingLinks.Strings = (
      'CODIGO=CODIGO'
      'DESCRICAO=DESCRICAO')
    CommitAction = caInvalidateCursor
    Left = 297
  end
end
