object dmInfVentasArticulo: TdmInfVentasArticulo
  OldCreateOrder = True
  OnCreate = DAClientDataModuleCreate
  RemoteService = RORemoteService
  Adapter = DABinAdapter
  SchemaCall.MethodName = 'GetSchemaAsXML'
  SchemaCall.Params = <
    item
      Name = 'Result'
      ParamType = fResult
      DataType = rtString
    end>
  Height = 436
  Width = 464
  object RORemoteService: TRORemoteService
    ServiceName = 'srvInfVentasArticulo'
    Message = ROBinMessage1
    Channel = ROWinInetHTTPChannel1
    Left = 64
    Top = 24
  end
  object DABinAdapter: TDABINAdapter
    Left = 64
    Top = 80
  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 = 64
    Top = 160
  end
  object LoginRemoteService: TRORemoteService
    ServiceName = 'srvLogin'
    Message = ROBinMessage1
    Channel = ROWinInetHTTPChannel1
    Left = 64
    Top = 216
  end
  object ROWinInetHTTPChannel1: TROWinInetHTTPChannel
    ServerLocators = <>
    DispatchOptions = []
    ProbeServers = False
    ProbeFrequency = 60000
    UserAgent = 'RemObjects SDK'
    TargetURL = 'http://localhost:8090/bin'
    Left = 64
    Top = 272
  end
  object ROBinMessage1: TROBinMessage
    Left = 64
    Top = 324
  end
  object tbl_InfVentasArticulo2: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <>
    Params = <>
    MasterMappingMode = mmDataRequest
    StreamingOptions = [soDisableEventsWhileStreaming]
    SchemaCall.MethodName = 'GetSchema'
    SchemaCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'InfVentasArticulo'
      end
      item
        Name = 'Columns'
        ParamType = fIn
        DataType = rtString
        Value = ''
      end>
    DataRequestCall.MethodName = 'GetData'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'InfVentasArticulo'
      end
      item
        Name = 'MaxRecords'
        ParamType = fIn
        DataType = rtInteger
        Value = -1
      end
      item
        Name = 'Columns'
        ParamType = fIn
        DataType = rtString
        Value = ''
      end
      item
        Name = 'Params'
        ParamType = fIn
        DataType = rtUserDefined
        UserClassName = 'TDADatasetParamArray'
      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 = 'InfVentasArticulo'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'InfVentasArticulo'
    IndexDefs = <>
    Left = 280
    Top = 232
  end
  object tbl_InfVentasArticulo: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID_FACTURA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Id factura'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_FACTURA'
        InPrimaryKey = True
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Id empresa'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_EMPRESA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'REFERENCIA_FACTURA'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Ref. factura'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_REFERENCIA_FACTURA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FECHA_FACTURA'
        DataType = datDateTime
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Fecha factura'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_FECHA_FACTURA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_TOTAL_FACTURA'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Importe factura'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_IMPORTE_TOTAL_FACTURA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_COMISION_FACTURA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Id comision factura'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_COMISION_FACTURA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_ARTICULO'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Id art'#237'culo'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_ARTICULO'
        InPrimaryKey = True
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FAMILIA'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Familia'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_FAMILIA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'REFERENCIA'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Referencia'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_REFERENCIA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'REFERENCIA_PROV'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Ref. proveedor'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_REFERENCIA_PROV'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'DESCRIPCION'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Descripci'#243'n'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_DESCRIPCION'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'COMISIONABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Comisionable'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_COMISIONABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'INVENTARIABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Inventariable'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_INVENTARIABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_UNIDAD_COSTE'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Precio coste'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_PRECIO_COSTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'DESCUENTO_PROVEEDOR_COSTE'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Descuento prov.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_DESCUENTO_PROVEEDOR'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_NETO_COSTE'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Precio neto'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_PRECIO_NETO'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_PORTE_COSTE'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Precio porte'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_PRECIO_PORTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CANTIDAD'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Cantidad'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_CANTIDAD'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_UNIDAD_VENTA'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Importe unidad'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_IMPORTE_UNIDAD'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'DESCUENTO_CLIENTE_VENTA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Descuento cli.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_DESCUENTO_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_NETO_VENTA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taRightJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_PORTE_VENTA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_IMPORTE_PORTE_VENTA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_TOTAL_VENTA'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Importe total'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_IMPORTE_TOTAL'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_PROVEEDOR'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'NIF/CIF prov.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NIF_CIF_PROVEEDOR'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE_PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Proveedor'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_PROVEEDOR'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CALLE_PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Calle prov.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_CALLE_PROVEEDOR'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POBLACION_PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Poblaci'#243'n prov.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_POBLACION_PROVEEDOR'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVINCIA_PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Provincia prov.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_PROVINCIA_PROVEEDOR'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_CLIENTE'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'NIF/CIF cli.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NIF_CIF_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Cliente'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE_COMERCIAL_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Nombre comercial'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_COMERCIAL_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CALLE_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Calle cli.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_CALLE_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POBLACION_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Poblaci'#243'n cli.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_POBLACION_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVINCIA_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Provincia cli.'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_PROVINCIA_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_AGENTE'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'NIF/CIF agente'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NIF_CIF_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE_AGENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Agente'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CALLE_AGENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Calle agente'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_CALLE_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POBLACION_AGENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Poblaci'#243'n agente'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_POBLACION_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVINCIA_AGENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Provincia agente'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_PROVINCIA_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'COMISION_AGENTE'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Comisi'#243'n'
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_COMISION_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMPORTE_COMISION_AGENTE'
        DataType = datCurrency
        BlobType = dabtUnknown
        DisplayWidth = 0
        DisplayLabel = 'Importe comisi'#243'n'
        Alignment = taRightJustify
        DictionaryEntry = 'InfVentasArticulo_IMPORTE_COMISION_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end>
    Params = <
      item
        Name = 'FECHAINI'
        BlobType = dabtUnknown
        Value = ''
        ParamType = daptInput
      end
      item
        Name = 'FECHAFIN'
        BlobType = dabtUnknown
        Value = ''
        ParamType = daptInput
      end>
    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 = 'InfVentasArticulo'
      end>
    DataRequestCall.MethodName = 'GetDatasetDataEx'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'InfVentasArticulo'
      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 = 'InfVentasArticulo'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'InfVentasArticulo'
    IndexDefs = <>
    Left = 280
    Top = 152
  end
end
