object dmInfMargenArticulo: TdmInfMargenArticulo
  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 = 'srvInfMargenArticulo'
    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:8099/bin'
    Left = 64
    Top = 272
  end
  object ROBinMessage1: TROBinMessage
    Left = 64
    Top = 324
  end
  object tbl_InfMargen: 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 = 'InfMargenArticulo'
      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 = 'InfMargenArticulo'
      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 = 'InfMargenArticulo'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    IndexDefs = <>
    Left = 288
    Top = 336
  end
  object tbl_InfMargenPorArticulo1: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_EMPRESA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_ARTICULO'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        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
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_REFERENCIA_PROV'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'DESCRIPCION'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_DESCRIPCION'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'COMISIONABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_COMISIONABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'INVENTARIABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_INVENTARIABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_ULT_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_UNIDAD_ULT_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_ULT_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_NETO_ULT_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_ULT_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_PORTE_ULT_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_PRO_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_UNIDAD_PRO_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_PRO_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_NETO_PRO_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_PRO_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_PORTE_PRO_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_UNIDAD_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_NETO_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_PORTE_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_UNIDAD_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_NETO_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_PORTE_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_UNIDAD_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_NETO_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_PORTE_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_MARGEN_ULT_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_POR_MARGEN_ULT_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_MARGEN_ULT_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_POR_MARGEN_ULT_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_MARGEN_ULT_VENT_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_POR_MARGEN_ULT_VENT_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_MARGEN_PRO_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_POR_MARGEN_PRO_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_MARGEN_PRO_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_POR_MARGEN_PRO_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_IMP_MARGEN_PRO_VENT_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorArticulo_POR_MARGEN_PRO_VENT_PRO_COMP'
        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 = 'InfMargenPorArticulo'
      end>
    DataRequestCall.MethodName = 'GetDatasetDataEx'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'InfMargenPorArticulo'
      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 = 'InfMargenPorArticulo'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'InfMargenPorArticulo'
    IndexDefs = <>
    Left = 200
    Top = 112
  end
  object ds_InfMargenPorArticulo1: TDADataSource
    DataTable = tbl_InfMargenPorArticulo1
    Left = 200
    Top = 48
  end
  object tbl_InfMargenPorCliente1: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_EMPRESA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_CLIENTE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_ID_CLIENTE'
        InPrimaryKey = True
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_ARTICULO'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        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
        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
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_DESCRIPCION'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'COMISIONABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_COMISIONABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'INVENTARIABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_INVENTARIABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_CLIENTE'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE_COMERCIAL_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_COMERCIAL_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_AGENTE'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_ULT_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_ULT_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_ULT_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_ULT_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_ULT_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_ULT_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_PRO_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_PRO_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_PRO_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_PRO_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_PRO_VENT'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_PRO_VENT'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_MARGEN_ULT_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_POR_MARGEN_ULT_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_MARGEN_ULT_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_POR_MARGEN_ULT_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_MARGEN_ULT_VENT_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_POR_MARGEN_ULT_VENT_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_MARGEN_PRO_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_VENT_COMPRA'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_POR_MARGEN_PRO_VENT_COMPRA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_MARGEN_PRO_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_VENT_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_POR_MARGEN_PRO_VENT_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_MARGEN_PRO_VENT_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_VENT_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_POR_MARGEN_PRO_VENT_PRO_COMP'
        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 = 'InfMargenPorCliente'
      end>
    DataRequestCall.MethodName = 'GetDatasetDataEx'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'InfMargenPorCliente'
      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 = 'InfMargenPorCliente'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'InfMargenPorCliente'
    IndexDefs = <>
    Left = 360
    Top = 104
  end
  object ds_InfMargenPorCliente1: TDADataSource
    DataTable = tbl_InfMargenPorCliente1
    Left = 360
    Top = 40
  end
  object tbl_InfMargenPorFactura1: TDACDSDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'ID_EMPRESA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_EMPRESA'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_CLIENTE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_ID_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_FACTURA'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_DETALLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = True
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'ID_ARTICULO'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_ID_ARTICULO'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FAMILIA'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_REFERENCIA_PROV'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'REFERENCIA_FACTURA'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'FECHA_FACTURA'
        DataType = datDateTime
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'DESCRIPCION'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_DESCRIPCION'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'COMISIONABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_COMISIONABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'INVENTARIABLE'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_INVENTARIABLE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_CLIENTE'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'PROVEEDOR'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NOMBRE_COMERCIAL_CLIENTE'
        DataType = datString
        Size = 255
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_COMERCIAL_CLIENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'NIF_CIF_AGENTE'
        DataType = datString
        Size = 15
        BlobType = dabtUnknown
        DisplayWidth = 0
        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
        Alignment = taLeftJustify
        DictionaryEntry = 'InfVentasArticulo_NOMBRE_AGENTE'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'CANTIDAD'
        DataType = datInteger
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_TOTAL'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_ULT_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_ULT_COM_TOTAL'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_UNIDAD_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_UNIDAD_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_NETO_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_PORTE_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        DictionaryEntry = 'InfMargenPorCliente_IMP_PORTE_PRO_COMP'
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_NETO_PRO_COM_TOTAL'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_ULT_COMP_TOTAL'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_ULT_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'IMP_MARGEN_PRO_COMP_TOTAL'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        InPrimaryKey = False
        Calculated = False
        Lookup = False
        LookupCache = False
      end
      item
        Name = 'POR_MARGEN_PRO_COMP'
        DataType = datFloat
        BlobType = dabtUnknown
        DisplayWidth = 0
        Alignment = taLeftJustify
        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 = 'InfMargenPorFactura'
      end>
    DataRequestCall.MethodName = 'GetDatasetDataEx'
    DataRequestCall.Params = <
      item
        Name = 'Result'
        ParamType = fResult
        DataType = rtBinary
      end
      item
        Name = 'DatasetName'
        ParamType = fIn
        DataType = rtString
        Value = 'InfMargenPorFactura'
      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 = 'InfMargenPorFactura'
      end>
    ReadOnly = False
    RemoteService = RORemoteService
    Adapter = DABinAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'InfMargenPorFactura'
    IndexDefs = <>
    Left = 296
    Top = 232
  end
  object ds_InfMargenPorFactura1: TDADataSource
    DataTable = tbl_InfMargenPorFactura1
    Left = 296
    Top = 176
  end
end
