object DataModuleEmpresas: TDataModuleEmpresas
  OldCreateOrder = True
  OnCreate = DAClientDataModuleCreate
  RemoteService = RORemoteService
  Adapter = DABinAdapter
  SchemaCall.MethodName = 'GetSchemaAsXML'
  SchemaCall.Params = <
    item
      Name = 'Result'
      ParamType = fResult
      DataType = rtString
    end>
  Height = 427
  Width = 429
  object RORemoteService: TRORemoteService
    ServiceName = 'srvEmpresas'
    Message = dmConexion.ROMessage
    Channel = dmConexion.ROChannel
    Left = 32
    Top = 24
  end
  object DABinAdapter: TDABINAdapter
    Left = 32
    Top = 112
  end
  object tbl_Empresas: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_ID'
        InPrimaryKey = True
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'CIF'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_NIF_CIF'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Nombre'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_NOMBRE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'RAZON_SOCIAL'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Raz'#243'n Social'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_RAZON_SOCIAL'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CALLE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Calle'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_CALLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POBLACION'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Poblaci'#243'n'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_POBLACION'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVINCIA'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Provincia'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_PROVINCIA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CODIGO_POSTAL'
        DataType = datString
        Size = 10
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'C'#243'd. postal'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_CODIGO_POSTAL'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'TELEFONO_1'
        DataType = datString
        Size = 25
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Tel'#233'fono 1'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_TELEFONO_1'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'TELEFONO_2'
        DataType = datString
        Size = 25
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Tel'#233'fono 2'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_TELEFONO_2'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'MOVIL_1'
        DataType = datString
        Size = 25
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'M'#243'vil 1'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_MOVIL_1'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'MOVIL_2'
        DataType = datString
        Size = 25
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'M'#243'vil 2'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_MOVIL_2'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FAX'
        DataType = datString
        Size = 25
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Fax'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_FAX'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'EMAIL_1'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'E-mail 1'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_EMAIL_1'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'EMAIL_2'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'E-mail 2'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_EMAIL_2'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PAGINA_WEB'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'P'#225'gina web'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_PAGINA_WEB'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOTAS'
        DataType = datMemo
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Notas'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_NOTAS'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FECHA_ALTA'
        DataType = datDateTime
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Empresas_FECHA_ALTA'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_FECHA_ALTA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FECHA_MODIFICACION'
        DataType = datDateTime
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Empresas_FECHA_MODIFICACION'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_FECHA_MODIFICACION'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'USUARIO'
        DataType = datString
        Size = 20
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Empresas_USUARIO'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_USUARIO'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'LOGOTIPO'
        DataType = datBlob
        BlobType = dabtBlob
        DisplayWidth = 0
        DisplayLabel = 'Logotipo'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_LOGOTIPO'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'REGISTRO_MERCANTIL'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Registro mercantil'
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_REGISTRO_MERCANTIL'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IVA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'Empresas_IVA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end>
    Params = <>
    MasterMappingMode = mmDataRequest
    StreamingOptions = [soDisableEventsWhileStreaming]
    SchemaCall.MethodName = 'GetDatasetSchema'
    SchemaCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'aDatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'Empresas'
      end>
    DataRequestCall.MethodName = 'GetDatasetDataEx'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'Empresas'
      end
      item
        Name = 'Params'
        ParamType = fIn
        DataType = rtUserDefined
        UserClassName = 'TDADatasetParamArray'
      end
      item
        Name = 'UserFilter'
        ParamType = fIn
        DataType = rtString
        Value = ''
      end
      item
        Name = 'IncludeSchema'
        ParamType = fIn
        DataType = rtBoolean
        Value = False
      end
      item
        Name = 'MaxRecords'
        ParamType = fIn
        DataType = rtInteger
        Value = -1
      end>
    DataUpdateCall.MethodName = 'UpdateData'
    DataUpdateCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'Delta'
        ParamType = fIn
        DataType = rtBinary
      end>
    ScriptCall.MethodName = 'GetDatasetScripts'
    ScriptCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtString
        Value = ''
      end
      item
        Name = 'DatasetNames'
        ParamType = fIn
        DataType = rtString
        Value = 'Empresas'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'Empresas'
    IndexDefs = <>
    Left = 176
    Top = 24
  end
  object ds_Empresas: TDADataSource
    DataTable = tbl_Empresas
    Left = 304
    Top = 24
  end
  object DADesigntimeCall1: TDADesigntimeCall
    RemoteRequest.MethodName = 'Login'
    RemoteRequest.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBoolean
      end
      item
        Name = 'User'
        ParamType = fIn
        DataType = rtString
        Value = 'Administrador'
      end
      item
        Name = 'Password'
        ParamType = fIn
        DataType = rtString
        Value = '1'
      end
      item
        Name = 'LoginInfo'
        ParamType = fOut
        DataType = rtUserDefined
        UserClassName = 'TRdxLoginInfo'
      end>
    RemoteService = LoginRemoteService
    Left = 32
    Top = 200
  end
  object LoginRemoteService: TRORemoteService
    ServiceName = 'srvLogin'
    Message = dmConexion.ROMessage
    Channel = dmConexion.ROChannel
    Left = 32
    Top = 256
  end
  object ROChannel: TROWinInetHTTPChannel
    ServerLocators = <>
    DispatchOptions = []
    ProbeServers = False
    ProbeFrequency = 60000
    UserAgent = 'RemObjects SDK'
    TargetURL = 'http://localhost:8099/bin'
    Left = 32
    Top = 312
  end
  object ROMessage: TROBinMessage
    Left = 32
    Top = 364
  end
  object tbl_EmpresasDatosBanco: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_ID'
        InPrimaryKey = True
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'EmpresasDatosBanco_ID_EMPRESA'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_ID_EMPRESA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Nombre del banco'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_NOMBRE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ENTIDAD'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Entidad'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_ENTIDAD'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'SUCURSAL'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Sucursal'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_SUCURSAL'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'DC'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_DC'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CUENTA'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Cuenta'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_CUENTA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'SUFIJO_N19'
        DataType = datString
        Size = 3
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Sufijo 19'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_SUFIJO_N19'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'SUFIJO_N58'
        DataType = datString
        Size = 3
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Sufijo 58'
        Alignment = taLeftJustify
        DictionaryEntry = 'EmpresasDatosBanco_SUFIJO_N58'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end>
    Params = <
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        BlobType = dabtUnknown
        Value = ''
        ParamType = daptInput
      end>
    MasterMappingMode = mmParams
    MasterParamsMappings.Strings = (
      'ID_EMPRESA=ID')
    StreamingOptions = [soDisableEventsWhileStreaming]
    SchemaCall.MethodName = 'GetDatasetSchema'
    SchemaCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'aDatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'EmpresasDatosBanco'
      end>
    DataRequestCall.MethodName = 'GetDatasetDataEx'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'EmpresasDatosBanco'
      end
      item
        Name = 'Params'
        ParamType = fIn
        DataType = rtUserDefined
        UserClassName = 'TDADatasetParamArray'
      end
      item
        Name = 'UserFilter'
        ParamType = fIn
        DataType = rtString
        Value = ''
      end
      item
        Name = 'IncludeSchema'
        ParamType = fIn
        DataType = rtBoolean
        Value = False
      end
      item
        Name = 'MaxRecords'
        ParamType = fIn
        DataType = rtInteger
        Value = -1
      end>
    DataUpdateCall.MethodName = 'UpdateData'
    DataUpdateCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'Delta'
        ParamType = fIn
        DataType = rtBinary
      end>
    ScriptCall.MethodName = 'GetDatasetScripts'
    ScriptCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtString
        Value = ''
      end
      item
        Name = 'DatasetNames'
        ParamType = fIn
        DataType = rtString
        Value = 'EmpresasDatosBanco'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    MasterSource = ds_Empresas
    MasterFields = 'ID'
    DetailFields = 'ID_EMPRESA'
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'EmpresasDatosBanco'
    IndexDefs = <>
    Left = 176
    Top = 112
  end
  object ds_EmpresasDatosBanco: TDADataSource
    DataTable = tbl_EmpresasDatosBanco
    Left = 304
    Top = 112
  end
end
