<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% ' *** Restrict Access To Page: Grant or deny access to this page MM_authorizedUsers="ADMIN,VENDEDOR,GERENTE,RESP_ZONA,ESPECIALISTA" MM_authFailedURL="login.asp" MM_grantAccess=false If Session("MM_Username") <> "" Then If (false Or CStr(Session("MM_UserAuthorization"))="") Or _ (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then MM_grantAccess = true End If End If If Not MM_grantAccess Then MM_qsChar = "?" If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&" MM_referrer = Request.ServerVariables("URL") if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString() MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer) Response.Redirect(MM_authFailedURL) End If %> <% if request("ENCA")<>"" THEN Response.Cookies("ENCA")=cstr(request("ENCA")) END IF %> <% Dim ct__VIDCOT ct__VIDCOT = "1" If (request("id") <> "") Then ct__VIDCOT = request("id") End If %> <% Dim ct Dim ct_numRows Set ct = Server.CreateObject("ADODB.Recordset") ct.ActiveConnection = MM_maq_STRING ct.Source = "SELECT * FROM COTS WHERE IDCOTIZACION=" + strreplace(ct__VIDCOT, "'", "''") + "" ct.CursorType = 0 ct.CursorLocation = 2 ct.LockType = 1 ct.Open() ct_numRows = 0 %> <% IDMQ="1" IDPROSP="1" IF NOT ct.EOF then IDMQ=cstr(ct("IDMAQUINA")) IDPROSP=cstr(ct("IDPROSPECTO")) END IF %> <% Dim ents__VDMQ ents__VDMQ = "-1" If (IDMQ <> "") Then ents__VDMQ = IDMQ End If %> <% Dim ents Dim ents_numRows Set ents = Server.CreateObject("ADODB.Recordset") ents.ActiveConnection = MM_maq_STRING ents.Source = "SELECT COTDET.CLAVE, COTDET.DESCR FROM COTDET WHERE COTDET.IDMAQUINA=" + strreplace(ents__VDMQ, "'", "''") + " ORDER BY IDACCESORIO" ents.CursorType = 0 ents.CursorLocation = 2 ents.LockType = 1 ents.Open() ents_numRows = 0 %> <% oclt="MAQUINA" %> <% Dim tt Dim tt_numRows Set tt = Server.CreateObject("ADODB.Recordset") tt.ActiveConnection = MM_maq_STRING tt.Source = "SELECT * FROM MAQUINA WHERE IDMAQUINA=" +IDMQ tt.CursorType = 0 tt.CursorLocation = 2 tt.LockType = 1 tt.Open() tt_numRows = 0 %> <% Dim cte__IDDBS cte__IDDBS = "05070" If (IDPROSP <> "") Then cte__IDDBS = IDPROSP End If %> <% Dim cte Dim cte_numRows Set cte = Server.CreateObject("ADODB.Recordset") cte.ActiveConnection = MM_maq_STRING cte.Source = "SELECT * FROM PROSPECTOS WHERE IDCLIENTE='" + strreplace(cte__IDDBS, "'", "''") + "'" cte.CursorType = 0 cte.CursorLocation = 2 cte.LockType = 1 cte.Open() cte_numRows = 0 %> <% Dim mqdescr__IDMQ mqdescr__IDMQ = "1" If (IDMQ <> "") Then mqdescr__IDMQ = IDMQ End If %> <% Dim mqdescr Dim mqdescr_numRows Set mqdescr = Server.CreateObject("ADODB.Recordset") mqdescr.ActiveConnection = MM_maq_STRING mqdescr.Source = "SELECT DESCR, MAQUINA,DESCRIPCION,CONFBC FROM MAQUINA WHERE IDMAQUINA=" + strreplace(mqdescr__IDMQ, "'", "''") + "" mqdescr.CursorType = 0 mqdescr.CursorLocation = 2 mqdescr.LockType = 1 mqdescr.Open() mqdescr_numRows = 0 %> <% set fin = Server.CreateObject("ADODB.Recordset") fin.ActiveConnection = MM_maq_STRING fin.Source = "SELECT * FROM FINANCIAMIENTO" fin.CursorType = 0 fin.CursorLocation = 2 fin.LockType = 3 fin.Open() fin_numRows = 0 %> <% Dim valco Dim valco_numRows Set valco = Server.CreateObject("ADODB.Recordset") valco.ActiveConnection = MM_maq_STRING valco.Source = "SELECT * FROM VALCOTS" valco.CursorType = 0 valco.CursorLocation = 2 valco.LockType = 1 valco.Open() valco_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = 30 Repeat1__index = 0 ents_numRows = ents_numRows + Repeat1__numRows %> <% dim SZ() dim DT() dim head() dim cpos() KEYFL="" imgfld="STATUS" oclt="" redim SZ(ents.Fields.Count) redim DT(ents.Fields.Count) redim head(ents.Fields.Count) redim cpos(ents.Fields.Count) for n=0 to ents.Fields.Count-1 SZ(n)= cstr(ents.Fields.Item(n).DefinedSize ) DT(n)= cstr(ents.Fields.Item(n).Type ) head(n)=cstr(ents.Fields.Item(n).name) cpos(n)=cstr(ents.Fields.Item(n).name) next %> <%rem response.Redirect("es.asp?cmd="+cpos(4))%> www.promad.com.mx


<% if NOT CT.eoF then ' Adv Conditional Region %> <% end if 'NOT CT.eoF %>
.gif" width="650" height="67">
COTIZACIÓN
<% Session.LCID = 1034 %>
<% fech=DoDateTime((ct.Fields.Item("FECHA").Value), 1, -1) uca=ucase(left(fech,1)) deca=right(fech,len(fech)-1) response.Write(uca+deca) %>
<% Session.LCID = 1033 %>
<%=replace(request("libred"),chr(10),"
")%>
  &height=10&width=1&mode=code39" align="right">
   

<% if request("sinc")="" then ' Adv Conditional Region %> <% if NOT CT.eoF then ' Adv Conditional Region %> <% end if 'NOT CT.eoF %>
Caterpillar Arrendadora Financiera, S.A. de C.V.
Organización Auxiliar del Crédito
Grupo Financiero Caterpillar México, S.A. de C.V.
 

Sistema de Cotización de Caterpillar Financial México-PROMAD

Por medio de la presente nos permitimos someter a su amable consideración la siguiente tabla que muestra
las condiciones generales con las cuales veríamos factible el estudio de crédito respecto de los equipos cotizados por MAQUINARIA, S.A. De C.V.
<%ELIVA=1.15%> <%DLL=trim(ct.Fields.Item("MONEDA").Value)%> <%tca=1%> <%ELPRE=(ct.Fields.Item("PRECIO").Value)%> <%subs=(ct.Fields.Item("ENGPORC").Value)%><% if dll="pesos" then tca=(valco.Fields.Item("DOLAR").Value) ELPRE=ELPRE*tca end if DLL2="PESOS" if tca=1 then dll2="DOLARES" %>
Cliente <%=(cte.Fields.Item("NOMBRE").Value)%><%=(cte.Fields.Item("APELLIDO").Value)%>
Compania <%=(cte.Fields.Item("COMPANIA").Value)%>
Tipo de Operación Arrendamiento Financiero
Equipo <%=request("er2") %>
Precio (USD) <%= FormatCurrency(ELPRE, 2, -2, -2, -2) %>
Tipo de Cambio <%= FormatCurrency((ct.Fields.Item("DOLAR").Value), 2, -2, -2, -2) %>
Libor <%=(ct.Fields.Item("LIBOR").Value)%>
  <%if subs="1" then response.Write("APLICA SUBSIDIO") %>
<% cnt=0 'contador de financiamientos%> <%U=0 DIM PL(5) while not fin.eof U=U+1%> <%cnt=cnt+1 %> <%fin.movenext WEND If (fin.CursorType > 0) Then fin.MoveFirst Else fin.Requery End If%> <%U=0 DIM ENg(5) while not fin.eof U=U+1%> <%fin.movenext WEND If (fin.CursorType > 0) Then fin.MoveFirst Else fin.Requery End If%> <%U=0 DIM CAP(5) while not fin.eof U=U+1%> <%fin.movenext WEND If (fin.CursorType > 0) Then fin.MoveFirst Else fin.Requery End If%> <%U=0 DIM CTu(5) 'TASAS USD DIM CTP(5) 'TASAS PESOS DIM CTS(5) 'TASAS USD SUBSIDIO DIM CTPS(5) 'TASA PESOS SUBSIDIO while not fin.eof U=U+1%> <%fin.movenext WEND If (fin.CursorType > 0) Then fin.MoveFirst Else fin.Requery End If%> <% tu=0 while tu <% WEND 'fin de loop de %> <%dim comi(5) tu=0 while tu <% WEND 'fin de loop de %> <% dim ggra(5) tu=0 while tu1 then if mfin<60000 then ggra(tu)=valco("STDLEG2")*10 ELSE GGRA(tu)=valco("STDLEG")*10 %> <% WEND 'fin de loop de %> <%dim prim(5) tu=0 while tu <% WEND 'fin de loop de %> <% DIM MENS(5) dim latar(5) tu=0 while tu"0" and subs<>"1" then tasa=(cts(tu)/100)/12 'si es cotizacion vieja latar(tu)=cts(tu) end if parcial=1-(1/((1+tasa)^nper)) IF latar(tu)>0 THEN mens(tu)=(mfin*tasa)/parcial '// IF latar(tu)=0 THEN mens(tu)=mfin/nper %> <% WEND 'fin de loop de %> <%dim tpi(5) tu=0 while tu <% WEND 'fin de loop de %> <%dim mfina(5) tu=0 while tu <% WEND 'fin de loop de %> <% tu=0 while tu <% WEND 'fin de loop de %> <% tu=0 while tu <% WEND 'fin de loop de %> <%while not fin.eof %> <%fin.movenext WEND If (fin.CursorType > 0) Then fin.MoveFirst Else fin.Requery End If%>
Precios en :<%=ucase(DLL2) %>
Plazo "> <%=fin("PLAZO") %> <% PL(U)=fin("PLAZO")%>
Enganche "> <%=fin("ENGANCHE") %>% <%ENG(U)=fin("ENGANCHE")%>
Comisión por Apertura+IVA "> <%=fin("COMAPERTURA") %>% <% CAP(U)=fin("COMAPERTURA")%>
Condiciones de Tasa "> "> "> ">
<% IF subs="0" THEN if tca=1 then RESPONSE.WRITE(valco.Fields.Item("LIBOR").Value+fin("TASA")) else RESPONSE.WRITE(fin("TASAPES")) end if IF subs="1" THEN if tca=1 then RESPONSE.WRITE(abs(fin("TASASUB"))*valco("LIBOR")) ELSE RESPONSE.WRITE(fin("TASAPESSUB")) end if if subs<>"0" and subs<>"1" then RESPONSE.WRITE(valco.Fields.Item("LIBOR").Value+fin("TASA")) 'si es cotizacion vieja %> % <%CTu(U)=fin("TASA")+valco.Fields.Item("LIBOR").Value 'CTP(U)=fin("TASAPES") ' CTS(U)=(fin("TASASUB"))*VALCO("LIBOR") 'ABS tasasub?? 'CTPS(U)=fin("TASAPESSUB") %>
 
Enganche
<%= FormatCurrency(ELPRE*(ENG(TU)/100)*ELIVA, 2, -2, -2, -2) %>
Comision Por Apertura
<%= FormatCurrency(comi(tu), 2, -2, -2, -2) %>
Gastos de Ratificación
<%= FormatCurrency(ggra(tu), 2, -2, -2, -2) %>
Seguro(Prima Anual 12%)
<%= FormatCurrency(prim(tu), 2, -2, -2, -2) %>
Depósito en Garantia
<%= FormatCurrency(mens(tu), 2, -2, -2, -2) %>
Total pago Inicial
<%= FormatCurrency(tpi(tu), 2, -2, -2, -2) %>
Monto a Financiar
<%= FormatCurrency(mfina(tu), 2, -2, -2, -2) %>
Tasa de Interes
<%= FormatPercent(latar(tu)/100, 2, -2, -2, -2) %>
Pagos Mensuales
<%= FormatCurrency(mens(tu), 2, -2, -2, -2) %>
Opción de Compra + IVA
(Sobre el Monto de la Factura)
<%=FormatPercent(fin("OPC_COMPRA")/100, 2, -2, -2, -2) %>
Queda entendido que esta es únicamente una carta indicativa, por lo cual no representa ningún compromiso por parte de Grupo Financiero CATERPILLAR de México SA de CV. Esta cotización es informativa y esta sujeta a cambios sin previo aviso, asimismo queda sujeta a lo siguiente: <%poco=1000 pomenos=50000 if tca>1 then poco=10000 pomenos=50000 end if %>

1)Esta cotización de arrendamietno es válida sólo cumpliendo todos sus incisos.
2)El desembolso se realizará una vez que las condiciones del aseguramiento del equipo estén de acuerdo a las políticas de GFCM y la línea de crédito quede autorizada.
3)El IVA repercequivale al 15% de cada cuota de capital y se paga mensualmente.
4)El equipo deberá estar en territorio mexicano durante todo el período del compromiso.
5)La opción de compra se paga adicionalmente y equivale alporcentaje del precio del equipo según sea el plazo
6)Los gastos de Seguro se renuevan anualmente
7)El porcentaje de comisión es sobre el monto a financiar o fija de <%= FormatCurrency(poco, 2, -2, -2, -2) %> pesos en caso de que el monto a financiar sea menor de <%= FormatCurrency(pomenos, 2, -2, -2, -2) %>.

 

<% end if 'request("sinc")="" %>

<% ct.Close() Set ct = Nothing %> <% ents.Close() Set ents = Nothing %> <% tt.Close() Set tt = Nothing %> <% cte.Close() Set cte = Nothing %> <% mqdescr.Close() Set mqdescr = Nothing %> <% fin.Close() %> <% valco.Close() Set valco = Nothing %>