inherited DataModuleProveedores: TDataModuleProveedores
  Height = 442
  Width = 763
  inherited ds_Contactos: TDADataSource
    DataSet = tbl_Contactos.Dataset
  end
  inherited ds_DireccionesContacto: TDADataSource
    DataSet = tbl_DireccionesContacto.Dataset
  end
  inherited ds_DatosBancarios: TDADataSource
    DataSet = tbl_DatosBancarios.Dataset
  end
  inherited ds_PersonalContacto: TDADataSource
    DataSet = tbl_PersonalContacto.Dataset
  end
  object tbl_GruposProveedor: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID'
        DataType = datAutoInc
        GeneratorName = 'GEN_PROVEEDORES_GRUPOS_ID'
        Required = True
        DisplayLabel = 'GruposProveedor_ID'
        DictionaryEntry = 'GruposProveedor_ID'
        InPrimaryKey = True
      end
      item
        Name = 'DESCRIPCION'
        DataType = datString
        Size = 255
        DisplayLabel = 'Descripci'#243'n'
        DictionaryEntry = 'GruposProveedor_DESCRIPCION'
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rda_Contactos
    LocalDataStreamer = Bin2DataStreamer
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'GruposProveedor'
    IndexDefs = <>
    Left = 448
    Top = 168
  end
  object ds_GruposProveedor: TDADataSource
    DataSet = tbl_GruposProveedor.Dataset
    DataTable = tbl_GruposProveedor
    Left = 448
    Top = 232
  end
  object tbl_Proveedores: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID'
        DataType = datAutoInc
        GeneratorName = 'GEN_CONTACTOS_ID'
        ServerAutoRefresh = True
        DictionaryEntry = 'Contactos_ID'
        InPrimaryKey = True
      end
      item
        Name = 'ID_CATEGORIA'
        DataType = datInteger
        DisplayLabel = 'Contactos_ID_CATEGORIA'
        DictionaryEntry = 'Contactos_ID_CATEGORIA'
      end
      item
        Name = 'NIF_CIF'
        DataType = datString
        Size = 15
        DisplayLabel = 'NIF/CIF'
        DictionaryEntry = 'Contactos_NIF_CIF'
      end
      item
        Name = 'NOMBRE'
        DataType = datString
        Size = 255
        DisplayLabel = 'Nombre'
        DictionaryEntry = 'Contactos_NOMBRE'
      end
      item
        Name = 'PERSONA_CONTACTO'
        DataType = datString
        Size = 255
        DisplayLabel = 'Persona de contacto'
        DictionaryEntry = 'Contactos_PERSONA_CONTACTO'
      end
      item
        Name = 'CALLE'
        DataType = datString
        Size = 255
        DisplayLabel = 'Direcci'#243'n'
        DictionaryEntry = 'Contactos_CALLE'
      end
      item
        Name = 'POBLACION'
        DataType = datString
        Size = 255
        DisplayLabel = 'Poblaci'#243'n'
        DictionaryEntry = 'Contactos_POBLACION'
      end
      item
        Name = 'PROVINCIA'
        DataType = datString
        Size = 255
        DisplayLabel = 'Provincia'
        DictionaryEntry = 'Contactos_PROVINCIA'
      end
      item
        Name = 'CODIGO_POSTAL'
        DataType = datString
        Size = 10
        DisplayLabel = 'C'#243'digo postal'
        DictionaryEntry = 'Contactos_CODIGO_POSTAL'
      end
      item
        Name = 'TELEFONO_1'
        DataType = datString
        Size = 25
        DisplayLabel = 'Tlf. trabajo'
        DictionaryEntry = 'Contactos_TELEFONO_1'
      end
      item
        Name = 'TELEFONO_2'
        DataType = datString
        Size = 25
        DisplayLabel = 'Tlf. particular'
        DictionaryEntry = 'Contactos_TELEFONO_2'
      end
      item
        Name = 'MOVIL_1'
        DataType = datString
        Size = 25
        DisplayLabel = 'M'#243'vil'
        DictionaryEntry = 'Contactos_MOVIL_1'
      end
      item
        Name = 'MOVIL_2'
        DataType = datString
        Size = 25
        DictionaryEntry = 'Contactos_MOVIL_2'
      end
      item
        Name = 'FAX'
        DataType = datString
        Size = 25
        DisplayLabel = 'Fax'
        DictionaryEntry = 'Contactos_FAX'
      end
      item
        Name = 'EMAIL_1'
        DataType = datString
        Size = 255
        DisplayLabel = 'E-mail trabajo'
        DictionaryEntry = 'Contactos_EMAIL_1'
      end
      item
        Name = 'EMAIL_2'
        DataType = datString
        Size = 255
        DisplayLabel = 'E-mail particular'
        DictionaryEntry = 'Contactos_EMAIL_2'
      end
      item
        Name = 'PAGINA_WEB'
        DataType = datString
        Size = 255
        DisplayLabel = 'Web'
        DictionaryEntry = 'Contactos_PAGINA_WEB'
      end
      item
        Name = 'NOTAS'
        DataType = datMemo
        BlobType = dabtMemo
        DisplayLabel = 'Observaciones'
        DictionaryEntry = 'Contactos_NOTAS'
      end
      item
        Name = 'FECHA_ALTA'
        DataType = datDateTime
        DisplayLabel = 'Proveedores_FECHA_ALTA'
        DictionaryEntry = 'Proveedores_FECHA_ALTA'
      end
      item
        Name = 'FECHA_MODIFICACION'
        DataType = datDateTime
        DisplayLabel = 'Proveedores_FECHA_MODIFICACION'
        DictionaryEntry = 'Proveedores_FECHA_MODIFICACION'
      end
      item
        Name = 'USUARIO'
        DataType = datString
        Size = 20
        DisplayLabel = 'Usuario'
        DictionaryEntry = 'Contactos_USUARIO'
      end
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        DictionaryEntry = 'Contactos_ID_EMPRESA'
      end
      item
        Name = 'REFERENCIA'
        DataType = datString
        Size = 255
        DisplayLabel = 'Referencia'
        ServerAutoRefresh = True
        DictionaryEntry = 'Proveedores_REFERENCIA'
      end
      item
        Name = 'ID_TIENDA'
        DataType = datInteger
        DisplayLabel = 'Contactos_ID_TIENDA'
        DictionaryEntry = 'Contactos_ID_TIENDA'
      end
      item
        Name = 'TIENDA'
        DataType = datString
        Size = 255
        DisplayLabel = 'Contactos_TIENDA'
        DictionaryEntry = 'Contactos_TIENDA'
      end
      item
        Name = 'DESCUENTO'
        DataType = datFloat
        DisplayLabel = 'Descuento (%)'
        DictionaryEntry = 'Proveedores_DESCUENTO'
      end
      item
        Name = 'DESCRIPCION_PROVEEDOR'
        DataType = datString
        Size = 255
        DisplayLabel = 'Proveedor de...'
        DictionaryEntry = 'Proveedores_DESCRIPCION_PROVEEDOR'
      end
      item
        Name = 'CODIGO_ASIGNADO'
        DataType = datString
        Size = 255
        DisplayLabel = 'C'#243'digo asignado'
        DictionaryEntry = 'Proveedores_CODIGO_ASIGNADO'
      end
      item
        Name = 'GRUPO_PROVEEDOR'
        DataType = datString
        Size = 255
        DisplayLabel = 'Grupo proveedor'
        DictionaryEntry = 'Proveedores_GRUPO_PROVEEDOR'
      end
      item
        Name = 'REGIMEN_IVA'
        DataType = datString
        Size = 255
        DisplayLabel = 'R'#233'gimen de IVA'
        DictionaryEntry = 'Proveedores_REGIMEN_IVA'
      end
      item
        Name = 'ID_TIPO_IVA'
        DataType = datInteger
        DictionaryEntry = 'Proveedores_ID_TIPO_IVA'
      end
      item
        Name = 'ID_FORMA_PAGO'
        DataType = datInteger
        DictionaryEntry = 'Proveedores_ID_FORMA_PAGO'
      end
      item
        Name = 'TIENDA_WEB'
        DataType = datSmallInt
        DictionaryEntry = 'Proveedores_TIENDA_WEB'
      end
      item
        Name = 'HOMOLOGADO'
        DataType = datSmallInt
        DisplayLabel = 'Homologado'
        DictionaryEntry = 'Proveedores_HOMOLOGADO'
      end
      item
        Name = 'CERTIFICACION'
        DataType = datString
        Size = 255
        DisplayLabel = 'Certificaciones'
        DictionaryEntry = 'Proveedores_CERTIFICACION'
      end
      item
        Name = 'IGNORAR_CONTABILIDAD'
        DataType = datInteger
        DisplayLabel = 'Proveedores_IGNORAR_CONTABILIDAD'
        DictionaryEntry = 'Proveedores_IGNORAR_CONTABILIDAD'
      end
      item
        Name = 'TIENE_SUBCUENTA'
        DataType = datInteger
      end
      item
        Name = 'NOMBRE_COMERCIAL'
        DataType = datString
        Size = 255
      end
      item
        Name = 'ES_ACREEDOR'
        DataType = datSmallInt
      end
      item
        Name = 'VENCIMIENTO_FACTURAS_1'
        DataType = datInteger
      end
      item
        Name = 'VENCIMIENTO_FACTURAS_2'
        DataType = datInteger
      end
      item
        Name = 'VENCIMIENTO_FACTURAS_3'
        DataType = datInteger
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rda_Contactos
    LocalDataStreamer = Bin2DataStreamer
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'Proveedores'
    IndexDefs = <>
    Left = 296
    Top = 168
  end
  object ds_Proveedores: TDADataSource
    DataSet = tbl_Proveedores.Dataset
    DataTable = tbl_Proveedores
    Left = 296
    Top = 232
  end
  object tbl_SubCuentasContacto: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID'
        DataType = datAutoInc
        GeneratorName = 'GEN_CONT_SUBCUENTAS_ID'
        Required = True
        ServerAutoRefresh = True
        DictionaryEntry = 'SubCuentasContacto_ID'
        InPrimaryKey = True
      end
      item
        Name = 'REF_SUBCUENTA'
        DataType = datString
        Size = 15
        DisplayLabel = 'SubCuentasContacto_REF_SUBCUENTA'
        DictionaryEntry = 'SubCuentasContacto_REF_SUBCUENTA'
      end
      item
        Name = 'DESCRIPCION'
        DataType = datString
        Size = 255
        DisplayLabel = 'SubCuentasContacto_DESCRIPCION'
        DictionaryEntry = 'SubCuentasContacto_DESCRIPCION'
      end
      item
        Name = 'ID_CUENTA'
        DataType = datInteger
        DisplayLabel = 'SubCuentasContacto_ID_CUENTA'
        DictionaryEntry = 'SubCuentasContacto_ID_CUENTA'
      end
      item
        Name = 'ID_EJERCICIO'
        DataType = datInteger
        DisplayLabel = 'SubCuentasContacto_ID_EJERCICIO'
        DictionaryEntry = 'SubCuentasContacto_ID_EJERCICIO'
      end
      item
        Name = 'ID_CONTACTO'
        DataType = datInteger
        DisplayLabel = 'SubCuentasContacto_ID_CONTACTO'
        DictionaryEntry = 'SubCuentasContacto_ID_CONTACTO'
      end>
    Params = <>
    MasterMappingMode = mmWhere
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rda_Contactos
    MasterSource = ds_Proveedores
    MasterFields = 'ID'
    DetailFields = 'ID_CONTACTO'
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'SubCuentasContacto'
    IndexDefs = <>
    Left = 632
    Top = 80
  end
  object ds_SubCuentasContacto: TDADataSource
    DataSet = tbl_SubCuentasContacto.Dataset
    DataTable = tbl_SubCuentasContacto
    Left = 632
    Top = 24
  end
end
