object dmEDISales: TdmEDISales
  OldCreateOrder = False
  Height = 184
  Width = 379
  object schEDISales: TDASchema
    ConnectionManager = dmServer.ConnectionManager
    DataDictionary = dmServer.DataDictionary
    Diagrams = dmServer.DADiagrams
    Datasets = <
      item
        Params = <>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            TargetTable = 'RDX_ARTVEN'
            SQL = 
              'SELECT '#10'    CLAVE1, CLAVE2, CLAVE3, EANART, CODCOM, NUMVAR, CODP' +
              'RO, '#10'    DESARTCO, DESART, NUMCON, NUMLIS, CONESP1, CONESP2, '#10'  ' +
              '  CONESP3, VALVEN, PRENETCT, PREBRUCT, PREINFET, PREINFFT, '#10'    ' +
              'PRECALCT, PRENETCA, PREBRUCA, PREINFEA, PREINFFA, PRECALCA, '#10'   ' +
              ' BAPRUN1, UNIMED1, BAPRUN2, UNIMED2, BAPRUN3, UNIMED3, '#10'    BAPR' +
              'UN4, UNIMED4, BAPRUN5, UNIMED5, CANVEN, EXIPRO, '#10'    DESEXI, ESP' +
              'MEDCV, ESPMEDEP, ESPMEDDE, CANDEV, EANVEN, '#10'    NOMVEN, NUMTALON' +
              ', CANVENNET, UMEDVENNET, CANESP, UMEDESP'#10'  FROM'#10'    RDX_ARTVEN'
            StatementType = stSQL
            ColumnMappings = <
              item
                DatasetField = 'CLAVE1'
                TableField = 'CLAVE1'
              end
              item
                DatasetField = 'CLAVE2'
                TableField = 'CLAVE2'
              end
              item
                DatasetField = 'CLAVE3'
                TableField = 'CLAVE3'
              end
              item
                DatasetField = 'EANART'
                TableField = 'EANART'
              end
              item
                DatasetField = 'CODCOM'
                TableField = 'CODCOM'
              end
              item
                DatasetField = 'NUMVAR'
                TableField = 'NUMVAR'
              end
              item
                DatasetField = 'CODPRO'
                TableField = 'CODPRO'
              end
              item
                DatasetField = 'DESARTCO'
                TableField = 'DESARTCO'
              end
              item
                DatasetField = 'DESART'
                TableField = 'DESART'
              end
              item
                DatasetField = 'NUMCON'
                TableField = 'NUMCON'
              end
              item
                DatasetField = 'NUMLIS'
                TableField = 'NUMLIS'
              end
              item
                DatasetField = 'CONESP1'
                TableField = 'CONESP1'
              end
              item
                DatasetField = 'CONESP2'
                TableField = 'CONESP2'
              end
              item
                DatasetField = 'CONESP3'
                TableField = 'CONESP3'
              end
              item
                DatasetField = 'VALVEN'
                TableField = 'VALVEN'
              end
              item
                DatasetField = 'PRENETCT'
                TableField = 'PRENETCT'
              end
              item
                DatasetField = 'PREBRUCT'
                TableField = 'PREBRUCT'
              end
              item
                DatasetField = 'PREINFET'
                TableField = 'PREINFET'
              end
              item
                DatasetField = 'PREINFFT'
                TableField = 'PREINFFT'
              end
              item
                DatasetField = 'PRECALCT'
                TableField = 'PRECALCT'
              end
              item
                DatasetField = 'PRENETCA'
                TableField = 'PRENETCA'
              end
              item
                DatasetField = 'PREBRUCA'
                TableField = 'PREBRUCA'
              end
              item
                DatasetField = 'PREINFEA'
                TableField = 'PREINFEA'
              end
              item
                DatasetField = 'PREINFFA'
                TableField = 'PREINFFA'
              end
              item
                DatasetField = 'PRECALCA'
                TableField = 'PRECALCA'
              end
              item
                DatasetField = 'BAPRUN1'
                TableField = 'BAPRUN1'
              end
              item
                DatasetField = 'UNIMED1'
                TableField = 'UNIMED1'
              end
              item
                DatasetField = 'BAPRUN2'
                TableField = 'BAPRUN2'
              end
              item
                DatasetField = 'UNIMED2'
                TableField = 'UNIMED2'
              end
              item
                DatasetField = 'BAPRUN3'
                TableField = 'BAPRUN3'
              end
              item
                DatasetField = 'UNIMED3'
                TableField = 'UNIMED3'
              end
              item
                DatasetField = 'BAPRUN4'
                TableField = 'BAPRUN4'
              end
              item
                DatasetField = 'UNIMED4'
                TableField = 'UNIMED4'
              end
              item
                DatasetField = 'BAPRUN5'
                TableField = 'BAPRUN5'
              end
              item
                DatasetField = 'UNIMED5'
                TableField = 'UNIMED5'
              end
              item
                DatasetField = 'CANVEN'
                TableField = 'CANVEN'
              end
              item
                DatasetField = 'EXIPRO'
                TableField = 'EXIPRO'
              end
              item
                DatasetField = 'DESEXI'
                TableField = 'DESEXI'
              end
              item
                DatasetField = 'ESPMEDCV'
                TableField = 'ESPMEDCV'
              end
              item
                DatasetField = 'ESPMEDEP'
                TableField = 'ESPMEDEP'
              end
              item
                DatasetField = 'ESPMEDDE'
                TableField = 'ESPMEDDE'
              end
              item
                DatasetField = 'CANDEV'
                TableField = 'CANDEV'
              end
              item
                DatasetField = 'EANVEN'
                TableField = 'EANVEN'
              end
              item
                DatasetField = 'NOMVEN'
                TableField = 'NOMVEN'
              end
              item
                DatasetField = 'NUMTALON'
                TableField = 'NUMTALON'
              end
              item
                DatasetField = 'CANVENNET'
                TableField = 'CANVENNET'
              end
              item
                DatasetField = 'UMEDVENNET'
                TableField = 'UMEDVENNET'
              end
              item
                DatasetField = 'CANESP'
                TableField = 'CANESP'
              end
              item
                DatasetField = 'UMEDESP'
                TableField = 'UMEDESP'
              end>
          end>
        Name = 'RDX_ARTVEN'
        Fields = <
          item
            Name = 'CLAVE1'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = True
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CLAVE2'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = True
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CLAVE3'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = True
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANART'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CODCOM'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMVAR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CODPRO'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DESARTCO'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DESART'
            DataType = datString
            Size = 70
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMCON'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMLIS'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CONESP1'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CONESP2'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CONESP3'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'VALVEN'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PRENETCT'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PREBRUCT'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PREINFET'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PREINFFT'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PRECALCT'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PRENETCA'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PREBRUCA'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PREINFEA'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PREINFFA'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PRECALCA'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'BAPRUN1'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UNIMED1'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'BAPRUN2'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UNIMED2'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'BAPRUN3'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UNIMED3'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'BAPRUN4'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UNIMED4'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'BAPRUN5'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UNIMED5'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CANVEN'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EXIPRO'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DESEXI'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'ESPMEDCV'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'ESPMEDEP'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'ESPMEDDE'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CANDEV'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANVEN'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NOMVEN'
            DataType = datString
            Size = 70
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMTALON'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CANVENNET'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UMEDVENNET'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CANESP'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'UMEDESP'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end>
        BusinessRulesClient.ScriptLanguage = rslPascalScript
        BusinessRulesServer.ScriptLanguage = rslPascalScript
      end
      item
        Params = <>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            TargetTable = 'RDX_CABVEN'
            SQL = 
              'SELECT '#10'    CLAVE1, NUMINF, FUNCION, FECINI, FECFIN, FECINF, PER' +
              'VENINI, PERVENFIN,'#10'    EANOFI, EANEMI, EANREC, EANVEN, EANALM, E' +
              'ANREP, EANPRO, '#10'    EANADMSA, EANREPSR, ADMVENSA, REPDEPSR, EMAI' +
              'LSA, NUMFAXSA, '#10'    NUMTELSA, NUMTLXSA, X400SA, EMAILSR, NUMFAXS' +
              'R, NUMTELSR, '#10'    NUMTLXSR, X400SR, NUMPRE, NUMINFSC, NUMCON, FE' +
              'CPRE, '#10'    FECINFSC, FECCON, DIVPED, DIVPRE, DIVPAG, DIVPEDF, '#10' ' +
              '   DIVPREF, DIVPAGF, TASCAM, FECTAS, FECHA_CARGA'#10'  FROM'#10'    RDX_' +
              'CABVEN'
            StatementType = stSQL
            ColumnMappings = <
              item
                DatasetField = 'CLAVE1'
                TableField = 'CLAVE1'
              end
              item
                DatasetField = 'NUMINF'
                TableField = 'NUMINF'
              end
              item
                DatasetField = 'FUNCION'
                TableField = 'FUNCION'
              end
              item
                DatasetField = 'FECINI'
                TableField = 'FECINI'
              end
              item
                DatasetField = 'FECFIN'
                TableField = 'FECFIN'
              end
              item
                DatasetField = 'FECINF'
                TableField = 'FECINF'
              end
              item
                DatasetField = 'EANOFI'
                TableField = 'EANOFI'
              end
              item
                DatasetField = 'EANEMI'
                TableField = 'EANEMI'
              end
              item
                DatasetField = 'EANREC'
                TableField = 'EANREC'
              end
              item
                DatasetField = 'EANVEN'
                TableField = 'EANVEN'
              end
              item
                DatasetField = 'EANALM'
                TableField = 'EANALM'
              end
              item
                DatasetField = 'EANREP'
                TableField = 'EANREP'
              end
              item
                DatasetField = 'EANPRO'
                TableField = 'EANPRO'
              end
              item
                DatasetField = 'EANADMSA'
                TableField = 'EANADMSA'
              end
              item
                DatasetField = 'EANREPSR'
                TableField = 'EANREPSR'
              end
              item
                DatasetField = 'ADMVENSA'
                TableField = 'ADMVENSA'
              end
              item
                DatasetField = 'REPDEPSR'
                TableField = 'REPDEPSR'
              end
              item
                DatasetField = 'EMAILSA'
                TableField = 'EMAILSA'
              end
              item
                DatasetField = 'NUMFAXSA'
                TableField = 'NUMFAXSA'
              end
              item
                DatasetField = 'NUMTELSA'
                TableField = 'NUMTELSA'
              end
              item
                DatasetField = 'NUMTLXSA'
                TableField = 'NUMTLXSA'
              end
              item
                DatasetField = 'X400SA'
                TableField = 'X400SA'
              end
              item
                DatasetField = 'EMAILSR'
                TableField = 'EMAILSR'
              end
              item
                DatasetField = 'NUMFAXSR'
                TableField = 'NUMFAXSR'
              end
              item
                DatasetField = 'NUMTELSR'
                TableField = 'NUMTELSR'
              end
              item
                DatasetField = 'NUMTLXSR'
                TableField = 'NUMTLXSR'
              end
              item
                DatasetField = 'X400SR'
                TableField = 'X400SR'
              end
              item
                DatasetField = 'NUMPRE'
                TableField = 'NUMPRE'
              end
              item
                DatasetField = 'NUMINFSC'
                TableField = 'NUMINFSC'
              end
              item
                DatasetField = 'NUMCON'
                TableField = 'NUMCON'
              end
              item
                DatasetField = 'FECPRE'
                TableField = 'FECPRE'
              end
              item
                DatasetField = 'FECINFSC'
                TableField = 'FECINFSC'
              end
              item
                DatasetField = 'FECCON'
                TableField = 'FECCON'
              end
              item
                DatasetField = 'DIVPED'
                TableField = 'DIVPED'
              end
              item
                DatasetField = 'DIVPRE'
                TableField = 'DIVPRE'
              end
              item
                DatasetField = 'DIVPAG'
                TableField = 'DIVPAG'
              end
              item
                DatasetField = 'DIVPEDF'
                TableField = 'DIVPEDF'
              end
              item
                DatasetField = 'DIVPREF'
                TableField = 'DIVPREF'
              end
              item
                DatasetField = 'DIVPAGF'
                TableField = 'DIVPAGF'
              end
              item
                DatasetField = 'TASCAM'
                TableField = 'TASCAM'
              end
              item
                DatasetField = 'FECTAS'
                TableField = 'FECTAS'
              end
              item
                DatasetField = 'PERVENINI'
                TableField = 'PERVENINI'
              end
              item
                DatasetField = 'PERVENFIN'
                TableField = 'PERVENFIN'
              end
              item
                DatasetField = 'FECHA_CARGA'
                TableField = 'FECHA_CARGA'
              end>
          end>
        Name = 'RDX_CABVEN'
        Fields = <
          item
            Name = 'CLAVE1'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = True
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMINF'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FUNCION'
            DataType = datString
            Size = 10
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECINF'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PERVENINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PERVENFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANOFI'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANEMI'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANREC'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANVEN'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANALM'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANREP'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANPRO'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANADMSA'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANREPSR'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'ADMVENSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'REPDEPSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EMAILSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMFAXSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMTELSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMTLXSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'X400SA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EMAILSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMFAXSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMTELSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMTLXSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'X400SR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMPRE'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMINFSC'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'NUMCON'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECPRE'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECINFSC'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECCON'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DIVPED'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DIVPRE'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DIVPAG'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DIVPEDF'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DIVPREF'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'DIVPAGF'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'TASCAM'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECTAS'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECHA_CARGA'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end>
        BusinessRulesClient.ScriptLanguage = rslPascalScript
        BusinessRulesServer.ScriptLanguage = rslPascalScript
      end
      item
        Params = <>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            TargetTable = 'RDX_LUGVEN'
            SQL = 
              'SELECT '#10'    CLAVE1, CLAVE2, EANLUG, LUGVEN, FECINI, FECFIN, PERV' +
              'ENINI, '#10'    PERVENFIN'#10'  FROM'#10'    RDX_LUGVEN'
            StatementType = stSQL
            ColumnMappings = <
              item
                DatasetField = 'CLAVE1'
                TableField = 'CLAVE1'
              end
              item
                DatasetField = 'CLAVE2'
                TableField = 'CLAVE2'
              end
              item
                DatasetField = 'EANLUG'
                TableField = 'EANLUG'
              end
              item
                DatasetField = 'LUGVEN'
                TableField = 'LUGVEN'
              end
              item
                DatasetField = 'FECINI'
                TableField = 'FECINI'
              end
              item
                DatasetField = 'FECFIN'
                TableField = 'FECFIN'
              end
              item
                DatasetField = 'PERVENINI'
                TableField = 'PERVENINI'
              end
              item
                DatasetField = 'PERVENFIN'
                TableField = 'PERVENFIN'
              end>
          end>
        Name = 'RDX_LUGVEN'
        Fields = <
          item
            Name = 'CLAVE1'
            DataType = datFloat
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = True
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'CLAVE2'
            DataType = datInteger
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = True
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'EANLUG'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'LUGVEN'
            DataType = datString
            Size = 70
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'FECFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PERVENINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end
          item
            Name = 'PERVENFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            DisplayWidth = 0
            Alignment = taLeftJustify
            InPrimaryKey = False
            Calculated = False
            ServerCalculated = False
            Lookup = False
            LookupCache = False
          end>
        BusinessRulesClient.ScriptLanguage = rslPascalScript
        BusinessRulesServer.ScriptLanguage = rslPascalScript
      end>
    JoinDataTables = <>
    UnionDataTables = <>
    Commands = <
      item
        Params = <
          item
            Name = 'RETURN_VALUE'
            DataType = datInteger
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptResult
          end>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            SQL = 'RDX_P_CARGAR_VENTASEDI'
            StatementType = stStoredProcedure
            ColumnMappings = <>
          end>
        Name = 'RDX_P_CARGAR_VENTASEDI'
      end
      item
        Params = <
          item
            Name = 'CLAVE1'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMINF'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FUNCION'
            DataType = datString
            Size = 10
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECINF'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANOFI'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANEMI'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANREC'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANVEN'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANALM'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANREP'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANPRO'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANADMSA'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANREPSR'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'ADMVENSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'REPDEPSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EMAILSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMFAXSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMTELSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMTLXSA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'X400SA'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EMAILSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMFAXSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMTELSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMTLXSR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'X400SR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMPRE'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMINFSC'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMCON'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECPRE'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECINFSC'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECCON'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DIVPED'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DIVPRE'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DIVPAG'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DIVPEDF'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DIVPREF'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DIVPAGF'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'TASCAM'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECTAS'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PERVENINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PERVENFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECHA_CARGA'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            TargetTable = 'RDX_CABVEN'
            SQL = 
              'INSERT'#10'  INTO RDX_CABVEN'#10'    (CLAVE1, NUMINF, FUNCION, FECINI, F' +
              'ECFIN, FECINF, EANOFI, '#10'     EANEMI, EANREC, EANVEN, EANALM, EAN' +
              'REP, EANPRO, EANADMSA, '#10'     EANREPSR, ADMVENSA, REPDEPSR, EMAIL' +
              'SA, NUMFAXSA, NUMTELSA, '#10'     NUMTLXSA, X400SA, EMAILSR, NUMFAXS' +
              'R, NUMTELSR, NUMTLXSR, '#10'     X400SR, NUMPRE, NUMINFSC, NUMCON, F' +
              'ECPRE, FECINFSC, '#10'     FECCON, DIVPED, DIVPRE, DIVPAG, DIVPEDF, ' +
              'DIVPREF, DIVPAGF, '#10'     TASCAM, FECTAS, PERVENINI, PERVENFIN, FE' +
              'CHA_CARGA)'#10'  VALUES'#10'    (:CLAVE1, :NUMINF, :FUNCION, :FECINI, :F' +
              'ECFIN, :FECINF, '#10'     :EANOFI, :EANEMI, :EANREC, :EANVEN, :EANAL' +
              'M, :EANREP, '#10'     :EANPRO, :EANADMSA, :EANREPSR, :ADMVENSA, :REP' +
              'DEPSR, '#10'     :EMAILSA, :NUMFAXSA, :NUMTELSA, :NUMTLXSA, :X400SA,' +
              ' '#10'     :EMAILSR, :NUMFAXSR, :NUMTELSR, :NUMTLXSR, :X400SR, '#10'    ' +
              ' :NUMPRE, :NUMINFSC, :NUMCON, :FECPRE, :FECINFSC, :FECCON, '#10'    ' +
              ' :DIVPED, :DIVPRE, :DIVPAG, :DIVPEDF, :DIVPREF, :DIVPAGF, '#10'     ' +
              ':TASCAM, :FECTAS, :PERVENINI, :PERVENFIN, CURRENT_TIMESTAMP)'
            StatementType = stSQL
            ColumnMappings = <>
          end>
        Name = 'Insert_RDX_CABVEN'
      end
      item
        Params = <
          item
            Name = 'CLAVE1'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CLAVE2'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANLUG'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'LUGVEN'
            DataType = datString
            Size = 70
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'FECFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PERVENINI'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PERVENFIN'
            DataType = datDateTime
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            TargetTable = 'RDX_LUGVEN'
            SQL = 
              'INSERT'#10'  INTO RDX_LUGVEN'#10'    (CLAVE1, CLAVE2, EANLUG, LUGVEN, FE' +
              'CINI, FECFIN, PERVENINI, '#10'     PERVENFIN)'#10'  VALUES'#10'    (:CLAVE1,' +
              ' :CLAVE2, :EANLUG, :LUGVEN, :FECINI, :FECFIN, '#10'     :PERVENINI, ' +
              ':PERVENFIN)'
            StatementType = stSQL
            ColumnMappings = <>
          end>
        Name = 'Insert_RDX_LUGVEN'
      end
      item
        Params = <
          item
            Name = 'CLAVE1'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CLAVE2'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CLAVE3'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANART'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CODCOM'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMVAR'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CODPRO'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DESARTCO'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DESART'
            DataType = datString
            Size = 70
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMCON'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMLIS'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CONESP1'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CONESP2'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CONESP3'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'VALVEN'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PRENETCT'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PREBRUCT'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PREINFET'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PREINFFT'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PRECALCT'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PRENETCA'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PREBRUCA'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PREINFEA'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PREINFFA'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'PRECALCA'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'BAPRUN1'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UNIMED1'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'BAPRUN2'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UNIMED2'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'BAPRUN3'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UNIMED3'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'BAPRUN4'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UNIMED4'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'BAPRUN5'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UNIMED5'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CANVEN'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EXIPRO'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'DESEXI'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'ESPMEDCV'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'ESPMEDEP'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'ESPMEDDE'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CANDEV'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'EANVEN'
            DataType = datString
            Size = 17
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NOMVEN'
            DataType = datString
            Size = 70
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'NUMTALON'
            DataType = datString
            Size = 35
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CANVENNET'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UMEDVENNET'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'CANESP'
            DataType = datFloat
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end
          item
            Name = 'UMEDESP'
            DataType = datString
            Size = 3
            BlobType = dabtUnknown
            Value = ''
            ParamType = daptInput
          end>
        Statements = <
          item
            Connection = 'GFT_VARELA'
            TargetTable = 'RDX_ARTVEN'
            SQL = 
              'INSERT'#10'  INTO RDX_ARTVEN'#10'    (CLAVE1, CLAVE2, CLAVE3, EANART, CO' +
              'DCOM, NUMVAR, CODPRO, '#10'     DESARTCO, DESART, NUMCON, NUMLIS, CO' +
              'NESP1, CONESP2, '#10'     CONESP3, VALVEN, PRENETCT, PREBRUCT, PREIN' +
              'FET, PREINFFT, '#10'     PRECALCT, PRENETCA, PREBRUCA, PREINFEA, PRE' +
              'INFFA, PRECALCA, '#10'     BAPRUN1, UNIMED1, BAPRUN2, UNIMED2, BAPRU' +
              'N3, UNIMED3, '#10'     BAPRUN4, UNIMED4, BAPRUN5, UNIMED5, CANVEN, E' +
              'XIPRO, '#10'     DESEXI, ESPMEDCV, ESPMEDEP, ESPMEDDE, CANDEV, EANVE' +
              'N, '#10'     NOMVEN, NUMTALON, CANVENNET, UMEDVENNET, CANESP, UMEDES' +
              'P)'#10'  VALUES'#10'    (:CLAVE1, :CLAVE2, :CLAVE3, :EANART, :CODCOM, :N' +
              'UMVAR, '#10'     :CODPRO, :DESARTCO, :DESART, :NUMCON, :NUMLIS, :CON' +
              'ESP1, '#10'     :CONESP2, :CONESP3, :VALVEN, :PRENETCT, :PREBRUCT, '#10 +
              '     :PREINFET, :PREINFFT, :PRECALCT, :PRENETCA, :PREBRUCA, '#10'   ' +
              '  :PREINFEA, :PREINFFA, :PRECALCA, :BAPRUN1, :UNIMED1, '#10'     :BA' +
              'PRUN2, :UNIMED2, :BAPRUN3, :UNIMED3, :BAPRUN4, :UNIMED4, '#10'     :' +
              'BAPRUN5, :UNIMED5, :CANVEN, :EXIPRO, :DESEXI, :ESPMEDCV, '#10'     :' +
              'ESPMEDEP, :ESPMEDDE, :CANDEV, :EANVEN, :NOMVEN, :NUMTALON, '#10'    ' +
              ' :CANVENNET, :UMEDVENNET, :CANESP, :UMEDESP)'
            StatementType = stSQL
            ColumnMappings = <>
          end>
        Name = 'Insert_RDX_ARTVEN'
      end>
    RelationShips = <
      item
        Name = 'FK_RDX_LUGVEN_RDX_CABVEN'
        MasterDatasetName = 'RDX_CABVEN'
        MasterFields = 'CLAVE1'
        DetailDatasetName = 'RDX_LUGVEN'
        DetailFields = 'CLAVE1'
        RelationshipType = rtForeignKey
      end
      item
        Name = 'FK_RDX_ARTVEN_RDX_LUGVEN'
        MasterDatasetName = 'RDX_LUGVEN'
        MasterFields = 'CLAVE1;CLAVE2'
        DetailDatasetName = 'RDX_ARTVEN'
        DetailFields = 'CLAVE1;CLAVE2'
        RelationshipType = rtForeignKey
      end>
    UpdateRules = <
      item
        Name = 'Insert RDX_CABVEN'
        DoUpdate = False
        DoInsert = True
        DoDelete = False
        DatasetName = 'RDX_CABVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Insert RDX_LUGVEN'
        DoUpdate = False
        DoInsert = True
        DoDelete = False
        DatasetName = 'RDX_LUGVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Insert RDX_ARTVEN'
        DoUpdate = False
        DoInsert = True
        DoDelete = False
        DatasetName = 'RDX_ARTVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Update RDX_CABVEN'
        DoUpdate = True
        DoInsert = False
        DoDelete = False
        DatasetName = 'RDX_CABVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Update RDX_LUGVEN'
        DoUpdate = True
        DoInsert = False
        DoDelete = False
        DatasetName = 'RDX_LUGVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Update RDX_ARTVEN'
        DoUpdate = True
        DoInsert = False
        DoDelete = False
        DatasetName = 'RDX_ARTVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Delete RDX_ARTVEN'
        DoUpdate = False
        DoInsert = False
        DoDelete = True
        DatasetName = 'RDX_ARTVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Delete RDX_LUGVEN'
        DoUpdate = False
        DoInsert = False
        DoDelete = True
        DatasetName = 'RDX_LUGVEN'
        FailureBehavior = fbRaiseException
      end
      item
        Name = 'Delete RDX_CABVEN'
        DoUpdate = False
        DoInsert = False
        DoDelete = True
        DatasetName = 'RDX_CABVEN'
        FailureBehavior = fbRaiseException
      end>
    Version = 0
    Left = 48
    Top = 16
  end
end
